Skip to main content

Reject History Document

POST 

/api/ledger/history/documents/:document/reject

Mark the document rejected without saving any rows. A rejected file can be uploaded again. Returns 422 while the document is being read, or when its rows were already accepted (accept it again to change them, or delete it).

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