Peppol BIS Billing 3.0.20 · UBL

UBL-CR-585: A UBL invoice should not include the InvoiceLine Item StandardItemIdentification…

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-585]-A UBL invoice should not include the InvoiceLine Item StandardItemIdentification MeasurementDimension

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

UBL-CR-585 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 advises that a UBL invoice or credit note should not contain a cac:MeasurementDimension inside cac:StandardItemIdentification on any invoice or credit note line. The test checks that no cac:InvoiceLine or cac:CreditNoteLine has the path cac:Item/cac:StandardItemIdentification/cac:MeasurementDimension. As a warning, a document with this element is not rejected, but the validator reports it.

How to fix

Remove the cac:MeasurementDimension element from every cac:InvoiceLine or cac:CreditNoteLine where cac:Item/cac:StandardItemIdentification contains it. If the invoice is generated by a system, change the mapping so that cac:StandardItemIdentification does not include cac:MeasurementDimension.

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

Validate an invoice against these rules · All release changes