Peppol BIS Billing 3.0.20 · UBL

UBL-CR-622: A UBL invoice should not include the InvoiceLine Item ItemInstance

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-622]-A UBL invoice should not include the InvoiceLine Item ItemInstance

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

UBL-CR-622 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 is advisory (severity: warning). It checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item/cac:ItemInstance element. If such an ItemInstance is present, the validator reports the warning, but the document is not rejected.

How to fix

Remove cac:ItemInstance from every cac:Item inside cac:InvoiceLine and cac:CreditNoteLine. If your system currently generates cac:ItemInstance for line items, stop outputting it in UBL invoices and credit notes.

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

Validate an invoice against these rules · All release changes