# Receipt ## Retrieve receipts and refunds by building id - [POST /api/tenant/{tenantId_path}/receipts/GetReceiptsAndRefundsByBuildingId](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_getreceiptsandrefundsbybuildingid.md): Return a list of receipts and refunds for a specific building ## Retrieve receipt by id - [POST /api/tenant/{tenantId_path}/receipts/getReceiptById](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_getreceiptbyid.md): Return a receipt by its unique identifier ## Retrieve next receipt number - [POST /api/tenant/{tenantId_path}/receipts/GetNextReceiptNumber](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_getnextreceiptnumber.md): Get the next available receipt number ## Create a new receipt - [POST /api/tenant/{tenantId_path}/receipts/createReceipt](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_createreceipt.md): Create a new receipt for a specific building ## Create a validated refund - [POST /api/tenant/{tenantId_path}/receipts/CreateValidatedRefund](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_createvalidatedrefund.md): Create a validated refund ## Update an existing receipt - [POST /api/tenant/{tenantId_path}/receipts/updateReceipt](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_updatereceipt.md): Update details of an existing receipt that is not validated ## Validate a receipt before processing - [POST /api/tenant/{tenantId_path}/receipts/validateReceipt](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_validatereceipt.md): Validate a receipt in draft state ## Cancel a receipt - [POST /api/tenant/{tenantId_path}/receipts/cancelReceipt](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_cancelreceipt.md): Cancel a receipt that has been previously validated ## Cancel a refund - [POST /api/tenant/{tenantId_path}/receipts/cancelRefund](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_cancelrefund.md): Cancel a refund that has been previously validated ## Delete a receipt - [POST /api/tenant/{tenantId_path}/receipts/deleteReceipt](https://doc-api.bazimo.fr/documentation/swagger/receipt/receipt_deletereceipt.md): Delete a receipt in draft state