> ## Documentation Index
> Fetch the complete documentation index at: https://invopop-link-fix.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# myDATA issuing invoices guide

> Send invoices and credit notes to the Greek IAPR via the myDATA platform.

export const grIaprInvoiceWorkflow = {
  "name": "myDATA issue invoice",
  "description": "Issue an invoice to myDATA via ILYDA",
  "schema": "bill/invoice",
  "steps": [{
    "id": "883baa10-abd5-11ef-8b96-dd5de8906f90",
    "name": "Set state",
    "config": {
      "state": "processing"
    },
    "summary": "Set state to `processing`{.state .processing}",
    "provider": "silo.state"
  }, {
    "id": "e9fad100-abd4-11ef-8b96-dd5de8906f90",
    "name": "Add sequential code",
    "config": {
      "name": "IAPR Invoices",
      "start": 1,
      "padding": 3
    },
    "summary": "Dynamic · IAPR · 1",
    "provider": "sequence.enumerate"
  }, {
    "id": "fc75e4f0-8721-11ef-a962-73e3f2037a52",
    "name": "Sign envelope",
    "provider": "silo.close"
  }, {
    "id": "649aca50-9064-11ef-8f9e-39835766d0bc",
    "name": "Send invoice to myDATA",
    "provider": "ilyda.send"
  }, {
    "id": "6f77ad10-a32b-11ef-9707-79bbd71238cd",
    "name": "Set state",
    "config": {
      "state": "sent"
    },
    "summary": "Set state to `sent`{.state .sent}",
    "provider": "silo.state"
  }],
  "rescue": [{
    "id": "e8c9c0a0-a32a-11ef-9707-79bbd71238cd",
    "name": "Set state",
    "config": {
      "state": "error"
    },
    "summary": "Set state to `error`{.state .error}",
    "provider": "silo.state"
  }]
};

export const WorkflowDiagram = ({workflow}) => {
  const stateColors = {
    processing: "yellow",
    sent: "blue",
    received: "blue",
    registered: "green",
    completed: "green",
    error: "red"
  };
  const StateChip = ({state, label}) => <Badge size="sm" color={stateColors[state] || "gray"} icon="square-small" iconType="solid">
      {label.charAt(0).toUpperCase() + label.slice(1)}
    </Badge>;
  const providerIcons = {
    "silo.state": "https://silo.invopop.com/images/status.svg",
    "silo.close": "https://silo.invopop.com/images/check-badge.svg",
    "silo.if": "https://assets.invopop.com/apps/silo/if.svg",
    "silo.folder": "https://silo.invopop.com/images/folder.svg",
    "silo.modify": "https://silo.invopop.com/images/modify.svg",
    "silo.correct": "https://silo.invopop.com/images/replace.svg",
    "silo.sleep": "https://assets.invopop.com/icons/sleep.svg",
    silo: "https://assets.invopop.com/apps/silo/icon.svg",
    "sequence.enumerate": "https://sequence.invopop.com/images/enumerate.svg",
    "transform.job.create": "https://transform.invopop.com/images/jobs.svg",
    webhook: "https://webhook.invopop.com/icon.svg",
    lookup: "https://lookup.invopop.com/icon.png",
    dropbox: "https://dropbox.invopop.com/icon.png",
    pdf: "https://pdf.invopop.com/file-pdf.svg",
    peppol: "https://assets.invopop.com/apps/peppol/icon.svg",
    ubl: "https://assets.invopop.com/apps/ubl/logo.svg",
    cii: "https://assets.invopop.com/apps/cii/logo.svg",
    "gov-fr": "https://assets.invopop.com/flags/fr.svg",
    "chorus-pro": "https://assets.invopop.com/apps/chroruspro/icon.svg",
    "gov-es": "https://assets.invopop.com/apps/gov-es/icon.svg",
    "gov-es.sii": "https://assets.invopop.com/apps/sii/icon.svg",
    "gov-es.ticketbai": "https://assets.invopop.com/apps/ticketbai/icon.svg",
    "gov-es.facturae": "https://assets.invopop.com/apps/facturae/icon.svg",
    verifactu: "https://assets.invopop.com/apps/verifactu/icon.svg",
    "gov-pl": "https://assets.invopop.com/apps/ksef/icon.svg",
    "gov-sa": "https://assets.invopop.com/apps/zatca/icon.svg",
    "gov-ar": "https://assets.invopop.com/apps/arca/icon.svg",
    "at-pt": "https://assets.invopop.com/apps/at-pt/icon.svg",
    "sat-mx": "https://assets.invopop.com/apps/sat-mexico/icon.svg",
    "sw-sapien": "https://assets.invopop.com/apps/sw-sapien/icon.svg",
    "sdi-it": "https://assets.invopop.com/apps/sdi-italy/icon.svg",
    "ticket-it": "https://assets.invopop.com/apps/agenzia-entrate/icon.svg",
    "nfe-br": "https://assets.invopop.com/apps/notas-fiscais-eletronicas-brazil/icon.svg",
    chargebee: "https://assets.invopop.com/apps/chargebee/icon.svg",
    stripe: "https://assets.invopop.com/apps/stripe/icon.svg",
    email: "https://assets.invopop.com/apps/email/icon.svg",
    cron: "https://assets.invopop.com/apps/cron/icon.svg",
    ilyda: "https://assets.invopop.com/apps/ilyda/icon.svg",
    invoicexpress: "https://assets.invopop.com/apps/invoicexpress/icon.svg",
    plemsi: "https://assets.invopop.com/flags/co.svg"
  };
  const iconFor = provider => {
    const parts = (provider || "").split(".");
    for (let i = parts.length; i > 0; i--) {
      const url = providerIcons[parts.slice(0, i).join(".")];
      if (url) return url;
    }
    return null;
  };
  const StepIcon = ({provider}) => {
    const url = iconFor(provider);
    return <span title={provider} className="flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-gray-950/10 bg-white dark:border-white/10 dark:bg-white/5">
        {url ? <img src={url} alt="" className="h-4 w-4" /> : null}
      </span>;
  };
  const renderSummary = summary => {
    const nodes = [];
    const re = /`([^`]+)`(\{[^}]*\})?/g;
    let last = 0;
    let m;
    let k = 0;
    while ((m = re.exec(summary)) !== null) {
      if (m.index > last) nodes.push(summary.slice(last, m.index));
      const attrs = m[2] || "";
      if (attrs.indexOf(".state") >= 0) {
        const state = (attrs.match(/\.state\s+\.([\w-]+)/) || [])[1] || m[1];
        nodes.push(<StateChip key={k++} state={state} label={m[1]} />);
      } else if (attrs) {
        nodes.push(<span key={k++} className="text-sm font-medium text-gray-700 dark:text-gray-300">
            {m[1]}
          </span>);
      } else {
        nodes.push(<code key={k++} className="text-sm rounded bg-gray-100 px-1 font-mono text-sm dark:bg-white/10">
            {m[1]}
          </code>);
      }
      last = m.index + m[0].length;
    }
    if (last < summary.length) nodes.push(summary.slice(last));
    return nodes;
  };
  const NoteRow = ({text}) => <div className="mt-4 mb-1 font-mono text-sm leading-5 text-gray-400 dark:text-gray-500">{"// " + text}</div>;
  const renderSteps = (steps, counter) => (steps || []).map(step => {
    counter.n += 1;
    const n = counter.n;
    const branches = (step.next || []).filter(b => b.steps && b.steps.length > 0);
    return <div key={step.id || "step-" + n}>
          {step.notes ? <NoteRow text={step.notes} /> : null}
          <div className="mt-2.5 flex items-center">
            <span className="absolute left-0 w-10 text-center font-mono text-sm text-gray-400 select-none dark:text-gray-500">
              {n}
            </span>
            <div className="flex min-w-0 flex-1 items-center gap-2 rounded-xl border border-gray-950/5 bg-white px-2 py-2 dark:border-white/10 dark:bg-gray-900">
              <StepIcon provider={step.provider} />
              <span className="text-sm shrink-0 font-medium text-gray-900 dark:text-gray-100">{step.name}</span>
              {step.summary ? <span className="text-sm min-w-0 truncate text-gray-500 dark:text-gray-400">{renderSummary(step.summary)}</span> : null}
            </div>
          </div>
          {branches.length > 0 ? <div className="ml-5 border-l border-gray-200 -my-1 py-1 pl-6 dark:border-white/10">
              {branches.map((branch, bi) => <div key={branch.code || branch.status || bi}>
                  <div className="mt-4">
                    <span className="rounded-md bg-gray-200/70 px-2 py-1 font-mono text-sm text-gray-600 dark:bg-white/10 dark:text-gray-300">
                      {branch.code || branch.status}
                    </span>
                  </div>
                  {renderSteps(branch.steps, counter)}
                </div>)}
            </div> : null}
        </div>;
  });
  const counter = {
    n: 0
  };
  const wf = workflow || ({});
  return <div className="not-prose relative my-5 rounded-2xl border border-gray-950/5 bg-gray-50 py-3 pr-4 pb-5 pl-12 dark:border-white/10 dark:bg-white/[0.03]">
      {renderSteps(wf.steps, counter)}
      {wf.rescue && wf.rescue.length > 0 ? <div className="mt-6 border-t border-dashed border-gray-300 dark:border-white/10">
          <NoteRow text="If any step fails" />
          {renderSteps(wf.rescue, counter)}
        </div> : null}
    </div>;
};

## Introduction

The myDATA (My Digital Accounting and Tax Application) platform is Greece’s standardized electronic invoicing and bookkeeping system, managed by the Independent Authority for Public Revenue (IAPR). This system enables businesses to report invoices and accounting data in real time, ensuring compliance with Greek tax regulations.

In this guide you'll learn how to issue invoices and credit notes in a supplier's name using the [ILYDA Greece app](/apps/ilyda-greece). To register a supplier first, see the companion guide: [Greece: Supplier registration](/guides/gr-iapr-supplier).

| -               | Sandbox                                                                 | Live                         |
| --------------- | ----------------------------------------------------------------------- | ---------------------------- |
| **Supplier**    | Invoices must use the pre-enabled test supplier with tax ID `177472438` | Registered supplier required |
| **Environment** | myDATA test                                                             | myDATA production            |

## Prerequisites

To issue invoices in Greece, you will need:

* **A registered supplier**: follow the [myDATA supplier registration guide](/guides/gr-iapr-supplier) to connect the ILYDA Greece app and register the supplier with ILYDA before issuing.
* Customer details for B2B transactions, including name, TIN or international ID, and address.
* Line and item details, including quantity, price, description, applicable VAT rates, and, optionally, income classification codes.
* To have chosen an invoice series.

## Setup

To issue invoices, follow these instructions in the [Invopop Console](https://console.invopop.com):

<Info>
  These instructions apply to both the sandbox and live environments. The ILYDA Greece app must already be connected and the supplier registered — this is covered in the [supplier registration guide](/guides/gr-iapr-supplier).
</Info>

<Steps>
  <Step title="Prepare Invoice Workflow">
    <Card iconType="duotone" title="IAPR Invoice Workflow" icon="code-branch" href="https://console.invopop.com/redirect/workflows/new?template=gr-iapr-invoice" horizontal>
      Add to my workspace →
    </Card>

    <Tabs>
      <Tab title="Workflow">
        <WorkflowDiagram workflow={grIaprInvoiceWorkflow} />
      </Tab>

      <Tab title="Code">
        Copy and paste into a new [Empty Invoice workflow](https://console.invopop.com/redirect/workflows/new?template=empty-invoice) code view.

        ```json Example myDATA invoice workflow theme={null}
        {
          "name": "myDATA issue invoice",
          "description": "Issue an invoice to myDATA via ILYDA",
          "schema": "bill/invoice",
          "steps": [
            {
              "id": "883baa10-abd5-11ef-8b96-dd5de8906f90",
              "name": "Set state",
              "config": {
                "state": "processing"
              },
              "summary": "Set state to `processing`{.state .processing}",
              "provider": "silo.state"
            },
            {
              "id": "e9fad100-abd4-11ef-8b96-dd5de8906f90",
              "name": "Add sequential code",
              "config": {
                "name": "IAPR Invoices",
                "start": 1,
                "padding": 3
              },
              "summary": "Dynamic · IAPR · 1",
              "provider": "sequence.enumerate"
            },
            {
              "id": "fc75e4f0-8721-11ef-a962-73e3f2037a52",
              "name": "Sign envelope",
              "provider": "silo.close"
            },
            {
              "id": "649aca50-9064-11ef-8f9e-39835766d0bc",
              "name": "Send invoice to myDATA",
              "provider": "ilyda.send"
            },
            {
              "id": "6f77ad10-a32b-11ef-9707-79bbd71238cd",
              "name": "Set state",
              "config": {
                "state": "sent"
              },
              "summary": "Set state to `sent`{.state .sent}",
              "provider": "silo.state"
            }
          ],
          "rescue": [
            {
              "id": "e8c9c0a0-a32a-11ef-9707-79bbd71238cd",
              "name": "Set state",
              "config": {
                "state": "error"
              },
              "summary": "Set state to `error`{.state .error}",
              "provider": "silo.state"
            }
          ]
        }
        ```
      </Tab>
    </Tabs>
  </Step>
</Steps>

## Send an invoice

The following examples are of partial [GOBL](https://docs.gobl.org) documents you can copy and paste directly into the [Invopop Console](https://console.invopop.com) or store via the API as silo entries. Then, you must run the "IAPR Invoice Workflow" created during setup.

As usual, the recommended approach for running jobs is to perform two steps; first, upload the document to the [silo](/api-ref/silo/entries/create-an-entry-put), second [create a job](/api-ref/transform/jobs/create-a-job-put).

[GOBL Invoices](https://docs.gobl.org/draft-0/bill/invoice) sent to myDATA require the following properties to perform the correct normalization and validation steps. Invopop will try to assign these automatically, but we recommend defining them explicitly before uploading:

* `$regime` to be set to [`EL`](https://docs.gobl.org/regimes/gr)
* `$addons` to include [`gr-mydata-v1`](https://docs.gobl.org/addons/gr-mydata-v1)

<AccordionGroup>
  <Accordion title="Example service invoice (B2B)">
    In this example, we're issuing a simple services invoice from a Greek supplier to another Greek business customer.

    Notice:

    * we've added the [`gr-mydata-v1`](https://docs.gobl.org/addons/gr-mydata-v1) addon; this ensures the document will be validated and normalized using the myDATA v1 rules built into the [GOBL](https://docs.gobl.org) library,
    * we've set the `services` tag; this makes the addon set the [`gr-mydata-invoice-type`](https://docs.gobl.org/addons/gr-mydata-v1#invoice-type) extension automatically to `2.1` (service invoice),
    * similarly, the `credit-transfer` payment method will cause the addon to set the [`gr-mydata-payment-means`](https://docs.gobl.org/addons/gr-mydata-v1#payment-means) extension to `1` (credit transfer),
    * we added a charge for a special fee (tourist accommodation fee), using the [`gr-mydata-fee`](https://docs.gobl.org/addons/gr-mydata-v1#fee-category) extension,
    * the specific income category and type are set using the [`gr-mydata-income-cat`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-category) extension and the [`gr-mydata-income-type`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-type) extension respectively,
    * only [VAT rates](https://docs.gobl.org/regimes/el#vat-rates) (`standard`) have been specified; percentages and values for the [`gr-mydata-vat-rate`](https://docs.gobl.org/addons/gr-mydata-v1#vat-rate) extension will be set automatically, and,
    * there are no totals or calculations; all these will be made automatically when uploading.

    <CodeGroup>
      ```json B2B Services Invoice theme={null}
      {
        "$schema": "https://gobl.org/draft-0/bill/invoice",
        "$addons": [
          "gr-mydata-v1"
        ],
        "$tags": [
          "services",
          "simplified"
        ],
        "series": "XXGR",
        "supplier": {
          "name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "177472438"
          },
          "addresses": [
            {
              "num": "28",
              "street": "Λεωφόρος Συγγρού",
              "locality": "Αθήνα",
              "code": "11743",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "reservations@athenianhotel.gr"
            }
          ]
        },
        "customer": {
          "name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "841442160"
          },
          "addresses": [
            {
              "num": "15",
              "street": "Οδός Πανεπιστημίου",
              "locality": "Αθήνα",
              "code": "10671",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "accounting@techsolutions.gr"
            }
          ]
        },
        "lines": [
          {
            "quantity": "3",
            "item": {
              "name": "Διαμονή Deluxe Δίκλινο Δωμάτιο",
              "price": "180.00",
              "unit": "day",
              "ext": {
                "gr-mydata-income-cat": "category1_3",
                "gr-mydata-income-type": "E3_561_001"
              }
            },
            "discounts": [
              {
                "reason": "Εταιρική Έκπτωση",
                "percent": "10%"
              }
            ],
            "taxes": [
              {
                "cat": "VAT",
                "rate": "general"
              }
            ]
          }
        ],
        "charges": [
          {
            "reason": "Τέλος διαμονής παρεπιδημούντων",
            "amount": "21.00",
            "ext": {
              "gr-mydata-fee": "18"
            }
          }
        ],
        "payment": {
          "instructions": {
            "key": "credit-transfer"
          }
        }
      }
      ```

      ```json Built version theme={null}
      {
      	"$schema": "https://gobl.org/draft-0/bill/invoice",
      	"$regime": "EL",
      	"$addons": [
      		"gr-mydata-v1"
      	],
      	"$tags": [
      		"services",
      		"simplified"
      	],
      	"type": "standard",
      	"series": "XXGR",
      	"issue_date": "2026-07-08",
      	"currency": "EUR",
      	"tax": {
      		"ext": {
      			"gr-mydata-invoice-type": "11.2"
      		}
      	},
      	"supplier": {
      		"name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "177472438"
      		},
      		"addresses": [
      			{
      				"num": "28",
      				"street": "Λεωφόρος Συγγρού",
      				"locality": "Αθήνα",
      				"code": "11743",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "reservations@athenianhotel.gr"
      			}
      		]
      	},
      	"customer": {
      		"name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "841442160"
      		},
      		"addresses": [
      			{
      				"num": "15",
      				"street": "Οδός Πανεπιστημίου",
      				"locality": "Αθήνα",
      				"code": "10671",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "accounting@techsolutions.gr"
      			}
      		]
      	},
      	"lines": [
      		{
      			"i": 1,
      			"quantity": "3",
      			"item": {
      				"name": "Διαμονή Deluxe Δίκλινο Δωμάτιο",
      				"price": "180.00",
      				"unit": "day",
      				"ext": {
      					"gr-mydata-income-cat": "category1_3",
      					"gr-mydata-income-type": "E3_561_001"
      				}
      			},
      			"sum": "540.00",
      			"discounts": [
      				{
      					"reason": "Εταιρική Έκπτωση",
      					"percent": "10%",
      					"amount": "54.00"
      				}
      			],
      			"taxes": [
      				{
      					"cat": "VAT",
      					"key": "standard",
      					"rate": "general",
      					"percent": "24%",
      					"ext": {
      						"gr-mydata-vat-rate": "1"
      					}
      				}
      			],
      			"total": "486.00"
      		}
      	],
      	"charges": [
      		{
      			"i": 1,
      			"reason": "Τέλος διαμονής παρεπιδημούντων",
      			"amount": "21.00",
      			"ext": {
      				"gr-mydata-fee": "18",
      				"gr-mydata-tax-type": "2"
      			}
      		}
      	],
      	"payment": {
      		"instructions": {
      			"key": "credit-transfer",
      			"ext": {
      				"gr-mydata-payment-means": "1"
      			}
      		}
      	},
      	"totals": {
      		"sum": "486.00",
      		"charge": "21.00",
      		"total": "507.00",
      		"taxes": {
      			"categories": [
      				{
      					"code": "VAT",
      					"rates": [
      						{
      							"key": "standard",
      							"ext": {
      								"gr-mydata-vat-rate": "1"
      							},
      							"base": "486.00",
      							"percent": "24%",
      							"amount": "116.64"
      						}
      					],
      					"amount": "116.64"
      				}
      			],
      			"sum": "116.64"
      		},
      		"tax": "116.64",
      		"total_with_tax": "623.64",
      		"payable": "623.64"
      	}
      }
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Example retail sales receipt (B2C)">
    In this example, we're issuing a simple goods invoice from a Greek supplier to a Greek final consumer.

    Notice:

    * we've set the `goods` and the `simplified` tags; this makes the addon set the [`gr-mydata-invoice-type`](https://docs.gobl.org/addons/gr-mydata-v1#invoice-type) extension automatically to `11.1` (retail sales receipt),
    * similarly, the `cash` payment method will cause the addon to set the [`gr-mydata-payment-means`](https://docs.gobl.org/addons/gr-mydata-v1#payment-means) extension to `3` (cash),
    * the specific income category and type are set using the [`gr-mydata-income-cat`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-category) extension and the [`gr-mydata-income-type`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-type) extension respectively,
    * only [VAT rates](https://docs.gobl.org/regimes/el#vat-rates) (`standard`) or keys (`exempt`) have been specified; percentages and values for the [`gr-mydata-vat-rate`](https://docs.gobl.org/addons/gr-mydata-v1#vat-rate) extension will be set automatically
    * the exemption cause is set using the [`gr-mydata-exemption`](https://docs.gobl.org/addons/gr-mydata-v1#vat-exemption-cause) extension, and,
    * there are no totals or calculations; all these will be made automatically when uploading.

    <CodeGroup>
      ```json B2C Goods Invoice theme={null}
      {
        "$schema": "https://gobl.org/draft-0/bill/invoice",
        "$addons": [
          "gr-mydata-v1"
        ],
        "$tags": [
          "goods",
          "simplified"
        ],
        "series": "XXGR",
        "supplier": {
          "name": "Ελληνικά Τρόφιμα Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "177472438"
          },
          "addresses": [
            {
              "num": "12",
              "street": "Λεωφόρος Βουλιαγμένης",
              "locality": "Αθήνα",
              "code": "11636",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "hellenicfoods@example.com"
            }
          ]
        },
        "lines": [
          {
            "quantity": "50",
            "item": {
              "name": "Ελαιόλαδο Extra Virgin 1L",
              "price": "12.50",
              "unit": "unit",
              "ext": {
                "gr-mydata-income-cat": "category1_1",
                "gr-mydata-income-type": "E3_561_001"
              }
            },
            "discounts": [
              {
                "reason": "Έκπτωση Όγκου",
                "percent": "10%"
              }
            ],
            "taxes": [
              {
                "cat": "VAT",
                "rate": "reduced"
              }
            ]
          },
          {
            "quantity": "1",
            "item": {
              "name": "Βιβλία Μαγειρικής",
              "price": "15.00",
              "ext": {
                "gr-mydata-income-cat": "category1_1",
                "gr-mydata-income-type": "E3_561_001"
              }
            },
            "taxes": [
              {
                "cat": "VAT",
                "key": "exempt",
                "ext": {
                  "gr-mydata-exemption": "7"
                }
              }
            ]
          }
        ],
        "payment": {
          "instructions": {
            "key": "cash"
          }
        }
      }
      ```

      ```json Built version theme={null}
      {
      	"$schema": "https://gobl.org/draft-0/bill/invoice",
      	"$regime": "EL",
      	"$addons": [
      		"gr-mydata-v1"
      	],
      	"$tags": [
      		"goods",
      		"simplified"
      	],
      	"type": "standard",
      	"series": "XXGR",
      	"issue_date": "2026-07-08",
      	"currency": "EUR",
      	"tax": {
      		"ext": {
      			"gr-mydata-invoice-type": "11.1"
      		}
      	},
      	"supplier": {
      		"name": "Ελληνικά Τρόφιμα Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "177472438"
      		},
      		"addresses": [
      			{
      				"num": "12",
      				"street": "Λεωφόρος Βουλιαγμένης",
      				"locality": "Αθήνα",
      				"code": "11636",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "hellenicfoods@example.com"
      			}
      		]
      	},
      	"lines": [
      		{
      			"i": 1,
      			"quantity": "50",
      			"item": {
      				"name": "Ελαιόλαδο Extra Virgin 1L",
      				"price": "12.50",
      				"unit": "unit",
      				"ext": {
      					"gr-mydata-income-cat": "category1_1",
      					"gr-mydata-income-type": "E3_561_001"
      				}
      			},
      			"sum": "625.00",
      			"discounts": [
      				{
      					"reason": "Έκπτωση Όγκου",
      					"percent": "10%",
      					"amount": "62.50"
      				}
      			],
      			"taxes": [
      				{
      					"cat": "VAT",
      					"key": "standard",
      					"rate": "reduced",
      					"percent": "13%",
      					"ext": {
      						"gr-mydata-vat-rate": "2"
      					}
      				}
      			],
      			"total": "562.50"
      		},
      		{
      			"i": 2,
      			"quantity": "1",
      			"item": {
      				"name": "Βιβλία Μαγειρικής",
      				"price": "15.00",
      				"ext": {
      					"gr-mydata-income-cat": "category1_1",
      					"gr-mydata-income-type": "E3_561_001"
      				}
      			},
      			"sum": "15.00",
      			"taxes": [
      				{
      					"cat": "VAT",
      					"key": "exempt",
      					"ext": {
      						"gr-mydata-exemption": "7",
      						"gr-mydata-vat-rate": "7"
      					}
      				}
      			],
      			"total": "15.00"
      		}
      	],
      	"payment": {
      		"instructions": {
      			"key": "cash",
      			"ext": {
      				"gr-mydata-payment-means": "3"
      			}
      		}
      	},
      	"totals": {
      		"sum": "577.50",
      		"total": "577.50",
      		"taxes": {
      			"categories": [
      				{
      					"code": "VAT",
      					"rates": [
      						{
      							"key": "standard",
      							"ext": {
      								"gr-mydata-vat-rate": "2"
      							},
      							"base": "562.50",
      							"percent": "13%",
      							"amount": "73.13"
      						},
      						{
      							"key": "exempt",
      							"ext": {
      								"gr-mydata-exemption": "7",
      								"gr-mydata-vat-rate": "7"
      							},
      							"base": "15.00",
      							"amount": "0.00"
      						}
      					],
      					"amount": "73.13"
      				}
      			],
      			"sum": "73.13"
      		},
      		"tax": "73.13",
      		"total_with_tax": "650.63",
      		"payable": "650.63"
      	}
      }
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Example accommodation + climate fee invoice (B2C)">
    In this example, we're issuing a retail sales receipt for a hotel stay (accommodation taxed at the reduced VAT rate) together with the climate crisis resilience fee on the same document.

    Notice:

    * we've set the `services` and `simplified` tags; the addon sets [`gr-mydata-invoice-type`](https://docs.gobl.org/addons/gr-mydata-v1#invoice-type) to `11.2` (services receipt), appropriate for B2C,
    * the accommodation line uses the [reduced VAT rate](https://docs.gobl.org/regimes/el#vat-rates) (`13%`); the [`gr-mydata-vat-rate`](https://docs.gobl.org/addons/gr-mydata-v1#vat-rate) extension is filled in on build,
    * the climate crisis resilience fee is added as a [`charge`](https://docs.gobl.org/draft-0/bill/invoice) with [`gr-mydata-other-tax`](https://docs.gobl.org/addons/gr-mydata-v1#gr-mydata-other-tax) set to `22` (hotels 4 stars, 7.00€ per room/night) and [`gr-mydata-tax-type`](https://docs.gobl.org/addons/gr-mydata-v1#gr-mydata-tax-type) `3` (other tax), as in the built version,
    * the `card` payment method maps to [`gr-mydata-payment-means`](https://docs.gobl.org/addons/gr-mydata-v1#payment-means) `7` (card payment), and,
    * there are no totals in the minimal example; amounts are calculated when the document is built or uploaded.

    <CodeGroup>
      ```json B2C Accommodation + Climate Fee theme={null}
      {
        "$schema": "https://gobl.org/draft-0/bill/invoice",
        "$regime": "EL",
        "$addons": [
          "gr-mydata-v1"
        ],
        "$tags": [
          "services",
          "simplified"
        ],
        "series": "Plato",
        "code": "216",
        "supplier": {
          "name": "Cyberdyne Συστήματα Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "177472438"
          },
          "addresses": [
            {
              "num": "28",
              "street": "Λεωφόρος Συγγρού",
              "locality": "Αθήνα",
              "code": "11743",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "reservations@athenianhotel.gr"
            }
          ]
        },
        "lines": [
          {
            "quantity": "2",
            "item": {
              "name": "Hotel room (2 nights)",
              "price": "120.00"
            },
            "taxes": [
              {
                "cat": "VAT",
                "rate": "reduced"
              }
            ]
          }
        ],
        "charges": [
          {
            "reason": "Climate Crisis Resilience Fee (2 nights x 7.00€)",
            "amount": "14.00",
            "ext": {
              "gr-mydata-other-tax": "22"
            }
          }
        ],
        "payment": {
          "instructions": {
            "key": "card"
          }
        }
      }
      ```

      ```json Built version theme={null}
      {
      	"$schema": "https://gobl.org/draft-0/bill/invoice",
      	"$regime": "EL",
      	"$addons": [
      		"gr-mydata-v1"
      	],
      	"$tags": [
      		"services",
      		"simplified"
      	],
      	"type": "standard",
      	"series": "Plato",
      	"code": "216",
      	"issue_date": "2026-07-08",
      	"currency": "EUR",
      	"tax": {
      		"ext": {
      			"gr-mydata-invoice-type": "11.2"
      		}
      	},
      	"supplier": {
      		"name": "Cyberdyne Συστήματα Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "177472438"
      		},
      		"addresses": [
      			{
      				"num": "28",
      				"street": "Λεωφόρος Συγγρού",
      				"locality": "Αθήνα",
      				"code": "11743",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "reservations@athenianhotel.gr"
      			}
      		]
      	},
      	"lines": [
      		{
      			"i": 1,
      			"quantity": "2",
      			"item": {
      				"name": "Hotel room (2 nights)",
      				"price": "120.00"
      			},
      			"sum": "240.00",
      			"taxes": [
      				{
      					"cat": "VAT",
      					"key": "standard",
      					"rate": "reduced",
      					"percent": "13%",
      					"ext": {
      						"gr-mydata-vat-rate": "2"
      					}
      				}
      			],
      			"total": "240.00"
      		}
      	],
      	"charges": [
      		{
      			"i": 1,
      			"reason": "Climate Crisis Resilience Fee (2 nights x 7.00€)",
      			"amount": "14.00",
      			"ext": {
      				"gr-mydata-other-tax": "22",
      				"gr-mydata-tax-type": "3"
      			}
      		}
      	],
      	"payment": {
      		"instructions": {
      			"key": "card",
      			"ext": {
      				"gr-mydata-payment-means": "7"
      			}
      		}
      	},
      	"totals": {
      		"sum": "240.00",
      		"charge": "14.00",
      		"total": "254.00",
      		"taxes": {
      			"categories": [
      				{
      					"code": "VAT",
      					"rates": [
      						{
      							"key": "standard",
      							"ext": {
      								"gr-mydata-vat-rate": "2"
      							},
      							"base": "240.00",
      							"percent": "13%",
      							"amount": "31.20"
      						}
      					],
      					"amount": "31.20"
      				}
      			],
      			"sum": "31.20"
      		},
      		"tax": "31.20",
      		"total_with_tax": "285.20",
      		"payable": "285.20"
      	}
      }
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Example climate fee standalone invoice (B2B)">
    In this example, we're issuing a standalone climate fee invoice (no lines) from a Greek supplier to another Greek business customer. This is an example of how special records and other document types can be used in Greece.

    Notice:

    * we've set the `other` type and the `8.2` invoice type (climate crisis fee collection) explicitly using the [`gr-mydata-invoice-type`](https://docs.gobl.org/addons/gr-mydata-v1#invoice-type) extension,
    * the climate fee is set as a charge using the [`gr-mydata-other-tax`](https://docs.gobl.org/addons/gr-mydata-v1#other-tax) extension set to `8` (climate crisis fee),
    * there are no lines as this special record type doesn't allow them,
    * the `credit-transfer` payment method will cause the addon to set the [`gr-mydata-payment-means`](https://docs.gobl.org/addons/gr-mydata-v1#payment-means) extension to `1` (credit transfer), and,
    * there are no totals or calculations; all these will be made automatically when uploading.

    <CodeGroup>
      ```json B2B Climate Fee Invoice theme={null}
      {
        "$schema": "https://gobl.org/draft-0/bill/invoice",
        "$addons": [
          "gr-mydata-v1"
        ],
        "type": "other",
        "series": "XXGR",
        "tax": {
          "ext": {
            "gr-mydata-invoice-type": "8.2"
          }
        },
        "supplier": {
          "name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "177472438"
          },
          "addresses": [
            {
              "num": "28",
              "street": "Λεωφόρος Συγγρού",
              "locality": "Αθήνα",
              "code": "11743",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "reservations@athenianhotel.gr"
            }
          ]
        },
        "customer": {
          "name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "841442160"
          },
          "addresses": [
            {
              "num": "15",
              "street": "Οδός Πανεπιστημίου",
              "locality": "Αθήνα",
              "code": "10671",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "accounting@techsolutions.gr"
            }
          ]
        },
        "charges": [
          {
            "reason": "Τέλος ανθεκτικότητας στην κλιματική κρίση",
            "amount": "3.00",
            "ext": {
              "gr-mydata-other-tax": "8"
            }
          }
        ],
        "payment": {
          "instructions": {
            "key": "credit-transfer"
          }
        }
      }
      ```

      ```json Built version theme={null}
      {
      	"$schema": "https://gobl.org/draft-0/bill/invoice",
      	"$regime": "EL",
      	"$addons": [
      		"gr-mydata-v1"
      	],
      	"type": "other",
      	"series": "XXGR",
      	"issue_date": "2026-07-08",
      	"currency": "EUR",
      	"tax": {
      		"ext": {
      			"gr-mydata-invoice-type": "8.2"
      		}
      	},
      	"supplier": {
      		"name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "177472438"
      		},
      		"addresses": [
      			{
      				"num": "28",
      				"street": "Λεωφόρος Συγγρού",
      				"locality": "Αθήνα",
      				"code": "11743",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "reservations@athenianhotel.gr"
      			}
      		]
      	},
      	"customer": {
      		"name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "841442160"
      		},
      		"addresses": [
      			{
      				"num": "15",
      				"street": "Οδός Πανεπιστημίου",
      				"locality": "Αθήνα",
      				"code": "10671",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "accounting@techsolutions.gr"
      			}
      		]
      	},
      	"charges": [
      		{
      			"i": 1,
      			"reason": "Τέλος ανθεκτικότητας στην κλιματική κρίση",
      			"amount": "3.00",
      			"ext": {
      				"gr-mydata-other-tax": "8",
      				"gr-mydata-tax-type": "3"
      			}
      		}
      	],
      	"payment": {
      		"instructions": {
      			"key": "credit-transfer",
      			"ext": {
      				"gr-mydata-payment-means": "1"
      			}
      		}
      	},
      	"totals": {
      		"sum": "0.00",
      		"charge": "3.00",
      		"total": "3.00",
      		"tax": "0.00",
      		"total_with_tax": "3.00",
      		"payable": "3.00"
      	}
      }
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Example credit note (B2B)">
    In this example, we're issuing a credit note that corrects a previously reported invoice.

    Notice:

    * the `type` is set to `credit-note`, which the [`gr-mydata-v1`](https://docs.gobl.org/addons/gr-mydata-v1) addon maps to myDATA invoice type `5.1` (associated credit invoice),
    * the `preceding` array references the original invoice by `series`, `code`, and `issue_date`, and **must** include the `iapr-mark` stamp — the MARK (unique registration number) the IAPR assigned to the original invoice when it was reported,
    * the line items carry the same [`gr-mydata-income-cat`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-category) and [`gr-mydata-income-type`](https://docs.gobl.org/addons/gr-mydata-v1#income-classification-type) extensions as the original, describing the amounts being credited, and,
    * there are no totals or calculations; all these will be made automatically when uploading.

    <CodeGroup>
      ```json Credit Note theme={null}
      {
        "$schema": "https://gobl.org/draft-0/bill/invoice",
        "$addons": [
          "gr-mydata-v1"
        ],
        "$tags": [
          "services"
        ],
        "type": "credit-note",
        "series": "XXGR-CN",
        "preceding": [
          {
            "type": "standard",
            "series": "XXGR",
            "code": "0042",
            "issue_date": "2025-05-12",
            "stamps": [
              {
                "prv": "iapr-mark",
                "val": "400001924190872"
              }
            ]
          }
        ],
        "supplier": {
          "name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "177472438"
          },
          "addresses": [
            {
              "num": "28",
              "street": "Λεωφόρος Συγγρού",
              "locality": "Αθήνα",
              "code": "11743",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "reservations@athenianhotel.gr"
            }
          ]
        },
        "customer": {
          "name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
          "tax_id": {
            "country": "EL",
            "code": "841442160"
          },
          "addresses": [
            {
              "num": "15",
              "street": "Οδός Πανεπιστημίου",
              "locality": "Αθήνα",
              "code": "10671",
              "country": "GR"
            }
          ],
          "emails": [
            {
              "addr": "accounting@techsolutions.gr"
            }
          ]
        },
        "lines": [
          {
            "quantity": "1",
            "item": {
              "name": "Διαμονή Deluxe Δίκλινο Δωμάτιο",
              "price": "180.00",
              "unit": "day",
              "ext": {
                "gr-mydata-income-cat": "category1_3",
                "gr-mydata-income-type": "E3_561_001"
              }
            },
            "taxes": [
              {
                "cat": "VAT",
                "rate": "general"
              }
            ]
          }
        ],
        "payment": {
          "instructions": {
            "key": "credit-transfer"
          }
        }
      }
      ```

      ```json Built version theme={null}
      {
      	"$schema": "https://gobl.org/draft-0/bill/invoice",
      	"$regime": "EL",
      	"$addons": [
      		"gr-mydata-v1"
      	],
      	"$tags": [
      		"services"
      	],
      	"type": "credit-note",
      	"series": "XXGR-CN",
      	"issue_date": "2026-07-21",
      	"currency": "EUR",
      	"preceding": [
      		{
      			"type": "standard",
      			"issue_date": "2025-05-12",
      			"series": "XXGR",
      			"code": "0042",
      			"stamps": [
      				{
      					"prv": "iapr-mark",
      					"val": "400001924190872"
      				}
      			]
      		}
      	],
      	"tax": {
      		"ext": {
      			"gr-mydata-invoice-type": "5.1"
      		}
      	},
      	"supplier": {
      		"name": "Αθηναϊκό Ξενοδοχείο Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "177472438"
      		},
      		"addresses": [
      			{
      				"num": "28",
      				"street": "Λεωφόρος Συγγρού",
      				"locality": "Αθήνα",
      				"code": "11743",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "reservations@athenianhotel.gr"
      			}
      		]
      	},
      	"customer": {
      		"name": "Τεχνολογικές Λύσεις Ελλάς Α.Ε.",
      		"tax_id": {
      			"country": "EL",
      			"code": "841442160"
      		},
      		"addresses": [
      			{
      				"num": "15",
      				"street": "Οδός Πανεπιστημίου",
      				"locality": "Αθήνα",
      				"code": "10671",
      				"country": "GR"
      			}
      		],
      		"emails": [
      			{
      				"addr": "accounting@techsolutions.gr"
      			}
      		]
      	},
      	"lines": [
      		{
      			"i": 1,
      			"quantity": "1",
      			"item": {
      				"name": "Διαμονή Deluxe Δίκλινο Δωμάτιο",
      				"price": "180.00",
      				"unit": "day",
      				"ext": {
      					"gr-mydata-income-cat": "category1_3",
      					"gr-mydata-income-type": "E3_561_001"
      				}
      			},
      			"sum": "180.00",
      			"taxes": [
      				{
      					"cat": "VAT",
      					"key": "standard",
      					"rate": "general",
      					"percent": "24%",
      					"ext": {
      						"gr-mydata-vat-rate": "1"
      					}
      				}
      			],
      			"total": "180.00"
      		}
      	],
      	"payment": {
      		"instructions": {
      			"key": "credit-transfer",
      			"ext": {
      				"gr-mydata-payment-means": "1"
      			}
      		}
      	},
      	"totals": {
      		"sum": "180.00",
      		"total": "180.00",
      		"taxes": {
      			"categories": [
      				{
      					"code": "VAT",
      					"rates": [
      						{
      							"key": "standard",
      							"ext": {
      								"gr-mydata-vat-rate": "1"
      							},
      							"base": "180.00",
      							"percent": "24%",
      							"amount": "43.20"
      						}
      					],
      					"amount": "43.20"
      				}
      			],
      			"sum": "43.20"
      		},
      		"tax": "43.20",
      		"total_with_tax": "223.20",
      		"payable": "223.20"
      	}
      }
      ```
    </CodeGroup>
  </Accordion>
</AccordionGroup>

## FAQ

<AccordionGroup>
  <Accordion title="What's the workflow for issuing myDATA invoices?">
    Build a GOBL invoice with the `gr-mydata-v1` addon, run the IAPR Issue Invoice workflow. Invopop signs and transmits via ILYDA, retrieves the MARK identifier, and stores it on the silo entry.
  </Accordion>

  <Accordion title="How do I configure my workspace for Greek invoicing?">
    Install the ILYDA Greece app, register the supplier (one provider at a time per VAT — see our FAQ), and run invoices through the IAPR workflow. PDFs are generated alongside the myDATA submission.
  </Accordion>

  <Accordion title="How are Greek invoice types specified?">
    The Greek tax authority (IAPR) requires the invoice type to be specified as part of the invoice. In [GOBL](https://docs.gobl.org), this type can be set using the `gr-mydata-invoice-type` extension in the tax section and setting the [GOBL invoice type](https://docs.gobl.org/draft-0/bill/invoice) to other.

    Alternatively, GOBL will set the extension for you based on the type and the tax tags you set in your [GOBL invoice](https://docs.gobl.org/draft-0/bill/invoice). You can read more in the [GOBL Greece Tax Regime readme](https://github.com/invopop/gobl/blob/main/regimes/gr/README.md).

    If you produce a PDF version of the invoice, the invoice type label will be displayed instead of "Invoice".
  </Accordion>

  <Accordion title="Where can I find the mapping of GOBL fields to myDATA?">
    For further details on how GOBL prepares data for conversion, see the [Greek Tax Regime](https://github.com/invopop/gobl/blob/main/regimes/gr/README.md).
  </Accordion>

  <Accordion title="Why is my credit note being rejected with 'Invoice not found' error?">
    If you issue a credit note shortly after the invoice it refers to, the MyDATA system may reject it because the original invoice hasn't completed synchronization. You'll typically see an error like:

    ```
    Fatal error 301: Invoice with ΜΑΡΚ xxxx not found for VAT number xxxx
    ```

    This happens because there can be a delay between when an invoice is accepted by MyDATA and when it becomes fully available for reference by other documents like credit notes. This delay can range from a few minutes to several hours, depending on MyDATA system load.

    **Solution**: If you receive this error, retry issuing the credit note after waiting some time. You may need to wait anywhere from a few minutes to several hours for the original invoice to be fully synchronized in the MyDATA system before the credit note can successfully reference it.
  </Accordion>

  <Accordion title="Where do I find Greece-specific GOBL documentation?">
    See the [Greece tax regime in GOBL](https://docs.gobl.org/regimes/gr) for tax categories and AFM rules. The myDATA mapping lives in [`gr-mydata-v1`](https://docs.gobl.org/addons/gr-mydata-v1) including all invoice type codes.
  </Accordion>
</AccordionGroup>

More available in our [Greece FAQ](/faq/greece) section

***

<AccordionGroup>
  <Accordion title="🇬🇷 Invopop resources for Greece">
    |            |                                                                                                                                                                                                                                                   |
    | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Compliance | <Icon icon="https://assets.invopop.com/flags/gr.svg" /> [Invoicing compliance in Greece](/compliance/greece)<br /> <Icon icon="timeline" /> [Compliance timeline](/timelines/greece)                                                              |
    | Apps       | <Icon icon="https://assets.invopop.com/apps/ilyda/icon.svg" /> [ILYDA Greece](/apps/ilyda-greece)                                                                                                                                                 |
    | Guides     | <Icon icon="book" /> [Supplier registration](/guides/gr-iapr-supplier)<br /> <Icon icon="book" /> [Issuing invoices](/guides/gr-iapr)                                                                                                             |
    | FAQ        | <Icon icon="square-question" /> [Greece FAQ](/faq/greece)                                                                                                                                                                                         |
    | GOBL       | <Icon icon="https://assets.invopop.com/icons/gobl.svg" />  [Greece Tax Regime](https://docs.gobl.org/regimes/gr)<br /> <Icon icon="https://assets.invopop.com/icons/gobl.svg" /> [Greece myDATA addon](https://docs.gobl.org/addons/gr-mydata-v1) |
  </Accordion>
</AccordionGroup>

<Card title="Participate in our community" icon="forumbee" href="https://community.invopop.com" arrow="true" horizontal>
  Ask and answer questions about invoicing in Greece →
</Card>
