Peppol BIS Billing 3.0.20 · UBL

UBL-CR-593: A UBL invoice should not include the InvoiceLine Item CommodityClassification…

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-593]-A UBL invoice should not include the InvoiceLine Item CommodityClassification CargoTypeCode

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

UBL-CR-593 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 neither cac:InvoiceLine nor cac:CreditNoteLine contains a cac:Item/cac:CommodityClassification/cbc:CargoTypeCode. Because it is a warning, a document that includes this element is reported but is not rejected for this rule.

How to fix

Remove the cbc:CargoTypeCode element from cac:CommodityClassification inside any cac:Item of a cac:InvoiceLine or cac:CreditNoteLine. If the invoice is generated by a system, configure it not to output this element.

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

Validate an invoice against these rules · All release changes