Add freight and shipping charges to purchases ​

Suppliers often charge for freight or shipping on top of the Item prices. ERPNext records these charges as rows in the Purchase Taxes and Charges table. There are two ways to add them:

  • Freight as a rate: add a tax row that calculates freight as a percentage of the net total or an amount per unit.
  • Shipping Rule: ERPNext picks the shipping amount from a table of value or weight ranges.

Add freight as a tax row ​

Use this when freight is a fixed percentage of the order or a fixed amount per unit.

  1. In the Chart of Accounts, create an account for freight, for example Freight and Forwarding Charges, under your tax or expense accounts. You can also use an existing account.
  2. Create or open the purchase document, for example a Purchase Order or a Purchase Invoice.
  3. In the Purchase Taxes and Charges table, add a row:
    • Type: On Net Total for a percentage of the order, or On Item Quantity for an amount per unit.
    • Account Head: the freight account.
    • Tax Rate: the percentage or the amount per unit.
  4. Save the document.

To reuse the row, add it to a Purchase Taxes and Charges Template.

TIP

To include freight in the cost of stock Items, set the row's Consider Tax or Charge for to Valuation or Valuation and Total. See Include tax or charge in valuation or total.

Calculate shipping with a Shipping Rule ​

Use this when shipping depends on the order value or the weight, in ranges.

  1. Open the Shipping Rule list and select Add Shipping Rule.
  2. Enter the Shipping Rule Label and set Shipping Rule Type to Buying.
  3. Select the Company and the Shipping Account.
  4. Set Calculate Based On to Net Total or Net Weight.
  5. In the Shipping Rule Conditions table, add a row for each range with the From Value, To Value, and Shipping Amount. A To Value of 0 means no upper limit.
  6. Save the rule.
  7. In the purchase document, select the rule in Shipping Rule.

ERPNext adds a row to Purchase Taxes and Charges with the amount for the order's net total or net weight. For example, if 0–5 kg costs 25 and the Items weigh 2 kg, ERPNext adds a charge of 25.

For Net Weight, the Items need a weight per unit on the Item master. Learn more about shipping rules.