AvaTax for VAT
RefundTransactionModel
Refund a committed transaction
This model is used in the following APIs:
The transaction code for the refund. This code will be saved to the ReturnInvoice transaction, and does not need to match the code of the original sale.
The date of the refund. For customers using Avalara's Managed Returns Service, this date controls the month in which the refund transaction will be reported on a tax filing.
Type of this refund.
To submit a full refund, specify Full.
To refund only specific lines from the transaction, specify Partial and indicate the lines you wish to apply in the refundLines field.
To refund the tax that was paid in the previous transaction, specify TaxOnly.
To issue a percentage-based discount, specify Percentage.
The percentage for refund.
This value only applies if you choose refundType = Percentage or refundType = Partial.
If you chose a refund of type Partial, this indicates which lines from the original transaction are being refunded.
A user-defined reference field containing information about this refund.