e-Factura validator

All error codes › UBL-CR-102

UBL-CR-102 – A UBL invoice should not include the ContractDocumentReference LocaleCode

Warningen16931applies to Romanian e-Factura

What the rule says

A UBL invoice should not include the ContractDocumentReference LocaleCode

How to fix it

Remove the element from the invoice: EN 16931 does not use it. The validator shows the exact line.

This is a warning, not an error: it does not normally cause a rejection, but it is worth cleaning up.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: /ubl:Invoice | /cn:CreditNote

Test (XPath):

not(cac:ContractDocumentReference/cbc:LocaleCode)

Related rules