Skip to content

Error

FX-SCH-A-000334: Use an allowed line status code

In short

Error: fails the selected checks.

FX-SCH-A-000334 means an invoice line in your Factur-X or ZUGFeRD Extended file has a line status code outside the profile's allowed list. Correct ram:LineStatusCode to an allowed code that describes the line's actual status.

On this page

What it means

The test checks ram:LineStatusCode inside the line's ram:AssociatedDocumentLineDocument. The checked value must be empty or exactly match an entry in code list 6 in FACTUR-X_EXTENDED_codedb.xml. It does not check whether the element is present.

Why it matters

The line status must use a code recognised by the profile rather than an arbitrary label. List membership does not by itself show that the chosen code describes the line correctly.

How to fix it

Check the affected line's status and the corresponding code in the Extended profile's list. Correct ram:LineStatusCode to that code, exactly as listed. If your software writes an unlisted value, ask its supplier to correct the export without changing what the line represents. 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

Value of 'ram:LineStatusCode' is not allowed.

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-000334 still fails, and which other rules do.

Updated 6 November 2026