What it means
For each invoice line (BG-25), the rule checks that ram:AssociatedDocumentLineDocument has no direct ram:LineStatusCode child, except in NLCIUS, where it checks ram:IncludedSupplyChainTradeLineItem instead. It does not target the line number (BT-126) or line note (BT-127).
Why it matters
This line status field is outside the EN 16931 CII mapping. The warning does not determine whether a line should be changed, cancelled or credited.
How to fix it
Remove ram:LineStatusCode from each affected ram:AssociatedDocumentLineDocument or, for NLCIUS, directly from ram:IncludedSupplyChainTradeLineItem. If your invoicing software generates it, ask its support to omit it from the CII export. Do not change quantities or amounts solely because of this warning. Check the 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
LineStatusCode 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 |
Check your file
Drop your e-invoice to see whether CII-SR-037 still fails, and which other rules do.
Related rules
- CII-SR-038 Remove line status reason codes
- CII-SR-039 Use at most one note per invoice line
- CII-SR-040 Use at most one note text element per invoice line
- CII-SR-041 Remove subject codes from line notes
- CII-SR-042 Remove identifiers from line notes
- CII-SR-043 Remove the subject element from the line note