Skip to content

Warning

CII-SR-036: Remove parent line identifiers

In short

Warning: worth checking.

CII-SR-036 warns that a CII invoice line contains ram:ParentLineID in ram:AssociatedDocumentLineDocument or, for NLCIUS, directly in ram:IncludedSupplyChainTradeLineItem. Remove this parent line reference without removing the line's own number (BT-126).

On this page

What it means

For each invoice line (BG-25), the rule checks that ram:AssociatedDocumentLineDocument has no direct ram:ParentLineID child, except in NLCIUS, where it checks ram:IncludedSupplyChainTradeLineItem instead.

Why it matters

The EN 16931 CII mapping does not represent parent-child line relationships through this element. This check does not determine whether the line amounts are correct.

How to fix it

Remove ram:ParentLineID from each affected ram:AssociatedDocumentLineDocument or, for NLCIUS, directly from ram:IncludedSupplyChainTradeLineItem. Keep each line's own number (BT-126). If the relationship needs explaining, describe it in the line note (BT-127) or item description. Check the updated file again.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

ParentLineID should not be present

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
NLCIUS (CII) 1.0.3.13
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-SR-036 still fails, and which other rules do.

Updated 8 November 2026