Peru SUNAT Electronic Receipt (CPE) Lifecycle Manager
Generate, dispatch, and track SUNAT CPE â stop refreshing the OSE portal
Starts at 24.99 USD
Your compliance team keeps three tabs open: the OSE portal, a shared Excel log of dispatch IDs, and the accounting ledger â manually matching every UBL 2.1 invoice against its SUNAT CDR before the monthly PLE closes. A missed void notice or a credit note not chained to the right factura turns into a SUNAT fine and a late reconciliation night.
This module runs the full CPE lifecycle inside Odoo. It generates UBL 2.1 XML directly from the invoice, dispatches it through your existing OSE or PSE connection, and pulls the CDR back automatically. A built-in cron checks pending dispatches every 30 minutes, so nobody on your team is refreshing a browser tab waiting for a status change.
Credit and debit notes are chained to their original document automatically, so every void carries its approval trail before it ever reaches SUNAT â no orphaned notes, no resubmission guesswork.
Works on Odoo 16 through 19. Stop tracking dispatch IDs in a spreadsheet and let Odoo chase the CDR for you.
See it in action
What you get
- Generates UBL 2.1 XML straight from the Odoo invoice
- Dispatches each CPE through your existing OSE or PSE
- Pulls the CDR back automatically, no portal checking
- Cron polls pending dispatches every 30 minutes
- Chains credit and debit notes to the original invoice
- Keeps an approval trail on every void before SUNAT sees it
- Runs on Odoo 16, 17, 18, and 19
Compatibility
Odoo 19 · License: LGPL-3 · Category: Localization
Installation
- Copy the
peru_sunat_cpe_lifecyclefolder into your Odoo addons path. - Restart your Odoo server.
- Activate developer mode and click Update Apps List.
- Search for Peru SUNAT Electronic Receipt (CPE) Lifecycle Manager and click Install.
Support
Open an issue on the GitHub repository â we triage every report within two business days.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 330 |
| Technical Name |
peru_sunat_cpe_lifecycle |
| License | LGPL-3 |
| Website | https://github.com/mypacksoft/peru_sunat_cpe_lifecycle |
Please log in to comment on this module