e-Factura validator

All error codes › UBL-CR-666

UBL-CR-666 – A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring…

Erroren16931applies to Romanian e-Factura

What the rule says

A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment

How to fix it

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

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:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cac:Attachment)

Related rules