Document Batching
Document classes
The API covers the following classes of documents:
- Sale invoices
- Sale orders
- Sale quotes
- Purchase orders
- Purchase invoices
- Payments
- Receipts
Unposting a document batch
Only a document batch in a posted state can be unposted.
Unposting a document batch is done by POST
.
Example
POST /api/documentbatch/{batchRef}/unpost
{batchRef} can be batch id or batch number.
A response of 204 No Content
means the batch has been unposted.
Puts the document back to a draft state.