InvoiceValidator.eu

CII-DT-086

fatalEN 16931syntax binding ruleCII

LineFour shall not be used.

Why it fails

'PostalTradeAddress/LineFour' wherever it appears is present, but this profile does not allow it — nothing in the EN 16931 semantic model maps to it. The rule text names only 'LineFour'; the path above is where the rule actually looks.

How to fix it

Remove 'PostalTradeAddress/LineFour' wherever it appears. It is almost always left over from a generic template or a library that emits every field of the underlying schema. Reported as an error.

What the validator checks

CII — context //ram:PostalTradeAddress

not(ram:LineFour)

Related rules

Part of CII-DT — CII data types.

Check your own invoice against CII-DT-086

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.