Extra Fees

Modified on Fri, 17 Apr at 1:20 PM

Table of Contents

Introduction

Extra Fees are used to apply additional accessorial charges to an order, such as off-hours service, waiting time, weight-based fees, and similar surcharges.

Extra Fees are located under the Pricing left-hand side menu:


Extra Fee Types

There are two types of extra fees in Dispatch Science:

TypeDescriptionBehavior / Restrictions
System- DefinedPreconfigured extra fees provided by the systemIdentified by an icon next to their ID. The Name, Unit of Measure, and ID cannot be modified. The Description can be updated.
User- DefinedCustom extra fees created by usersFully configurable. Name, Unit of Measure, ID, and behavior (rated, sliding, scripted) can all be defined.


System-Defined Extra Fees

Fee NameIdTrigger / ConditionHow it WorksNotes / Requirements
Off HoursOffHoursOrder scheduled outside normal operating hoursAutomatically added when the service level allows off-hour bookingService level must have Off Hour Booking = Allowed
HolidayHolidayOrder scheduled on a configured holidayAutomatically added when the service level allows holiday bookingRequires holiday calendar setup and Holiday Booking = Allowed
WeekendDayOffNot ApplicableNot automatically appliedNot linked to functionality; workaround: configure weekend as off-hours
Delivery Wait TimeDeliveryWaitTimeDriver enters the delivery location radiusWait time starts counting and the fee is appliedDriver profile must have Update Wait Time Extra Fee = Yes
Pickup Wait TimePickupWaitTimeDriver enters pickup location radiusWait time starts counting and fee is appliedDriver profile must have Update Wait Time Extra Fee = Yes
MileageMileageDistance between pickup and deliveryQuantity = total mileageCalculated automatically by the system
Nb. of PiecesNumberOfPiecesBased on parcels in the orderQuantity = sum of (parcel × unit factor)Parcel type must have Total Unit Factor > 0
WeightTotalWeightBased on total parcel weightUses actual, minimum, or dimensional weight (whichever is higher)Requires parcel weight configuration
TipTipTriggered via workflow stepCustomer enters tip (flat or %) on driver's deviceWorkflow must include Tip step


⚠️ When an off-hours or holiday fee is added to an order, a yellow band is displayed to advise the client.


User-Defined Extra Fees

Fee NameIdTrigger / ConditionHow it WorksNotes / Requirements
User- DefinedCustomManual or configured logicCan be rated, sliding, or scriptedNot linked to system functionality

Create a User-Defined Extra Fee

  1. Open Pricing > Extra Fees > Extra Fee Types and click the New Extra Fee Type button.
  2. Fill in the New Extra Fee Type form:
    1. Enter a required Id. Id consists of letters, numbers, -, _ only.
    2. Enter a required name in the primary language and an optional name in the secondary language.
    3. Enter an optional description in the primary language and in the secondary language.
    4. Enter a required unit of measure in the primary language and an optional unit of measure in the secondary language.
    5. Enter an optional reference.
  3. Click Save.

Display on the Order

The name will show on the order. The description appears as an info icon beside the fee name. The unit of measure is displayed beside the quantity:


Extra Fee Schedules

Extra Fee Schedules are used to group multiple extra fees together and associate them with an account.

When adding extra fees to a schedule, each fee can be configured with its appropriate:

  • Rating method
  • Pricing structure
  • Applicable options

This allows you to standardize and apply a consistent set of accessorial charges across accounts.

Create an Extra Fee Schedule

  1. Open Pricing > Extra Fees — you will land on the Extra Fee Schedules list.
  2. Click New Schedule, enter the name of the schedule, then click Save:
  3. Above the list of extra fees, click the Add Extra Fee button:
  4. Select an extra fee from the drop-down and click Save:
  5. Fill in the Configuration section:
    1. Set the calculation type: Rated, Sliding, or Scripted. See Rate Types below for details.
    2. Depending on the type selected:
      1. Rated: Fill in the rate, per, max ($) if needed, Included if needed, default quantity if needed.
      2. Sliding: Download and fill in the template and import the file. Enter the per, max ($) if needed, Included if needed, default quantity if needed.
      3. Scripted: Select the script, download the template if available. Fill in the file and import it. Enter the per, max ($) if needed, Included if needed.
    3. Check Hide quantity and unit price if you only want to see the total. This will prevent a user from updating the quantity.
    4. Check Quantity is read-only if you wish users not to be able to update the quantity. Quantity is set as read-only for scripted fees but this can be unchecked if needed.
    5. Select the total price calculation method. See Rounding Options below.
    6. Check Fuel Surcharge if it should be calculated on the extra fee. Fuel surcharge will only be calculated if set as a percentage — if set as distance, it will not be calculated on the extra fee.
  6. Fill in the Commission section. The sales commission will be based on the percentage of the extra fee total entered here:
    1. Enter the maximum percentage in Driver Commissionable.
    2. Enter the maximum percentage in Sales Commissionable.
  7. Fill in the Visibility section. Depending on the fee type (system or user-defined), the available fields will differ.
    1. User-defined extra fee:
      For more information, see Visibility Options below.
    2. Rank (common to both types): Enter the sort order for how extra fees are displayed on the order. This is not required.
  8. Click Save. The extra fee will appear on the Extra Fee Schedule.

Rate Types with Examples

There are three types of rate configurations available for extra fees:

Rate TypeDescriptionHow It WorksNotes
RatedLinear pricing modelQuantity is divided by the Per value, optionally rounded (up, down, or none), then multiplied by the rateSimple and predictable calculation
SlidingMulti-dimensional pricing modelQuantity is divided by the Per value, optionally rounded. The result, along with distance and vehicle type (if configured), is used to determine a rate from a matrix (Excel). The final result is multiplied by that rate.Supports complex pricing grids
ScriptedFully customizable pricingUses a C# script to calculate the total price based on various order fields. Can also leverage spreadsheet data for rate lookup.Requires Growth plan (with Developer Toolkit) or Enterprise plan

Rated Fee

Formula: (Quantity ÷ Per) → Rounded (optional) → × Rate

Rounding options: Up, Down, None

Example — No rounding
Quantity = 51 · Per = 10 · Rate = $2 · Rounding = None
51 ÷ 10 = 5.1 → no rounding → 5.1 × $2 = $10.20
Example — With rounding
Quantity = 53 · Per = 10 · Rate = $2 · Rounding = Up
53 ÷ 10 = 5.3 → rounded up = 6 → 6 × $2 = $12.00

Sliding Fee

Formula: (Quantity ÷ Per) → Rounded (optional) → Rate lookup (quantity, distance, vehicle type) → × Rate

Rate is retrieved from a configured matrix (typically Excel-based).

Example Setup (Excel file):

Example — No rounding
Quantity = 40 · Per = 10 · Distance = 8 miles · Vehicle = Car · Rounding = None
40 ÷ 10 = 4 → lookup: >3 but <6, 0–10 miles, Car → Rate = $7.33 → 4 × $7.33 = $29.32

Scripted Fee

Uses a C# script to read and manipulate order data, apply custom logic, and optionally retrieve rates from a spreadsheet. Supports complex, multi-dimensional pricing scenarios.

Availability:

  • Growth plan (with Developer Toolkit)
  • Enterprise plan
  • Contact sales to enable if not available
ExampleNo single fixed formula — fully customizable logic

A script applies: Base fee = $5 · $1 per km over 10 miles · $0.50 per item over 5 items
Order: Distance = 18 miles · Quantity = 20 items
Base = $5 · Distance extra = (18 − 10) × $1 = $8 · Quantity extra = (20 − 5) × $0.50 = $7.50
Total = $5 + $8 + $7.50 = $20.50

Quick Comparison

TypeBest ForComplexity
RatedSimple per-unit chargesLow
SlidingTiered pricing based on multiple factorsMedium
ScriptedFully custom business rulesHigh

Extra Fee Visibility Options

Extra fees can be configured to control their visibility and usage across different user types.

Visibility for Internal Users

Visibility TypeBehaviorUser InteractionNotes
Restricted Users OnlyFee is not universally availableOnly users with Extra Fees > Restricted access can add the fee to the orderOnce added, users with pricing visibility can view it, and users with edit rights can modify it
OptionalNot added automaticallyUsers can manually add it via the Add Pricing Item button in the Pricing sectionUseful for situational or discretionary charges
RequiredAutomatically added to the orderNo manual action neededEnsures the fee is always applied

Visibility for Self-Serve Order Creation

Visibility TypeBehaviorUser InteractionNotes
HiddenFee cannot be added by the userUser will see the fee only after it has been applied to the orderTypically used for backend-applied fees
OptionalNot added automaticallyUsers can manually add it via the Add Pricing Item button in the Pricing sectionUseful for situational or discretionary charges
RequiredAutomatically added to the orderNo manual action requiredEnsures the fee is always applied

Driver Visibility

Visibility TypeBehaviorDriver InteractionNotes
HiddenFee is not visible in the Driver AppDriver cannot see the fee when viewing the order or stopsUsed for internal or system-level charges
View OnlyFee is visible in the Driver AppDriver can see the fee but cannot modify itUseful when drivers need awareness of required services (e.g., special equipment)
View and AddFee is fully accessible in the Driver AppDriver can view, edit, and add the feeRequires Can Add Extra Fee = Yes in the driver profile under Extra Fee Options. Useful when a driver uses equipment not specified on the order — the driver can add without input from the dispatcher.

Rounding Options on Extra Fees

Multiple rounding options are available on Extra Fees.

Round Up: The quantity will round up to the next Per Unit value. For example, if 2.1 is entered in the quantity on an order's Extra Fee and the Per unit is 1, then 3 is used to calculate the total Extra Fee.

No Rounding: The quantity field is used as-is to calculate the extra fee total. Using the same example, a quantity of 2.1 with a Per unit of 1 would use 2.1 to calculate the total Extra Fee.

Round Down: The quantity is rounded down to the previous Per unit. A quantity of 2.1 with a Per unit of 1 would use 2 to calculate the total Extra Fee.

⚠️ When using a sliding Extra Fee with Round Down, the price will use the rounded-down quantity to get the unit price.
When using a sliding Extra Fee with No Rounding or Round Up, the price will use the rounded-up quantity to get the unit price.

Support for Negative Extra Fees on Order Details

Internal users can change the price of a rated extra fee to a negative number on an order. Negative values cannot be entered in the Per field within the Extra Fee Schedule.

For sliding and scripted extra fees, the price can be stored in the Excel sheet as a negative value.

⚠️ Important behaviors with negative extra fees:
• If a negative quantity is entered in an extra fee on the order, the extra fee total will automatically be set to $0.
• If a negative price is entered or calculated by the sliding/scripted extra fee, the total for that extra fee will calculate as a negative value.
• If the total price of an order is negative, the order will be set to $0.
• When an extra fee is negative, the quantity field will be locked in the Account User/Admin Order Details.
• Driver Commission will be set to negative if a commission % is assigned to a negative Extra Fee. However, if the total commission is negative, it will be set to $0.

Improved Controls upon Changing the Account on an Order

When changing the Account on an order to an Account that is blocked, a warning message will be displayed and the user will be able to cancel the change.

  1. From the Order Details menu, select Change Order Account, then enter the account or user email and select from the list.
  2. If the new Account is blocked, the following warning message will be displayed:
  3. Click Save to change to the blocked account, or Cancel to return to the Order Details, keeping the original account.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article