The electronic waybill (GRE) is the document that supports the transport of goods before SUNAT, and since 1 January 2024 everyone who must issue one has to do it electronically. There are two types: the sender GRE, issued by the owner or holder of the goods, and the carrier GRE, issued by the public transport company. Odoo 19 issues the sender GRE directly to SUNAT's API from the inventory transfer; the carrier GRE is not supported in Odoo. For SUNAT to accept it you need API credentials, a transfer reason, a start date, vehicle and driver or carrier data, addresses with district and the weight of the products.
Sender GRE and carrier GRE: who issues each one
| Sender GRE | Carrier GRE | |
|---|---|---|
| Who issues it | The owner or holder of the goods when the transfer starts (for example, the seller), and in some cases others such as the customs agency. | The company that provides the public freight transport service. |
| When | Always in private transport; in public transport, together with the carrier's. | In public transport, unless the sender includes in its waybill the data the rule requires from the carrier. |
| Does Odoo 19 issue it? | Yes, through SUNAT's API. | No. Odoo states in its documentation that it is not supported. |
Superintendency Resolution No. 000108-2026/SUNAT, in force since 1 June 2026, clarified that the carrier does not have to issue its waybill if the sender includes in the sender GRE the information required from the carrier, including the transfer start date. It also widened the cases for the event GRE, issued when something happens after the transfer has started: transshipment, being unable to reach the destination or a change of driver.
Series, numbering and validity
- The series of a GRE issued from your own systems is alphanumeric, four characters long and starts with the letter T, for example T001. Odoo suggests T001 by default.
- Numbering is sequential, starts at 1 and is independent from that of paper waybills.
- The waybill has the same tax effects as the paper waybill, and its authenticity can be checked on SUNAT's portal. The printed version Odoo generates carries the QR code validated by SUNAT.
- SUNAT no longer uses the term «cancel»: the waybill is «withdrawn» («dar de baja»), as long as the transfer has not started.
What you need to set up in Odoo 19
Odoo 19 Enterprise ships the native waybill (Peru's electronic delivery note module). At Ganemo we extend it with our «Peruvian - Electronic Delivery Note extension» module, installed in our production Odoo 19, which adds reasons 02 (purchase), 06 (return), 07 (pickup of transformed goods), 08 (import) and 09 (export), annex establishment codes, several related documents per waybill, customs declaration (DAM) data and a prior check against SUNAT's rules.
- SUNAT API credentials. Generate the GRE Client ID and Client Secret in SUNAT's portal and enter them in Inventory, Configuration, Settings, Peru delivery guide section, together with the SOL user in RUC plus username format (for example 20557912879SOLUSER) and its password. These credentials are different from the electronic invoicing ones.
- Company and warehouses. The company must have RUC as its document type. The origin address (the warehouse's or, if it has none, the company's) needs a street and a district.
- Drivers. In private transport, each driver is an individual contact with DNI or RUC, district and licence number in the accounting tab.
- Carriers. In public transport, the carrier is a company contact with RUC, MTC registration number, authorizing entity and authorization number.
- Vehicles. In Inventory, Configuration, Vehicles: plate, default driver and the «Is M1 or L?» box for vehicles with fewer than four wheels or fewer than eight seats.
- Products. Fill in the weight and, where applicable, the tariff item.
Step by step: issuing a sender GRE from Odoo
- Confirm the sales order and open the delivery it created.
- Choose the transport type (private or public), the transfer reason and the start date.
- In the waybill tab, set the vehicle and the driver, or the carrier for public transport. Add the related documents the reason requires, such as the invoice or the DAM.
- Validate the transfer. The button to generate the waybill appears once the delivery is done.
- Generate the waybill. Odoo builds the XML, signs it, sends it to SUNAT and stores the XML in the transfer's history.
- Print the waybill with the QR code validated by SUNAT or share it with the driver.
SUNAT does not offer a test environment for the GRE, so anything generated by mistake stays at SUNAT and has to be withdrawn on its portal. That is why our module includes a company option to send to an external test environment that applies SUNAT's validation rules, and a prior check that blocks what SUNAT would reject before the waybill is numbered.
Common rejections and how to fix them
| Message or code | Cause | Fix |
|---|---|---|
| 2325 GrossWeightMeasure | The product weight is 0.00. | Withdraw the waybill, fix the product weight and generate a new one. |
| JSONDecodeError when generating | A problem with the SOL user. | Check that the user is written as RUC plus username and has GRE permissions. |
| 400 Client error: Bad Request | Invalid API credentials. | It cannot be solved from Odoo: check the user with SUNAT and, if needed, create a new one. |
| Error in cac:BuyerCustomerParty | In native Odoo, reason «Others» (13). | Choose another reason or use our module, which describes reason 13 and builds buyer and seller correctly. |
| Related document format error | Something other than an invoice or receipt was entered as a related document. | Use the right document type from SUNAT's catalogue 61. |
| 3360 and 3361 | Driver names that cannot be told apart. | Record each driver's full names and surnames. |
| 2574 and 2577 | Departure or arrival point without a street. | Fill in the street on the warehouse or customer address. |
| 2555 and 3411 | Return (06) with the company itself as recipient or arrival point. | A customer's return is issued by the customer; if the company carries it, use reason 13. |
4xxx codes, such as those for the carrier's MTC registration or the vehicle's special authorization, are observations: SUNAT accepts the waybill and leaves the observation in the receipt (CDR). Review them, but they do not block the transfer.
Process mistakes we often see
- Using the «Sale» reason for a transfer between own warehouses: reason 04 applies.
- Using the electronic invoicing credentials for the GRE: they are different.
- Issuing the waybill after the truck has left. The waybill supports the transfer from the start.
- Not recording the annex establishment code of branches and warehouses: SUNAT expects the code of the departure and arrival premises.
How we do it at Ganemo
Method first. We map every type of transfer with you (sales, purchases, returns, between warehouses, imports), put in writing which reason and data each one carries, and train the people who dispatch so they issue the waybill on their own. We start with standard Odoo and only add what your operation needs.
Then AI as an accelerator. Your own AI agent (Claude Code or ChatGPT Codex), connected to Odoo with keys stored in Secrevo, can prepare the load of vehicles, drivers and carriers, check that products and addresses have weight, street and district before the first submission, and explain a rejection from SUNAT's message. We don't sell certificates, we deliver results.
Are your waybills being rejected? Book a diagnosis or message us on WhatsApp at +1 (828) 672 6150.
Related guides
- SUNAT SIRE with Odoo: RVIE, RCE and the IGV proposal.
- Detractions, perceptions and withholdings in Odoo, including road freight transport.
- Peruvian localization of Odoo: what Odoo ships and what we add for SUNAT.
- Electronic invoicing, the other document that goes with most transfers.
Frequently asked questions
Does Odoo issue the carrier GRE?
No. Odoo 19 only issues the sender GRE. If your company provides public transport, issue the carrier GRE through another channel, or check whether your customers include the transport data in their waybill so you do not have to issue it.
Can I test the GRE before sending it to SUNAT?
SUNAT has no test environment. Our module lets you send to an external test environment that applies SUNAT's rules and also checks the waybill before numbering it.
How do I fix an accepted waybill with an error?
If the transfer has not started, it is withdrawn at SUNAT and a new one is issued. If it already started and something happened later, such as a transshipment or a change of driver, the event GRE applies.
Do I need one waybill per invoice?
The waybill goes with the transfer, not with the invoice. With our module, one waybill can carry several related documents.
What changes for imports from the port?
RS No. 000124-2026/SUNAT postponed to 1 November 2026 the repeal of the exception that allowed moving goods from the port terminal to the customs warehouse with only the exit ticket. Check with your customs agency who issues the waybill in each case.
Sources
- SUNAT, Superintendency Resolution No. 000108-2026/SUNAT (29-05-2026, in force since 01-06-2026). Accessed 20-11-2026.
- SUNAT, Superintendency Resolution No. 000240-2024/SUNAT, which notes that since 01-01-2024 everyone issues electronic waybills, and No. 000124-2026/SUNAT. Accessed 20-11-2026.
- SUNAT Orientación, Electronic waybill, general model. Accessed 20-11-2026.
- Odoo, Peruvian localization documentation, version 19.0 (GRE and common errors), and Odoo 19 code. Accessed 20-11-2026.