Peru PLE and SIRE Electronic Books
Peru PLE and SIRE electronic books from your Odoo accounting
What it does
Generate the SIRE sales register (RVIE 14.4), the SIRE purchase register (RCE 8.4), the PLE Libro Diario, Plan Contable, Libro Mayor and 8.2 no domiciliados as the TXT files SUNAT asks for, compare your SIRE ventas y compras with the SUNAT propuesta and build the ajustes posteriores, named and laid out as the SUNAT resolutions describe.
Pick a book and a month and click Generate. The module reads your posted invoices, bills, journal entries and stock moves and writes one pipe separated record per comprobante or journal item, with the SUNAT file name (LE + RUC + period + book code + indicators).
The SIRE replacement files follow Anexo 3 of RS 112-2021/SUNAT (RVIE) and Anexo 11 of RS 040-2022/SUNAT (RCE). The PLE books (Libro de Inventarios y Balances 3.1-3.20, 5.1, 5.3, 6.1, 12.1 and 13.1) follow Anexo 2 of RS 361-2015/SUNAT. A Kardex report (valued or in units) shows the same inventory data on screen, in PDF and in Excel. You get the TXT, an XLSX copy and, for SIRE, a ZIP ready for the upload. Upload the SIRE propuesta to see where SUNAT and Odoo disagree, and once a register is filed the module writes ajustes posteriores with only the records that changed.
Who it is for
- Peruvian companies on the Odoo Peru localization. If you keep your books in Odoo but still rebuild the SIRE sales and purchase registers in Excel every month, this app writes the replacement TXT straight from your posted invoices and bills.
- Accounting firms reviewing the SUNAT proposal. Firms that check the SIRE propuesta for several clients can upload the file SUNAT gives them and see, comprobante by comprobante, where Odoo and SUNAT disagree before anything is replaced.
- Distributors and retailers that must keep a Kardex. Companies with stock need the Registro de Inventario Permanente in units and valued. The app builds PLE 12.1 and 13.1 and a Kardex report per product and warehouse from the stock moves Odoo already has.
- Businesses that buy services from abroad. Bills from suppliers outside Peru go to the PLE 8.2 register for non domiciled suppliers, with the treaty, income type and tax credit document set once on the supplier.
Features
Setting it up
- Check that your contacts have an identity type and number and that your invoices carry a document type and a SERIE-NUMBER, since the module reads those from the core Peru localization.
- On each purchase IGV tax, open the tax form and confirm the RCE column it feeds (taxed only, taxed and non taxed, or non taxed). It is set from the tax group and you can change it.
- Open the journal used for opening entries and tick PLE opening journal under the Peru PLE group, so its entries are numbered A in the Libro Diario.
- If you report inventory, open the company form, go to the Peru Kardex tab and set Kardex by, the SUNAT valuation method and the catalogue. Then add the establishment code on each warehouse and the existence type on product categories.
- Go to Accounting > Reporting > Statement Reports > Peru PLE / SIRE, create a record, pick the book, month and year, and click Generate.
- Fix any record shown in red with its error text, click Generate again, then download the TXT, ZIP or XLSX and upload the file to SUNAT with your own access.
- Click Mark as filed once SUNAT accepts it. Later corrections go through New ajuste posterior, listed under Peru SIRE ajustes posteriores.
Peru PLE and SIRE Electronic Books: questions
Does the module send the books to SUNAT for me?
No. It builds the TXT and ZIP files with the SUNAT file names, and you upload them yourself with your SUNAT credentials. Marking a book as filed only records the fact in Odoo, so the next ajuste posterior starts from the right point.
What do I need installed, and does it work on Community?
It depends on the core l10n_pe localization and stock_account, both part of standard Odoo, so it runs on Community and Enterprise. Installing it also installs Inventory if you don't have it yet. You don't need any e-invoicing module.
Which SUNAT proposal files can I compare against?
The TXT you download from SIRE, with or without the title row, or the ZIP that SUNAT sends with the TXT inside. Files over 20 MB, ZIPs without a TXT and other file types are refused. Each comprobante is listed as matching, amount difference, only in SUNAT or only in Odoo.
Which costing methods does the Kardex handle?
Average cost and FIFO, using the value Odoo 19 stores on each stock move. A product whose costing method doesn't match the method declared on the company, or that uses standard cost, is flagged in red in book 13.1.
Are all the Libro de Inventarios y Balances books included?
No. It covers 3.1, 3.2 to 3.7, 3.11, 3.12, 3.13, 3.17 and 3.20. Books such as 3.8, 3.9, 3.14 to 3.16, 3.18, 3.19 and 3.23 to 3.25 are not built. The account groups each line reads can be edited under Accounting > Configuration > Peru Libro de Inventarios y Balances.
Can I rely on the files being accepted as they are?
Each record is checked first: RUC modulo 11, identity document rules, series, the original document of credit and debit notes, and debit equal to credit. That catches common errors, but SUNAT rules change, so have your accountant review the registers before filing.
Related apps

Paraguay SIFEN e-Kuatia Electronic Invoicing
Issue Paraguay SIFEN electronic documents from Odoo: CDC, signed rDE XML, one by one or in batches, KuDE with QR, cancellation and number inutilization.
Localization & compliance
Peru Payroll
Peru Payroll for Odoo 19: PLAME, EsSalud, ONP, AFP, Renta de Quinta, Gratificacion and CTS
Localization & compliance
Peru RUC DNI Lookup
Consulta RUC and consulta DNI inside the Odoo contact form
Localization & compliance
Peru SUNAT Electronic Invoicing
Factura, boleta, nota de credito and nota de debito in UBL 2.1, signed with your certificate and sent to SUNAT or your OSE - plus the GRE guia de remision electronica remitente from your deliveries, the Guia de Remision Transportista for carriers,, one establecimiento anexo per invoice series and warehouse, and the accounting of detraccion, retencion, percepcion and anticipos.
Localization & compliance