Issuing in Peru
Brinta issues electronic payment vouchers (Comprobantes de Pago Electrónicos) to Peru's tax authority,
Available document types
| SUNAT code | document_type (Brinta) | invoice_type (Brinta) | Fiscal name | When to use | Series starts with | Guide |
|---|---|---|---|---|---|---|
| 01 | invoice | debit | Factura Electrónica | Sale to a buyer with RUC | F | Factura (01) |
| 03 | ticket | debit | Boleta de Venta Electrónica | Sale to a final consumer | B | Boleta (03) |
| 07 | credit note | credit | Nota de Crédito Electrónica | Void, return, discount or correct a factura or boleta | F or B, same as the original | Credit Note (07) |
| 08 | debit note | debit | Nota de Débito Electrónica | Increase the amount of a factura or boleta (interest, penalties, value increase) | F or B, same as the original | Debit Note (08) |
| 09 | transport | transport | Guía de Remisión Remitente | Move goods | T | Transport — Guía de Remisión |
You send the series and the numberBrinta does not generate the document number. Every request carries
invoice_serie(4 characters, e.g.FABCfor a factura,BABCfor a boleta) andinvoice_number(the correlative, e.g.12346). See Series and Numbering.
reason means something different per document
reason means something different per document| Document | What reason holds | Example | Values |
|---|---|---|---|
| Factura, Boleta | Operation type (Tipo de operación) | "0101" (Venta interna) | Invoice reasons → PE |
| Credit Note | Credit note type | "void", "return" or "discount" | Credit Note (07) |
| Debit Note | Not needed | — | Debit Note (08) |
| Guía de Remisión | Transport reason (Motivo de traslado) | "01" (Sale) | Transport — Guía de Remisión |
What Brinta takes from your company
The issuer data is read from the company referenced in supplier_company_id: RUC, legal name, establishment code and address. Don't send a supplier object.
Quick Payloads
Factura (01)
{
"supplier_company_id": "{{company_id}}",
"invoice_type": "debit",
"invoice_date": "2026-11-03",
"invoice_due_date": "2026-11-06",
"document_type": "invoice",
"invoice_serie": "FABC",
"invoice_number": 12351,
"reason": "0101",
"currency": "PEN",
"e_invoice": true,
"payment_model": {
"type": "credit"
},
"buyer": {
"company": {
"name": "DEMO COMP",
"legal_name": "DEMO COMPANY 1",
"external_id": "123456789",
"type": "business",
"address": {
"address_line_1": "Las Gaviotas Avenue 2110",
"city": "LIMA",
"state": "PE-LIM",
"country": "PE",
"postal_code": "3500"
},
"tax_registrations": [
{
"number": "20123456678",
"type": "RUC",
"level": "country",
"location": "PE"
}
]
}
},
"items": [
{
"name": "Item Service 1",
"amount": 1000,
"unit_amount": 1000,
"quantity": 1,
"external_item_id": "external_123",
"taxes": [
{
"name": "IGV",
"type": "VAT",
"rate": 0.18,
"rate_type": "percentage",
"amount": 180,
"level": "country",
"location": "PE",
"adds_to_final_amount": true
}
],
"categories": [
{
"code": "ZZ",
"list": "unit"
}
]
}
]
}Credit Note (07), void
{
"invoice_type": "credit",
"document_type": "credit note",
"invoice_due_date": "2026-11-03",
"currency": "PEN",
"e_invoice": true,
"reason": "void",
"invoice_serie": "B002",
"invoice_number": 123,
"original_invoice_id": "{{original_invoice_id}}",
"supplier_company_id": "{{company_id}}"
}More examples on each document type's page.
How to send these documents
All three methods (Manual/Dashboard, Bulk/CSV, API) work the same way for Peru as for every other country. See Ways of Issuing. API requests go to POST https://api.brinta.com/invoices (sandbox: https://api-test.brinta.com/invoices).
Updated 3 days ago
