documentType: TAX_DOCUMENT, cause:INVOICE, or receipt documents documentType: TAX_DOCUMENT, cause:RECEIPT, to close the sale.originalId.refDocumentRow (INVOICE or RECEIPT) must belong to the same original document.callback used by Four Way Shop to asynchronously notify the client of success/failure and to return the order ID must be handled (How Testing callback response).POST request to the Orchestrated Return order API, providing the necessary headers and JSON payload (utilizzando i riferimenti della risposta della precendete API).originalId corresponds to a valid administrative document.refDocumentRow belongs to that same document.originalId or refDocumentRow does not match an existing document or row, the API returns an error.id.document Number or barcode are not set, an error is returned.originalId does not match any known document, the service will return an error in the callback with a detailed message describing the problem.refDocumentRow belongs to a different document than the one specified in originalId, the backend validation fails and the callback contains an error message.