# BR-CO-25-SG

Source: https://xmlvalid.com/rules/BR-CO-25-SG

> In case the Amount due for payment (IBT-115) is positive, either the Payment due date (IBT-009) or the Payment terms (IBT-020) shall be present.

- Level: error
- Rule sets: PINT SG rules (Singapore) 1.4.1
- Context: `/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount`
- Test: `((. > 0) and (exists(//cbc:DueDate) or exists(//cac:PaymentTerms/cbc:Note))) or (. <= 0)`

Validate a document against these rules: https://xmlvalid.com/validate
