Calculadora COMEX Perú

Home / Supply chain, technology and AI / Module 3

3.1 Data and digitalization

To digitalize is to capture each piece of data only once, in a structured format, and share it across systems and partners. Without clean master data that has an owner, technology only speeds up errors.

Module 3: Logistics 4.0 · Reviewed on 12/10/2026 · Español

Goal: Tell a structured document apart from a scanned one, apply master data quality and calculate in how many months a data capture improvement pays back.

A data point is a recorded fact: a weight, a date, a container number. Information is that data put in context to make a decision, for example “12% of orders shipped late.” Digitalization means moving processes and documents to electronic media, so that each piece of data is captured only once and serves several systems. That is the foundation of Logistics 4.0: using data, sensors, automation and artificial intelligence to connect operations. Without reliable data, none of those technologies pays off.

Logistics data comes from many places. The ERP is the system that records the company's purchases, sales and finances. The WMS manages the warehouse (see topic 2-2). The TMS plans and controls transport trips. Add to these the GPS on vehicles, barcode readers and foreign trade documents, such as the Customs Goods Declaration (DAM). The problem starts when each system keeps its own version of the same thing: that is where inventory mismatches, flagged invoices and clearance delays come from.

Data quality is checked with four questions: Is it complete? Is it accurate? Does it match across systems? Did it arrive on time? Master data is data that rarely changes and is used in every process: product code, weight and dimensions per unit, tariff heading, addresses, and customer and supplier details. A wrong weight in the master data is repeated in every freight quote, every load plan and every declaration. Fixing it at the source costs much less than fixing it document by document.

Digitalizing is not scanning paper. A scanned PDF is a picture: someone has to read it and type it in again. A structured document, such as an XML file, carries each piece of data in its own field, and a system can validate it on its own. Between companies, data is exchanged through EDI (electronic messages in a standard format) or through APIs (connections that let one system query another in real time). In Peru, the Single Window for Foreign Trade (VUCE) and the Electronic Waybill (Guía de Remisión Electrónica) are examples of procedures and documents that already move in electronic format.

Start with one process, not the whole company. Pick one (for example, order delivery), count how many times the same data is typed in, fix the master data and name an owner for each piece of data. Only then build dashboards with a few indicators (topic 2-3). Also take care of security: limit access, keep backup copies and comply with Law 29733, the Personal Data Protection Law, when you handle customer or driver data.

Key ideas

StageWhat it looks likeMain riskUseful first step
Paper and loose sheetsWaybills, orders and stock control on paper or in personal filesTyping errors and data that only one person knowsList the documents and data that repeat
Isolated systemsERP, warehouse and transport, each with its own dataEach department works with a different figureUnify the master data
Integrated systemsSystems share data through EDI or APIDependence on one interface or one vendorDefine owners and quality rules
Real-time dataGPS, sensors and dashboards that update on their ownToo many alerts and data no one usesChoose a few indicators that lead to decisions

Worked example

How much a badly captured data point costs a distributor
  1. Distribuidora Andina Sur S.A.C., a fictitious company in Lima, ships 2,500 orders a month. It measures a sample and finds that 8% go out with some incomplete or wrong data (address, phone number, the recipient's RUC or weight).
  2. Orders with errors per month: 2,500 × 8% = 200 orders.
  3. Each order with an error forces the company to call the customer, reissue the waybill and repeat the delivery. Accounting estimates this rework at S/ 45 per order.
  4. Monthly cost of the problem: 200 × S/ 45 = S/ 9,000. In a year: S/ 9,000 × 12 = S/ 108,000.
  5. Proposal: validate data when the order is entered (required fields, verified RUC and standardized addresses). Cost: S/ 30,000 for the initial setup plus S/ 1,500 a month for maintenance. The error rate is expected to drop to 2%.
  6. Orders with errors after the improvement: 2,500 × 2% = 50. Monthly cost: 50 × S/ 45 = S/ 2,250. Monthly savings: S/ 9,000 − S/ 2,250 = S/ 6,750.
  7. Net monthly savings, after maintenance: S/ 6,750 − S/ 1,500 = S/ 5,250. Payback: S/ 30,000 ÷ S/ 5,250 = 5.7 months, that is, about 6 months.
  8. Before buying anything, the company names an owner for customer data and checks the 8% again after three months, to confirm that the improvement is real.

Result: A data problem that looks minor costs S/ 108,000 a year. Fixing it when the order is entered pays for itself in about 6 months and leaves net savings of S/ 33,000 in the first year (S/ 5,250 × 12 − S/ 30,000).

Real cases

SUNAT and the Electronic Waybill

01/07/2023

SUNAT issued Superintendence Resolution No. 123-2022/SUNAT on the Electronic Waybill (Guía de Remisión Electrónica, GRE) for the shipper and for the carrier. According to its FAQ, the new XML structure was mandatory from 01/12/2022 for those who already issued it voluntarily, and principal taxpayers (PRICO) had to issue both waybills in electronic format from 01/07/2023, except in certain cases, such as imported goods. The waybill stops being a paper form filled in by hand and becomes a file with fixed fields.

A structured transport document can be validated and cross-checked with other data; a paper one forces someone to type it in again.

Source: SUNAT – Comprobantes de pago electrónicos: Preguntas frecuentes sobre la Guía de Remisión Electrónica

VUCE: foreign trade permits by electronic means

09/07/2010

Supreme Decree No. 010-2010-MINCETUR, published in El Peruano on 09/07/2010, defines the Single Window for Foreign Trade (VUCE). SUNAT explains that the VUCE lets users carry out, by electronic means, the procedures required to obtain permits for restricted goods. In other words, the exporter or importer can handle those permits online, without taking paper folders to each agency.

Before you put together a paper file for a permit, check whether there is an electronic procedure in the VUCE.

Source: SUNAT – Ventanilla Única de Comercio Exterior (VUCE)

Common mistakes

Practise with the calculators, the COMEX Simulator and the review questions on the main page.

Open this topic in the calculator →
← Previous topic: Supply chain performance metricsNext topic: Internet of Things and traceability →