# myDATA checks of AADE (Greece) myDATA 2.0.2 of September 2026

Source: https://xmlvalid.com/rules/sets/gr-mydata

> 57 rules by xmlvalid, after AADE's myDATA REST API documentation and its classification combinations (MIT). Source: https://www.aade.gr/en/mydata/technical-specifications-versions-mydata

- [MYDATA-202](https://xmlvalid.com/rules/MYDATA-202.md) (error): Invalid Greek VAT number: … (the …'s ΑΦΜ) is not nine digits with a right check digit.
- [MYDATA-203](https://xmlvalid.com/rules/MYDATA-203.md) (error): Gross Value doesn't match with sum of net value plus taxes: totalGrossValue …, net value plus VAT, fees, stamp duty and other taxes less withholdings and deductions ….
- [MYDATA-207](https://xmlvalid.com/rules/MYDATA-207.md) (error): The sum of net values of the invoice lines doesn't match with total net value of the invoice: totalNetValue …, lines ….
- [MYDATA-209](https://xmlvalid.com/rules/MYDATA-209.md) (error): The sum of vat amount of the invoice lines doesn't match with total vat amount of the invoice: totalVatAmount …, lines ….
- [MYDATA-210](https://xmlvalid.com/rules/MYDATA-210.md) (error): The sum of withheld amount of the invoice lines doesn't match with total withheld amount of the invoice: totalWithheldAmount …, lines and taxesTotals ….
- [MYDATA-211](https://xmlvalid.com/rules/MYDATA-211.md) (error): Exchange Rate must be greater than 0 when the currency is not Euro: currency …, exchangeRate ….
- [MYDATA-212](https://xmlvalid.com/rules/MYDATA-212.md) (error): AA element must be number with value between 0 and 18446744073709551615 for issuer from Greece: aa is ….
- [MYDATA-219](https://xmlvalid.com/rules/MYDATA-219.md) (error): Issuer Name is forbidden for Issuer from Greece: myDATA takes a Greek issuer's name and address from the tax registry, so name and address are left out.
- [MYDATA-220](https://xmlvalid.com/rules/MYDATA-220.md) (error): Counterpart Name forbidden for Counterpart from Greece: myDATA takes a Greek counterpart's name from the tax registry.
- [MYDATA-224](https://xmlvalid.com/rules/MYDATA-224.md) (error): Taxes are allowed either per invoice line or per invoice (not in both): this invoice has taxesTotals and taxes on line ….
- [MYDATA-225](https://xmlvalid.com/rules/MYDATA-225.md) (error): An amount must exist (cannot be null) since its category is not null (invoice line …): each of withheldPercentCategory, stampDutyPercentCategory, feesPercentCategory and otherTaxesPercentCategory comes with its amount.
- [MYDATA-226](https://xmlvalid.com/rules/MYDATA-226.md) (error): The sum of fees amount of the invoice lines doesn't match with total fees amount of the invoice: totalFeesAmount …, lines and taxesTotals ….
- [MYDATA-227](https://xmlvalid.com/rules/MYDATA-227.md) (error): An amount cannot exist (must be null) since its category is null (invoice line …): each of withheldAmount, stampDutyAmount, feesAmount and otherTaxesAmount comes with its category.
- [MYDATA-229](https://xmlvalid.com/rules/MYDATA-229.md) (error): An amount is not correct according to its category (invoice line: …): ….
- [MYDATA-235](https://xmlvalid.com/rules/MYDATA-235.md) (error): Issuer must be different from counterpart: both are ….
- [MYDATA-237](https://xmlvalid.com/rules/MYDATA-237.md) (error): Underlying Value(s) of taxes cannot be greater than the total net value of invoice: underlyingValue …, totalNetValue ….
- [MYDATA-239](https://xmlvalid.com/rules/MYDATA-239.md) (error): Taxamount(s) taxes cannot be greater than the total net value of invoice: taxAmount …, totalNetValue ….
- [MYDATA-240](https://xmlvalid.com/rules/MYDATA-240.md) (error): Taxamount … of taxline: … cannot be greater than the corresponding underlying value ….
- [MYDATA-241](https://xmlvalid.com/rules/MYDATA-241.md) (error): … cannot be greater than the corresponding invoiceline net value (invoice line: …, … against a net value of …).
- [MYDATA-243](https://xmlvalid.com/rules/MYDATA-243.md) (error): Counterpart's country for this invoice type must be in Europe but not Greece: a … (intra-Community …) goes to ….
- [MYDATA-244](https://xmlvalid.com/rules/MYDATA-244.md) (error): Counterpart's country for this invoice type must not be in EU: a … (… to a third country) goes to ….
- [MYDATA-246](https://xmlvalid.com/rules/MYDATA-246.md) (error): Invoice of type 1.5 must have at least one line with detailtype = 1 and one with detail type=2.
- [MYDATA-247](https://xmlvalid.com/rules/MYDATA-247.md) (error): Invoice line: …. recType=… is forbidden (1, 4 and 5 are reserved for future use).
- [MYDATA-261](https://xmlvalid.com/rules/MYDATA-261.md) (error): Each Invoice row must have unique line number: line … repeats.
- [MYDATA-268](https://xmlvalid.com/rules/MYDATA-268.md) (error): In case of fuelInvoice, at least one line must have fuelCode different from 999.
- [MYDATA-269](https://xmlvalid.com/rules/MYDATA-269.md) (error): In case of fuelInvoice, the net value of the invoice line with fuelCode 999 must be less or equal than sum of net values of the other invoice lines.
- [MYDATA-270](https://xmlvalid.com/rules/MYDATA-270.md) (error): In case of fuelInvoice, only one line can have fuelCode equal with 999.
- [MYDATA-271](https://xmlvalid.com/rules/MYDATA-271.md) (error): Invoice Line Number: …. VatExemptionCategory field is used only in case of vatCategory = 7 (this line has …).
- [MYDATA-290](https://xmlvalid.com/rules/MYDATA-290.md) (error): Both nonObligatedRecipient=true and withoutDigitalTransportTracking=true are not allowed.
- [MYDATA-304](https://xmlvalid.com/rules/MYDATA-304.md) (error): All invoice rows or none should have classifications included: classifications on … of … lines (line … has none).
- [MYDATA-305](https://xmlvalid.com/rules/MYDATA-305.md) (error): Invoice line: …. Duplicate classification type and category: ….
- [MYDATA-306](https://xmlvalid.com/rules/MYDATA-306.md) (error): Invoice line: …. Sum of classifications are not equal to line's net value: income classifications …, netValue ….
- [MYDATA-308](https://xmlvalid.com/rules/MYDATA-308.md) (error): Classification category … forbidden for Invoice type … (invoice line …, … classification); the type takes ….
- [MYDATA-311](https://xmlvalid.com/rules/MYDATA-311.md) (error): Classification with type and category … not found in invoice summary: the summary's income classifications sum every type and category of the lines.
- [MYDATA-312](https://xmlvalid.com/rules/MYDATA-312.md) (error): Sum of classifications with type and category not matching with related total in invoice summary: ….
- [MYDATA-313](https://xmlvalid.com/rules/MYDATA-313.md) (error): Classification type … forbidden for Classification category … combined with invoice type … (invoice line …); allowed: ….
- [XV-GR-01](https://xmlvalid.com/rules/XV-GR-01.md) (error): fuelCode is accepted only on a fuel invoice (fuelInvoice true); line … has one.
- [XV-GR-02](https://xmlvalid.com/rules/XV-GR-02.md) (error): exchangeRate is the rate of the currency to the euro and is given only when the currency is not EUR.
- [XV-GR-03](https://xmlvalid.com/rules/XV-GR-03.md) (error): tableAA (the table number) is accepted only for a restaurant order slip (8.6), not a ….
- [XV-GR-04](https://xmlvalid.com/rules/XV-GR-04.md) (error): thirdPartyCollection is accepted only for POS receipts and refunds (8.4, 8.5), not a ….
- [XV-GR-05](https://xmlvalid.com/rules/XV-GR-05.md) (error): multipleConnectedMarks is not accepted for a … (nor 1.6, 2.4 or 5.1).
- [XV-GR-06](https://xmlvalid.com/rules/XV-GR-06.md) (error): reverseDeliveryNote is accepted only for a delivery note (9.3), not a ….
- [XV-GR-07](https://xmlvalid.com/rules/XV-GR-07.md) (error): toWeigh is accepted only for delivery notes (9.1, 9.2, 9.3), not a ….
- [XV-GR-08](https://xmlvalid.com/rules/XV-GR-08.md) (error): receivingNotePurpose is required for a receiving note (10.1, 10.2) and accepted for no other type; this is a …….
- [XV-GR-09](https://xmlvalid.com/rules/XV-GR-09.md) (error): otherReceivingNotePurposeTitle names the reason when receivingNotePurpose is 7 (other cases), and is given only then.
- [XV-GR-10](https://xmlvalid.com/rules/XV-GR-10.md) (error): otherMovePurposeTitle names the purpose when movePurpose is 19 (other movements), and is given only then.
- [XV-GR-11](https://xmlvalid.com/rules/XV-GR-11.md) (error): movePurpose … can no longer be sent (6 custody, 15 return from custody, 16 recycling, 17 destruction of unusable material and 18 movement of fixed assets were withdrawn).
- [XV-GR-12](https://xmlvalid.com/rules/XV-GR-12.md) (error): documentIdNo and countryDocumentId (an identity document, such as a passport) are accepted only on a tax free invoice (specialInvoiceCategory 4).
- [XV-GR-13](https://xmlvalid.com/rules/XV-GR-13.md) (error): supplyAccountNo (the electricity supply number) is accepted only on a fuel invoice (fuelInvoice true).
- [XV-GR-14](https://xmlvalid.com/rules/XV-GR-14.md) (error): Invoice line: …. recType 7 (negative values) is accepted only on adjustment entries 17.3 to 17.6, not a ….
- [XV-GR-15](https://xmlvalid.com/rules/XV-GR-15.md) (error): Invoice line: …. A line without VAT (vatCategory 7, 0%) gives the reason of the exemption in vatExemptionCategory.
- [XV-GR-16](https://xmlvalid.com/rules/XV-GR-16.md) (error): Invoice line: …. With vatCategory … (…) the VAT amount is 0, not ….
- [XV-GR-17](https://xmlvalid.com/rules/XV-GR-17.md) (warning): Invoice line: …. The VAT amount … is not the net value … at …% (vatCategory …): ….
- [XV-GR-18](https://xmlvalid.com/rules/XV-GR-18.md) (error): Invoice line: …. otherMeasurementUnitQuantity and otherMeasurementUnitTitle describe the unit when measurementUnit is 7 (pieces, other cases): both are given then, and only then.
- [XV-GR-19](https://xmlvalid.com/rules/XV-GR-19.md) (error): Invoice line: …. otherMovePurposeLineTitle names the purpose when movePurposeLine is 19 (other movements), and is given only then.
- [XV-GR-20](https://xmlvalid.com/rules/XV-GR-20.md) (error): Invoice line: …. notVAT195 is accepted only on income documents 1.1 to 11.5, not a ….
- [XV-GR-21](https://xmlvalid.com/rules/XV-GR-21.md) (error): Invoice line: …. quantity15 (the quantity at 15 °C) is accepted only on a fuel invoice.
