# BR-FR-CO-09_BT-23-2

Source: https://xmlvalid.com/rules/BR-FR-CO-09_BT-23-2

> Si le cadre de facturation (BT-23) est B2, S2 ou M2, alors le net à payer (BT-115) doit être égal à 0. Net à payer : … .

- Level: error
- Rule sets: French e-invoicing rules (UBL) 1.4.0.04
- Context: `ubl:Invoice | cn:CreditNote`
- Test: `not($billingContext = 'B2' or $billingContext = 'S2' or $billingContext = 'M2') or (xs:decimal($payableAmount) = 0)`

> BR-FR-CO-09/BT-23 : Si le cadre de facturation (BT-23) est B2, S2 ou M2, alors le net à payer (BT-115) doit être égal à 0. Net à payer : … .

- Level: error
- Rule sets: French e-invoicing rules (CII) 1.4.0.04
- Context: `rsm:CrossIndustryInvoice`
- Test: `not($isPaidMode) or (xs:decimal($dueAmount) = 0)`

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