fatalPeppol BIS Billing 3.0profileUBL
When the Supplier is Greek, the Invoice Id should consist of 6 segments
A Greek supplier's invoice number is not in the six-segment form Greece requires.
The invoice id must be built from six segments in the order the Greek profile defines: the supplier's TIN, the issue date, a positive integer, the Greek document type, the series and the serial number. Each segment is checked separately by GR-R-001-2 through GR-R-001-7, so validate once and the messages will tell you which segment is wrong. Take the exact separator and formatting from the current Greek Peppol CIUS - do not guess it.
UBL — context /ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]
count($IdSegments) = 6