# BR-NL-11

Source: https://xmlvalid.com/rules/BR-NL-11

> For suppliers in the Netherlands, the supplier MUST provide a means of payment (cac:PaymentMeans) if the payment is from customer to supplier

- Level: error
- Rule sets: SI-UBL 2.0 rules (NLCIUS, UBL) 2.0.3.13, SI-UBL 2.0 G-account rules (NLCIUS, UBL) 1.0.2.13
- Context: `/ubl:Invoice/cac:LegalMonetaryTotal[$s]`
- Test: `xs:decimal(cbc:PayableAmount) <= 0.0 or (//cac:PaymentMeans)`

> For suppliers in the Netherlands, the supplier MUST provide a means of payment (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans) if the payment is from customer to supplier

- Level: error
- Rule sets: NLCIUS rules (CII) 1.0.3.13
- Context: `ram:SpecifiedTradeSettlementHeaderMonetarySummation[$s]`
- Test: `xs:decimal(./ram:DuePayableAmount) <= 0.0 or (/*/rsm:ExchangedDocument/ram:TypeCode[$si] = 381) or (../ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode)`

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