# Support tax overrides by tax amount

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/tax-override-tax-amount/

# Support tax overrides by tax amount

**Element type: Suggested** for Refunds

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

If your platform supports overriding a specific tax amount in a transaction, then this should also be supported in your AvaTax integration. This can be accomplished in the [CreateTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/) by specifying a`taxOverride` of`taxAmount` in the [TaxOverrideModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/TaxOverrideModel/).

The following example creates a sales invoice with an overridden tax amount.

```
{  "lines": [    {      "number":"1",      "quantity":1,      "amount":100,      "taxCode":"P0000000",      "itemCode":"Test SKU",      "description":"Test Item Description"    }  ],  "taxOverride":{    "type": "TaxAmount",    "taxAmount":"6.25",    "reason": "Pre-calculated tax"  },  "addresses": {    "singleLocation":{      "line1":"100 Ravine Ln NE",      "city":"Bainbridge Island",      "region":"WA",      "country":"US",      "postalCode":"98110-2687"    }  },   "type":"SalesInvoice",  "companyCode":"DEFAULT",  "date":"2020-11-12",  "customerCode":"Test Customer ID",  "commit":true,  "currencyCode":"USD"}
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/support-tax-only-adjustments)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/test-tax-amount)