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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000334 still fails, and which other rules do.
Related rules
- FX-SCH-A-000335 Use an allowed line status reason code
- FX-SCH-A-000336 At most one included tax entry per net price
- FX-SCH-A-000337 At most one invoice reference per line settlement
- FX-SCH-A-000338 At most one calculated amount per line tax entry
- FX-SCH-A-000340 At most one grand total per line totals block
- FX-SCH-A-000341 At most one discount and charge total per line