sales_order_has_invoices
The order has a net invoiced amount (its invoices minus their corrective invoices): an invoiced order cannot be cancelled.
| Code | Type | HTTP | Category |
|---|---|---|---|
sales_order_has_invoices | invalid_request_error | 422 | Sales Orders |
Cause
The order has a net invoiced amount (its invoices minus their corrective invoices): an invoiced order cannot be cancelled.
What to do
First correct its invoices with corrective invoices and, once the net invoiced amount is zero, cancel the order.
Related
All Sales Orders 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.