XRechnung 2.5.0 · UBL

BR-CO-25

XRechnung 2.5.0 · UBL

fatalbusiness

Original rule text

[BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present.

Stored validation assertion
((. > 0) and (exists(//cbc:DueDate) or exists(//cac:PaymentTerms/cbc:Note))) or (. <= 0)