What it means
Each ram:IncludedSupplyChainTradeLineItem must contain exactly one ram:SpecifiedLineTradeAgreement. This block holds price details, including the unit price excluding VAT (item net price, BT-146), and may contain references for the line. This rule checks the number of agreement blocks. It applies to the Basic and EN 16931 profiles of Factur-X and ZUGFeRD.
Why it matters
The agreement block groups the line's price details. A missing or repeated block does not match the structure required by these profiles.
How to fix it
Check the affected line's unit price in your invoicing software. If you create the XML yourself, keep one ram:SpecifiedLineTradeAgreement in each line, with its ram:NetPriceProductTradePrice. Preserve the correct price details when removing duplicates. If your software still omits or repeats the block, ask its supplier to correct the export. Export again and recheck.
Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta
The rule as published
Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000268 still fails, and which other rules do.
Related rules
- FX-SCH-A-000269 Each line must have exactly one quantity block
- FX-SCH-A-000270 Each line must have exactly one line number
- FX-SCH-A-000271 A line can have only one note
- FX-SCH-A-000272 Each line needs one unit price block excluding VAT
- FX-SCH-A-000273 A price before discount needs exactly one amount
- FX-SCH-A-000274 A line can have only one price discount (Basic and EN 16931)