AvaTax for VAT

Version v2
APConfigSetting
Accounts
Addresses
AvaFileForms
Batches
CertExpressInvites
Certificates
Clerk
CommunicationCertificates
Companies
Compliance
Contacts
CostCenter
Customers
DataSources
Definitions
DistanceThresholds
DomainControlVerification
ECommerceToken
EcmEventNotifications
EcoNexusThreshold
FirmClientLinkages
FormTypeMapping
FundingRequests
GLAccount
Items
ItemsReverseSync
Jobs
JurisdictionOverrides
Locations
MultiDocument
Nexus
Notices
Notifications
Provisioning
Registrar
Reports
Settings
Subscriptions
TaxCodes
TaxContent
TaxRules
Transactions
Upcs
UserDefinedFields
Users
Utilities
VendorCertificates
Vendors

RefundTransactionModel

Refund a committed transaction

This model is used in the following APIs:

Parameters
refundTransactionCodeOptional
string

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.

refundDateRequired
string

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.

refundTypeOptional
string

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.

Enum: Full, Partial, TaxOnly, Percentage
refundPercentageOptional
number

The percentage for refund.

This value only applies if you choose refundType = Percentage or refundType = Partial.

refundLinesOptional
array

If you chose a refund of type Partial, this indicates which lines from the original transaction are being refunded.

referenceCodeOptional
string

A user-defined reference field containing information about this refund.