# Tax overrides

Source: https://developer.avalara.com/avatax-for-ap/fjt7473730198264/

# Tax overrides

**Element type**: Required

**Endpoints/models used**: [TaxOverrideModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/TaxOverrideModel/)

As indicated previously, AvaTax provides several ways to override tax. The [Overriding a transaction](https://developer.avalara.com/avatax-for-ap/discounts-and-overrides/overriding-a-transaction) topic section includes information and examples of each type of override.

For an AvaTax for Accounts Payable integration, you must provide a way for users to override the vendor-charged tax amount. Usually, this override is done at the document level. It's possible to specify a vendor-charged tax override at the line level. If you specify a vendor-charged tax for at the line level, then you must specify this for all line items. You'll receive an error if your transaction includes multiple line items, but you only specify a vendor-charged tax override for 1 line. If your other lines don't require an override, pass a vendor-charged tax override with a tax amount of $0.00.

Note

Keep in mind that a `VendorChargedTax` override doesn't change the value of the vendor-charged tax. This override specifies how to handle the vendor-charged tax. Assume, for example, that you specify a vendor-charged tax override value of $10.00. If the actual accrued tax is $9.00, then the result is a $1.00 overcharge. It's now up to your specific use case to determine how to handle an overcharge of $1.00.

**View example**:

```
{
  ...,
  "taxOverride": {
      "type": "VendorChargedTax",
      "reason": "VCT Reason",
      "taxAmount": "40"
  },
...
}
```