tax_not_defaultable_for_document
The tax cannot be the default of that document: it is of type `other`, its scope (`applies_to`) does not cover the document, or the document is `recurring_invoice`, which inherits from invoice.
| Code | Type | HTTP | Category |
|---|---|---|---|
tax_not_defaultable_for_document | invalid_request_error | 422 | Taxes |
Cause
The tax cannot be the default of that document: it is of type other, its scope (applies_to) does not cover the document, or the document is recurring_invoice, which inherits from invoice.
What to do
Pick a document compatible with the tax scope (sales or purchases), or set the default on invoice to cover recurring invoices.
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.