Loading the search index…

Status 409

The order invoice can't be issued now

invoice_issue_refused

When it happens

The order invoice cannot be issued now. code is the reason: channel_not_first_party — the sales channel issues the document; entity_exempt — the legal entity of the order issues no documents; issued_externally — an external POS issues the document; provider_disabled — the fiscal module of the store is off; not_covered — the sale is not paid yet; advance_applied — a booking advance was applied to the check, and the check invoice documents it; invoice_exists — the invoice already exists or waits to be issued; invoice_rejected — the tax authority rejected the invoice; nothing_to_issue — the order was refunded in full; bill_required — the table has several bills, a bill invoice is issued by the POS or the dashboard. current.invoice_id is the current invoice of the order for invoice_exists and invoice_rejected.

What to do

not_covered — wait for the payment; invoice_exists — follow the invoice current.invoice_id; invoice_rejected — fix the data and reissue it with POST /v1/fiscal-documents/{document}/reissue. A retry does not fix the other reasons.

Can’t find the answer, or the error keeps coming back? Write to us and quote the X-Request-Id from the response so we can find the request. Contact us

Endpoints that return it

Response body

application/problem+json · ConflictProblem

  • typestringrequired

    Machine type of the problem: a stable code to branch on, such as insufficient_scope. Every type has a page in the error catalog.

  • titlestringrequired

    Short summary of the problem in the language of the request.

  • statusintegerrequired

    HTTP status of the response.

  • detailstring

    Explanation of this occurrence in the language of the request.

  • currentobject

    The record as it is now, the fields the conflict is about: on_hand for stock_on_hand_changed, status for rejected order changes, status and order_id for a closed draft.

  • external_idstring

    For external_id_in_use and external_id_archived — the taken external ID.

  • consent_kindstring

    For consent_required — the kind of consequence to agree to.

  • consequencesmap of integer

    For consent_required — what will change: kind of data → number of records.

    Minimum:
    0
  • consent_tokenstring

    For consent_required — fingerprint of the shown consequences. Repeat the request with consent[<consent_kind>]=<consent_token>.

  • variant_idinteger

    For consent_required of a variant line in a product write — the variant: the consent is given by changing that variant (PATCH /v1/variants/{variant}).

  • limitinteger

    For plan_limit_reached, address_book_full, bulk_operation_queue_full and webhook_endpoint_limit_reached — the limit.

    Minimum:
    0
  • fieldstring

    For customer_contact_in_use — the contact that belongs to another customer: phone or email.

    Values:
    phoneemail
  • existing_customer_idinteger

    For customer_contact_in_use — the customer the contact belongs to.

  • receivedinteger

    For upload_offset_mismatch — bytes the upload has received: the offset to continue from.

    Minimum:
    0
  • operation_statusstring

    For bulk_operation_finished — the status the operation finished with.

← Errors