Peppol BIS Billing 3.0.20 · UBL

UBL-CR-592: A UBL invoice should not include the InvoiceLine Item CommodityClassification NatureCode

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-592]-A UBL invoice should not include the InvoiceLine Item CommodityClassification NatureCode

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:CommodityClassification/cbc:NatureCode)

UBL-CR-592 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

The rule checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item/cac:CommodityClassification/cbc:NatureCode element. Because the severity is warning, a document with this element is not rejected, but the validator reports it as not recommended.

How to fix

Remove the cbc:NatureCode element from any cac:CommodityClassification under cac:Item within an invoice line or credit note line. If it is generated automatically, adjust the mapping so that commodity nature code is not output at line item level.

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

Validate an invoice against these rules · All release changes