curl --location --request POST 'https://your-api-server.com' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"timestamp": "string",
"event": "accounting.receipt.sale",
"data": {
"number": "string",
"total": {
"amount": 0,
"VAT": 0,
"amountVAT": 0
},
"localId": "string",
"tip": 0,
"note": "string",
"table": "string",
"state": "open",
"paymentType": "transfer",
"device": {
"localId": "string",
"uuid": "string"
},
"cashier": {
"localId": "string"
},
"client": {
"localId": "string"
}
}
}'