EaserixDocs
DevelopersAPI referenceCronCrunchExpenses

Remove a receipt

Owner-scoped. No receipt is a success and leaves the expense in place.

View as Markdown
DELETE
/v1/expenses/{id}/receipt
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/expenses/string/receipt"
{  "expense": {    "id": "string",    "clientId": "string",    "clientName": "string",    "projectId": "string",    "projectName": "string",    "projectColor": "string",    "spentOn": "2019-08-24",    "pricing": "amount",    "amount": 0,    "quantity": 0,    "unitRate": 0,    "type": "string",    "billable": true,    "note": "string",    "hasReceipt": true,    "receipt": {      "contentType": "string",      "sizeBytes": 0,      "filename": "string",      "url": "string"    },    "created": "2019-08-24T14:15:22Z"  }}