REST interface to Avalara's enterprise tax service, AvaTax.
Lock a transaction uniquely identified by this URL.
This API is mainly used for connector developers to simulate what happens when the Returns product locks a document. After this API call succeeds, the document will be locked and can't be voided or adjusted.
On Sandbox, this API is only available to customers who have both an AvaTaxPro and a Managed Returns subscription. On Production, this API is only available internally for the Avalara Returns team.
If you have more than one document with the same code
, specify the documentType
parameter to choose between them.
A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like sales, purchases, inventory transfer, and returns (also called refunds).
You may specify one or more of the following values in the $include
parameter to fetch additional nested data, using commas to separate multiple values:
NOTE: If your companyCode or transactionCode contains any of these characters /, +, ? or a space please use the following encoding before making a request: