Renaming Transactions

You’re building your integration using the AvaTax REST API. The way your application works; you only have access to a temporary invoice number and at the end of all the processing your system assigns a permanent invoice number. Given this; how can you keep the final values assigned by your application in sync with AvaTax?

Renaming a Transaction

Let’s review an example…First; we call CreateTransaction and we can let AvaTax assign a unique “code” for us which we will capture and remember from the AvaTax response. Notice we also set the “commit” flag to “false” in this request because once we commit the document, we will not be able to change the transaction code.