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.
Related
All Taxes error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.