REST v2 provides the ability to commit or uncommit transactions and only include the committed transactions within compliance reports. A transaction can be committed at any time as long as there is a Document Code associated to it. However, be aware that committing or uncommitting a document code commits/uncommits all transactions with the specified Document Code (doc
). The Document Code can be associated with a bill run, an invoice, a customer, or a transaction.
Use these methods to commit and uncommit Document Codes:
cmmt
) directly in the transactionThis page covers the transaction-level Commit/Uncommit process. For more information, see Commit Request.
This example is committing Document Code (doc
) “DocumentXYZ123” by setting the Commit flag (cmmt
) to true
.
Taxes (txs
) are returned as normal.
This example is uncommitting Document Code (doc
) “DocumentXYZ123” by setting the Commit flag (cmmt
) to false
.
Taxes (txs
) are returned as normal.
The same actions can be taken by using the /api/v2/afc/Commit
endpoint. Just execute the Commit
endpoint with the desired Document Code (doc
) and Commit flag (cmmt
) values set.