---
title: "Costing templates"
space: "Setup Guide"
url: "https://jmtradelink.com/setup/set-up-the-system/14-costing-templates"
updated: "2026-11-12"
---

A costing template has the standard charges of one port. The administrator makes two types:

- A **Loading** template has the charges that you pay at the port of loading, before the cargo is on the ship. For example the surveyor and the ECTN.
- A **Discharge** template has the charges that the buyer pays at the port of discharge, and the import duty values for that port.

The ocean freight is not in a costing template. It is in a port lane rate. See [Port lane rates (ocean freight)](/setup/set-up-the-system/16-port-lane-rates).

At the end of this page, a new costing from your loading port fills the **Loading Costing Template** with your template.

## Before you start

- You need the System Manager role. The demo user Priya has it.
- The ports, the shipping lines and the cost heads must exist. See [Ports and pins](/setup/set-up-the-system/04-ports-and-pins), [Shipping lines](/setup/set-up-the-system/05-shipping-lines) and [Cost heads](/setup/set-up-the-system/06-cost-heads).
- The demo data has five finished templates. **Cotonou Export** is the loading template for Visakhapatnam, and **Cotonou Discharge** is the discharge template for Cotonou. See [Install and remove demo data](/setup/settings-and-users/03-install-and-remove-demo-data).

## Steps

### See the demo loading template

1. In the search bar, type **Costing Template** and open the list. Open **Cotonou Export**.
2. Look at the top of the form. **Template Type** is **Loading**, **Port of Loading** is **Visakhapatnam**, **Shipping Line** is empty and **Default for Port** is ticked.

   ![The loading template Cotonou Export, with Template Type, Port of Loading, Shipping Line and Default for Port boxed](/files/setup-8-14-costing-templates-01-loading-template-01ec69cf.webp)

3. Look at the **Charges** table. Each row is one charge, for example **Surveyor (POL)**, 300 INR **Per Container**, and **ECTN**, 100 EUR **Per 5 Containers**. All the rows have the stage **FOB**.

   ![The Charges table of Cotonou Export, boxed](/files/setup-8-14-costing-templates-02-loading-charges-bd07ad29.webp)

### See the demo discharge template

4. Go back to the list and open **Cotonou Discharge**. **Template Type** is **Discharge**, **Port of Discharge** is **Cotonou** and **Destination Currency** is **XOF**.

   ![The discharge template Cotonou Discharge, with Template Type, Port of Discharge and Destination Currency boxed](/files/setup-8-14-costing-templates-03-discharge-template-5d770a06.webp)

5. Look at the **Charges** table. It has one row: **POD Expense**, stage **Destination**, 3,183 XOF **Per Bag**.

   ![The Charges table of Cotonou Discharge, boxed](/files/setup-8-14-costing-templates-05-discharge-charges-b1bd031e.webp)

6. Scroll down to **Import Duty / POD Clearing**. The demo values are **BFU %** 0.200, **Tax %** 0.025, **Transitor per Container** 2,05,000.00 and **Commission per Bag** 150.00.

   ![The Import Duty / POD Clearing section of Cotonou Discharge, boxed](/files/setup-8-14-costing-templates-04-import-duty-570867f8.webp)

   **BFU %** and **Tax %** are fractions, not percents. Type 0.20 for 20 % and 0.025 for 2.5 %. The form shows the value as you type it, for example 0.200.

### Add your template

7. Go back to the list and click **Add Costing Template**.
8. Type the **Template Name**, for example "Chennai Loading".
9. Select the **Template Type**. The fields below change with the type.
   - For **Loading**: select the **Port of Loading**. Select a **Shipping Line** only if the charges are for one line. Tick **Default for Port** if this is the main template of the port.
   - For **Discharge**: select the **Port of Discharge** and the **Destination Currency**, then fill **Import Duty / POD Clearing**.

   ![A new loading template, before Save: Template Name and Template Type boxed, Port of Loading Chennai beside them](/files/setup-8-14-costing-templates-06-new-template-529b36e3.webp)

10. In **Charges**, click **Add row** for each charge, and fill the fields in the table below.
11. Click **Save**.

| Field | What it does |
|---|---|
| **Template Name** | The name of the template. Priya sees it on the costing. |
| **Template Type** | **Loading** or **Discharge**. |
| **Port of Loading** | Loading only. The port where the charges are paid. |
| **Shipping Line** | Loading only. Empty: any line can use the template. Set: a costing on this line takes this template first. |
| **Default for Port** | Loading only. A new costing from this port starts with this template, unless a template for the costing's shipping line exists. Only one loading template of a port can be the default. |
| **Port of Discharge** | Discharge only. The port where the buyer pays the charges. |
| **Destination Currency** | Discharge only. The currency of the destination charges and of the per-bag values, for example XOF for Cotonou. |
| **Cost Head** | The charge. See [Cost heads](/setup/set-up-the-system/06-cost-heads). |
| **Stage** | Where the charge is paid. A **Loading** template takes only **Ex-Works**, **FOR** and **FOB**. A **Discharge** template takes only **Destination**. |
| **Qty Basis** | How the system counts the charge, for example **Per Container**, **Per Bag** or **Per BL**. |
| **Rate**, **Currency** | The amount for one unit of the basis, and its currency. |
| **Rate Updated On** | The system sets the date when you add the row or change the rate. |
| **BFU %** | Discharge. The BFU (bond) as a fraction of the duty value. |
| **Tax %** | Discharge. The tax as a fraction. |
| **Transitor per Container** | Discharge. The clearing agent's charge for each container, in the destination currency. |
| **Commission per Bag** | Discharge. The commission for each bag, in the destination currency. |

## Check it worked

1. In the search bar, type **Export Costing**, and click **Add Export Costing**.
2. Select your **Port of Loading**, for example Chennai. **Loading Costing Template** fills with your template.
3. Close the form without saving.

A filled costing looks like this demo costing (JMC-PI-2627-020): **Port of Loading** is Visakhapatnam, so **Loading Costing Template** shows **Cotonou Export**. **Port of Discharge** is Cotonou, so **Discharge Costing Template** shows **Cotonou Discharge**.

![A demo costing, with Port of Loading, Loading Costing Template, Port of Discharge and Discharge Costing Template boxed](/files/setup-8-14-costing-templates-07-costing-templates-on-costing-be333f4d.webp)

See [The costing: Rates & Charges tab](/setup/cost-the-deal/04-costing-rates-and-charges).

## Good to know

- When a port has more than one loading template, a new costing takes the template for its shipping line first, then a template for any line (the default first). In the demo, Nhava Sheva has **Maersk – Lome** and **MSC – Lome**, one for each line.
- If you select a template on a costing yourself, the system keeps your choice.
- Priya can change **BFU %**, **Tax %**, **Transitor per Container** and **Commission per Bag** on one costing. The change stays on that costing. See [The costing: Destination Margin tab](/setup/cost-the-deal/06-costing-destination-margin).
- A loading template must not have the ocean freight. The system stops a save with a **CFR** or **CIF** charge, because the freight is in the port lane rate.

## Next

[Build routes on the map](/setup/set-up-the-system/15-route-rates-map)
