Peppol BIS Billing 3.0.21 · UBL

GR-R-001-7: When Supplier is Greek, the Invoice Id sixth segment must not be empty

Peppol BIS Billing 3.0.21 · UBL

fatalcountry

Original rule text

[GR-R-001-7]-When Supplier is Greek, the Invoice Id sixth segment must not be empty

Stored validation assertion
string-length($IdSegments[6]) > 0 

GR-R-001-7 is a fatal rule in the country layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

For UBL invoices and credit notes where the supplier country code is GR or EL, the cbc:ID value is split on the pipe character |. The test requires that the sixth segment exists and has a non-zero string length. If there are fewer than six segments, or the sixth segment is empty, the document fails this fatal rule.

How to fix

Ensure the cbc:ID element contains at least six parts separated by |, and that the sixth part contains at least one character (e.g. it is not empty). Update the invoice or the system that generates cbc:ID so that when the supplier country is GR or EL, a non-empty sixth segment is always present.

Guidance on this rule. The original text above is authoritative.

Where to go next

GR-R-001-7 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes