Peppol BIS Billing 3.0.20 · UBL

UBL-CR-520: A UBL invoice should not include the InvoiceLine InvoicePeriod StartTime

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-520]-A UBL invoice should not include the InvoiceLine InvoicePeriod StartTime

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:InvoicePeriod/cbc:StartTime)

UBL-CR-520 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

This warning rule applies to UBL invoices and credit notes. It checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:InvoicePeriod with a cbc:StartTime child. Because the severity is warning, a document containing such an element is reported but is not rejected.

How to fix

Remove the cbc:StartTime element from any cac:InvoicePeriod that appears under cac:InvoiceLine or cac:CreditNoteLine. Ensure the system that produces the invoice does not output line-level invoice period start times.

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

Validate an invoice against these rules · All release changes