Skip to Content

Peru SUNAT GRE Guia

74.55 74.55

Instant digital delivery after payment confirmation.
License: OPL-1, every download is watermarked.
Terms and Conditions

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

Validated Delivery With Gene

Update date: 2026-07-02