e-Factura validator

All error codes › BR-RO-020_2

BR-RO-020_2 – Invoice type code not allowed in Romania

Errorroapplies to Romanian e-Factura

What the rule says

The invoice type code (BT-3) must be one of the following codes in the UNTDID 1001 code list: 380 (Invoice), 389 (Self-invoice), 384 (Corrected invoice), 381 (Credit note), 751 (Invoice - information for accounting purposes).

How to fix it

Use one of: 380 (invoice), 389 (self-billed invoice), 384 (corrected invoice), 381 (credit note), 751 (invoice for accounting purposes).

UBL: cbc:InvoiceTypeCode / cbc:CreditNoteTypeCode

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: cbc:CreditNoteTypeCode

Test (XPath):

(. and ((not(contains(normalize-space(.), ' ')) and contains(' 381 ', concat(' ', normalize-space(.), ' ')))))

Related rules