cannot_attach_to_cancelled_purchase_invoice
The invoice is cancelled, and attaching documents to a cancelled record would alter closed documentation.
| Code | Type | HTTP | Category |
|---|---|---|---|
cannot_attach_to_cancelled_purchase_invoice | invalid_request_error | 422 | Purchase Invoices |
Cause
The invoice is cancelled, and attaching documents to a cancelled record would alter closed documentation.
What to do
Register the expense again on a live invoice and attach the file there.
Related
All Purchase 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.