What it means
The delivery section can name the party the goods are delivered to (BG-13). This rule checks that it has no UltimateShipToTradeParty, a second party for the final recipient when the goods are passed on from the first. EN 16931 has room for one delivery party only.
Why it matters
The recipient's software reads a single delivery party, so the second one is dropped. The invoice is not rejected, but if the final recipient matters to the buyer, they will not see it in the structured data.
How to fix it
Decide which party is the real place of delivery and give that one as the delivery party. If the final recipient needs to be known, add their name to the invoice note (BT-22). A fuller profile such as Extended is the usual reason this block is written, so choose the EN 16931 profile if you can.
The rule as published
UltimateShipToTradeParty 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-317 still fails, and which other rules do.
Related rules
- CII-SR-318 Leave out the party the goods are shipped from
- CII-SR-319 Leave the despatch event out of the delivery section
- CII-SR-320 Leave the pick-up event out of the delivery section
- CII-SR-321 Delivery event must not carry an identifier
- CII-SR-322 Write the delivery date as DateTimeString, not DateTime
- CII-SR-323 Delivery event must not carry a type code