What it means
The check looks for SellerOrderReferencedDocument directly inside SpecifiedLineTradeAgreement on an invoice line (BG-25). It does not prohibit the invoice-level sales order reference (BT-14).
Why it matters
BT-14 represents the seller's sales order reference for the invoice as a whole. A seller order reference in the line's trade agreement is outside that mapping.
How to fix it
Remove SellerOrderReferencedDocument from each affected line's SpecifiedLineTradeAgreement. If you need the reference as BT-14, enter the seller's order number in ApplicableHeaderTradeAgreement/SellerOrderReferencedDocument/IssuerAssignedID. If several sales orders are involved, agree with the buyer how to show the additional references. Re-export and recheck the file.
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
SellerOrderReferencedDocument 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-107 still fails, and which other rules do.
Related rules
- CII-SR-108 Keep the purchase order number at invoice level
- CII-SR-109 Remove the quotation reference from the line's trade agreement
- CII-SR-110 Keep the contract reference at invoice level
- CII-SR-111 Remove the line's demand forecast reference
- CII-SR-112 Remove the line's promotional deal reference
- CII-SR-113 Remove the extra reference from the line's trade agreement