Skip to main content

Restaurant Orders (8.6)

Businesses that serve at the table issue an order slip (Δελτίο Παραγγελίας Εστίασης, myDATA document type 8.6) for every order, before the guest pays. An order slip is not a fiscal document. It records the open table, and the receipt or invoice issued when the guest pays has to be associated with it within 24 hours. This page describes how the POS system issues, closes and cancels order slips with the Middleware, and how it fixes an order that stayed open.

The 24-hour rule​

Order slips have to be associated with the receipts or invoices they concern within 24 hours of their issue (Α.1112/2025, art. 9 par. 7). An order slip counts as associated once a receipt or invoice transmitted to myDATA carries its MARK. A full cancellation closes it as well:

  • Every accepted order slip is an order, except a cancellation. Further rounds for the same table and return slips are orders as well.
  • An order is closed by an accepted receipt or invoice that carries its MARK (see Close orders with the receipt), or by its full cancellation. Nothing else closes it: not another order slip, not a return slip, not a credit document, and not a reference that never reached myDATA.
  • The 24 hours start when the order slip is transmitted to myDATA.

If an order slip stays open for more than 24 hours, the law requires the provider to stop authenticating and transmitting the documents of the business until the open order slips are associated. During a stop:

  • Only the documents that close an open order are accepted, on any cashbox of the business with the same VAT number: the receipt or invoice that carries its MARK, and its full cancellation.
  • The stop ends as soon as no order slip of the business is open for more than 24 hours. To get there, close every open order as described in Fix an order that stayed open.

The POS system should keep track of the order slips that are still open, so that none is left behind when a table pays or when the business day ends.

Issue an order​

Send each order, and each further round for the same table, as a request with the receipt case Order:

FieldContent
ftReceiptCase0x4752_2000_0000_3004 (Order).
cbReceiptReferenceA new, unique reference for each order slip.
cbAreaThe table number, transmitted as tableAA. myDATA accepts at most 50 characters (see cbArea).
cbChargeItemsThe ordered items. Every item needs a Description: myDATA rejects an order slip with a line without description (error 204).
cbPayItemsNone. The order is paid on the receipt that closes it.

Table 1. Fields of an order.

Example of the first round for table 15:

{
"ftReceiptCase": 5139205309155258372,
"cbReceiptReference": "table15-round1",
"cbReceiptMoment": "2026-11-05T10:46:37Z",
"cbArea": "15",
"cbChargeItems": [
{
"Quantity": 2,
"Description": "Pork souvlaki",
"Amount": 7.00,
"VATRate": 13,
"VATAmount": 0.81,
"ftChargeItemCase": 5139205309155246097
},
{
"Quantity": 1,
"Description": "Beer 0.5 l",
"Amount": 4.60,
"VATRate": 24,
"VATAmount": 0.89,
"ftChargeItemCase": 5139205309155246099
}
],
"cbPayItems": []
}

5139205309155258372 is the decimal value of 0x4752_2000_0000_3004 (Order). The charge items use 0x4752_2000_0000_0011 (supply of goods, discounted-1 VAT rate, 13 %) and 0x4752_2000_0000_0013 (supply of goods, normal VAT rate, 24 %).

The response carries the MARK of the order slip in the signature item Mark, and the informational notice that has to be printed on the order slip (see Receipt Printing). Keep the MARK with the order: it is needed to close or cancel the order from another terminal or cashbox.

Close orders with the receipt​

When the guest pays, the POS system issues the receipt or invoice for the table and references every open order slip of the table in it: each round, and each return slip. The references go in cbPreviousReceiptReference, as a single string or as an array. Example of the receipt for table 15, after a second round with a salad:

{
"ftReceiptCase": 5139205309155246081,
"cbReceiptReference": "table15-receipt",
"cbReceiptMoment": "2026-11-05T10:47:36Z",
"cbPreviousReceiptReference": [
"table15-round1",
"table15-round2"
],
"cbChargeItems": [
{
"Quantity": 2,
"Description": "Pork souvlaki",
"Amount": 7.00,
"VATRate": 13,
"VATAmount": 0.81,
"ftChargeItemCase": 5139205309155246097
},
{
"Quantity": 1,
"Description": "Beer 0.5 l",
"Amount": 4.60,
"VATRate": 24,
"VATAmount": 0.89,
"ftChargeItemCase": 5139205309155246099
},
{
"Quantity": 1,
"Description": "Greek salad",
"Amount": 8.00,
"VATRate": 13,
"VATAmount": 0.92,
"ftChargeItemCase": 5139205309155246097
}
],
"cbPayItems": [
{
"Description": "Cash",
"Amount": 19.60,
"ftPayItemCase": 5139205309155246081
}
]
}

5139205309155246081 is the decimal value of 0x4752_2000_0000_0001, both for the POS receipt and for the cash payment.

The Middleware looks up the MARK of each referenced order slip and transmits the MARKs to myDATA in multipleConnectedMarks. The response returns them in the signature item MultipleConnectedMarks, which lists the MARK of every order slip the receipt closes.

  • cbPreviousReceiptReference is looked up among the requests of the same queue. If the request sets cbTerminalID, only requests with the same cbTerminalID are found.
  • Reference only order slips that were accepted. If a reference can't be found, the request is rejected.
  • An order slip issued on another terminal or cashbox is referenced by its MARK, in ftReceiptCaseData.GR.PreviousReceiptReference.invoiceMark (see PreviousReceiptReference). References and MARKs can be combined in the same request.
"ftReceiptCaseData": {
"GR": {
"PreviousReceiptReference": {
"invoiceMark": [400001234567890]
}
}
}

An order is closed by its MARK on the receipt, not by the amounts. A difference in the amounts, for example because of a discount given at payment, doesn't keep the order open. Items that are sent back or cancelled before payment are removed with a return slip.

Cancel an order​

Full cancellation​

An order that was not billed, for example because it was entered twice, entered for the wrong table or not served, is cancelled as a whole:

FieldContent
ftReceiptCase0x4752_2000_0004_3004 (Order with the flag IsVoid).
cbPreviousReceiptReferenceThe cbReceiptReference of the order slip to cancel, or an array of them. An order slip from another terminal or cashbox is referenced by its MARK, as described in Close orders with the receipt.
cbAreaThe table number.
cbChargeItemsAt least one charge item, describing what is cancelled.

Table 2. Fields of a full cancellation.

The Middleware transmits the cancellation with totalCancelDeliveryOrders and a single line with zero values in VAT category 8, as AADE requires. Only the description of the first charge item is transmitted. Without a reference or without cbArea, the request is rejected. A cancellation closes the order slips it references, and it is not an order itself.

warning

An order that has been billed on a receipt or invoice can't be cancelled: AADE does not allow the cancellation of items that a retail receipt was issued for. If that receipt doesn't carry the order's MARK, fix it as described in Fix an order that stayed open.

Return items​

Items that the guest sends back, or that are cancelled before payment, are removed with a return slip. A return slip is an order slip that references the original order slip and contains the returned items:

FieldContent
ftReceiptCase0x4752_2000_0000_3004 (Order), without the flag IsVoid.
cbPreviousReceiptReferenceThe cbReceiptReference of the original order slip. An order slip from another terminal or cashbox is referenced by its MARK, as described in Close orders with the receipt.
cbAreaThe table number.
cbChargeItemsThe returned items with the flag IsReturn/IsRefund (0x0000_0000_0002_0000), a negative quantity and amount, and the VAT rate of the original item.

Table 3. Fields of a return slip.

The Middleware transmits the returned items as lines with recType 7 (negative sign of values). A returned item keeps its VAT rate; it is not a VAT-free line.

A return slip is an order like any other: reference it in the receipt that closes the table, together with the original order slips. It doesn't close the original order, even if it returns every item. To cancel a whole order that was not billed, use the full cancellation.

Fix an order that stayed open​

What happenedWhat the POS system issues
The order was served, but no receipt was issued.The receipt now, closing the order by its MARK.
The order was not served, for example a duplicate or a test, and nothing was billed.The full cancellation of the order.
A receipt was issued, but it doesn't carry the order's MARK, for example because the reference was missing.The receipt again, closing the order by its MARK, then a refund of the first receipt (0x4752_2000_0100_0001, referencing it).

Table 4. How to close an order that stayed open.

The new receipt and the refund leave the revenue as it was; only the new receipt carries the association. Issue the new receipt first: during a stop, it is accepted because it closes the order, but the refund is not.