charge_rule_invalid
The rule is inconsistent: the condition, the outcome, the not-invoiced reason, the concept or the VAT rate do not fit together or are not valid. The conflicting field is reported in `param`.
| Code | Type | HTTP | Category |
|---|---|---|---|
charge_rule_invalid | invalid_request_error | 422 | Integration |
Cause
The rule is inconsistent: the condition, the outcome, the not-invoiced reason, the concept or the VAT rate do not fit together or are not valid. The conflicting field is reported in param.
What to do
Fix the field named in param: "invoice" accepts a concept and a sales VAT rate and no reason; "do not invoice" requires a reason and accepts no concept or VAT rate.
Related
All Integration 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.