# BR-FREXT-BR-24

Source: https://xmlvalid.com/rules/BR-FREXT-BR-24

> Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131) if the "Subtype of invoice line item" (EXT-FR-FE-163 / BT-X-8) has the value "DETAIL" or is not specified.

- Level: error
- Rule sets: EXTENDED-CTC-FR rules (CII) 1.4.0.04
- Context: `//ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument[not(ram:LineStatusReasonCode) or ram:LineStatusReasonCode = 'DETAIL']`
- Test: `(../ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount)`

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