Peppol BIS Billing 3.0.20 · UBL

UBL-CR-566: A UBL invoice should not include the InvoiceLine Item HazardousRiskIndicator

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-566]-A UBL invoice should not include the InvoiceLine Item HazardousRiskIndicator

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

UBL-CR-566 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 InvoiceLine or CreditNoteLine contains an Item with a HazardousRiskIndicator. It is a warning-level rule, so a document that includes this element is reported but is not rejected for this rule alone. The message states the element should not be included.

How to fix

Remove cac:InvoiceLine/cac:Item/cbc:HazardousRiskIndicator from every invoice line, or cac:CreditNoteLine/cac:Item/cbc:HazardousRiskIndicator from every credit note line. If an invoice production system adds this element, disable or suppress it so the output does not contain HazardousRiskIndicator.

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

Validate an invoice against these rules · All release changes