purchase_invoice_already_exists
That supplier already has a purchase invoice 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 | Purchase Invoices |
Cause
That supplier already has a purchase invoice 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 invoice instead of registering it again, or check the number if the supplier really issued two documents.