# Tax calculation date

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

# Tax calculation date

**Element type:** Required

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

Your solution must allow users to optionally specify a date other than the document date for calculating tax on the transaction. This value will override the date field on the transaction.

This can be done by allowing users to specify a `taxOverride` value of `taxDate` at either the document level or the line level.

**View example**:

```
{
    ...,
    "taxOverride": {
      "type": "TaxAmount",
      "taxAmount": 6.25,
      "taxDate": "2024-07-16",
      "reason": "Precalculated Tax"
    },
    ...
}
```