Shipping Fee Management

Prev Next

Overview

The Shipping Fee feature lets Business Central calculate shipping fees from the packages on a Waybill and add them as lines on the Sales Order, so they are invoiced together with the rest of the order.

Key Capabilities:

  • Calculate fees by Flat Rate or Per Package

  • Set a minimum amount for free shipping on the Customer

  • Automatically or manually assign fees to sales orders

Where it works: Shipping fees are calculated when you post a Warehouse Shipment, or when you post the shipment directly from a Sales Order that has a Waybill and no Warehouse Shipment or Inventory Pick.


Setup

1. Sales & Receivables Setup

Navigation: Search for "Sales & Receivables Setup"

Field

Required Value

Description

Auto Post Non-Invt. via Whse.

All

Mandatory for the Shipping Fee feature. The system shows an error when fees are assigned if this is not set to "All".


2. Shipping Manager Setup

Navigation: Search for "Shipping Manager Setup"

Field

Description

Recommendation

Calculate and Assign Shipping Fee

When enabled, shipping fees are calculated and assigned to the sales order automatically when the shipment is posted.

Enable for automatic processing; leave disabled if you want manual control over fee calculation and assignment.

Access Shipping Fee Price List:

  • Click on the "Shipping Fee" field to open and manage the Shipping Fee Prices page


3. Shipping Fee Prices (Per Package Method)

Navigation: Search for "Shipping Fee Prices"

Use this setup when calculating fees per package type. The system searches for matching price records based on the waybill details.

Field

Description

Country Code

The destination country (the Waybill's ship-to country). Leave blank for a fallback that applies to all countries.

Currency Code

The currency of the Unit Price. Must match the order's currency; leave blank for orders in local currency.

Package Type

The Package Type for the price. Must match the package types used on your waybill lines.

Shipping Agent

The Shipping Agent delivering the package. Leave blank for a fallback that applies to all agents.

Shipping Agent Service

The Shipping Agent Service Code. Leave blank for a fallback that applies to all services of the agent.

Shipping Fee Item

The Item No. used when creating the Shipping Fee line on the Sales Order. This item appears on the sales invoice.

Use Price from Item

If set to Yes, the system uses the Sales Price from the Item instead of the Unit Price field below.

Unit Price

The Unit Price for shipping. Used only if "Use Price from Item" is set to No.

Matching Logic:

For each package type on the waybill, the system looks for a price record with the same Package Type and a Shipping Fee Item, in this order:

  1. Same Country Code, Currency Code, Shipping Agent and Shipping Agent Service

  2. Same Country Code, Currency Code and Shipping Agent, with a blank Shipping Agent Service

  3. Same Country Code and Currency Code, with a blank Shipping Agent and Service

  4. Steps 1–3 again with a blank Country Code

  5. A record with only the Package Type filled in (Country, Currency, Agent and Service all blank)

Important: The Package Type is always matched exactly — there is no fallback to a blank Package Type. If no record is found for any package on the waybill, the system shows an error.

Example Setup:

Country

Currency

Package Type

Shipping Agent

Agent Service

Fee Item

Unit Price

DK

PALLET

DHL

STANDARD

SHIP-FEE

250.00

DK

PARCEL

DHL

STANDARD

SHIP-FEE

95.00

PARCEL

SHIP-FEE

75.00

Note: The last row has only the Package Type filled in and acts as the fallback price for PARCEL packages to any country, in any currency, with any agent.


Customer Setup

Shipping Fee Configuration per Customer

Navigation: Open Customer Card → Scroll to "Shipment Method" section

Shipping Fee Calculation Method

Option

Description

None

No shipping fees are calculated for this customer.

Flat Rate

One fixed shipping fee is applied regardless of package count. Requires both "Shipping Fee Item" and "Shipping Fee" to be filled in.

Per Package

Shipping fees are calculated per package type on the waybill. Requires Shipping Fee Price setup (see above).

Default: None

Shipping Fee Item (Flat Rate Only)

  • Used when: Calculation Method = "Flat Rate"

  • Description: The Item No. added to the Sales Order as the shipping fee line

  • Required: Yes (when using Flat Rate)

Shipping Fee (Flat Rate Only)

  • Used when: Calculation Method = "Flat Rate"

  • Description: The fixed price amount for shipping, in the customer's currency

  • Required: Yes (when using Flat Rate)

Example: If the customer currency is EUR and you enter 50.00, a 50 EUR shipping fee line is added to each shipment.

Free Shipping Min. Amt LCY

  • Description: The shipment amount (in local currency) from which shipping is free

  • Behavior: If the shipment amount (LCY) is greater than or equal to this value, no shipping fee is calculated. This applies to both "Flat Rate" and "Per Package".

  • Required: Yes — the field must be greater than 0 for shipping fees to be calculated

Important Notes:

  • Always compared in LCY, even if the customer uses a foreign currency

  • Set it to a very high value (e.g., 999999.99) if fees should always be calculated

Example: Free Shipping Min. Amt LCY = 1000. A shipment of 1200 (LCY) gets no shipping fee; a shipment of 800 (LCY) does.


Configuration Examples

Example 1: Flat Rate Customer (Always Charges Shipping)

Shipping Fee Calculation Method: Flat Rate
Shipping Fee Item: SHIP-FEE-STD
Shipping Fee: 75.00 (in customer currency)
Free Shipping Min. Amt LCY: 999999.00 (effectively disabled)

Example 2: Per Package Customer (Free Shipping over 5000)

Shipping Fee Calculation Method: Per Package
Shipping Fee Item: (leave blank - comes from price setup)
Shipping Fee: (leave blank - comes from price setup)
Free Shipping Min. Amt LCY: 5000.00

Example 3: No Shipping Fees

Shipping Fee Calculation Method: None

Daily Use

Sales Order

When a new sales order is created, the shipping fee settings from the Customer Card are copied to the sales order: Shipping Fee Calculation Method, Shipping Fee Item and Shipping Fee (Flat Rate), and Free Shipping Min. Amt LCY.

You can change these settings on each sales order. Changes made to the customer card after the sales order is created do not update existing orders.

Before calculation (Per Package)

Make sure the following match a Shipping Fee Price record (see Matching Logic above):

  • Package Type on each waybill line

  • Shipping Agent and Shipping Agent Service on the Waybill

  • Currency Code on the sales order

  • Ship-to country on the Waybill


Shipping Fee Calculation Process

Prerequisites: "Calculate and Assign Shipping Fee" is enabled in Shipping Manager Setup, and a Waybill is linked to the Warehouse Shipment or Sales Order.

Process:

  1. Create the waybill and add waybill lines with packages

  2. Post the Warehouse Shipment — or post the shipment from the Sales Order if you do not use warehouse handling

  3. The system calculates the fees, creates shipping fee lines on the waybill, assigns them to the related Sales Order, and posts them with the shipment

Option 2: Manual

  1. Open the Waybill (from the Warehouse Shipment or Sales Order) and go to the Shipping Fee lines

  2. Choose Calculate Shipping Fee. Fee lines are created but not yet assigned to the sales order

  3. Review the fee lines (Package Type, Quantity, Unit Price) and adjust if needed

  4. Choose Assign Shipping Fee. Sales lines are created on the related sales order

  5. Post the shipment. The fees are invoiced with the order

Workflow Summary: Calculate → Review → Assign → Post → Invoice


Shipping Fee Lines (Waybill)

Field

Description

Editable

Shipping Fee Item

Item number used for the fee line

Yes

Description

Description from the item

Yes

Quantity

Number of units (typically the number of packages)

Yes

Unit Price

Price per unit (from price setup or customer)

Yes

Line Amount

Quantity × Unit Price

Calculated

Order No. / Order Line No.

Sales order and line (populated after assignment)

No

Assigned to Sales Order

Indicates whether the line has been assigned

No

Package Type

Package type from the price setup

No

Action

Description

Calculate Shipping Fee

Recalculates all fee lines based on the current waybill packages. Deletes existing unassigned fee lines.

Assign Shipping Fee

Assigns all unassigned fee lines to the related sales order and creates sales lines.


Troubleshooting

Error Message

Cause

Solution

Free Shipping Min. Amt LCY is zero for the customer

The field is blank or zero

Customer Card → set "Free Shipping Min. Amt LCY" to a value > 0 (e.g., 999999.00 if fees should always be calculated)

In order to use Flat Rate … the fields "Shipping Fee Item" and "Shipping Fee" must be specified

One or both Flat Rate fields are blank

Customer Card → fill in both "Shipping Fee Item" and "Shipping Fee"

No related Shipping Fee Price has been found

No price record matches any package type on the waybill

Shipping Fee Prices → create a record matching the waybill, or a fallback record with only the Package Type filled in

In order to use Shipping Fee the "Sales & Receivables Setup" field "Auto Post Non-Invt. via Whse." must be set to "All"

Sales & Receivables Setup is not configured

Sales & Receivables Setup → set "Auto Post Non-Invt. via Whse." to "All"

Shipment amount exceeds the Free Shipping Min. Amt

The shipment qualifies for free shipping

Expected behavior — no fee is calculated. Raise the Free Shipping minimum if a fee should be charged.

One or more Waybill Shipping Fee lines have already been assigned

You are recalculating fees that are already assigned to the sales order

Delete the assigned shipping fee lines from the Sales Order first, then calculate again

Cannot add shipping fee to orders pending approval

The sales order is waiting for approval

Complete or cancel the approval, then assign the fee

Diagnostic Checklist

If shipping fees are not calculated:

  • Is "Auto Post Non-Invt. via Whse." set to "All" in Sales & Receivables Setup?

  • Is "Free Shipping Min. Amt LCY" greater than 0, and is the shipment amount below it?

  • Is the Shipping Fee Calculation Method on the order "Flat Rate" or "Per Package" (not "None")?

  • For automatic calculation: is "Calculate and Assign Shipping Fee" enabled, and is a Waybill linked to the document you post?

  • For Flat Rate: are "Shipping Fee Item" and "Shipping Fee" filled in?

  • For Per Package: do all waybill lines have a Package Type, and does a price record match each one?


Best Practices

  1. Always set Free Shipping Min. Amt LCY. Never leave it at 0; use 999999.00 to always charge shipping.

  2. Create fallback price records. For each package type, create a record with only the Package Type and Shipping Fee Item filled in. This prevents errors when no more specific record matches.

  3. Use consistent fee items, e.g. "SHIP-FEE" for all shipping fees, for easier reporting.

  4. Multi-currency customers: create price records for each currency you invoice in, or rely on the package-type-only fallback record.

  5. Test before go-live with a Flat Rate, a Per Package and a free-shipping customer, and verify that fees post correctly.

  6. Manual process: always calculate before you assign, and review the fee lines first — assigned fees are not recalculated automatically.


FAQ

Q: Can I use this feature without Warehouse Management?
A: Yes. Fees are calculated when you post the shipment from a Sales Order that has a Waybill and no Warehouse Shipment or Inventory Pick, as well as when you post a Warehouse Shipment.

Q: Can I change the shipping fee after it is calculated?
A: Yes, before assignment you can change the Quantity, Unit Price or Item on the fee lines. After assignment, edit the sales order line directly.

Q: Can I override the free shipping minimum on a specific order?
A: Yes. The value is copied to the Sales Order, and you can edit it there before posting.

Q: Do shipping fees apply to credit memos or returns?
A: No. The feature applies to outbound shipments of Sales Orders only.

Q: Can I have different fees for the same package type depending on country?
A: Yes. Create price records with different Country Codes and the same Package Type. The system matches on the Waybill's ship-to country.

Q: Can I calculate fees based on weight instead of package count?
A: No. Fees are calculated per package type on the waybill.