Skip to main content
Avalara Help Center

Is it possible to unvoid a canceled order through the API?

Overview

We would like to be able to unvoid and then post a previously voided (canceled) order through the API with Avalara Avatax.

Environment

Avalara Avatax

Resolution

When using the REST API this is not directly possible. 

A work around would be to call canceltax again on the same order, thus deleting it completely from the admin console.

 

You could then do a gettax call with commit value set to True and resend the order to the admin console without getting a DocStatus is invalid error.

 

Note: If you attempt to do this to the voided transaction without double canceltax calling to delete it you will receive an error stating that the document already exists (DocStatus invalid for this operation).

 

 

 

 

  • Was this article helpful?