Series and Numbering
Every Peruvian electronic document is identified by a series and a correlative number, printed together as SERIES-NUMBER (e.g. FABC-12346). You send both on every request. Brinta does not assign them.
| Brinta field | What it is | Format |
|---|---|---|
invoice_serie | Series (Serie) | 4 alphanumeric characters. The first letter depends on the document (table below). |
invoice_number | Correlative number (Número correlativo) | 1 to 8 digits, from 1 to 99999999, without leading zeros. |
Which letter the series starts with
| Document | document_type | Series starts with | Examples |
|---|---|---|---|
| Factura (01) | invoice | F | F001, FABC |
| Boleta (03) | ticket | B | B001, BABC |
| Credit Note (07) on a factura | credit note | F | F001, FC01 |
| Credit Note (07) on a boleta | credit note | B | B001, BC01 |
| Debit Note (08) on a factura | debit note | F | F001, FD01 |
| Debit Note (08) on a boleta | debit note | B | B001, BD01 |
| Guía de Remisión (09) | transport | T | T001, TDOC |
A note follows the letter of the document it modifiesA credit or debit note on a factura uses an
Fseries. A note on a boleta uses aBseries. AnFnote can't modify a boleta, and aBnote can't modify a factura.
Rules
- Series per document type. Use a different series for each document type, so the factura correlative and the credit note correlative never collide. A note can use its own series (e.g.
FC01) as long as it starts with the right letter. - Correlative per series.
invoice_numberstarts at1for each series and goes up by one. The pairinvoice_serie+invoice_numbermust be unique. - No leading zeros. Send
"invoice_number": 12346, not"00012346".
Examples
"invoice_serie": "FABC",
"invoice_number": 12346→ Factura FABC-12346
"invoice_serie": "BABC",
"invoice_number": 12345→ Boleta BABC-12345
"document_type": "credit note",
"invoice_serie": "FAB1",
"invoice_number": 1→ Credit note FAB1-1, modifying a factura.
Updated 3 days ago
Did this page help you?
