Peppol BIS Billing 3.0.21 · UBL

UBL-CR-564: A UBL invoice should not include the InvoiceLine Item PackSizeNumeric

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-564]-A UBL invoice should not include the InvoiceLine Item PackSizeNumeric

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

UBL-CR-564 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 warns that a UBL invoice or credit note should not include the item pack size numeric. The test passes when no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item with a cbc:PackSizeNumeric. If any such element is present, the validator reports this warning. Because the severity is warning, the document is not rejected, but the element is discouraged.

How to fix

Remove the cbc:PackSizeNumeric element from every cac:Item within each cac:InvoiceLine or cac:CreditNoteLine. For example, delete <cbc:PackSizeNumeric>10</cbc:PackSizeNumeric> if it appears inside a line item's cac:Item. Ensure the producing system does not output this element in line items.

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

Validate an invoice against these rules · All release changes