curl --location --request POST 'https://your-api-server.com?dataDomain=bills' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"billNumber": "string",
"deskId": null,
"status": "string",
"totalAmount": 0,
"discountAmount": 0,
"tipsAmount": 0,
"roundingAmount": 0,
"currency": "string",
"createdAt": "string",
"sessionCreatedAt": "string",
"paidByPersonId": "string",
"createdByPersonId": "string",
"customerId": null,
"items": [
{
"itemId": 0,
"itemHash": "string",
"name": "string",
"amount": 0,
"measure": "string",
"vatRate": 0,
"unitPriceWithVat": 0,
"unitPriceWithoutVat": 0,
"totalPriceWithVat": 0,
"totalPriceWithoutVat": 0,
"unitDiscount": 0,
"totalDiscount": 0,
"appliedDiscounts": [
{
"type": "string",
"unitDiscount": 0,
"totalDiscount": 0
}
]
}
],
"payments": [
{
"paymentTypeId": "string",
"priceWithVat": 0
}
],
"_lastModifiedAt": "string"
}'