When you call the CreateTransaction API with type
set to SalesInvoice
, the transaction is saved on the AvaTax Website as uncommitted. The status
of an uncommitted transaction will be either Saved
or Posted
- for more information, see the DocumentStatus reference page. Uncommitted transactions are considered provisional - they are subject to review and will generally not appear in reports or liability calculations.
This means that, in order to make your transactions reportable, you must commit them. You can do this in one of three ways:
commit
flag to true
when calling CreateTransaction. This causes the transaction to be immediately committed.Committing an invoice should be performed at whatever point an invoice will no longer need to be changed or modified in any way by your application. For more information on committing transactions, please see the Developer Guide chapter on Transactions.