| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2855 |
| Technical Name |
l10n_pe_sunat_cpe_einvoice |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2855 |
| Technical Name |
l10n_pe_sunat_cpe_einvoice |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
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, the mandatory
cac:Signature block and per-line TaxTotal.
Catalogo 01 type codes: Factura (01), Boleta (03), Nota de Credito (07), Nota de Debito (08).
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.
SUNAT SEE & OSE transport
Signed-and-zipped sendBill submission with retry/backoff,
asynchronous ticket polling and full CDR (Constancia de Recepcion)
response-code interpretation. Editable sandbox & production endpoints.
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.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module