REST interface to Avalara's enterprise tax service, AvaTax.
Create a refund for a transaction.
The RefundTransaction
API allows you to quickly and easily create a ReturnInvoice
representing a refund
for a previously created SalesInvoice
transaction. You can choose to create a full or partial refund, and
specify individual line items from the original sale for refund.
The RefundTransaction
API ensures that the tax amount you refund to the customer exactly matches the tax that
was calculated during the original transaction, regardless of any changes to your company's configuration, rules,
nexus, or any other setting.
This API is intended to be a shortcut to allow you to quickly and accurately generate a refund for the following common refund scenarios:
For more complex scenarios than the ones above, please use CreateTransaction
with document type ReturnInvoice
to
create a custom refund transaction.
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:
$include
parameter, the API will assume you want Summary,Addresses
.NOTE: If your companyCode or transactionCode contains any of these characters /, +, ? or a space please use the following encoding before making a request: