| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) • Contacts (contacts) |
| Community Apps Dependencies | Show |
| Lines of code | 5412 |
| Technical Name |
ple_purchase_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 | 5412 |
| Technical Name |
ple_purchase_book |
| License | OPL-1 |
| Website | https://www.ganemo.co |
PLE Purchase Record
SUNAT 8.1 & 8.2 Compliance
Generate your Electronic Purchase Books (Registro de Compras) in one click. Fully compliant with SUNAT regulations, including Non-Domiciled operations.
What We're Solving
----------------
Automated Reporting
Forget about manual Excel sheets. This module pulls data directly from your Vendor Bills and generates the strict TXT format required by SUNAT PLE application, saving hours of work.
Non-Domiciled Support
Handle complex "No Domiciliado" operations (Format 8.2) seamlessly. The module correctly maps foreign vendor bills, retentions, and service types to the required SUNAT columns.
Setup & User Manual
Step-by-Step implementation
- Select records and click "Update Tags" to apply rules.
- Configure Document Types (01, 03, etc.) correctly.
- In Contacts, ensure Vendors have valid ID types.
2. Operating Manual (Workflow)
How to generate the PLE files:
Register Bills
Create Vendor Bills as usual. Ensure correct Document Types (Factura, Boleta) and Taxes are selected.
Generate PLE
Go to Informes PLE > PLE Mensual > Registro de Compras. Select the period and click "Generate".
Download TXT
The system creates attachments for the 8.1 and 8.2 TXTs. Download and validate them in the SUNAT PLE application.
Report Column Mapping
Data Source Reference
| # | PLE Column Name | Data Logic / Source | Internal Odoo Field |
|---|---|---|---|
| 1 | Period | YYYYMM00 format from Accounting Date. | move.date |
| 2 | CUO | Operation Unique Code (Sanitized Name). | move.name |
| 3 | Correlativo | M-Series or M-RER based on Journal/Company. | ple_correlative / 'M-RER' |
| 4 | Fecha Emisión | invoice Issue Date. | move.invoice_date |
| 5 | Fecha Vencimiento | Due Date (Only if Doc Type = 14). | move.invoice_date_due |
| 6 | Tipo Comprobante | SUNAT Code (01, 03, 07, 08). | l10n_latam_document_type.code |
| 7 | Serie | First part of Invoice Number. | move.ref (split) |
| 8 | Año DUA | Year of issuance for DUA/DSI. | move.year_aduana |
| 9 | Número | Second part of Invoice Number. | move.ref (split) |
| 11 | Tipo Doc. Prov. | VAT Code (6=RUC, 1=DNI, 0=NoDom). | l10n_latam_identification_type |
| 12 | Num. Doc. Prov. | Supplier VAT Number. | partner.vat |
| 13 | Razón Social | Supplier Name (Sanitized). | partner.name |
| 14 | Base Imponible | Base Gravado Destinado a Gravado. | Tag: P_BASE_GDG |
| 15 | IGV / IPM | IGV Gravado Destinado a Gravado. | Tag: P_TAX_GDG |
| 16 | Base Mixta | Base Gravado Destinado a Mixto. | Tag: P_BASE_GDM |
| 17 | IGV Mixto | IGV Gravado Destinado a Mixto. | Tag: P_TAX_GDM |
| 21 | ISC | Impuesto Selectivo al Consumo. | Tag: P_TAX_ISC |
| 22 | ICBP | Impuesto Bolsas Plásticas. | Tag: P_TAX_ICBP |
| 23 | Otros Tributos | Other Charges/Taxes. | Tag: P_TAX_OTHER |
| 24 | Importe Total | Document Total Amount. | Sum(All Tags) |
| 25 | Moneda | Currency Code (PEN, USD). | currency.name |
| 26 | Tipo Cambio | Exchange Rate (3 decimals). | move.invoice_currency_rate |
| 27 | Fecha Ref. | Origin Invoice Date (Credit Notes). | move.origin_invoice_date |
| 28 | Tipo Ref. | Origin Document Type. | origin_document_type.code |
| 29-30 | Serie-Num Ref. | Origin Series and Number. | move.origin_number (split) |
| 31 | Fec. Constancia | Detraction Payment Date. | move.l10n_pe_detraction_date |
| 32 | Num. Constancia | Detraction Number. | move.l10n_pe_detraction_number |
| 34 | Clasif. Bienes | Classification Code. | type_services.code |
| 35 | Estado PLE | 1 (Reg), 6 (Date), 9 (Rect), etc. | move.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: Standard Domestic Purchase
- Action: Register a Vendor Bill (Factura 01) from a local supplier with IGV 18%.
- Expected: The bill appears in Format 8.1. Columns for "Base Imponible" and "IGV" are correctly populated (Col 14 & 15).
Scenario 2: Non-Domiciled (Import of Services)
- Action: Register a Bill from a foreign vendor (Country != Peru, Document Type 00 or 91). Tax: No Domiciliado.
- Expected: The bill is excluded from Format 8.1 and appears ONLY in Format 8.2 with correct retention codes.
Scenario 3: Credit Note (Reversal)
- Action: Create a Rectificative Invoices (Credit Note) for a previously posted bill. Link it to the original invoice.
- Expected: Format 8.1 shows the entry with negative amounts. Reference to the original document (Col 24, 25, 26) is mandatory and populated.
Scenario 4: Mixed Taxes (Gravado + No Gravado)
- Action: Create a bill with two lines: one with IGV 18% and another with EXO/INA (Exempt).
- Expected: Format 8.1 splits the bases correctly. IGV base goes to Col 14, Exempt base goes to Col 16 or 17 (depending on destination).
Scenario 5: ISC & Other Taxes
- Action: Purchase items subject to ISC (Impuesto Selectivo al Consumo) or ICBP (Plastic Bags).
- Expected: Values appear in their specific columns (Col 19 for ISC, Col 22 for ICBP) and not mixed with IGV.
Scenario 6: Cancelled (Voided) Documents
- Action: Register a bill and then Cancel it in Odoo. Ensure "Include Voided" is checked in report options.
- Expected: The document appears with status '2' (Anulado) and amounts at 0.00 (depending on PLE logic for voided).
FAQ & Troubleshooting
Common Resolutions
Why is my bill completely missing?
Reason: Invalid Company, Date Range, or Journal type.
- Check the Bill Date vs Report Period.
- Ensure the Journal Type is 'Purchase'.
- Verify the Company's Country is 'Peru'.
SUNAT Error: "Tax Base does not match"
Reason: The calculated IGV doesn't match the Base * 18%.
Fix: This usually happens with manual overrides. Check if the tax amount was manually edited on the invoice line. Use the "Update Tags" wizard to re-sync tags if configurations changed.
Missing "Tipo de Cambio" (Exchange Rate)
Reason: Logic requires a rate for USD bills.
Fix: Ensure a valid Exchange Rate exists for the invoice date (Accounting > Configuration > Currencies). Even for PEN bills, if a line is in USD, a rate is needed.
How to fix "Obligatory field missing"?
Reason: PLE requires specific fields like Document Type or Series.
Fix: Check the vendor bill. Ensure "Document Type" (e.g., 01 Factura) is selected and the "Number" field follows the Series-Number format (e.g., F001-123456).
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