priceSale: the product's selling price is a gross VAT amount;priceInvoice: the product's invoice price (purchase invoice) is a net VAT amount;pricePurchase: the product's purchase price (typically purchase order) is a net VAT amount.priceSale is mandotary instead priceInvoice, and pricePurchase are not provided, the system will attempt to retrieve prices based on the branchCode and the sale, invoice, and purchase price lists. If no matching price is found, the API will return an error, and the document will not be created.{
"documentHeader": {
"documentType": "ORDER",
"documentDate": "2023-06-05 00:00:00",
"cause": "RETURN",
"system" : "ECOMMERCE",
"originalId": "05273ff9-cc23-4a7a-801d-fb334ee4b160",
"step": 50
},
"documentRows": [
{
"refDocumentRow": "f0651df1-d385-4c4d-90a0-e2f2f4c19838",
"returnReasonDescription": "PROVA",
"quantity": 1
}
],
"callback": "https://europe-west1-sinesy4wsplatform.cloudfunctions.net/fake-callback"
}{
"success": true,
"id": "7571b744-8e2d-4dde-99d8-b60c0dff1aca"
}{
"success": false,
"id": "64ee5dda-d2b5-4fbc-ae6d-fbd2ff13352b",
"message": "Invalid barcode value: 87654321 at row: 1"
}02931b8a-a6c8-4e47-b3f1-041ffb1e432q and links it uniquely to the collected order.