| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) • Contacts (contacts) |
| Community Apps Dependencies | Show |
| Lines of code | 1891 |
| Technical Name |
ple_sale_book |
| License | OPL-1 |
| Website | https://www.ganemo.co |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) • Contacts (contacts) |
| Community Apps Dependencies | Show |
| Lines of code | 1891 |
| Technical Name |
ple_sale_book |
| License | OPL-1 |
| Website | https://www.ganemo.co |
PLE Sales Record
SUNAT Compliance & Reporting
Generate your Electronic Sales Register (PLE) effortlessly. Compliant with Peruvian Localization standards.
What We're Solving
----------------
Automated TXT Generation
Create the exact .txt structure required by SUNAT's PLE/SIRE software. The module automatically formats dates, currency rates, and partner documents, eliminating manual errors.
Excel Verification
Review your data before declaring. The module creates a user-friendly Excel version of the Sales Record so accountants can audit numbers, taxes, and totals instantly.
Setup & User Manual
Step-by-Step implementation
1. Configuration
Ensure your environment is ready:
Base Setup
- Install ple_sale_book.
- Set Company Country to Peru.
- Activate Currencies (USD & PEN).
Access & Journals
- Permissions: Assign "Show Full Accounting Features" to users.
- Journals: Uncheck "Do not include in PLE" on Sales Journals.
Tax Configuration (Critical)
To map your invoice amounts to the correct PLE columns, you must use the PLE Sale Tax Rules wizard.
This automatically assigns the correct tags (e.g. S_BASE_OG) to your taxes.
- Go to Accounting > Configuration > PLE > Sale Tax Rules.
- Select the rules you want to apply (or select all).
- Click Action > Update Tags.
- The system will automatically configure your taxes with the following tags:
- S_BASE_OG: Taxable Base.
- S_TAX_OG: IGV Amount.
- S_BASE_EXP: Exportations.
- S_BASE_OE: Exonerated.
- S_BASE_OU: Unaffected.
- Done! Taxes are auto-configured.
2. Operating Manual (Workflow)
How to generate the report:
1. Generate Report
Go to Accounting > Reporting > PLE Sales.
Click "Create", select the period (Start/End Date) and Company, then click
"Generate Report".
Note: Invoices marked as
"PLE Declared" are automatically excluded to prevent
duplication.
2. Download Files
Once processed, two fields will appear: TXT Report (for SUNAT) and Excel Report (for Audit). Download them to your PC.
3. Declare to SUNAT
After verifying the Excel, load the TXT file into the PLE (Programa de Libros Electrónicos) software. Then click "Declare to SUNAT" in Odoo to close the period.
4. Rollback
If you find errors, click "Return to Draft" to reset the record, fix the invoices, and regenerate the report.
Report Column Mapping
Full Technical Reference
| # | PLE Column Name | Data Logic / Source | Internal Odoo Field |
|---|---|---|---|
| 1 | Periodo | YYYYMM00 format from Accounting Date. | am.date |
| 2 | CUO | Operation Unique Code (Cleaned Name). | am.name (cleaned) |
| 3 | Correlativo Asiento | M-0000X or M-RER (Based on Journal). | ple_correlative / 'M-RER' |
| 4 | Fecha Emisión | Invoice Issue Date. | am.invoice_date |
| 5 | Fecha Vencimiento | Due Date (Only if Doc Type = 14). | am.invoice_date_due |
| 6 | Tipo Comprobante | SUNAT Code (01, 03, 07, 08). | l10n_latam_document_type_id |
| 7 | Serie | First part of Invoice Name. | am.name (split) |
| 8 | Número | Second part of Invoice Name. | am.name (split) |
| 9 | Final Number | (Empty in standard Report). | - |
| 10 | Tipo Doc. Cliente | VAT Code (6=RUC, 1=DNI, etc). | l10n_latam_identification_type_id |
| 11 | Num. Doc. Cliente | Customer VAT Number. | partner_id.vat |
| 12 | Razón Social | Customer Name (Sanitized). | partner_id.name |
| 13 | Valor Exp. | Exportation Base Amount. | Tag: S_BASE_EXP |
| 14 | Base Imponible | Taxable Base (Gravado). | Tag: S_BASE_OG |
| 15 | Dscto Base | Discount on Taxable Base. | Tag: S_BASE_OGD |
| 16 | IGV / IPM | General Sales Tax Amount. | Tag: S_TAX_OG |
| 17 | Dscto IGV | Discount on IGV. | Tag: S_TAX_OGD |
| 18 | Exonerado | Exonerated Operations. | Tag: S_BASE_OE |
| 19 | Inafecto | Unaffected Operations. | Tag: S_BASE_OU |
| 20 | ISC | Selective Consumption Tax. | Tag: S_TAX_ISC |
| 21 | Base IVAP | Rice Tax Base. | Tag: S_BASE_IVAP |
| 22 | IVAP | Rice Tax Amount. | Tag: S_TAX_IVAP |
| 23 | ICBP | Plastic Bag Tax. | Tag: S_TAX_ICBP |
| 24 | Otros Tributos | Other Charges/Taxes. | Tag: S_TAX_OTHER |
| 25 | Importe Total | Document Total Amount. | amount_total / Sum(Tags) |
| 26 | Moneda | Currency Code (PEN, USD). | currency_id.name |
| 27 | Tipo Cambio | 1 / Rate (if USD). 3 decimals. | 1 / invoice_currency_rate |
| 28 | Fecha Ref. | Origin Invoice Date (Notes). | origin_invoice_date |
| 29 | Tipo Ref. | Origin Document Type. | origin_document_code |
| 30 | Serie Ref. | Origin Series. | origin_number (split) |
| 31 | Num. Ref. | Origin Number. | origin_number (split) |
| 32 | Contrato | (Not implemented). | - |
| 33 | Error Tipo 1 | (Not implemented). | - |
| 34 | Estado PLE | 1 (Registered), 2 (Voided), 8/9. | ple_state |
Global Ready | Multi-Language Support
This module is fully translated into English and Spanish (en_US, es_ES, es_PE, es_MX), ensuring a professional experience for international organizations.
Why Choose Ganemo?
----------------
Ganemo is the world's leading Odoo App developer and a multi-award-winning Gold Partner. For over 5 years, we have been recognized as the #1 seller of high-quality apps on the Odoo App Store. Trusted as the "Best Partner" in USA, Mexico, Chile, Spain, Colombia, Ecuador, and Peru, we deliver robust, secure, and localization-compliant solutions for global businesses.
Get a Quote & Resolve Commercial Doubts
Join thousands of satisfied clients on Odoo. Contact our sales team directly.
Official WhatsApp
Fastest response time.
LINK
+1 (828) 672-6150
Book a Demo
Let's explore your needs.
LINK
Schedule Meeting
Need More? We Do It All
Professional Odoo Services
ERP Implementation
Transform your business with a full Odoo implementation. We analyze, configure, and train your team to maximize productivity. From Accounting to Inventory, we handle the complexity so you can focus on growth.
Module Dev & Migration
Need a custom feature? Or stuck on an older version? We develop high-performance custom modules and migrate your existing code to Odoo 19 with zero data loss. Expert developers at your service.
QA / User Testing Scenarios
Enterprise Validation Plan
Scenario 1: Basic Report Generation
- Pre-condition: Have posted Sales Invoices in the current period.
- Navigate to Accounting > Reporting > PLE Sales.
- Create a new record for the current month.
- Click Generate Report.
- Result: State changes to "Loaded". The TXT and XLS fields are populated.
Scenario 2: Foreign Currency Logic
- Create an invoice in USD (e.g., rate 0.25) while Company currency is PEN.
- Run the PLE Report.
- Download the Excel.
- Result: Verify the Exchange Rate column shows 4.000 (Reciprocally calculated from 1/0.25) instead of 0.25.
Scenario 3: Credit Notes & Voiding
- Credit Note: Create a Reversal for a posted invoice. Run Report. Verify negative amounts in Excel/TXT.
- Void (Anular): Cancel a posted invoice. Run Report. Verify it appears with 0.00 amounts and State '2' (Anulado) in PLE.
FAQ & Troubleshooting
Common Resolutions
Why can't I delete a generated report?
Reason: Reports in "Declared" (Cerrado) state are locked to prevent inconsistency.
Fix: Click the "Return to Draft" button first. This unlocks the record for deletion.
I don't see the "Informes PLE" menu
Reason: Your user lacks the required accounting permissions.
Fix: Ask your Admin to grant you the "Show Full Accounting Features" group.
Commercial & Sales
For inquiries about licenses, demos, or partnerships.
Official WhatsApp
Fastest response time.
LINK
+1 (828) 672-6150
Book a Demo
Let's explore your needs.
LINK
Technical Support
Existing customers regarding module functionality.
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