cURL
curl --request DELETE \ --url https://sandbox.hurdlr.com/rest/v5/bills/bills \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: */*' \ --data ' { "ids": [ 123 ], "deletePayments": false } '
[ { "result": "SUCCESS", "errors": { "fieldErrors": {}, "globalErrors": [ { "type": "DUPLICATE", "errorMessage": "<string>" } ] }, "id": "<string>", "webhook": { "userId": "<string>", "accountantUserId": "<string>", "type": "ENTITY_UPDATE" } } ]
Cancel the given bills, including reversal of accounting transactions, etc.
The access token received from the authorization server in the OAuth 2.0 flow.
Array of ids
Whether to delete payments associated with this bill. Defaults to false.
false
Successful operation
The result of the action performed
SUCCESS
FAILURE
Error object containing details errors incurred, if any
Show child attributes
Id of the entity being acted upon