| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 4367 |
| Technical Name |
l10n_pe_guia_remision_gre |
| License | OPL-1 |
| Website | https://pokutsoft.com/ |
| Versions | 18.0 19.0 |
Peru SUNAT GRE — Guia de Remision Electronica
Issue the electronic dispatch document for your stock deliveries straight to SUNAT, with QR and CDR tracking
When goods move in Peru, the consignor must accompany them with a Guia de Remision Electronica (GRE). This module turns a validated outgoing transfer into a SUNAT GRE Remitente (tipo 09) UBL 2.1 DespatchAdvice, transmits it over SUNAT's modern GRE REST API and tracks the asynchronous ticket until the CDR (Constancia de Recepcion) is ready — built on the shared e-Invoice Core Engine and the Peru SUNAT CPE connector.
UBL 2.1 DespatchAdvice
Remitente and destinatario parties, a Shipment block with gross weight and transport modality, the reason for the movement (Catalogo 20), punto de partida and punto de llegada addresses with ubigeo, and one DespatchLine per moved product with UNSPSC classification.
OAuth2 REST + ticket polling
A client-credentials token exchange, the signed-and-zipped GRE submission returning a numTicket, and asynchronous ticket polling that interprets the CDR response code (0 accepted, 2xxx rejected, 98/99 in process). Sandbox and production endpoints are editable.
Both transport modalities
Transporte Privado (own vehicle plate + driver document and brevete) and Transporte Publico (registered carrier RUC + MTC registration), with modality-conditional validation so the right fields are always present before you transmit.
Real RUC & transport validation
The official SUNAT modulo-11 RUC check digit for the issuer and any carrier, plus structural validators for the vehicle plate, driver licence and 6-digit ubigeo — mistakes are caught before a single document leaves Odoo.
GRE business-rule validation
A dedicated pe_gre rule set on the engine validation
framework: serie T###, valid catalog codes, both addresses, positive
weight and quantities, and the modality-conditional fields — run
before generation and submission.
QR + SUNAT consultation
A QR carrying the SUNAT pipe-delimited GRE payload (RUC, tipo, serie, correlativo, peso, items, fecha, documento del destinatario, hash) plus a public SUNAT consultation URL, rendered to PNG for the printed guia.
Bring-your-own-key, by design
Register an API client in SUNAT SOL for the GRE service and enter your own client_id / client_secret. Credentials are stored only on your database and transmitted only to the SUNAT GRE endpoint you configure. No credentials are bundled, and no data is sent anywhere else. An onboarding wizard, a company configuration, partner transport fields and a ticket-polling cron complete the workflow.
Compatible with Odoo 18 and Odoo 19
Disclosure: this module transmits your GRE data only to the SUNAT GRE endpoint you configure, using credentials you provide. Your OAuth2 client secret is stored solely on your own database and is never sent anywhere else.
Screenshots
Validated Delivery With Gene
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 4367 |
| Technical Name |
l10n_pe_guia_remision_gre |
| License | OPL-1 |
| Website | https://pokutsoft.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