Skip to content

Error

FX-SCH-A-000269: Each line must have exactly one quantity block

In short

Error: fails the selected checks.

FX-SCH-A-000269 means an invoice line has no quantity block (ram:SpecifiedLineTradeDelivery), or has more than one. Make sure each line has exactly one block containing its invoiced quantity, then export and recheck.

On this page

What it means

Each invoice line must contain exactly one ram:SpecifiedLineTradeDelivery element. Despite its technical name, this block holds the invoiced quantity (BT-129) and its unit of measure (BT-130). This rule counts the blocks, not their contents. It applies to the Basic and EN 16931 profiles of Factur-X and ZUGFeRD.

Why it matters

The quantity block gives the invoiced quantity a defined place in the line. Missing or repeated blocks do not match the required structure.

How to fix it

Check that the affected line has the quantity and unit you actually billed. If you create the XML yourself, keep one ram:SpecifiedLineTradeDelivery in each ram:IncludedSupplyChainTradeLineItem, with the correct ram:BilledQuantity. When removing duplicate blocks, retain the correct quantity rather than assuming you should add the duplicates together. 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:SpecifiedLineTradeDelivery' 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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000269 still fails, and which other rules do.

Updated 6 November 2026