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
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:
- First, you can commit transactions directly by setting the
truewhen calling CreateTransaction. This causes the transaction to be immediately committed.
- Second, you can call the CommitTransaction API to explicitly commit specific transactions.
- Third, you can visit the AvaTax Website and commit transactions yourself.
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.