# BR-FXEXT-11

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

> Each "ID of parent line" (BT-X-304) must refer to an existing "ID of invoice item" (BT-126).

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `//ram:IncludedSupplyChainTradeLineItem [normalize-space(ram:AssociatedDocumentLineDocument/ram:ParentLineID) != '']`
- Test: `some $p in //ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:LineID satisfies normalize-space($p) = normalize-space(ram:AssociatedDocumentLineDocument/ram:ParentLineID)`

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