Submitting documents
Documents can be submitted for authorisation and ledger posting if they are in a draft state.
Example
POST /api/document/{docId}/submit
The submission is an asynchronous process, and a response of 200 OK
means it has been queued for processing.
As the document goes for validation, authorisation and posting its status will change.
In case of validation errors during posting you will need to check them in Iplicit for now as this is not exposed via the API.