Skip to content

Error

FX-SCH-A-000337: At most one invoice reference per line settlement

In short

Error: fails the selected checks.

FX-SCH-A-000337 means a line settlement in your Factur-X or ZUGFeRD Extended file contains more than one invoice reference (ram:InvoiceReferencedDocument). Correct the affected ram:SpecifiedLineTradeSettlement so it contains at most one.

On this page

What it means

For each ram:SpecifiedLineTradeSettlement on an invoice line, the test counts direct ram:InvoiceReferencedDocument children. It allows none or one and does not check the referenced invoice's date or details.

Why it matters

This line-level reference has a maximum of one entry per settlement block. The limit applies both to repeated references to the same invoice and to references to different invoices.

How to fix it

Compare the references in the affected line settlement with your invoice records. Keep the appropriate ram:InvoiceReferencedDocument, if needed, and remove extra entries. If several references are genuinely needed, ask your software supplier how to represent them within your chosen profile. Export the file again and recheck it.

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:InvoiceReferencedDocument' may occur at maximum 1 times.

Where this rule applies

Rule set Version
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026