Peppol BIS Billing 3.0.21 · UBL

UBL-CR-539: A UBL invoice should not include the InvoiceLine DocumentReference LanguageID

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-539]-A UBL invoice should not include the InvoiceLine DocumentReference LanguageID

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

UBL-CR-539 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 requires that a cac:DocumentReference inside any cac:InvoiceLine or cac:CreditNoteLine does not contain a cbc:LanguageID element. It is an advisory warning: the document is still valid, but the validator reports the element as undesirable.

How to fix

Remove the cbc:LanguageID element from any cac:DocumentReference inside cac:InvoiceLine or cac:CreditNoteLine. If no such element is present, no change is needed.

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-539.

Validate an invoice against these rules · All release changes