Stable Pro API · v1
409 · conflict
The request conflicts with what is already recorded
The documented operations are available for the real stable and for its test environment, at the same address. Use the key for the environment you are working in.Availability and changes · 2026-12-03
When
A number, identifier or document status prevents the write.
Extra fields
-
reason: The rule that blocked the request. -
existing_document_id: Whenreasonisnumber_in_use, the id of the existing document.
Reasons
reason | Meaning |
|---|---|
number_in_use | Number already recorded for the same kind and year. |
external_id_in_use | external_id already used with different data. |
status_final | The document is already cancelled or rejected. |
coverage_exists | This coverage is already recorded. |
managed_by_another_connection | Another connection manages this document. |
has_issued_corrections | An issued document already corrects this document. |
fact_reserved | Another run has reserved those facts and is already asking for the document to be created. Do not create a second one: the response carries reservation_id and reservation_status. |
reservation_sending | The reservation has already requested the creation and your Idempotency-Key is a different one: another run cannot take it over. With the same key you get the answer already given. |
reservation_closed | The reservation is no longer yours: a newer reservation took those facts, or it is already closed. Do not create the document. |
reservation_held_by_another_connection | The reservation belongs to another connection of the stable: only that one can move it to sending or release it. The document itself you can still record. |
advance_reduced_by_issued_document | The advance invoice is already reduced by an issued final invoice: it cannot be cancelled or rejected while that invoice reduces it. |
What to do
Read reason and compare the recorded document before retrying. Do not change external_id to bypass a duplicate.
The response
{
"type": "https://stable-pro.com/docs/api/problems/conflict",
"title": "The request conflicts with what is already recorded",
"status": 409,
"detail": "…"
}
Decide on type, never on detail: see Errors.