Skip to content

Error

FX-SCH-A-001013: A line note can have at most one subject code

In short

Error: fails the selected checks.

FX-SCH-A-001013 means a note on your invoice line contains more than one ram:SubjectCode element. Keep the appropriate single subject code, or omit it if you do not need one.

On this page

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-001013 still fails, and which other rules do.

Updated 6 November 2026