Calculadora COMEX Perú

Home / International Logistics and Physical Distribution / Module 5

5.3 Quality, costs, security, and current challenges

Logistics is managed through service quality, complete costs, and the security of cargo and people. You will see how to cost by activities and four current challenges: resilience, sustainability, digitalization, and e-commerce.

Module 5: Management and measurement · Reviewed on 12/10/2026 · Español

Goal: Explain why splitting logistics cost by sales is misleading and calculate a channel's margin with activity-based costing.

Logistics quality means delivering what you promised the customer: the right product, complete, undamaged, on time, and with documents in order. It is measured with the indicators in topic 5-2, such as OTIF and complaints. To improve it, you look for the root cause of each failure instead of only fixing the symptom, and you standardize procedures. A quality management system, such as the one in the ISO 9001 standard, helps you organize this, but you can start without it.

Logistics cost includes transport, warehousing, inventory (tied-up capital, insurance, and shrinkage), order processing, and administration. Many companies only see freight and rent, and not the hidden costs: idle goods, returns, overtime, and fines for late deliveries. Activity-based costing (ABC) assigns each cost according to what each customer or product consumes. That way you find out which ones leave a margin and which ones lose it.

Security has two fronts. The first is cargo security: theft, tampering, contamination, or the use of your shipment for smuggling. In customs, the Authorized Economic Operator (OEA) is a SUNAT program that certifies foreign trade companies that meet security and internal control standards; in return, they receive benefits. The second front is the safety of people: forklift accidents, falls, poorly stowed loads. In Peru, Law 29783 (Occupational Safety and Health Law) requires employers to prevent those risks.

Two challenges shape logistics today. Resilience is the ability to keep operating when something fails: congested ports, closed routes, strikes, or extreme weather. You build it with alternative suppliers and routes, a well-calculated safety stock, and a plan for each risk. Sustainability seeks to reduce emissions, packaging, and waste. Maritime transport already has international targets, and customers in other countries increasingly ask for carbon footprint data.

Two other challenges come from technology and the customer. Digitalization brings together online shipment tracking, electronic documents, and data analysis with artificial intelligence; it is covered in depth in the area on Supply Chain, Technology and AI. E-commerce brings small orders, short lead times, delivery to the customer's door (the “last mile”), and returns. You do not need to tackle every challenge at once: choose the one that weighs most on your business and measure it.

Key ideas

FrontWhat is monitoredSample indicatorFirst action
QualityOrders on time, complete, undamaged, and with correct documentsOTIF, perfect order, complaints per 1,000 ordersRecord each failure with its cause
CostsAll logistics cost items, including hidden onesLogistics cost to sales, cost per delivery, margin per customerCost by activities
SecurityCargo, people, vehicles, documents, and business partnersThefts or losses, accidents, broken security sealsMap risks and define controls
Current challengesResilience, sustainability, digitalization, and e-commerceRecovery time after failures, emissions per shipment, percentage of shipments with trackingMeasure the current situation and prioritize

Worked example

Which channel really leaves a margin: activity-based costing
  1. Distribuidora Costa Verde S.A.C., a fictitious company from Lima, sells groceries to supermarkets and corner stores (bodegas). In the month: sales to supermarkets S/ 400,000 (gross margin 25%: S/ 100,000) and to corner stores S/ 200,000 (gross margin 30%: S/ 60,000). Its total logistics cost was S/ 64,000, that is, 64,000 / 600,000 = 10.7% of sales.
  2. The manager splits the logistics cost in proportion to sales. Supermarkets: 400,000 / 600,000 × 64,000 = S/ 42,667. Corner stores: 200,000 / 600,000 × 64,000 = S/ 21,333. Margin after logistics: supermarkets 100,000 − 42,667 = S/ 57,333 (14.3%); corner stores 60,000 − 21,333 = S/ 38,667 (19.3%). Corner stores seem to be the best channel.
  3. Now cost by activities. Transport: S/ 33,000 over 1,100 deliveries = S/ 30 per delivery. Order picking: S/ 22,000 over 11,000 order lines = S/ 2 per line. Fines and returns: S/ 9,000, which the records assign as S/ 8,000 to supermarkets (for deliveries outside the time window) and S/ 1,000 to corner stores.
  4. Assign the costs to each channel. Supermarkets: 100 deliveries × 30 = 3,000; 2,000 lines × 2 = 4,000; fines 8,000; total S/ 15,000. Corner stores: 1,000 deliveries × 30 = 30,000; 9,000 lines × 2 = 18,000; fines 1,000; total S/ 49,000. The sum, 15,000 + 49,000 = S/ 64,000, matches the month's cost.
  5. Real margin after logistics. Supermarkets: 100,000 − 15,000 = S/ 85,000, which is 21.25% of their sales. Corner stores: 60,000 − 49,000 = S/ 11,000, which is 5.5% of their sales. The conclusion is reversed: each delivery to a corner store costs S/ 49 and leaves only S/ 11 of margin.
  6. Action 1, corner stores: set a minimum order and group deliveries by zone to go from 1,000 to 750 deliveries without losing sales. Transport savings: 250 × 30 = S/ 7,500 a month.
  7. Action 2, supermarkets: fines are S/ 8,000 of S/ 15,000 (53%). A plan to deliver within the time window aims to cut them in half: savings of S/ 4,000. Total savings: 7,500 + 4,000 = S/ 11,500 a month. Logistics cost drops to 64,000 − 11,500 = S/ 52,500, which is 8.75% of sales.

Result: Splitting cost by sales made corner stores look like the most profitable channel (19.3%); with activity-based costing they yield 5.5% versus 21.25% for supermarkets. Two actions save S/ 11,500 a month and lower logistics cost from 10.7% to 8.75% of sales.

Real cases

SUNAT and the OEA Program: security recognized in other countries

22/06/2022

SUNAT's Authorized Economic Operator (OEA) Program certifies foreign trade companies, and that certification is recognized by customs in other countries. SUNAT lists mutual recognition agreements in force with South Korea (14/12/2017), the United States (12/09/2018), the Pacific Alliance (21/07/2018), the Andean Community (24/05/2019), Brazil (02/10/2020), a regional agreement among 11 countries (18/05/2022), and Canada (22/06/2022), among others. The main benefit is fewer inspections and priority in clearance.

Investing in security and internal control can reduce inspections and delays; if you trade often, check your processes and those of your partners against the OEA requirements.

Source: SUNAT – Programa OEA: Acuerdos de Reconocimiento Mutuo (ARM)

The IMO sets a target of net-zero emissions from shipping by 2050

07/2023

In July 2023, the IMO Marine Environment Protection Committee (MEPC 80) adopted, through resolution MEPC.377(80), its Strategy on the reduction of greenhouse gas (GHG) emissions from ships. It sets the goal of reaching net-zero GHG emissions by or around 2050, with checkpoints compared with 2008: at least 20% less (striving for 30%) by 2030 and at least 70% less (striving for 80%) by 2040. Since a large part of world trade travels by sea, the target may influence freight rates, fuels, and customer requirements.

Anticipate sustainability as a possible cost and commercial requirement: start by measuring your transport emissions and ask your operators how they plan to reduce them.

Source: Organización Marítima Internacional – Estrategia de la OMI de 2023 sobre reducción de emisiones de GEI de los buques

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: Logistics indicators