Peppol BIS Billing 3.0.21 · UBL

UBL-CR-535: A UBL invoice should not include the InvoiceLine DocumentReference IssueTime

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-535]-A UBL invoice should not include the InvoiceLine DocumentReference IssueTime

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:IssueTime)

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

For a UBL invoice or credit note, the rule requires that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:DocumentReference with a cbc:IssueTime child. The test not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:IssueTime) means a document fails the check if any such cbc:IssueTime exists. This is a warning, so the validator reports it but does not reject the document.

How to fix

Remove the cbc:IssueTime element from any cac:DocumentReference that is inside a cac:InvoiceLine or cac:CreditNoteLine. If your system generates these elements automatically, adjust the mapping or configuration so line-level document references do not include cbc:IssueTime.

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

Validate an invoice against these rules · All release changes