Examples
Examples by document type
Ready-to-send requests for every document type, from Flexy's automated tests.
For every document type you will find one or more ready-to-send requests, the same ones Flexy's automated tests send to AADE's test environment. The exception is 8.6, which Flexy cannot issue yet.
Send each request with POST to /api/v1/documents/ as in step 2, after replacing <VAT NUMBER> with the issuer's VAT number.
Before you send
- The page fills
aaanddatewith the current Greek time, the same for every example on the page; each example has its ownseries, so you can send them all one after another (those with<MARK>once you have filled it in). To send them again, reload the page. custom_idis optional: your own reference for the document; set it only if you need it.<MARK>is the MARK of a document you issued earlier that the example refers to.- A document you have just issued may not yet be available for references to its MARK; if the response says
Invoice with ΜΑΡΚ … not found, send again a little later.
Document types
| Type | Document | Examples |
|---|---|---|
| 1.1 | Sales Invoice | 13 |
| 1.2 | Sales Invoice / Intra-community Supplies | 1 |
| 1.3 | Sales Invoice / Third Country Supplies | 2 |
| 1.4 | Sales Invoice / Sale on Behalf of Third Parties | 1 |
| 1.5 | Sales Invoice / Clearance of Sales on Behalf of Third Parties – Fees from Sales on Behalf of Third Parties | 1 |
| 1.6 | Sales Invoice / Supplemental Accounting Source Document | 1 |
| 2.1 | Service Rendered Invoice | 1 |
| 2.2 | Intra-community Service Rendered Invoice | 1 |
| 2.3 | Third Country Service Rendered Invoice | 2 |
| 2.4 | Service Rendered Invoice / Supplemental Accounting Source Document | 1 |
| 3.1 | Proof of Expenditure (non-liable Issuer) | 1 |
| 3.2 | Proof of Expenditure (denial of issuance by liable Issuer) | 1 |
| 5.1 | Credit Invoice / Associated | 1 |
| 5.2 | Credit Invoice / Non-Associated | 1 |
| 6.1 | Self-Delivery Record | 1 |
| 6.2 | Self-Supply Record | 1 |
| 7.1 | Contract – Income | 1 |
| 8.1 | Rents – Income | 1 |
| 8.2 | Climate Crisis Resilience Fee | 1 |
| 8.4 | POS Receipt | 1 |
| 8.5 | POS Return Receipt | 1 |
| 8.6 | Catering Order Slip | 1 |
| 9.1 | Associated Delivery Note | 1 |
| 9.2 | Consolidated Delivery Note | 2 |
| 9.3 | Delivery Note | 5 |
| 10.1 | Associated Quantity Receipt Note | 1 |
| 10.2 | Non-Associated Quantity Receipt Note | 1 |
| 11.1 | Retail Sales Receipt | 1 |
| 11.2 | Service Rendered Receipt | 1 |
| 11.3 | Simplified Invoice | 1 |
| 11.4 | Retail Sales Credit Note | 1 |
| 11.5 | Retail Sales Receipt on Behalf of Third Parties | 1 |
The response
When AADE accepts the document, the API answers with HTTP 201, as in step 2:
{
"document": {
"aa": "20261004200424",
"series": "A",
"issue_date": "2026-10-04",
"id": "632b2de6-01c6-40f3-bb4c-a3ffacfb43dc",
"provider": "flexy",
"status": "success",
"mydata_mark": 400001972106993,
"mydata_uid": "C007ED1925D0C9DC51BAAD907EB96A02DB27601E",
"qr_code_url": "https://mydataapidev.aade.gr/TimologioQR/QRInfo?q=…",
"issuer_vat_number": "<VAT NUMBER>",
"counterpart_vat_number": "159107845",
"total_gross_value": "124.00"
// … and the rest of the document
}
}