invoice_due_date_not_last_instalment
The invoice has a payment schedule and its due date (`due_on`) is missing or is not the date of the last installment, which is when the invoice falls due.
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_due_date_not_last_instalment | invalid_request_error | 422 | Invoices |
Cause
The invoice has a payment schedule and its due date (due_on) is missing or is not the date of the last installment, which is when the invoice falls due.
What to do
Set due_on to the date of the last installment (or leave it out when you edit the schedule so it is taken automatically) or adjust the installment dates, then issue again.
Related
All Invoices 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.