Peppol BIS Billing 3.0.21 · UBL

UBL-CR-538: A UBL invoice should not include the InvoiceLine DocumentReference Xpath

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-538]-A UBL invoice should not include the InvoiceLine DocumentReference Xpath

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:XPath)

UBL-CR-538 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

The rule applies to UBL invoices and credit notes. It checks that no invoice line or credit note line contains a document reference with an XPath element. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:XPath), so a warning is reported if any cac:InvoiceLine or cac:CreditNoteLine has a cac:DocumentReference containing cbc:XPath.

How to fix

Remove the cbc:XPath element from every cac:DocumentReference that is a child of cac:InvoiceLine or cac:CreditNoteLine. Do not include cbc:XPath in line-level document references.

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

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to UBL-CR-538.

Validate an invoice against these rules · All release changes