Sales Order to Avalara Mappings
Here is a description of how fields and values from a sales order are mapped to an Avalara AvaTax transaction.
|
Avalara Transaction Field |
Sales Order Value |
|---|---|
| Company Code | Set to the value of the Company Code field. This is defined on the Tax Calculation Settings page. For more information, see OIM Tax Calculation Settings Fields. |
| Document Code | Set to the value of the Sales Order Number field. |
| Document Type | Set to "Sales Invoice". |
| Document Date | Set to today's date. |
| Customer Code |
Determined as follows:
|
| Discount | If the Discount field is greater than zero, its value is used. Otherwise, this is set to zero. |
| Location Code | Set to the value of the Avalara Location Code field. |
| Entity Use Code |
Determined as follows:
|
| Customer Exempt Number | Set to the Tax Exemption Reason field of the account extension record related to the account specified in the Customer Site Sold To field on the sales order. |
| Customer VAT Number | Set to the Tax Registration Number field of the account specified in the Customer Site Sold To field on the sales order. |
| Currency | Set to the name of the currency master record specified in the Currency lookup field. |
| Ship From |
Determined as follows:
|
| Ship To |
Determined as follows:
|
Here is a description of how fields and values from a sales order line item are mapped to an Avalara AvaTax transaction line.
|
Avalara Transaction Field |
Sales Order Line Item Value |
|---|---|
| Item Code | Set to the value of the Item Number ID field. |
| Item Description | Set to the value of the Item Number field of the related item master record. |
| Quantity | Set to the value of the Quantity field. |
| Total Amount | Set to the value of the Ext. Price After Rebate Discounts field. |
| Avalara Tax Code | If the Override Avalara Tax Code field is populated, its value is used. Otherwise, the value of the Avalara Tax Code field is used. |
| Include Line in Discount Calculations | Selected if the Discount of the sales order is greater than zero. |
| Ship From | The Ship From address of the sales order is used. |
| Ship To | The Ship To address of the sales order is used. |
SECTIONS