BR-FXEXT-11
Each "ID of parent line" (BT-X-304) must refer to an existing "ID of invoice item" (BT-126).
Official rule text
[BR-FXEXT-11]-Each "ID of parent line" (BT-X-304) must refer to an existing "ID of invoice item" (BT-126).
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| ZUGFeRD / Factur-X (2.5.2) FeRD, FNFE-MPE | Factur-X EXTENDED (CII) | error |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Business terms concerned (EN 16931)
BT-126
Technical check
- Syntax
- CII · ZUGFeRD / Factur-X (2.5.2)
- Context
//ram:IncludedSupplyChainTradeLineItem [normalize-space(ram:AssociatedDocumentLineDocument/ram:ParentLineID) != '']- Test (must be true)
some $p in //ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:LineID satisfies normalize-space($p) = normalize-space(ram:AssociatedDocumentLineDocument/ram:ParentLineID)
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "error",
"ruleId": "BR-FXEXT-11",
"message": "[BR-FXEXT-11]-Each \"ID of parent line\" (BT-X-304) must refer to an existing \"ID of invoice item\" (BT-126).",
"xpath": "/…",
"source": "schematron:zugferd@2.5.2",
"docUrl": "https://einvoice-api.eu/rules/br-fxext-11.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.