Skip to content

Additional Services & Charges

Manage optional add-on services and mandatory surcharges for a shipping service. Both use the same configuration interface but differ in their activation behavior.


Overview

Each shipping service can have two types of add-ons:

  • Additional Services (mandatory = false) — Optional features that customers or operators can enable per shipment (e.g., insurance, signature confirmation, extended area delivery).
  • Additional Charges (mandatory = true) — Surcharges that are automatically applied when specific conditions are met (e.g., overweight fee, oversized package surcharge).

Both types share the same pricing operators and configuration form. The key difference is that Additional Charges include activation conditions that determine when the charge applies.


What You Can Do

  • View all additional services and charges configured for a service
  • Add new additional services or charges from a catalog
  • Edit pricing, operator, and configuration for existing items
  • Toggle items active/inactive without deleting them
  • Configure 19 different pricing operators (flat, percentage, weight-based, range-based, etc.)
  • Set up range-based pricing with plan definitions (weight or amount ranges)
  • Define activation conditions for additional charges (weight, dimensions, zone, insurance value, etc.)

Getting There

  1. Open any service detail page (/services/:id)
  2. Scroll to Additional Services (sixth section) or Additional Charges (seventh section)

Common Tasks

Adding an Additional Service

  1. In the Additional Services section, click Add
  2. Select the service type from the dropdown catalog
  3. Configure the General Settings:
    • Apply To: Unit, Package, or Shipment (determines how the charge is calculated)
    • Mandatory: Leave off for additional services
    • Editable: Whether the amount can be modified per shipment
    • Force Save: Whether to save the service even if already present
    • Active: Enable or disable the service
  4. Configure Taxes:
    • Include VAT: Whether VAT is included in the amount
    • Tax Percentage: Select applicable tax rate from the service's tax rules
  5. Configure Pricing:
    • Select an Operator (pricing method)
    • Fill in the amount fields that appear based on the selected operator
  6. Click Save

Adding an Additional Charge

  1. In the Additional Charges section, click Add
  2. The process is identical to adding a service, except:
    • Mandatory is enabled by default
    • A Conditions section appears at the bottom of the form

Editing an Existing Item

  1. Click the Edit button on any row in the table
  2. The form opens with pre-filled values
  3. Modify any fields (note: the operator cannot be changed after creation)
  4. Click Save

Toggling Active/Inactive

  1. Use the toggle switch in the Active column of the table
  2. The change is saved immediately (no confirmation needed)

Setting Up Conditions (Additional Charges Only)

Conditions determine when a mandatory charge is automatically applied:

  1. In the edit form for an additional charge, scroll to the Conditions section
  2. Click + to add a new condition row
  3. For each condition, configure:
    • Reference Value: What property to evaluate (see table below)
    • Operator: Comparison operator (>, >=, <, <=, =, !=)
    • Value: The threshold value
    • Active: Enable or disable this condition
Reference ValueDescriptionExample
weightPackage volumetric weightweight > 30
rawWeightPackage actual weightrawWeight > 25
lengthPackage lengthlength > 120
widthPackage widthwidth > 80
heightPackage heightheight > 80
dimensionsSumL + W + HdimensionsSum > 300
dimensionsCubicL × W × HdimensionsCubic > 500000
insuranceDeclared insurance valueinsurance > 10000
declaredValueUSDDeclared value in USDdeclaredValueUSD > 2500
zoneShipping zone numberzone = 8
shipmentWeightTotal shipment weightshipmentWeight > 70
companyIdCompany identifiercompanyId = 123
customCustom fieldcustom = "value"

TIP

Multiple active conditions on the same charge are evaluated together. All conditions must be met for the charge to apply.


Understanding Operators

The operator determines how the charge amount is calculated. Here are the most commonly used operators:

Simple Operators

IDNameAmount FieldDescription
1FlatFixed amount (currency)A flat fee in the service currency
2PercentagePercentage (%)A percentage of the shipment value
9Flat USDFixed amount (USD)A flat fee in US dollars

Composite Operators

IDNameFieldsDescription
3Highest: Flat or %Percentage + Minimum amountApplies the higher of: percentage or minimum flat amount
5Min + Commission (Insurance)Minimum amount + PercentageBase minimum plus percentage of insurance value
11Highest: Flat or % (COD)Percentage + Minimum amountSame as 3, specific to COD (cash on delivery)
13Highest: Flat or % (USD)Percentage + Minimum (USD)Same as 3 with minimum in USD

Weight-Based Operators

IDNameFieldsDescription
10Package WeightAmount per kgMultiplied by package weight
16Package Weight or MinMinimum + Amount per kgHigher of: minimum amount or weight × rate
17Base + Package WeightBase amount + Amount per kgFixed base plus weight × rate
14Weight Over AllowedAmount per extra kgApplied only to weight exceeding the allowed limit

Range-Based Operators (Plan Definitions)

IDNameDescription
4Range Price PlansDifferent rates per weight range
15Range Price Plans (Amount)Different rates per declared value range
19Range Price Plans (Insurance)Different rates per insurance value range

When using range-based operators, a Plan Definitions table appears where you configure:

  1. Min Value / Max Value: The range boundaries (weight in kg for op 4, currency for op 15/19)
  2. Rate Type: How the amount is calculated within this range (Flat, Percentage, or Highest)
  3. Amount: The rate value
  4. Minimum Amount: Fallback minimum (only for "Highest" rate type)

To add a range row, click the + button above the table. Each range covers a continuous interval (e.g., 0–5 kg, 5–10 kg, 10–30 kg).

Other Operators

IDNameDescription
6Web Service %Percentage applied to external web service price
7Web Service ResponseAmount returned by external web service
8Min or User InputUser enters amount, minimum enforced
12Flat + InsuranceFlat fee plus insurance-based calculation
18Higher: Carrier or %Higher of carrier surcharge or percentage

Frequently Asked Questions

Can I change the operator after creating an additional service?

No. The operator is locked after creation. To use a different operator, create a new additional service with the desired operator and deactivate the old one.

What happens when I deactivate an additional service?

The service is no longer applied to new shipments, but historical records are preserved. You can reactivate it at any time using the toggle.

How do plan definitions work with percentage operators?

When a plan definition row uses the Percentage rate type, the amount is stored as a decimal (e.g., 0.15 for 15%). The UI displays it as a percentage for clarity, and converts it back on save.

Can an additional charge have no conditions?

Yes, but it will apply to every shipment for this service. Conditions are optional — if none are active, the charge is always applied.

What does "Apply To" mean?

It determines the scope of the charge calculation:

  • Shipment: Applied once per shipment
  • Package: Applied per package in the shipment
  • Unit: Applied per unit/item in a package

What does "Include VAT" do?

When enabled, the system considers VAT already included in the configured amount. The selected tax percentage is used to calculate the VAT portion (for fiscal reporting), not to add tax on top.


Envia Admin