Skip to main content
Key: gr-mydata-v1 Module: github.com/invopop/gobl Greece uses the myDATA and Peppol BIS Billing 3.0 formats for their e-invoicing/tax-reporting system. This addon will ensure that the GOBL documents have all the required fields to be able to correctly generate the myDATA XML reporting files.

Sources

Scenarios

bill/invoice

Filters:
  • Types: standard
Output:
  • Extensions: gr-mydata-invoice-type:2.1
Filters:
  • Types: standard
  • Tags: goods
Output:
  • Extensions: gr-mydata-invoice-type:1.1
Filters:
  • Types: standard
  • Tags: goods, export
Output:
  • Extensions: gr-mydata-invoice-type:1.3
Filters:
  • Types: standard
  • Tags: goods, export, eu
Output:
  • Extensions: gr-mydata-invoice-type:1.2
Filters:
  • Types: standard
  • Tags: goods, self-billed
Output:
  • Extensions: gr-mydata-invoice-type:1.4
Filters:
  • Types: standard
  • Tags: services
Output:
  • Extensions: gr-mydata-invoice-type:2.1
Filters:
  • Types: standard
  • Tags: services, export
Output:
  • Extensions: gr-mydata-invoice-type:2.3
Filters:
  • Types: standard
  • Tags: services, export, eu
Output:
  • Extensions: gr-mydata-invoice-type:2.2
Filters:
  • Types: credit-note
Output:
  • Extensions: gr-mydata-invoice-type:5.1
Filters:
  • Types: standard
  • Tags: simplified
Output:
  • Extensions: gr-mydata-invoice-type:11.3
Filters:
  • Types: standard
  • Tags: goods, simplified
Output:
  • Extensions: gr-mydata-invoice-type:11.1
Filters:
  • Types: standard
  • Tags: services, simplified
Output:
  • Extensions: gr-mydata-invoice-type:11.2
Filters:
  • Types: credit-note
  • Tags: simplified
Output:
  • Extensions: gr-mydata-invoice-type:11.4
Filters:
  • Types: credit-note
  • Tags: goods, simplified, self-billed
Output:
  • Extensions: gr-mydata-invoice-type:11.5

Extensions

VAT rate

Greece has three VAT rates: standard, reduced and super-reduced. Each of these rates are reduced by 30% on the islands of Leros, Lesbos, Kos, Samos and Chios. The tax authority identifies each rate with a specific VAT category. The IAPR VAT category code must be set using the gr-mydata-vat-rate extension of a line’s tax to one of the codes. Please, note that GOBL will automatically set the proper gr-mydata-vat-rate code and tax percent automatically when the line tax uses any of the GOBL rates specified in the table above. For example:

Invoice type

The Greek tax authority (IAPR) requires an invoice type code to be specified as part of the invoice. GOBL will automatically set the correct code based on the invoice’s type and $tags values. However, you can also set the code manually using the gr-mydata-invoice-type extension in the tax section of the invoice, and setting the invoice’s type to other. The following table lists how the combination of type and $tags values are mapped to the IAPR MyDATA invoice type code: For example, this is how you set the IAPR invoice type explicitly:
And this is how you’ll get the same result by using the GOBL type and tags:

Payment means

The IAPR requires invoices to specify a payment method code. In a GOBL invoice, the payment means is set using the key field in the payment instructions. The following table lists all the IAPR payment methods and how GOBL will map from the payment instructions key to each of them: For example:

VAT exemption cause

Greece invoices can be exempt of VAT for different causes and the tax authority require a specific cause code to be provided. GOBL will try to automatically map the tax combo key to an appropriate exemption code, but given the number of options you will no doubt need to consult with a tax professional to determine the correct code for your case. Example usage:
Note that descriptions provided in the gr-mydata-exemption extension are generated using AI and may not be 100% accurate. Always consult with a tax professional to ensure you’re choosing the correct code.

Income Classification Category

Invoices reported to the Greek tax authority via myDATA can optionally include information about the income classification of each invoice item. In a GOBL invoice, the gr-mydata-income-cat and gr-mydata-income-type extensions can be set at the item level to any of the values expected by the IAPR. For example:

Income Classification Type

See the Income Classification Category for more information.

Tax type

Greek invoices may contain charges or allowances for taxes and fees different from VAT. The gr-mydata-tax-type extension at charge level must be used to specify the tax type. GOBL will attempt to automatically set the gr-mydata-tax-type extension. The following table shows the mappings used: first, GOBL will check the charge’s key field; if that does not match, it will then check for the presence of the related extension: For example (manual):

Fee category

Greek invoices may contain charges for different types of fees. In GOBL, you must use the gr-mydata-fee extension at charge level to specify the specific fee category for the charge. For example:

Other taxes category

Greek invoices may contain charges for different taxes other than VAT. The gr-mydata-other-tax extension at charge level must be used to specify the specific other tax category for the charge. For example:

Stamp duty coefficient category

Greek invoices may contain charges for stamp duty. The gr-mydata-stamp-duty extension at charge level must be used to specify the specific stamp duty coefficient category for the charge. For example:

Validation Rules