Savyant Systems ERPNext company

ERPNext guide

Landed cost in ERPNext: freight, duty and true stock value

Short answerA Landed Cost Voucher adds costs such as freight, customs duty and handling to stock you have already received. You pick the receipts, enter the charges, and choose to spread them by quantity, by amount or manually. ERPNext then raises the valuation rate of those items, so margins reflect what the goods really cost.

Updated 29 November 2026 · Savyant Systems · Written for ERPNext v16

Where it applies

A Landed Cost Voucher can be made against a Purchase Receipt, a Purchase Invoice that updates stock, a Stock Entry or a Subcontracting Receipt.

How the charges are split

Distribute charges based onBest for
QtyCharges that follow volume, such as handling per unit
AmountCharges that follow value, such as insurance or ad valorem duty
Distribute ManuallyCases where you know each item's share, such as a heavy item carrying most of the freight

Worked example

A receipt has 100 units of item A at 40 (4,000) and 50 units of item B at 120 (6,000). Freight of 1,000 is added.

MethodItem A shareItem B shareNew rate ANew rate B
By Qty (100 : 50)666.67333.3346.67126.67
By Amount (4,000 : 6,000)400.00600.0044.00132.00

Sample figures in any currency. The rate is (original value + share of charges) divided by quantity.

Things to get right

  • Recoverable import tax, such as import GST or VAT you can reclaim, is not a landed cost; book it to the tax account instead
  • Post the voucher before the goods are sold, so cost of goods sold uses the new rate
  • Use a separate expense account for each type of charge, so you can see what freight and duty really cost
  • Agree who posts the voucher when the freight or customs invoice arrives

Sources

  1. ERPNext source code, version 16 (GitHub)
  2. ERPNext documentation

Planning an ERPNext project?

Tell us what you run today and what you want ERPNext to do. A consultant replies within one working day.

Book a free consultation