Delete expense receipt

Deletes one receipt from a transaction's expense. The identifier can be the card transaction ID (CTX-...) or its expense ID (EXP-...). receipt_id is the receipt's id from Fetch expense transaction details.

Returns {"success": true} when the receipt is deleted. If the receipt doesn't exist on that expense, the call returns 422 with RECORD_NOT_FOUND.

Path Params
string
required

Unique identifier of the expense transaction

integer
required

Identifier of the receipt file to delete

Headers
string

A unique key, such as a UUID, that makes it safe to retry this request. Reuse the same key when you retry. See Idempotency.

Responses

429

Too many requests. You sent more than 100 requests in 30 seconds from one IP address. This response has no JSON body. See Rate limits.

500

Unexpected error

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json