[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.
| Field | Value |
|---|---|
document_type | ticket |
invoice_type | debit |
invoice_serie | 4 characters starting with B (e.g. BABC) |
invoice_number | Correlative, 1 to 8 digits, no leading zeros |
e_invoice | true |
currency | PEN, or another currency with exchange_rate |
What changes from the Factura
| Factura (01) | Boleta (03) | |
|---|---|---|
document_type | invoice | ticket |
| Series starts with | F | B |
| Buyer | Business with RUC | Final consumer |
Operation types (reason) | Includes 0112 | Includes 0113 (Venta interna NRUS); no 0112 |
| Payment method codes | Optional | Optional, 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 buyerFor 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
invoice_serieB + 3 alphanumeric characters, e.g. BABC. See Series and Numbering.
reason
reasonOperation type. 0101 (Venta interna) if you don't send it. See Invoice reasons → PE.
payment_methods[].code
payment_methods[].codeOptional. 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
buyerSame 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"
}
]
}
]
}Updated 3 days ago
