e-Factura validator

All error codes › GR-R-001-3

GR-R-001-3 – When the Supplier is Greek, the Invoice Id second segment must be a valid Date that…

ErrorpeppolPeppol only

What the rule says

When the Supplier is Greek, the Invoice Id second segment must be a valid Date that matches the invoice Issue Date

How to fix it

Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: /ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]

Test (XPath):

string-length(normalize-space($IdSegments[2]))>0 and matches($IdSegments[2],$dateRegExp) and ($tokenizedIdDate[1] = $tokenizedUblIssueDate[3] and $tokenizedIdDate[2] = $tokenizedUblIssueDate[2] and $tokenizedIdDate[3] = $tokenizedUblIssueDate[1])

Related rules