Skip to main content

Delete History Document

DELETE 

/api/ledger/history/documents/:document

Delete the document and its stored file. Rows accepted from it are kept, without the link to the file, and their invoice cost basis becomes manual entry. Returns 422 while the document is being read.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token + accounting.manage_settings permission.

Request​

Responses​

OK

Response Headers
    Content-Type