Peru SUNAT CPE e-Invoicing
Comprobantes de Pago Electronicos — UBL 2.1 for SUNAT & OSE, straight from Odoo
Generate, validate and transmit Facturas, Boletas, Notas de Credito and Notas de Debito to SUNAT or your OSE, with real RUC checksum validation, IGV handling and CDR response codes. Built on the shared e-Invoicing engine. Compatible with Odoo 18 & 19.
Estandar UBL PERU 2.0
UBL 2.1 documents with CustomizationID 2.0, the SUNAT
UBLExtensions signature envelope, per-line
TaxTotal, PricingReference, leyendas,
line discounts (descuentos, Catalogo 53) and afectacion
tributes (gravado / exonerado / inafecto / exportacion).
Documents: Factura (01), Boleta (03), Nota de Credito (07),
Nota de Debito (08), Comunicacion de Baja (RA),
Resumen Diario (RC), Comprobante de Retencion (20)
and Percepcion (40), plus Catalogo 25 (UNSPSC) product
codes and a printable representacion impresa (PDF) with QR.
Real RUC validation
The exact SUNAT modulo-11 check-digit algorithm (weights 5 4 3 2 7 6 5 4 3 2) validates company and customer RUCs before anything is generated, plus Catalogo 06 identity-document typing (DNI, RUC, Carnet de Extranjeria, Pasaporte).
IGV & afectacion mapping
IGV under tax scheme 1000, with Catalogo 07 afectacion codes (gravado, exonerado, inafecto, exportacion) mapped to UBL tax categories and validated against SUNAT business rules.
Real SEE-DC SOAP transport
Submits to SUNAT's official SOAP billService with
WS-Security (UsernameToken) authentication: an enveloped
XML-DSig signature (your BYOK certificate), a zipped
sendBill, and full CDR (Constancia de Recepcion)
parsing. Boletas summaries and voids use sendSummary +
ticket polling. Verified end to end against the SUNAT homologacion
(beta) environment.
SUNAT QR code
The printed QR carries the SUNAT pipe-delimited payload (RUC, tipo, serie, numero, IGV, total, fecha, adquirente, hash) plus a public consultation URL so buyers can verify the voucher.
Guided onboarding & BYOK
A wizard captures your RUC, SUNAT/OSE endpoint and credentials in one step. All transport is bring-your-own-key: your SOL user/password or OSE token and your own signing certificate. Nothing is bundled.
What you get
- Generate & Submit buttons on customer invoices and refunds, driven through the engine document lifecycle.
- Pre-submission validation surfacing SUNAT rejection causes before you send.
- Transport logs of every SUNAT/OSE call, CDR code and message stored on the voucher.
- Status-polling cron for asynchronous summaries (disabled by default; safe for demos).
Disclosure: this module transmits your voucher data only to the SUNAT or OSE endpoint you configure, using credentials you provide. No data is sent anywhere else.
Compliance model & licensing
We deliver the software. This connector runs entirely under your own SUNAT SOL credentials (or your OSE bearer token) and your own digital signing certificate — all bring-your-own-key (BYOK) material that stays in your Odoo database and is sent only to the SUNAT/OSE endpoint you configure.
We are not an OSE, a PSE, or an integrator acting on your behalf. The fiscal relationship is strictly between you (the taxpayer) and SUNAT; we issue no comprobantes for you and hold none of your credentials. You remain the registered emisor electronico.
Support is included, and the purchase is refundable per the Odoo Apps Store policy. (Modelo de cumplimiento: entregamos el software; usted opera con sus propias credenciales SOL/OSE y certificado — la relacion fiscal es entre el contribuyente y la SUNAT.)
Screenshots
Factura Cpe Ubl 2 1 Generate
Boleta De Venta Cpe Type 03
Generated Cpe Ubl Document E
Update date: 2026-07-21