XRechnung 2.1.0 · UBLStored validation assertion
BR-CO-25
XRechnung 2.1.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.
((. > 0) and (exists(//cbc:DueDate) or exists(//cac:PaymentTerms/cbc:Note))) or (. <= 0)