All briefings

Parcel Audit / Rate engineering

Version carrier rates so historical charges remain auditable

A defensible version model for base rates, zones, surcharges, exceptions and rounding—so historical costs remain reproducible.

Written by

Elias Aral

Founder, MarginMine

27 July 2026·3 min read

Core thesis

A rate is not one PDF. It is a time-bound set of rules, sources, exceptions and calculation conventions.

Versioned rate registry

Historical rules remain immutable.

V4

Jul–Dec 2026

active

RULE HASH / 18AF
V3

Jan–Jun 2026

locked

RULE HASH / 19AF
V2

Jul–Dec 2025

archived

RULE HASH / 20AF
01

1. Every rule needs an effective period

Carriers change base prices, surcharges, area lists and thresholds on different dates. One file named current_rates.xlsx destroys historical context. Every version needs an identifier, effective-from date and, once known, effective-to date.

Version selection follows the contractually relevant service date, not automatically the invoice date. Mid-month changes and retrospective corrections require distinct versions.

  • Version ID
  • effective from and to
  • governing date field
  • source and import time
02

2. Preserve source document and executable rule

Automation translates a PDF or rate card into structured rules, but the structured form does not replace the original. Each executable rule links to the document section or table row from which it was derived.

Record who reviewed the translation and any assumptions made. A later reviewer can then distinguish a carrier variance from a misinterpreted rule.

  • Immutable source
  • page or row reference
  • structured rule
  • approval status
03

3. Exceptions are part of the rate

Negotiated discounts, minimum charges, free allowances and excluded services must not live as comments beside the price logic. They alter the outcome and belong to the same versioned rule set.

Scope must be machine-readable when an exception applies only to one account, product or lane. Conflicts between standard and negotiated rules need documented priority.

  • Account and service scope
  • lane or zone
  • volume and time condition
  • conflict priority
04

4. Version indices and area tables separately

Fuel and energy surcharges may change frequently. UPS describes weekly index-based adjustments, while DPD publishes variable energy and fuel components. The percentage should therefore not be embedded in a long-lived base-rate version.

Use a referenced time series containing source, reference period, effective date and calculation basis. The same applies to remote-area and postal-code matrices.

  • Index source
  • reference and effective period
  • percentage or fixed amount
  • affected basis
05

5. Treat rounding and currency as rules

Rounding per line, surcharge or invoice can create thousands of differences at scale. Rounding level, decimals and calculation order must be versioned like prices.

For multiple currencies, preserve original amount, rate, source and rate date separately. Reporting conversion must never overwrite the audited historical value.

  • Rounding level
  • decimal precision
  • original currency
  • rate source and date
06

6. Immutability and test cases protect history

An approved historical version should not be overwritten. Corrections create a new version referencing its predecessor. Hashes of source and structured rules help reveal unintended changes.

Each version needs representative test shipments with expected results. Regression tests run before production, proving not just what is stored but how the rule behaves.

  • Immutable approved version
  • change reason
  • document and rule hash
  • regression tests

Sources & further reading

Primary sources instead of invented authority.

Carrier material changes. A real audit must always use the specific agreement and documents effective on the service date.