> ## Documentation Index
> Fetch the complete documentation index at: https://www.spacebring.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# myDATA in Greece

> Enable myDATA eInvoicing for Greece to report invoices to the Greek tax authority (IAPR) in real time through Invopop's certified provider ILYDA

Spacebring supports eInvoicing via myDATA (IAPR) for Greece and helps you stay compliant by:

* Automatically generating eInvoices and credit notes in the format required by the Greek tax authority (IAPR)
* Reporting them in real time to myDATA through Invopop's certified provider, ILYDA
* Adding the myDATA MARK (the unique registration number returned by IAPR) and a QR code to the PDF invoices and credit notes sent to customers
* Tracking sync status for every invoice.

<Info>
  This feature is currently in beta. Its functionality and appearance are subject to change, and it may not be fully stable. We welcome your feedback at [support@spacebring.com](mailto:support@spacebring.com).
</Info>

## Prerequisites

To enable eInvoicing, ensure the following requirements are completed.

### Complete location billing details

Your location billing details, tax, and currency must be complete and accurate.

1. Go to **Location settings** > **General** page > **Billing details** tab.
2. Fill in your location's billing details.
   * **Legal business name**
   * **Address** — Country (Greece), Address line 1, Address line 2 (your street number), City, and Postal code are all mandatory.
   * **Tax ID** — a valid Greek VAT number (AFM)
   * **Contact details** — Email and Phone number are both mandatory.<br />
     <Frame>
       <img src="https://mintcdn.com/spacebring/hC7zEtNmEk82NkqL/images/billing-einvoicing-greece-complete-location-billing-details.png?fit=max&auto=format&n=hC7zEtNmEk82NkqL&q=85&s=8155acf707de7cd172f87698d1b8424e" alt="Billing Einvoicing Greece Complete Location Billing Details" width="2371" height="1510" data-path="images/billing-einvoicing-greece-complete-location-billing-details.png" />
     </Frame>
3. Go to **Location settings** > **Billing** page > **Invoices** tab.
   * Set **Invoice type** to **Invoice**.

<Warning>
  myDATA eInvoicing doesn't support proforma invoice types.
</Warning>

4. Go to **Location settings** > **Billing** page > [**Taxes**](/docs/billing/taxes) tab.
   * Set the **Tax type** to **VAT**.
   * In the **Tax rate** field, enter a valid Greek VAT rate.
   * If you use [custom tax rates](/docs/billing/taxes/custom-tax-rates) in individual customers' subscriptions or invoices, ensure they are also valid Greek VAT rates.
5. Go to **Location settings** > **Billing** page > **Currencies** tab.
   * Make sure your main location currency is set to EUR.
   * If your primary location currency is different, [add EUR as an alternative currency](/docs/billing/currencies) and apply it to all customer profiles for whom you want to generate eInvoices.

<Info>
  Only invoices issued in EUR can be reported to myDATA.
</Info>

### Complete customer billing details

Each customer must also have accurate billing details.

1. Go to **Location settings > Customers** and manage the [**Require billing details**](/docs/customer-management/billing-details) setting depending on your needs:
   * Enable this requirement for both individual users and companies
   * Or only for companies, if you need to generate eInvoices only for companies.
     <Frame>
       <img src="https://mintcdn.com/spacebring/GkdaLooFbk7HzWgy/images/customer-management-billing-details-1.png?fit=max&auto=format&n=GkdaLooFbk7HzWgy&q=85&s=05c0247261af0a4c69fed2c340d18ec1" alt="Customer Management Billing Details 1" width="1505" height="801" data-path="images/customer-management-billing-details-1.png" />
     </Frame>
     If **Require billing details** is enabled for a customer type:
     * New customers will be prompted to fill out their billing details at the first payment.
     * Existing customers missing billing details will be prompted to update their details during their next payment.
2. To review or update customer details manually:
   * Go to the **Customers** page > open each customer profile > locate the [**Billing details**](/docs/customer-management/billing-details) section on the right side panel. Fill in any missing billing details as an administrator.
   * Alternatively, ask customers to update billing details on their own under [**Membership > Billing**.](/docs/customer-management/billing-details)

#### Requirements for companies

For companies, complete billing details — legal business name, valid Tax ID (AFM), and full address — are required for eInvoices to be generated and reported.

If a company's billing details are incomplete or invalid, invoices for that company will remain in [**Draft**](/docs/billing/invoices/statuses) status with a warning and cannot be issued.

#### Requirements for individual users

For individual members, only fill in billing details if you want their invoices generated as eInvoices and reported to myDATA.

* If you do not want to generate eInvoices for individual members, leave their billing details, especially the **Legal business name** and **Tax ID**, empty.
* If at least one of these fields is filled for an individual member, Spacebring will attempt to report their invoices as eInvoices to myDATA.

## Enable eInvoicing

1. Go to **Location settings > Billing > Invoices** tab.
2. Enable the **eInvoicing** switch.
3. In the **myDATA registration** section, click **Start registration process**. <br />
   <Frame>
     <img src="https://mintcdn.com/spacebring/hC7zEtNmEk82NkqL/images/billing-einvoicing-greece-enable-einvoicing.png?fit=max&auto=format&n=hC7zEtNmEk82NkqL&q=85&s=4b6b3dc1ea7b820e9cc3b4e3e9398071" alt="Billing Einvoicing Greece Enable Einvoicing" width="2373" height="858" data-path="images/billing-einvoicing-greece-enable-einvoicing.png" />
   </Frame>
4. The Spacebring team receives a notification and will get back to you to confirm more details and the next steps. You will need to:
   * Authorize **ILYDA** as your eInvoicing provider and declare ILYDA as the issuer in myTaxisnet.
   * Sign the ILYDA service agreement you receive soon afterwards.
5. Once the registration is completed, your eInvoicing status in Spacebring becomes **Connected**.

<Info>
  Greek regulation does not allow two myDATA eInvoicing providers for the same VAT number at the same time, so ILYDA must be your authorized provider before invoices can be reported.
</Info>

## How eInvoicing works

After eInvoicing is enabled and your registration is connected:

* All invoices with valid billing details are automatically generated in the myDATA-compliant eInvoice format.
* During issuance, invoices are reported to the Greek tax authority (IAPR) through myDATA in real time and receive a **MARK** — the unique registration number assigned by IAPR — along with a QR code.
* Customers receive the PDF invoice with the myDATA MARK and QR code only after the MARK and QR code are returned by myDATA.
* Credit notes are also reported to myDATA. A credit note can only be issued after the original invoice has received its MARK from IAPR.
* When eInvoicing is enabled, voiding invoices and credit notes is not supported, because this is not allowed under myDATA. Instead, you can:
  * [Issue a credit note](/docs/billing/invoices/credit-notes) to correct the invoice.
  * If necessary, issue a credit note for the full invoice amount to cancel it.

### Track eInvoice syncing

Each invoice has the eInvoice sync status indicated.

<Frame>
  <img src="https://mintcdn.com/spacebring/UR6_03lSO7Mm1pGF/images/billing-einvoicing-ksef-4.png?fit=max&auto=format&n=UR6_03lSO7Mm1pGF&q=85&s=c87fa0a813ea555ab4160bf8edaf2db5" alt="Billing Einvoicing Ksef 4" width="1323" height="612" data-path="images/billing-einvoicing-ksef-4.png" />
</Frame>

If an eInvoice fails to sync (for example, due to invalid or missing customer billing details):

* The invoice will not be issued.
* The system will display:
  * "eInvoice sync failed" status
  * A red warning triangle next to the affected invoice
  * A red warning triangle next to the customer's name on the **Customers** page.

<Frame>
  <img src="https://mintcdn.com/spacebring/UR6_03lSO7Mm1pGF/images/billing-einvoicing-ksef-5.png?fit=max&auto=format&n=UR6_03lSO7Mm1pGF&q=85&s=d66c8f8de21df1bd670b73e986a7bcb9" alt="Billing Einvoicing Ksef 5" width="1594" height="789" data-path="images/billing-einvoicing-ksef-5.png" />
</Frame>

If prompted, update the customer's billing details or complete any required actions, and click **Issue** again.

You can also see the eInvoice sync status for all invoices in the [**Invoices** report](/docs/analytics/reports).
