{ "unit_sales": [ { "table_id": "259", "dates": { "ticket_begin": "2022-06-27T08:40:20Z", "ticket_end": "2022-06-27T08:40:20Z" }, "type": "OTHER", "items": [ { "type": "product", "id": "c0308c8c-5c38-60d4-b297-85b3d1923128", "reference": "6750", "quantity": 1, "price": { "tax_included_amount": 8.95, "currency": "EUR" }, "vat": { "code": "3", "rate": 10, "amount": 0.63 }, "scope": { "activity": "1", "sales_type": "1", "sales_area": "4" }, "unit": { "value": 0, "price": { "tax_included_amount": 8.95 } }, "label": "Poulet roti 1/2", "components": [], "piece_count": 0, "discounts": [] }, { "type": "product", "id": "14eb0842-db4e-fec3-f452-d7251e5f0209", "reference": "11944", "quantity": 1, "price": { "tax_included_amount": 3.1, "currency": "EUR" }, "vat": { "code": "2", "rate": 20, "amount": 0.4 }, "scope": { "activity": "1", "sales_type": "1", "sales_area": "4" }, "unit": { "value": 0, "price": { "tax_included_amount": 3.1 } }, "label": "Ch'ti 33cl bout", "components": [], "piece_count": 0, "discounts": [] } ], "discounts": [ { "technical_id": "116408", "code": "30%_FAM2_S", "label": "", "amount": 2.69 } ], "payment": { "methods": [ { "mode": { "id": "013", "label_short": "ESPECES" }, "category": { "id": "0050", "label_short": "ESPECES" }, "amount": 9.36, "date": "2022-06-27T00:00:00Z", "quantity": 1, "tickets": [], "currency": "EUR" } ], "status": "AUTHORIZED", "cashback_amount": 0, "overpaid_amount": 0 }, "status": "ACTIVE", "reference": "00690051/0001058", "totals": { "amount_with_tax": 9.36, "per_guest_amount": 0, "vat": [ { "code": "3", "amount": 0.63, "rate": 10 }, { "code": "2", "amount": 0.4, "rate": 20 } ] }, "marketing_surveys": [], "customer": { "loyalty": [], "email": "print" }, "counters": { "uo": 1, "uo_or_one": 1, "product_count": 2, "guest_count": 1, "basket_count": 0 }, "unit_statistics": [ { "vat_code": "3", "sales_type": "1", "sales_area": "4", "turnover": 6.95, "employee_sales": { "meal": 0, "beverages": 0 }, "discount_amount": 2, "offered": 0, "cancelled": 0, "is_recheck": "false" }, { "vat_code": "2", "sales_type": "1", "sales_area": "4", "turnover": 2.41, "employee_sales": { "meal": 0, "beverages": 0 }, "discount_amount": 0.69, "offered": 0, "cancelled": 0, "is_recheck": "false" } ], "operator": { "id": "6900", "first_name": "Manager", "last_name": "Lens" }, "service": { "type": "MORNING", "date": "2022-06-27T00:00:00Z", "id": "1" } } ], "origin": { "site": { "id": "69", "name": "FLUNCH LENS", "default_sales_area": "4" }, "checkout": { "id": "07BDB810B4806D7672B74ACA69E5ADFD", "dates": { "opening": "2022-06-27T08:40:01Z", "closure": "2022-06-27T08:40:23Z" }, "drawer_id": "50_TCA", "till_id": "69_05" } }, "theoretical_revenues": [ { "vat_code": "3", "sales_type": "1", "sales_area": "4", "turnover": { "count": 1, "amount": 6.95 }, "employee_sales": { "meals": { "count": 0, "amount": 0 }, "beverages": { "count": 0, "amount": 0 } }, "discounts": { "count": 1, "amount": 2 }, "service": { "type": "MORNING", "date": "2022-06-27T00:00:00Z", "id": "1" } }, { "vat_code": "2", "sales_type": "1", "sales_area": "4", "turnover": { "count": 1, "amount": 2.41 }, "employee_sales": { "meals": { "count": 0, "amount": 0 }, "beverages": { "count": 0, "amount": 0 } }, "discounts": { "count": 1, "amount": 0.69 }, "service": { "type": "MORNING", "date": "2022-06-27T00:00:00Z", "id": "1" } } ], "pre_countings": [ { "category": "0050", "count": 1, "amount": 9.36 } ] }