Status 422
Idempotency key is required
idempotency_key_required
When it happens
The method runs only with the Idempotency-Key header: a duplicate with the tax authority cannot be undone.
What to do
Send a unique key, such as a UUID; retry after a lost response with the same key and body.
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
- post
/orders/{order}/invoiceIssue the invoice of a closed sale: issuing runs in the background, the outcome comes as an event - post
/fiscal-documents/{document}/reissueReissue a document after a failure or a rejection by the tax authority - post
/fiscal-documents/{document}/annulAnnul an issued invoice with a credit note
Response body
application/problem+json · ValidationProblem
typestringrequiredMachine type of the problem: a stable code to branch on, such as insufficient_scope. Every type has a page in the error catalog.
titlestringrequiredShort summary of the problem in the language of the request.
statusintegerrequiredHTTP status of the response.
detailstringExplanation of this occurrence in the language of the request.
errorsmap of array of stringrequiredInvalid fields: name of the field (nested ones with dots, such as variants.0.price) → messages.