INVOICE_ALREADY_EXISTS
Status: 409 Conflict
What it means
There is already an active invoice with this number from the same other party.
What to do
Check the invoice number. If the invoice is already in the list, you do not need to add it again.
Example of the answer
The API answers with this JSON (title and detail change with the situation and the language):
{
"type": "https://docs.mbtcompany.eu/errors/invoice-already-exists",
"title": "Conflict",
"status": 409,
"detail": "There is already an active invoice with this number from the same other party.",
"code": "INVOICE_ALREADY_EXISTS"
}