Peppol BIS Billing 3.0.20 · UBL

UBL-CR-636: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge…

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-636]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge PrepaidIndicator

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cbc:PrepaidIndicator)

UBL-CR-636 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 requires that a UBL invoice or credit note does not contain a PrepaidIndicator inside the AllowanceCharge element of the Price element of any invoice line or credit note line (cac:InvoiceLine/cac:Price/cac:AllowanceCharge/cbc:PrepaidIndicator or cac:CreditNoteLine/cac:Price/cac:AllowanceCharge/cbc:PrepaidIndicator). This is a warning, so the document is not rejected; the validator reports it as advisory.

How to fix

Remove the cbc:PrepaidIndicator element from all cac:InvoiceLine/cac:Price/cac:AllowanceCharge and cac:CreditNoteLine/cac:Price/cac:AllowanceCharge occurrences. If your system generates this element, adjust the configuration to stop emitting PrepaidIndicator in line price allowance charges.

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

Validate an invoice against these rules · All release changes