What it means
This rule counts ram:SubjectCode children of each ram:IncludedNote under ram:AssociatedDocumentLineDocument on an invoice line (BG-25). Zero or one passes. It does not check the code's value.
Why it matters
A subject code categorises a note, and the Extended profile provides at most one subject-code element per line note.
How to fix it
Find the affected ram:IncludedNote and remove duplicate ram:SubjectCode elements. Retain the appropriate code or remove the optional subject code. If you need separate notes for different subjects, give each note at most one code. 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
Element 'ram:SubjectCode' 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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-001013 still fails, and which other rules do.
Related rules
- FX-SCH-A-001014 The line note subject code must be an allowed code
- 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