Peppol BIS Billing 3.0.21 · UBL

UBL-CR-596: A UBL invoice should not include the InvoiceLine Item HazardousItem

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-596]-A UBL invoice should not include the InvoiceLine Item HazardousItem

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:HazardousItem)

UBL-CR-596 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 checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item/cac:HazardousItem element. It applies to ubl:Invoice and cn:CreditNote. The severity is warning, so a document with such an element is reported but not rejected; the rule recommends against including it.

How to fix

Remove the cac:HazardousItem element from the cac:Item of each cac:InvoiceLine or cac:CreditNoteLine. If your system generates this element automatically, configure it to omit it.

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

Validate an invoice against these rules · All release changes