Calculadora COMEX Perú

Home / Finance, costs and payment methods / Module 4

4.3 Financial planning and cash flow

A profitable export can leave you without cash if you pay before you collect. Learn to project your cash flow by month, to find the tightest month, to test scenarios and to ask for financing in time.

Module 4: Risks and projects · Reviewed on 12/10/2026 · Español

Goal: Project a monthly cash flow, find the low point of the cumulative balance and set the credit line with a cushion and a pessimistic scenario.

Cash flow is the calendar of what comes into and goes out of your account, month by month or week by week. It is not the same as profit. You can make money on every sale and still run out of money, because you pay for inputs, payroll and freight before you collect. In exports that gap is long: production, transport, ocean transit and a payment term that can be 30 to 90 days.

The gap is measured with the cash conversion cycle: days of inventory plus days to collect minus days to pay suppliers. The longer it is, the more working capital you need, that is, more of your own or borrowed money to keep the operation going until you collect. Faster collection, an advance from the buyer or a longer term with your suppliers shortens it. Each measure has a cost, and the cash flow sheet tells you whether it is worth it.

Build the cash flow with a calendar of 6 to 12 months and update it every month. Put each item in the month it is really paid or collected, not in the month of the invoice. Inflows: collections according to the payment terms and the customer's punctuality, advances and loan disbursements. Outflows: inputs, payroll, freight, insurance, customs broker, commissions, taxes, debt installments and investments. Convert dollars with the exchange rate published by the BCRP and keep that assumption visible.

Look at the cumulative balance row and find the low point: the month with the lowest balance. That number tells you how much financing you need, and it is wise to add a cushion, for example one month of fixed costs. Then test scenarios: a base plan, another with collection 30 days late and another with a weaker dollar or more expensive freight. If the low point of the pessimistic scenario does not fit in your credit lines, change the terms of sale or arrange more financing before you ship, not after.

Two inflows specific to exports arrive after shipment. SUNAT resolves the refund of the IGV on your purchases (the credit balance eligible for the benefit, SFMB) in 2, 15 or 30 business days, depending on your case. Drawback, the simplified refund of customs duties, is 3% of the FOB value if you meet the requirements. Project them, but count them as cash only when they are approved. These topics are covered in detail in the area on Exports; financing the gap was covered in module 3 of this area.

Key ideas

Cash flow itemWhen it comes in or goes outHow to project it
Sales collectionsOn the payment date under the agreed terms, plus the customer's delaysUse the expected collection date, not the invoice date
Advances from the buyerWhen the contract is signed or before shipmentRecord them when you receive them
Inputs, payroll and fixed costsBefore and during productionMonth of actual payment
Freight, insurance and customs brokerBefore shipment or at shipment, depending on the IncotermAccording to what you have to pay under your Incoterm
Drawback (3% of FOB)After shipment, when the request is approvedDo not count it until it is approved
IGV refundAfter you file the request; SUNAT resolves it in 2, 15 or 30 business days, depending on the caseUse the longest term that applies to you
Debt installments and taxesOn the dates in the payment schedule and on the due datesInclude interest, IGV and advance tax payments

Worked example

The cash flow of three quinoa shipments
  1. Inca Orgánicos S.A.C., a fictitious company, will export 3 shipments of quinoa of US$ 120,000 each, at the end of months 1, 2 and 3, collected 60 days after shipment. Assumptions: exchange rate S/ 3.50 per US$ 1; cost of each shipment S/ 300,000, paid in the month of shipment; fixed costs S/ 40,000 a month; opening cash S/ 80,000. Leave out drawback and the IGV refund.
  2. Each shipment is worth US$ 120,000 × 3.50 = S/ 420,000. They are collected at the end of months 3, 4 and 5.
  3. Net flow for each month, in soles: month 1, −340,000 (−300,000 − 40,000); month 2, −340,000; month 3, +80,000 (420,000 − 300,000 − 40,000); month 4, +380,000 (420,000 − 40,000); month 5, +380,000; month 6, −40,000.
  4. Cumulative balance, starting from the opening cash of S/ 80,000: month 1, −260,000; month 2, −600,000; month 3, −520,000; month 4, −140,000; month 5, +240,000; month 6, +200,000. The low point is in month 2. The company needs to finance S/ 600,000 plus a cushion of S/ 40,000 (one month of fixed costs): a credit line of S/ 640,000.
  5. Cost of financing, at 1% a month on negative end-of-month balances: 1% × (260,000 + 600,000 + 520,000 + 140,000) = 1% × 1,520,000 = S/ 15,200. Profit of the plan before taxes: S/ 1,260,000 − S/ 900,000 − S/ 240,000 − S/ 15,200 = S/ 104,800.
  6. Pessimistic scenario: the buyer pays 30 days late and collections move to months 4, 5 and 6. Balances: month 1, −260,000; month 2, −600,000; month 3, −940,000; month 4, −560,000; month 5, −180,000; month 6, +200,000. The low point rises to S/ 940,000, that is, S/ 340,000 more than in the base plan.
  7. Decision: a credit line of S/ 640,000 is not enough if the customer pays late. Before shipping, the company arranges a credit line of S/ 1,000,000 (S/ 940,000 plus a cushion of S/ 40,000, rounded) and negotiates a 20% advance with the buyer.
  8. Effect of the advance: 20% × S/ 420,000 = S/ 84,000 per shipment, collected at shipment. In the base plan, by the end of month 2 it would already have received S/ 168,000 (2 × S/ 84,000), and the low point would drop from S/ 600,000 to S/ 432,000.

Result: Inca Orgánicos earns S/ 104,800 in the plan, but in the worst case it needs up to S/ 940,000 in cash. Seeing the low point and the delay in time lets it ask for the right credit line and negotiate an advance before shipping.

Real cases

SUNAT sets terms of 2, 15 or 30 business days to refund IGV to exporters

04/05/2018

Supreme Decree 088-2018-EF, published on 04/05/2018, changed the terms within which SUNAT must resolve the refund of the credit balance eligible for the benefit (SFMB), the IGV on purchases that the exporter recovers. According to SUNAT, those who export only goods have a term of 2, 15 or 30 business days, depending on the case; the 2-day term requires a bank guarantee letter or a surety bond and meeting certain conditions. For your cash flow, that IGV is tied-up cash until it is refunded.

Project the IGV refund with the longest term that applies to you, and do not count it as cash until it is approved.

Source: SUNAT – Plazo para resolver la solicitud de devolución de SFMB (D.S. 088-2018-EF)

Drawback: 3% of the FOB value and payment in 5 business days

2019

SUNAT reports in its Customs Assistant (Asistente Aduanero) that the simplified refund of customs duties (drawback) is 3% of the exported FOB value, a rate in force since 2019, with a cap of 50% of the production cost. The payment is made in 5 business days, counted from the numbering of the request if approval is automatic, or from the filing of the documents if it goes to document review. It is an inflow after shipment that you can project if you meet the requirements.

Put it in your cash flow in the month after shipment, but only after checking that you meet all the requirements.

Source: SUNAT – Beneficiarme con el Drawback (Asistente Aduanero)

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: Country risk, buyer risk and complianceNext topic: Evaluating an agro-export project →