Faktura

UBL-CR-593

warningEN 16931syntax binding ruleUBL

A UBL invoice should not include the InvoiceLine Item CommodityClassification CargoTypeCode

Why it fails

The element 'InvoiceLine Item CommodityClassification CargoTypeCode' is present, but it carries no meaning in the EN 16931 semantic model, so a receiver is free to ignore or reject it.

How to fix it

Remove 'InvoiceLine Item CommodityClassification CargoTypeCode' from the document. Nothing in EN 16931 maps to it - it is almost always left over from a generic UBL template. Reported as a warning.

What the validator checks

UBL — context /ubl:Invoice | /cn:CreditNote

not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:CommodityClassification/cbc:CargoTypeCode)

Related rules

Part of UBL-CR — UBL restrictions.

Validate an invoice against this rule →