Peppol BIS Billing 3.0.21 · UBL

UBL-CR-629: A UBL invoice should not include the InvoiceLine Item Price ValidityPeriod

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-629]-A UBL invoice should not include the InvoiceLine Item Price ValidityPeriod

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:ValidityPeriod)

UBL-CR-629 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 is advisory (warning). It checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Price/cbc:ValidityPeriod. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cbc:ValidityPeriod), so the presence of at least one such ValidityPeriod triggers the warning; a document with none satisfies the rule.

How to fix

Remove the cbc:ValidityPeriod element from the cac:Price of every cac:InvoiceLine and cac:CreditNoteLine, or configure the producing system not to emit this element. Because this is a warning, the document is not rejected, but it should be corrected to avoid the advisory.

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

Validate an invoice against these rules · All release changes