cURL
curl --request POST \ --url https://developer.api.receiptor.ai/v1/capabilities/documents.delete \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "id": "<string>" } '
{ "success": true, "code": 200, "data": { "result": {} } }
Soft-delete a document (receipt, invoice, etc.). The document is archived and can be recovered. Also archives any duplicate documents and cleans up cross-references.
API key prefixed with sk_. Obtain from the Receiptor AI dashboard.
sk_
The document ID to delete
1
Successful response
true
200
Show child attributes
Was this page helpful?