Why lot costing
Say you have 100 units bought at R$ 50 and a new invoice arrives at R$ 60. Those 100 older units did not get more expensive: while they are being sold, the right cost is still R$ 50. Only when they run out do sales start using the R$ 60 cost. That is exactly what lot costing does.
Each lot's cost is the invoice item's landed cost: the supplier price plus non-recoverable taxes, freight and inbound expenses. That value becomes the product cost (COGS) and goes into profit in Costs, Dashboard, Sales and the Income Statement (P&L).
How the rule works
- Each invoice becomes a lot: each invoice item linked to a product enters as a lot, at that invoice's cost.
- Oldest first: sales use the oldest lot first. When it runs out, they move on to the next one.
- A day with two lots: if sales on the same day take units from two lots, the day's cost is the average. Example: 2 units at R$ 50 + 3 units at R$ 60 = a cost of R$ 56 per unit that day.
- Returns: a unit returned in sellable condition goes back to the lot currently selling. A lost, damaged or removed unit leaves the oldest lot without entering the cost of sales.
- Sale with no lot available: if there is no lot with units left in that channel, the sale uses the product's last lot cost.
- From now on only: on the day lot costing was switched on for your account, the stock each product had became its first lot (the "starting lot"), at that day's cost. Nothing before that was recalculated.
None of this changes anything on Amazon. Suppliers, purchases and costs are your own data.
FBA and FBM/DBA: when a lot starts to apply
- FBA: the lot starts when Amazon receives the units at the fulfillment center (not at the invoice's issue date or import). The product's invoices are matched to the receipts in order of issue date.
- Receipt without invoice: if Amazon receives units and there is no invoice for them, those units use the last lot's cost and you get the Receipt without invoice alert. Import the invoice in Suppliers › Purchases so the cost is exact.
- FBM or DBA: the lot starts when you confirm the invoice, with the units you enter.
Step by step: import the invoice and create the lot
- In Active account, at the top of the side menu, choose the account.
- In the side menu, open Operations › Suppliers, go to the Purchases tab and click Import invoice (XML, PDF or photo).
- Use Click to select the file to choose the invoice (XML is best; PDF and photo also work, up to 5 MB). "Reading the invoice…" appears.
- In the review, check the read-quality badge and the Supplier (issuer).
- Check each item. If any item shows Pending, type in the product's ASIN. An item without an ASIN shows a tip to link it to one: only then does it enter the cost as a lot.
- On items linked to an ASIN, the Add to the product's cost as a new lot box comes checked. Uncheck it if you only want to record the purchase, without touching the cost.
- In Where these units go, leave Automatic (from the listing) or choose FBA (cost applies when Amazon receives) or FBM or DBA (cost applies on confirm).
- For FBM or DBA, fill in Units entering stock at this cost: how many units from this invoice are arriving in your stock now.
- Click Confirm and save. "Invoice saved!" appears.

How to check it
- In Costs, open the product and look at the Cost lots section. Each row shows Available on, Channel (FBA or FBM), Source (starting stock, received at FBA or FBM/DBA invoice), Units, Left and Unit cost. The selling now badge marks the lot sales are using right now.
- In the same product's Cost history, the cost changes on the day sales move on to the next lot.
- Profit, Dashboard, Sales and the Income Statement (P&L) use this cost automatically. You don't need to recalculate anything.

What about a cost I edit by hand?
If you edit the cost in Costs (Save costs or New period), the new value applies, from the date you choose, to all the stock that already exists on that day. Lots from invoices that arrive later keep their own invoice cost. In the lots panel, an edited lot shows its original cost and the edit date underneath.
What this brings to your account
- Margin true to your stock: each sale uses the cost of the unit that left, not the cost of the latest purchase.
- Price changes at the right time: a more expensive (or cheaper) purchase only affects margin once those units start selling.
- Everything visible: you see how many units are left in each lot and which one is selling.
- Better decisions: with the right cost, it's clearer which products and campaigns really make a profit.