Overview
Boletas are electronic receipts used for retail sales and B2C (Business to Consumer) transactions in Chile. LibreDTE Core supports two types of boletas:- Boleta Afecta (Code 39): For taxable retail sales
- Boleta Exenta (Code 41): For tax-exempt retail sales
Boleta Afecta (Code 39)
Official Name: Boleta electrónica
Document Code: 39
Enum Constant:
Interface:
Document Code: 39
Enum Constant:
CodigoDocumento::BOLETA_AFECTAInterface:
BoletaAfectaInterfaceWhen to Use Boleta Afecta
Use a Boleta Afecta when:- Making retail sales to consumers
- The transaction is subject to VAT
- The customer does not require a tax-deductible invoice (Factura)
- Point-of-sale transactions with final consumers
Code Example
Boleta Exenta (Code 41)
Official Name: Boleta no afecta o exenta electrónica
Document Code: 41
Enum Constant:
Interface:
Document Code: 41
Enum Constant:
CodigoDocumento::BOLETA_EXENTAInterface:
BoletaExentaInterfaceWhen to Use Boleta Exenta
Use a Boleta Exenta when:- Making retail sales to consumers
- The transaction is exempt from VAT
- Selling tax-exempt goods or services
- The customer does not require a tax-deductible invoice
Code Example
Document Properties
Boleta Afecta (39)
Document code:
39Full document name: “Boleta electrónica”
Programmatic alias: “boleta_afecta”
Boleta Exenta (41)
Document code:
41Full document name: “Boleta no afecta o exenta electrónica”
Programmatic alias: “boleta_exenta”
Comparison: Boleta vs Factura
| Feature | Boleta (39/41) | Factura (33/34) |
|---|---|---|
| Target | Consumers (B2C) | Businesses (B2B) |
| Tax Deductible | No | Yes |
| Buyer Information | Optional/Minimal | Required |
| Use Case | Retail sales | Commercial invoices |
| VAT Detail | Included in total | Itemized separately |
Related Document Types
- Factura Afecta (33): For B2B taxable invoices
- Factura Exenta (34): For B2B tax-exempt invoices
- Nota de Crédito (61): To reverse or correct a boleta
- Nota de Débito (56): To add charges to a boleta