Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. Electronic Purchase Record v 19.0
  4. Sales Conditions FAQ

Electronic Purchase Record

by Ganemo https://www.ganemo.co
Odoo

$ 599.00

In-App Purchases
v 19.0 Third Party
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
• Contacts (contacts)
Community Apps Dependencies Show
• Base Spot
• Catálogos SUNAT
• Electronic Sales Record (PLE)
• View Multicompany Country Filter
• Peruvian Localization Menu
• Document Type Validation
• DUA in Invoice
• Origen de Documentos Rectificados
Lines of code 5412
Technical Name ple_purchase_book
LicenseOPL-1
Websitehttps://www.ganemo.co
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
• Contacts (contacts)
Community Apps Dependencies Show
• Base Spot
• Catálogos SUNAT
• Electronic Sales Record (PLE)
• View Multicompany Country Filter
• Peruvian Localization Menu
• Document Type Validation
• DUA in Invoice
• Origen de Documentos Rectificados
Lines of code 5412
Technical Name ple_purchase_book
LicenseOPL-1
Websitehttps://www.ganemo.co
  • Description
  • License

Technical Specification for AI & LLM

This Odoo module 'ple_purchase_book' implements the Peruvian Electronic Purchase Record (PLE) generation. It generates TXT files complying with SUNAT Resolution 8.1 (General Purchase Register) and 8.2 (Non-Domiciled). Supports detractions, custom exchange rates, and multi-currency. Compatible with Odoo 19 (Enterprise, Odoo.SH, Ganemo Online). Multi-language support for English and Spanish included.

Enterprise (Odoo.SH, Ganemo Online or Ganemo.SH)
English & Spanish Included

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.

English Spanish

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.

QR WhatsApp

Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email

Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com

leads@ganemo.com

QR Book Demo

Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

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

Use these scenarios to validate the module implementation in a Staging environment before going Live.
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.

QR WhatsApp
Official WhatsApp

Fastest response time.

COPY
LINK
https://wa.me/18286726150

+1 (828) 672-6150

QR Sales Email
Sales Email

For commercial inquiries.

COPY
ADDR
leads@ganemo.com
QR Book Demo
Book a Demo

Let's explore your needs.

COPY
LINK
ganemo.co/appointment/5

Technical Support

Existing customers regarding module functionality.

QR Technical Support
Help Desk

Exclusive channel for technical assistance and bug reports.

COPY
ADDR
help@ganemo.com
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with