Issuing in Peru

Brinta issues electronic payment vouchers (Comprobantes de Pago Electrónicos) to Peru's tax authority,

Available document types

SUNAT codedocument_type (Brinta)invoice_type (Brinta)Fiscal nameWhen to useSeries starts withGuide
01invoicedebitFactura ElectrónicaSale to a buyer with RUCFFactura (01)
03ticketdebitBoleta de Venta ElectrónicaSale to a final consumerBBoleta (03)
07credit notecreditNota de Crédito ElectrónicaVoid, return, discount or correct a factura or boletaF or B, same as the originalCredit Note (07)
08debit notedebitNota de Débito ElectrónicaIncrease the amount of a factura or boleta (interest, penalties, value increase)F or B, same as the originalDebit Note (08)
09transporttransportGuía de Remisión RemitenteMove goodsTTransport — Guía de Remisión
⚠️

You send the series and the number

Brinta does not generate the document number. Every request carries invoice_serie (4 characters, e.g. FABC for a factura, BABC for a boleta) and invoice_number (the correlative, e.g. 12346). See Series and Numbering.

reason means something different per document

DocumentWhat reason holdsExampleValues
Factura, BoletaOperation type (Tipo de operación)"0101" (Venta interna)Invoice reasons → PE
Credit NoteCredit note type"void", "return" or "discount"Credit Note (07)
Debit NoteNot needed—Debit Note (08)
Guía de RemisiónTransport 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).


Did this page help you?