Return a list of receipts and refunds for a specific building
Bazimo API (v1)
Languages
Servers
https://doc-api.bazimo.fr/
- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/GetReceiptsAndRefundsByBuildingId
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/GetReceiptsAndRefundsByBuildingId' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",
"datatable": {
"sort": {
"sortBy": 1,
"sortMode": 1
},
"pagination": {
"page": 0,
"rowsPerPage": 0
},
"filters": {},
"search": {
"value": "string"
}
}
}'Response
No response example- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/getReceiptById
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/getReceiptById' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/GetNextReceiptNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/GetNextReceiptNumber' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7"
}'Response
No response example- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/createReceipt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/createReceipt' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"label": "string",
"settledOn": "string",
"paymentMethod": 1,
"paymentReference": "string",
"comment": "string",
"amountByLeaseId": [
{
"leaseId": "a3abd432-1f03-4b93-888c-0da4d3703e99",
"amount": 0.1
}
]
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/CreateValidatedRefund
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/CreateValidatedRefund' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"amount": 0.1,
"comment": "string",
"label": "string",
"leaseIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"paymentMethod": 1,
"paymentReference": "string",
"renterId": "5e8fd3a6-1229-4fc6-80e4-337191896d0b",
"settledOn": "string",
"suspenseAccountLineAmounts": [
{
"amount": 0.1,
"suspenseAccountLineId": "c1859f31-c74f-4e0d-9de1-66efbe521dc0"
}
]
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/updateReceipt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/updateReceipt' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"label": "string",
"settledOn": "string",
"paymentMethod": 1,
"paymentReference": "string",
"comment": "string",
"amountByLeaseId": [
{
"leaseId": "a3abd432-1f03-4b93-888c-0da4d3703e99",
"amount": 0.1
}
]
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/validateReceipt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/validateReceipt' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"receiptId": "4937ce52-e283-4321-b00f-c29b6dd5d0e9",
"distributionByLeaseId": [
{
"leaseId": "a3abd432-1f03-4b93-888c-0da4d3703e99",
"distribution": [
{
"invoiceLineId": "01b48345-8495-4ed8-81ba-4399df639395",
"externalBalanceRecoveryLineId": "063079d3-9bb8-4874-a230-ebf30ca4027c",
"amount": 0.1
}
]
}
]
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/cancelReceipt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/cancelReceipt' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"comment": "string",
"receiptId": "4937ce52-e283-4321-b00f-c29b6dd5d0e9"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/cancelRefund
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/cancelRefund' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"refundId": "3324897f-393a-4bf6-b3af-0b999cbc2521"
}'- https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/deleteReceipt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://doc-api.bazimo.fr/api/tenant/{tenantId_path}/receipts/deleteReceipt' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"receiptId": "4937ce52-e283-4321-b00f-c29b6dd5d0e9"
}'