Document status
The document endpoints return a statusList field
{
...
"statusList": [
"draft",
"warning"
],
...
}
A document may have multiple statuses simultaneously (e.g. 'draft' and 'warning') and all current statuses will be listed within statusList.
The currently supported status values are:
Status | Description | Details |
---|---|---|
closed | Closed | The document has been archived. |
draft | Draft | The document is a work in progress and can still be fully amended. |
error | Error | The document has failed validation or a process has failed. See the document details or event log for more details. |
pending_posting | Pending posting | |
posted | Posted | The document has been posted to the ledgers. |
pending_auth | Pending authorisation | The document is undergoing authorisation and is locked for editing. |
approved | Approved | The document has been approved during the last authorisation process. |
rejected | Rejected | The document has been rejected during the last authorisation process. |
pending_action | Pending action | The document is undergoing additional processing and is temporarily locked. |
abandoned | Abandoned | The document has been discarded without requiring additional ledger entry (e.g. draft document). |
reversed | Reversed | The document has been reversed from the ledgers. |
written_off | Written off | |
dispute | Dispute | |
stock | Stock |