Stable Pro

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: When reason is number_in_use, the id of the existing document.

Reasons

reasonMeaning
number_in_useNumber already recorded for the same kind and year.
external_id_in_useexternal_id already used with different data.
status_finalThe document is already cancelled or rejected.
coverage_existsThis coverage is already recorded.
managed_by_another_connectionAnother connection manages this document.
has_issued_correctionsAn issued document already corrects this document.
fact_reservedAnother 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_sendingThe 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_closedThe 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_connectionThe 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_documentThe 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.