purchase_invoice_already_exists
That supplier already has an expense registered with the same number. The pair supplier plus number identifies the document uniquely and prevents recording an expense twice.
| Code | Type | HTTP | Category |
|---|---|---|---|
purchase_invoice_already_exists | conflict_error | 409 | Expenses |
Cause
That supplier already has an expense registered with the same number. The pair supplier plus number identifies the document uniquely and prevents recording an expense twice.
What to do
Update the existing expense instead of registering it again, or check the number if the supplier really issued two documents.
Related
All Expenses 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.