YepBoss documentation

Rate decks and effective dates

How YepBoss versions price lists, applies effective dates and notice periods, ingests vendor sheets by email with a diff, and sends customer rate notices.

YepBoss documentation

YepBoss documentation

  1. Overview
  2. Core concepts and glossary
  3. Routing
  4. Rate decks and effective dates
    1. Versions
    2. What a row holds
    3. Loading a price file
    4. Vendor sheets by email
    5. Customer rate notices
    6. What is protected
    7. In the back office
  5. Rating and margin
  6. Credit and fraud control
  7. Invoicing and billing cycles
  8. Payments, credit notes and disputes
  9. Multi-currency and FX gain and loss
  10. E-invoicing and the general ledger
  11. SMS billing
  12. Vendor bill reconciliation
  13. Reports, report builder and customer portal
  14. REST API and MCP access

Other products

A rate deck is a price list: one price per destination prefix, in one currency. A sell deck is set on customers' ingress connections. A buy deck is set on a vendor's egress connections. Decks are the input to routing, rating and margin protection, so how they change over time matters as much as what they contain.

Versions

A deck never changes its prices in place. Every price file becomes a new version (v1, v2, v3) with an effective date. The version in force at a given moment is the one with the latest effective date that has started and not ended.

  • Routing uses the version in force now.
  • Rating uses the version in force when the call was answered. A call answered before a price change keeps its old price even if it is rated later.
StatusMeaning
draftLoaded and waiting for a decision. It never applies to a call
scheduledApproved with a future effective date. It takes over by itself at that moment
activeApproved with an effective date that has started
supersededReplaced by a later version. It still prices calls answered while it was in force
cancelledWithdrawn. It never applies

A deck with no version in force refuses every call that uses it with 404, so a new deck needs an active version before it is put on a connection. A draft can be tested before activation: a lookup tool shows which row a number would get from a given version, by longest prefix and time band.

What a row holds

FieldMeaning
PrefixDigits to match. The longest matching prefix wins
RatePrice per minute in the deck currency, up to six decimals. SMS decks price per message part
IncrementsFirst block and next blocks in seconds. 1/1 is per second, 60/60 is whole minutes
Minimum, grace, connect feeA shorter call is billed as the minimum. A call at or under the grace period is not billed. The connect fee is added to every answered call
Time bandany, peak, offpeak or weekend. A band-specific row wins over any. A weekend call with no weekend price falls back to off-peak
StatusA row marked blocked makes routing refuse the prefix

Defaults for increments, minimum, grace and connect fee are set on the deck, and a row may override them. The deck also defines its peak hours and days in its own time zone, and its rate precision, the number of decimals each charge is rounded to.

A sell deck can be given a fallback deck on an ingress connection. The fallback is used only when the primary deck has no row for the number. It is never used after a blocked row, because a block is a decision. This lets a short deck of a customer's own prices sit in front of a shared A-Z list.

Loading a price file

A price file in CSV or Excel format is read into a new version. The columns are found from the header row, in any order, with preamble rows skipped. A range such as 4416-4418 or 441[6-8] expands to one row per prefix. A decimal comma is accepted. A price written as blocked, n/a or a negative number blocks the prefix. If the parser does not recognise a sheet, the operator can point at the prefix and rate columns on a preview and import with that mapping, and the mapping can be remembered on the vendor's account.

The import compares the file with the version in force and counts new, increased, decreased, unblocked, blocked and deleted rows, then runs checks:

  • the currency of the file against the deck (a mismatch stops the import);
  • at least one priced row (otherwise the import stops);
  • share of blocked rows;
  • prefixes that are not in the destination catalogue, which are added with the name from the file;
  • catalogue destinations the deck does not price;
  • increases within a configured limit;
  • rates within configured bounds.

A dry run reads and compares without writing anything. By default the result is a draft. An operator can ask for activation at once, but a reviewed draft is the normal path.

Effective dates and notice periods

The effective date is read in the deck's time zone. A file cannot start earlier than the version in force, so prices are not backdated by an import.

Wholesale agreements usually let you apply a decrease at once but require notice before an increase. For a sell deck the import takes a notice period, by default the longest rate-notice period among the accounts priced from the deck. When the file contains increases and the notice period is above zero, the import writes two versions:

  1. The first starts at the effective date. It carries the new file except that every increased price, and every increment change that bills more, stays at the old terms.
  2. The second starts after the notice period and carries the whole new file.

Decreases and new destinations therefore apply at once and increases apply after the notice your customers are owed. Buy decks ignore the notice period.

A version can also be activated by hand, with an effective date that is now, in the future or, to correct prices backwards, in the past. Activating by hand does not apply a notice period. Calls already rated keep their price until an operator explicitly re-rates them, and a call on an issued invoice is never re-rated silently.

Vendor sheets by email

Vendors email their rate sheets to a rates address. The flow is:

  1. The mail platform passes the message to YepBoss, which stores it as a rate submission. The same email delivered twice gives one submission.
  2. YepBoss finds the vendor account from the sender's address, then the vendor's buy deck.
  3. It imports one attachment, preferring an .xlsx workbook, then .xls, then .csv, using the sheet and column settings saved on the account.
  4. It writes a draft version and shows the diff, the checks and the suggested effective date.
  5. A person approves or rejects. Approval schedules the version exactly as a manual activation would.

An emailed sheet is never activated automatically. A submission from an unknown sender waits to be assigned to an account. Staff chosen for notifications are told when a sheet arrives.

Customer rate notices

When a sell deck gets new prices, YepBoss emails a rate notice to the accounts priced from that deck, including accounts that use it only as a fallback. Each notice carries an Excel attachment with the full deck and the changes, goes to the addresses marked for rate notices on the account, and is tracked through the mail platform's delivery events, so you can see which customers received it, and which mails bounced. The customer portal also lists the notices an account has been sent.

What is protected

  • A deck that has ever had a version activated or scheduled cannot be deleted. It is retired instead.
  • A deck in use by a connection cannot be deleted.
  • Cancelling is possible only for draft and scheduled versions. An active price is replaced by activating a new version.
  • Every change is written to an audit log.

In the back office

Prices holds the decks, the versions with their rates and diffs, the rate submissions and the FX rates. The import result page updates as the import runs and shows the counts by kind of change, the checks, and the versions written. Export of any version to CSV is available.

Contact sales

Questions about YepBoss?

Ask an engineer about your deployment, or request the full interface specifications and a demonstration of YepBoss on a traffic profile like yours.

  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