Document surcharge configurations
A configuration row says who pays which surcharge, from when, from which value or weight, and how much.
Set up a document surcharge rule
- Open Surcharge Automation Setup and choose the action Surcharge Configuration.
- Choose New. Fill Customer No. (10000) or Vendor No. (20000) — one of the two, never both — or leave both empty and fill Surcharge Group for a group rule.
- Fill Document Surcharge Code (FREIGHT) so that several rows of this code form one graduated scale.
- Fill Starting Date 2026-01-01 and Ending Date 2026-12-31.
- Fill Type and No.: the line the surcharge writes — for example Charge (Item) with the item charge FREIGHT.
- Fill Minimum Amount (10.00) and, if the weight counts, Minimum Weight and Weight Type.
- Fill either Amount (25.50) or Percentage (8.75) — never both — and leave Active on.

Example. For Adatum Corporation (10000) JD creates a row with the code FREIGHT, valid from 2026-01-01 to 2026-12-31, minimum amount 10.00, percentage 8.75. The order of 2026-03-15 has an item value of 1,250.00, so the surcharge is 1,250.00 × 8.75 % = 109.38.
What happens. For every document the app takes the most specific level that has an active row inside its dates: the customer's or vendor's own row, else the row of its group, else the general row. The base is the value of the item lines the row's item category filter allows — or their weight, if the row asks for a weight. Rows that share a document surcharge code are one scale, and the highest tier the document reaches wins.
If something goes wrong
- "A configuration is for a customer or a vendor, not both." — Empty one of the two fields.
- "Starting Date is after Ending Date." — Swap the dates or empty one of them for an open end.
- "Enter the line type." — A row must say what kind of line it writes. Fill Type and No.
- "Minimum Amount cannot be negative." / "Minimum Weight cannot be negative." — A threshold below zero is a typing mistake. Enter zero for no threshold.
- "Enter an Amount or a Percentage, not both." / "Enter an Amount or a Percentage." — A row pays either a fixed amount or a share. Fill exactly one of the two.
- "Percentage must be between 0 and 100." — Enter the share as a percentage of the document value.
- A row does not apply. — Check four things: is it Active, is the posting date inside the dates, does the document reach the minimum amount and weight, and is there a more specific row for the customer or group.
