Billing practice

Effective dates are the rate deck

Why a wholesale rate deck is a series of versions with effective dates, how notice periods work for increases and decreases, and where the margin gap opens.

Most billing disputes about rates come down to one question: which rate applied to this call? A system that stores "the current rate" for each prefix cannot answer it a month later. A rate deck is a sequence of versions, each with an effective date, and the call picks the version that was in force when it was answered.

The model

A deck version is a complete set of prices with a start instant. The version before it ends when the next begins. Nothing is edited in place. A change creates a new version, and the old one stays exactly as it was.

Three rules follow from that:

  1. Rating uses the version effective at answer time. The start of the call decides the rate for the whole call, even if the call runs across the changeover. Using the end time, or splitting the call at the boundary, produces invoices that nobody can reproduce by hand.
  2. Routing uses the version effective now. Route selection and margin checks happen before the call exists, so they use the deck as it stands at that moment. Rating happens later and may be re-run.
  3. Every effective date has a time zone. Write it down. A date without a zone is a dispute waiting for a customer in a different one. Wholesale practice is to state effective times in UTC, so a change effective "8 April" means 00:00 UTC on 8 April.

A worked changeover

Take a destination in a customer's sell deck:

VersionEffective from (UTC)Rate per minuteIncrement
v12026-03-01 00:00€0.04201/1
v22026-04-08 00:00€0.04801/1
v32026-04-15 00:00€0.03901/1

v2 is an increase announced on 1 April, which gives seven days of notice. v3 is a decrease announced on 10 April, effective five days later. Now rate a 185-second call answered at 23:58:50 UTC on 7 April, which ends at 00:01:55 on 8 April:

MethodRate appliedAmount
Version at answer time (v1)€0.0420€0.1295
Version at end time (v2)€0.0480€0.1480
Split at midnight (70 s at v1, 115 s at v2)mixed€0.1410

The first row is the only one the customer can verify from the deck and their own CDR. The difference is small per call, and large over a night's traffic, which is when changeovers tend to land.

Increases need notice, decreases do not

A price rise is something a customer has to react to: update their own sell prices, reroute or drop volume. Contracts therefore usually require advance notice for increases, commonly seven days, though the contract states the number. A decrease helps the customer, so it can apply at once, and you want it to, because a customer who learns of a competitor's lower price will move volume first and ask later.

The practical consequence is that one upload often has to become two versions:

  • A version effective immediately that carries every decrease and every new prefix.
  • A version effective after the notice period that carries every increase.

Written out for a small upload:

PrefixCurrentUploadedResult
44 7700€0.0360€0.0330Decrease, effective now
44 20€0.0100€0.0100No change
49 151€0.0520€0.0575Increase, effective after notice
33 6none€0.0410New prefix, effective now

If the whole upload takes the later date, customers lose the decrease for a week and you have an avoidable complaint. If it takes the earlier date, you have raised a price without the notice your contract promises. Neither is something a person should do by hand on the day, with a spreadsheet and a deadline.

The notice also has to reach the customer in a form they can file: the list of changed prefixes, the old and new rate, the effective time with its zone. A notice that only says "new rates attached" invites a dispute about which rates.

The buy-side gap

Vendors give notice too, and usually shorter notice than you owe your customers. That creates a window in which you pay the new buy price and still sell at the old one.

Say a vendor announces on 2 November 2026 an increase of €0.0060 per minute, effective 5 November 00:00 UTC, three days later. You owe your customers seven days and send the notice the same day, so your sell increase takes effect on 9 November. For four days, 5 to 8 November, every minute through that vendor loses €0.0060 of margin. At 120,000 minutes a day:

ItemValue
Days in the gap4
Minutes per day120,000
Margin lost per minute€0.0060
Total€2,880

The loss is not an error in the deck. It is a gap between two notice periods, and it only becomes visible if buy and sell are rated per call, as described in our post on rating every call twice. The usual responses are to negotiate the same notice upstream as downstream, to apply a routing margin floor from the buy effective date so the affected routes are avoided, or to accept the cost knowingly for strategic destinations.

Why "current rate" is the wrong model

A table with one rate per prefix and no history fails in ordinary situations:

  • Disputes. The customer says the rate on 12 March was €0.0420. With versions, the answer is a lookup. Without them it is a hunt through emails.
  • Re-rating. After a deck error, you need to re-price a range of dates using the versions that applied on those dates. A single current rate prices last month at today's price.
  • Corrections. If the wrong rate went live, the fix is a new version effective from the correct moment, followed by a re-rate of the affected calls. Editing the old version destroys the evidence of what was billed.
  • Audit. Revenue for a past period has to be reproducible. Immutable versions make it so.

A short checklist

  1. Store each deck as versions with an explicit UTC effective-from time.
  2. Rate by answer time and route by the present.
  3. Split uploads into an immediate version for decreases and a delayed one for increases.
  4. Generate the notice from the difference between versions, not from a spreadsheet someone remembers to attach.
  5. Compare vendor notice periods with your customer notice periods, and treat the shortfall as a quantified exposure.
  6. Fix errors with a new version and a re-rate, never an edit.

More from the blog

Contact sales

Talk to us about your traffic and your billing.

Tell us about your network and we will arrange a demonstration of YepSBC, YepMsg, YepShield, YepBoss and YepPBX on a traffic profile like yours, or a technical call with one of our engineers.

  1. We reply within one business day to arrange a time.
  2. A scoping call about your traffic, network and billing model.
  3. A demonstration on a traffic profile like yours, and a lab deployment if your engineers want one.

Prefer email? hello@yeptelcosoft.com

What would you like?
Interested in

We reply within one business day. We use your details only to respond to your request. Privacy notice