PEPPOL-EN16931-R004
The rule sets below word this rule differently; each wording is shown with its rule set.
Why it fails
cbc:CustomizationIDis not the Peppol BIS Billing 3.0 identifier, for example plainurn:cen.eu:en16931:2017or an XRechnung identifier sent over Peppol.
How to fix it
Use urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 (an extension of it may follow, but it must begin with this).
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
Specification identifier MUST begin with the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0' and follow the format rules for the identifier.
ubl-creditnote:CreditNote | ubl-invoice:Invoice
starts-with(normalize-space(cbc:CustomizationID/text()), 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0') and not(contains(normalize-space(cbc:CustomizationID/text()), '::'))
Checked with Peppol BIS Billing 3.0 Invoice, Peppol BIS Billing 3.0 Credit Note, Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note
Specification identifier MUST have the value 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:selfbilling:3.0' and follow the format rules for the identifier.
ubl-creditnote:CreditNote | ubl-invoice:Invoice
starts-with(normalize-space(cbc:CustomizationID/text()), 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:selfbilling:3.0') and not(contains(normalize-space(cbc:CustomizationID/text()), '::'))
Checked with Peppol BIS Self-Billing 3.0 Invoice, Peppol BIS Self-Billing 3.0 Credit Note