Peppol BIS Billing 3.0.20 · UBL

UBL-CR-521: A UBL invoice should not include the InvoiceLine InvoicePeriod EndTime

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-521]-A UBL invoice should not include the InvoiceLine InvoicePeriod EndTime

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

UBL-CR-521 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 checks that no invoice line or credit note line contains an cac:InvoicePeriod/cbc:EndTime. It is triggered if any cac:InvoiceLine or cac:CreditNoteLine has an cac:InvoicePeriod with a cbc:EndTime child. This is a warning, so the document is reported but not rejected for this issue.

How to fix

Remove the cbc:EndTime element from every line-level cac:InvoicePeriod. If the invoice is generated, do not output cbc:EndTime inside cac:CreditNoteLine/cac:InvoicePeriod or cac:InvoiceLine/cac:InvoicePeriod.

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

Validate an invoice against these rules · All release changes