What it means
This rule checks ram:SubjectCode inside ram:AssociatedDocumentLineDocument/ram:IncludedNote on an invoice line (BG-25). A non-empty value must appear in subject code list 5, the UNTDID 4451 list used by the profile. An empty value passes this test.
Why it matters
The subject code categorises the note using a standard code. This check does not assess the note's text or establish what a recipient can interpret.
How to fix it
Check the subject of the affected note. Use the appropriate allowed code in ram:SubjectCode, such as AAI for general information, rather than a free-text label. If you do not need a subject code, remove that element while retaining the note text. Export 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
Value of 'ram:SubjectCode' 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-001014 still fails, and which other rules do.
Related rules
- FX-SCH-A-001015 A line document reference needs one identifier element
- FX-SCH-A-001016 A line document reference needs one type-code element
- FX-SCH-A-001017 A line document reference can have at most one name
- FX-SCH-A-001018 A line document reference can embed at most one attachment
- FX-SCH-A-001019 A line attachment needs a file-type attribute
- FX-SCH-A-001020 A line attachment needs an allowed file-type code