tax_in_use
The tax is referenced by documents, products or suppliers. Removing it would leave historical documents without their fiscal reference.
| Code | Type | HTTP | Category |
|---|---|---|---|
tax_in_use | invalid_request_error | 422 | Taxes |
Cause
The tax is referenced by documents, products or suppliers. Removing it would leave historical documents without their fiscal reference.
What to do
Deactivate it instead of deleting it: it stops being offered on new documents and the existing ones keep their reference.