Peppol BIS Billing 3.0.20 · UBL

UBL-DT-22: Language local identifier attribute should not be present

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-DT-22]-Language local identifier attribute should not be present

Stored validation assertion
not(//@languageLocaleID)

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

What this rule requires

This rule forbids the attribute //@languageLocaleID in a UBL document. The test is not(//@languageLocaleID), evaluated for /ubl:Invoice, /cn:CreditNote, so the rule reports every place where that attribute is present.

How to fix

Remove //@languageLocaleID from the document. If your system always writes it, change the export so that it leaves this attribute out.

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-DT-22.

Validate an invoice against these rules · All release changes