CData Python Connector for Avalara

Build 24.0.9060

RefundTransaction

Refund a transaction.

Input

Name Type Required Description
TransactionCode String True Code of the transaction to refund.
RefundTransactionCode String True 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.
RefundDate String True The date of the refund.
RefundType String True 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.
RefundPercentage String False The percentage for refund. This value only applies if you choose Percentage or Partial refund type.
RefundLines String False A comma separated list of the line numbers to refund for.
ReferenceCode String False A user-defined reference field containing information about this refund.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060