What it means
The test checks ram:LineStatusReasonCode inside the line's ram:AssociatedDocumentLineDocument. The checked value must be empty or exactly match an entry in code list 7 in FACTUR-X_EXTENDED_codedb.xml. It does not check whether the element is present.
Why it matters
The reason must use the profile's agreed codes rather than a free-text description. A code-list match checks the vocabulary, not whether the reason is appropriate for the line.
How to fix it
Check the intended reason for the affected line's status. Correct ram:LineStatusReasonCode to the corresponding code from the Extended profile's list, exactly as listed. If your software exports an unlisted value, ask its supplier to correct the mapping. 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:LineStatusReasonCode' 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-000335 still fails, and which other rules do.
Related rules
- 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
- FX-SCH-A-000342 At most one name per product classification