[PE] Boleta (03)

What is a Boleta de Venta Electrónica?

A Boleta de Venta Electrónica (SUNAT code 03) documents a sale to a final consumer. It works like the Factura (01): same items, taxes, discounts and percepción. The differences are below.

FieldValue
document_typeticket
invoice_typedebit
invoice_serie4 characters starting with B (e.g. BABC)
invoice_numberCorrelative, 1 to 8 digits, no leading zeros
e_invoicetrue
currencyPEN, or another currency with exchange_rate

What changes from the Factura

Factura (01)Boleta (03)
document_typeinvoiceticket
Series starts withFB
BuyerBusiness with RUCFinal consumer
Operation types (reason)Includes 0112Includes 0113 (Venta interna NRUS); no 0112
Payment method codesOptionalOptional, even for cash sales

Everything else (items, taxes[], amounts[], additional_info, relations[], percepción) works as on the Factura (01).

⚠️

Above S/ 700, identify the buyer

For a boleta whose total is above S/ 700.00 (IGV included), SUNAT requires the buyer's identity document and name.


Field by Field

Root Level

invoice_serie

B + 3 alphanumeric characters, e.g. BABC. See Series and Numbering.

reason

Operation type. 0101 (Venta interna) if you don't send it. See Invoice reasons → PE.

payment_methods[].code

Optional. How the consumer paid (cash, debit card, credit card, etc.), as codes from Reference Codes → Payment methods. You can send more than one, e.g. part cash and part card.

buyer

Same fields as on the Factura (01). For a consumer use type: "person" and the identity document they gave you (e.g. DNI, 8 digits).


Example

{
  "supplier_company_id": "{{company_id}}",
  "invoice_type": "debit",
  "invoice_date": "2026-11-03",
  "invoice_due_date": "2026-11-03",
  "document_type": "ticket",
  "invoice_serie": "BABC",
  "invoice_number": 12349,
  "reason": "0101",
  "currency": "PEN",
  "e_invoice": true,
  "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": "external123",
      "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"
        }
      ]
    }
  ]
}

Did this page help you?