What it means
The check looks at the purchase order reference (ram:BuyerOrderReferencedDocument) in the agreement part of the invoice header and fails if it carries a line number (ram:LineID). At this level EN 16931 only wants the purchase order number (BT-13). A reference to a particular order line is given on the invoice line itself (BT-132).
Why it matters
This is a warning, so the invoice is still accepted. At the top of the invoice a line number does not say which invoice line it belongs to, so a recipient that follows the standard ignores it. The purchase order number is still read. It is worth fixing if you want each invoice line matched to its order line.
How to fix it
Remove the order line number from the order reference at the top of the invoice and keep the purchase order number. In the XML, delete ram:LineID inside ram:BuyerOrderReferencedDocument in ram:ApplicableHeaderTradeAgreement. To tie a line to an order line, fill in the purchase order line reference (BT-132) on that invoice line, under ram:SpecifiedLineTradeAgreement.
The rule as published
LineID 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-295 still fails, and which other rules do.
Related rules
- CII-SR-296 Do not add a quotation reference
- CII-SR-297 Do not add an order response reference
- CII-SR-298 Do not give a line number for the contract reference
- CII-SR-299 Do not add a demand forecast reference
- CII-SR-300 Do not add a supply instruction reference
- CII-SR-301 Do not add a promotional deal reference