GR-R-001-6: When Supplier is Greek, the Invoice Id fifth segment must not be empty
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[GR-R-001-6]-When Supplier is Greek, the Invoice Id fifth segment must not be empty
string-length($IdSegments[5]) > 0 GR-R-001-6 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 a Greek supplier (supplier country code GR or EL), this rule splits the invoice or credit note identifier in cbc:ID by the pipe character (|) and requires the fifth segment to have a non-empty value. The test fails when the ID has fewer than five pipe-separated segments or when the fifth segment exists but is empty (string length 0).
How to fix
Set cbc:ID to contain at least five pipe-separated segments, and ensure the fifth segment contains at least one character. For example: segment1|segment2|segment3|segment4|fifthSegment. The rule does not specify the content of the fifth segment; use whatever value your business process requires for that part of the identifier.
Guidance on this rule. The original text above is authoritative.
Where to go next
GR-R-001-6 changed in 1 published Peppol BIS Billing UBL release comparison:
- GR-R-001-6 in 3.0.2 → 3.0.10: New rule
Validate an invoice against these rules · All release changes