purchase_invoice_not_draft
The operation only applies while the purchase invoice is a draft, and this one has already been registered.
| Code | Type | HTTP | Category |
|---|---|---|---|
purchase_invoice_not_draft | invalid_request_error | 422 | Purchase Invoices |
Cause
The operation only applies while the purchase invoice is a draft, and this one has already been registered.
What to do
Read status and use the operation matching it: registered invoices change through payment or cancellation, not through draft editing.