Peppol BIS Billing 3.0.20 · UBL

UBL-CR-412: A UBL invoice should not include the PaymentMeans PaymentDueDate

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-412]-A UBL invoice should not include the PaymentMeans PaymentDueDate

Stored validation assertion
not(cac:PaymentMeans/cbc:PaymentDueDate) or ../cn:CreditNote

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

UBL-CR-412 is a warning that a UBL invoice should not contain cac:PaymentMeans/cbc:PaymentDueDate. In the test, the first branch not(cac:PaymentMeans/cbc:PaymentDueDate) is false if that element is present; the second branch ../cn:CreditNote is false for an /ubl:Invoice context but true for a /cn:CreditNote context, so the warning is only triggered for invoices. Because the severity is warning, the document is not rejected, but the validator advises removing the element.

How to fix

For a ubl:Invoice, remove the cac:PaymentMeans/cbc:PaymentDueDate element from the invoice XML, or configure the producing system to omit it. For a cn:CreditNote, no change is needed to clear this warning, because the rule's test exempts credit notes.

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

Validate an invoice against these rules · All release changes