e-Factura validator

All error codes › UBL-SR-43

UBL-SR-43 – Scheme identifier shall only be used for invoiced object (document type code with value…

Erroren16931applies to Romanian e-Factura

What the rule says

Scheme identifier shall only be used for invoiced object (document type code with value 130 or 50)

How to fix it

The element appears more often than allowed: keep a single occurrence (or the maximum in the rule).

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: cac:AdditionalDocumentReference

Test (XPath):

((cbc:DocumentTypeCode='130') or ((local-name(/*) = 'CreditNote') and (cbc:DocumentTypeCode='50')) or (not(cbc:ID/@schemeID) and not(cbc:DocumentTypeCode)))

Related rules