invoice_spans_several_months
The invoice of the sales order would mix goods served in delivery notes of different calendar months, and a summary invoice only groups one calendar month (art. 13.1 RD 1619/2012).
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_spans_several_months | invalid_request_error | 422 | Sales Orders |
Cause
The invoice of the sales order would mix goods served in delivery notes of different calendar months, and a summary invoice only groups one calendar month (art. 13.1 RD 1619/2012).
What to do
Invoice each month separately, starting with the oldest month listed in details.months; the serving plan shows what is pending per month.
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.