Faktura

GR-R-001-4

fatalPeppol BIS Billing 3.0profileUBL

When Supplier is Greek, the Invoice Id third segment must be a positive integer

Why it fails

The third segment of the invoice id is not a positive integer.

How to fix it

Make the third segment a positive whole number. Zero and empty both fail this check.

What the validator checks

UBL — context /ubl-invoice:Invoice/cbc:ID[$isGreekSender] | /ubl-creditnote:CreditNote/cbc:ID[$isGreekSender]

string-length(normalize-space($IdSegments[3]))>0 and string(number($IdSegments[3])) != 'NaN' and xs:integer($IdSegments[3]) >= 0

Related rules

Part of GR-R — Greece.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.