Peppol BIS Billing 3.0.20 · UBL

UBL-CR-534: A UBL invoice should not include the InvoiceLine DocumentReference IssueDate

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-534]-A UBL invoice should not include the InvoiceLine DocumentReference IssueDate

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

UBL-CR-534 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 cac:InvoiceLine or cac:CreditNoteLine does not contain a cac:DocumentReference/cbc:IssueDate. The test is not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:IssueDate), so a document violates the rule if any invoice or credit note line has a DocumentReference with an IssueDate. This is a warning, so the validator reports it but the document is not rejected for this rule.

How to fix

Remove the cbc:IssueDate element from any cac:DocumentReference that appears inside cac:InvoiceLine or cac:CreditNoteLine.

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

Validate an invoice against these rules · All release changes