What it means
The preceding invoice number (BT-25) points from a credit note or corrective invoice to the earlier invoice. It may be at most 200 characters in the Romanian rule set for RO e-Factura (CIUS-RO). In the UBL file this is the ID inside InvoiceDocumentReference in each BillingReference, and each one is checked on its own. Leading and trailing spaces are ignored and repeated spaces count once.
Why it matters
The reference links the new document to the invoice it corrects, so the buyer and the tax authority can follow the chain. This is a fatal rule, so RO e-Factura rejects the file and you have to send a corrected one.
How to fix it
In your invoicing software, open the credit note and find the field for the original invoice or the invoice it refers to. Replace the text with just the invoice number of that earlier invoice, without notes or a description. Then create the file again.
The rule as published
Numarul maxim permis de caractere pentru Referinta la o factura anterioara (BT-25) este 200. #The allowed maximum number of characters for the Preceding Invoice number (BT-25) is 200. Business terms: BT-25
Where this rule applies
| Rule set | Version |
|---|---|
| CIUS-RO UBL Invoice 1.0.9 | 1.0.9 |
| CIUS-RO UBL Credit Note 1.0.9 | 1.0.9 |
Check your file
Drop your e-invoice to see whether BR-RO-L156 still fails, and which other rules do.
Related rules
- BR-55 Preceding invoice number is required
- BR-FR-CO-04_BT-3 A corrective invoice needs exactly one earlier invoice reference
- BR-FR-CO-04_BT-4 Corrective invoices need exactly one earlier invoice reference
- BR-FR-CO-05_BT-3 A credit note must refer to the invoice it credits
- BR-RO-L0201 Seller post code must be 20 characters or fewer
- BR-RO-L201 Seller name must be 200 characters or fewer