> For the complete documentation index, see [llms.txt](https://developer.paddle.com/llms.txt).

# Cannot revise transaction when the tax amount is higher than the grand total or tax is negative.

You're trying to revise a transaction with a valid tax_identifier, when tax amount is higher than the grand total or tax is negative.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_cannot_be_revised_with_tax_higher_than_grand_total_or_negative_tax",
    "detail": "Cannot revise transaction with a valid tax_identifier when the tax amount is higher than the grand total or tax is negative.",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_cannot_be_revised_with_tax_higher_than_grand_total_or_negative_tax"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_cannot_be_revised_with_tax_higher_than_grand_total_or_negative_tax` |
| Error message | Cannot revise transaction with a valid tax_identifier when the tax amount is higher than the grand total or tax is negative. |

## Common causes

- A valid tax_identifier is being passed, but the transaction's tax amount is higher than the grand total.
- A valid tax_identifier is being passed, but the transaction's tax amount is negative.
- Revising a transaction with a valid tax_identifier would end in a tax refund that cannot be performed when tax amount is higher than the grand total.

## Common solutions

- Do not specify a new tax identifier.
- Cancel the transaction and create a new one.
