Using the Rate Deck Generator

Created by Kelly Evans, Modified on Tue, 24 Nov at 2:13 PM by Kelly Evans

The Rate Deck Generator turns the termination rates your vendors charge you into a customer rate deck. For every code it picks a vendor rate, adds your markup, applies your floors and caps, and saves the result as a rate deck you can assign to customer trunk groups. This article explains how each setting changes the rates and walks through building two decks.

Where: Tools › Rate Deck Generator
Screenshots: a PeerEdge test system, November 2026. Vendor, customer and user names are examples.

Contents

What the generator does

The generator page in PeerEdge Orchestrator has four tabs. Two of them create customer rate decks.

TabWhat it doesCreates a deck
VariableBuilds a customer termination deck from your vendors' rate decks plus your markup. US & Canada or International. Use it for cost-plus pricing that follows your vendor costs.Yes
FLATBuilds a US & Canada termination deck with one rate per region: the 48 contiguous states, Alaska, Hawaii, Canada and toll-free.Yes
LCRRanks your international vendors by cost for a country or for one rate deck.No, it is a report
ExportsHolds the files you export from Variable and FLAT decks, ready to download.No

Each deck you generate is a normal customer rate deck in PeerEdge. You put it into service by assigning or distributing it to customer trunk groups, the same as a deck you upload.

Before you start

  • Vendor rates are loaded. Each vendor trunk group you want to price from needs a termination rate deck of the same kind as the deck you will generate. A Prefix Jurisdiction (NPANXX) or Peering deck reads the vendor's US & Canada prefix deck. A LATA/OCN deck reads the vendor's LATA/OCN deck. A Local deck reads the vendor's Local deck. A vendor with a different kind of deck adds no rates.
  • Vendor decks are up to date. For US & Canada decks the generator reads each vendor's newest rate deck version. That includes a version you uploaded with a future effective date.
  • Customer trunk groups exist. You assign the finished deck to customer termination trunk groups. To use Distribute, each customer relationship also needs a Rate contact with an email address.
  • You have a deck name. The name must be unique among all your rate decks, up to 50 characters, using letters, numbers, spaces and + - _ ( ). Name, direction, location, category and Rate By cannot be changed after you save, so plan them first.

How a Variable deck's rates are calculated

The generator works code by code. For a US & Canada Prefix Jurisdiction deck, a code is a 7-digit NPANXX such as 1-201-200. The interstate and intrastate rates go through these steps separately. The example column follows one code through the steps.

StepWhat happensExample
1. CollectRates for the code from every vendor you selected. Negative rates are ignored.0.0060, 0.2500, 0.5000
2. PickSort the distinct rates low to high and take the one at your LCR depth.depth 2: 0.2500
3. Mark upPercent of the picked rate, or a fixed amount per minute (PPM).20%: 0.0500
4. Limit markupRaise to the minimum markup, lower to the maximum markup.capped at 0.0100
5. Limit rateRate plus markup, raised to the minimum rate and lowered to the maximum rate.0.2600
6. IndeterminateSet from the final interstate and intrastate rates, as you chose.higher of the two
7. RoundTo the decimal precision you chose.0.260000

Worked example

This is code 1-201-200 from the deck built later in this article. Three vendors quote it at $0.0060, $0.2500 and $0.5000 per minute. The settings are Percent markup of 20, minimum markup 0.0010, maximum markup 0.0100 and minimum rate 0.0050.

LCR depthPicked vendor rate20% markupMarkup after limitsCustomer rate
10.00600.00120.00120.0072
20.25000.05000.0100 (maximum)0.2600
30.50000.10000.0100 (maximum)0.5100

The highlighted row is what the generator produced for this code in the demo deck (LCR depth 2).

Rules that change the result

  • LCR depth counts distinct rates. Two vendors at the same rate count once. If fewer vendors quote a code than your depth, the generator uses the highest rate available for that code.
  • Markup limits are amounts per minute, also when Profit Markup is Percent. A minimum markup of 0.0010 means at least a tenth of a cent per minute on every code.
  • A blank Minimum Markup counts as 0. So a negative Profit Value is raised to zero markup. To price below cost on purpose, also enter a negative Minimum Markup.
  • Blank Maximum Markup and Maximum Rate mean no practical cap. A blank Minimum Rate counts as 0.

WATCH OUT

Maximum Rate can price codes below cost. The cap applies after the markup, so any code whose vendor rate is above the cap is sold at the cap. Leave it blank unless you accept a loss on those codes.

CURRENT BEHAVIOR

Pricing Mode: Average and LCR Depth Average currently give the same result as LCR Depth. Leave it on LCR Depth and control pricing with the LCR depth setting.

Max. Vendor Effective Date: for US & Canada decks it currently does not change the result, because the generator always reads each vendor's newest version. The field is required, so enter today's date. For International decks it does matter (see International decks).

Build a Variable US & Canada deck

This walkthrough builds the demo deck Guide Demo - USCAN Variable: a Prefix Jurisdiction (NPANXX) customer deck priced at the second-cheapest of three vendors plus 20%.

Step 1. Start a new generator

Go to Tools › Rate Deck Generator, open the Variable tab and click Add Rate Deck. Enter a Name, keep Termination, choose US & Canada and pick a Category. Origination is not available yet.

Add Rate Deck dialog with the name entered, Termination and US and Canada selected, and the Category list open showing Prefix Jurisdiction (NPANXX), LATA/OCN Jurisdictional, Peering, Local and Toll-Free

Categories for US & Canada termination. Toll-Free needs no vendors: it adds the seven toll-free codes at the 8YY Price.

Step 2. Set the pricing

Choose Profit Markup (Percent or PPM) and enter the Profit Value. Add markup and rate limits if you want them. Pick a Max. Vendor Effective Date (today), the Decimal Precision for rates, the LCR Depth and the Rounding Digits for call charges.

Pricing settings: Pricing Mode LCR Depth, Profit Markup Percent, Profit Value 20, Minimum Markup 0.001, Maximum Markup 0.01, Minimum Rate 0.005, Max Vendor Effective Date 11/24/2026, Decimal Precision 6, LCR Depth 2, Rounding Digits 4

Demo values: 20% markup, at least 0.0010 and at most 0.0100 per minute, minimum rate 0.0050, LCR depth 2.

Step 3. Set the US & Canada options and save

Keep Rate By on LRN unless you rate on the dialed number. Choose how the Indeterminate Rate is set, whether to add toll-free codes (Include 8YY Pricing and 8YY Price), and which countries to include. Click Add Rate Deck. The generator now exists with status Generate Required and no rates yet.

Rate By LRN, US and Canada Settings with Indeterminate Rate set to Higher Of Inter/Intra, Include 8YY Pricing unchecked, Include Canada and Include United States checked

Higher Of Inter/Intra is the safer choice for indeterminate calls: it never bills less than either jurisdictional rate.

Step 4. Choose the vendors

Open the row's ⋮ menu and choose Edit. Scroll to Vendors Considered and tick each vendor trunk group to price from. Each tick is saved at once, and ticked vendors move to the top of the list. Then click Update Rate Deck.

The new generator in the list with status Generate Required and 0 total rates, and its actions menu open: Edit, Assign To Trunk Group, Distribute, Generate, Export, Delete

Every action for a generator is in its row menu. Assign, Distribute and Export work once the deck has rates.

Vendors Considered list with three vendor trunk groups ticked: Vendor B with 250,425 rates, Vendor C with 250,425 rates and Vendor A with 192,209 rates

Rates is the number of codes in the vendor's current deck. A vendor showing 1 or 18 rates covers almost nothing. The list reorders after each tick, so check that the tick landed on the vendor you meant, or use the search box.

Step 5. Generate the deck

Open the row menu again, choose Generate and confirm with Yes, Generate. Keep the page open until the confirmation appears. The demo deck, from three vendors with about 690,000 vendor rates, took about two minutes.

Generate Deck confirmation dialog asking: Are you sure you want to generate Guide Demo - USCAN Variable?

Step 6. Check the result

The status changes to Generated and Total Rates shows the number of codes. The demo deck has 257,259.

The generator row now shows status Generated and 257,259 total rates

Statuses: Generate Required means no rates yet. Generated means up to date. Pending means vendors, settings or trunk group assignments changed since the last Generate.

Step 7. Export and review

Choose Export in the row menu, name the file and click Export Data. When the file shows Completed on the Exports tab, download it with the arrow icon. The demo export was ready in under a minute. Spot-check a few codes against your vendor costs before any customer sees the deck.

Export Data dialog with the file name guide-demo-uscan-variable

Exports tab listing guide-demo-uscan-variable with status Completed and a download icon

Put a deck into service

A generated deck does not rate any calls until it is on a customer trunk group. There are two ways to put it there.

Assign To Trunk GroupDistribute
Customer noticeNoneEmails the deck to the relationship's Rate contacts, using the notification template you choose
EffectiveRight away (applied within about two minutes)On the effective date you set (default seven days ahead; past dates are not allowed)
ConfirmationNot neededOptional per trunk group: Delivered or Opened
Use forNew customers, internal or test trunk groupsRate changes for live customers who are owed notice

Assign to a trunk group

Choose Assign To Trunk Group, pick one or more customer trunk groups and click Assign. The status shows Pending afterward because the assignments changed. That does not mean the deck is waiting to go live.

Assign To Trunk Group dialog with Test Trunk 03 selected

Follow it in Pending Rate Decks

The assignment appears in Tools › Pending Rate Decks. PeerEdge applies pending decks every two minutes. In the demo, the trunk group was rating with the new deck about 40 seconds after Assign, and the entry moved to the Assigned tab.

Pending Rate Decks, Pending tab: Guide Demo - USCAN Variable for Test Trunk 03, effective 2026/11/24, Confirmed, Delivered

Pending Rate Decks, Assigned tab showing the same deck and trunk group

Or distribute with notice

Choose Distribute. In Mass Deck Distribution, select a notification template and the effective date, tick the trunk groups, and set Require Confirmation and the method for each. Click Assign Decks. You can only tick trunk groups whose relationship has a Rate contact.

Mass Deck Distribution dialog with a template selector, effective date 12/01/2026, Assign Decks button and a list of customer trunk groups with Require Confirmation switches and Confirmation Method set to Delivered

The effective date defaults to seven days from today.

CONFIRMATION DEADLINE

PeerEdge applies a distributed deck on its effective date whether or not it was confirmed. If a trunk group requires confirmation and none has arrived by the effective date, PeerEdge deactivates that customer trunk group. A manual confirmation in Tools › Pending Rate Decks activates it again. Only require confirmation where you will follow up before the effective date.

WHAT THE TRUNK GROUP RECEIVES

Each trunk group gets its own copy of the deck at the moment the assignment is applied, named after the deck, the trunk group and the date. In the demo it was Guide Demo - USCAN Variable_530_20261124. You see that copy on the customer relationship's rating.

Keep decks current

Vendor rates change, so plan to re-generate on a schedule.

  • Each Generate makes a new version, effective at once, for the generator's own deck. In the demo, the second run created version 2 with the same 257,259 codes.
  • Trunk groups keep the copy they received. Re-generating a Variable deck does not change the trunk groups that already use it. In the demo, the assigned trunk group stayed on version 1 after version 2 was generated. To move customers to the new rates, Distribute the deck to those trunk groups again.
  • FLAT decks are different. When you choose Generate on a FLAT deck, PeerEdge also queues the new deck for every trunk group the FLAT deck is assigned to.

A routine that works:

  1. Upload the vendors' new rate decks.
  2. Generate the customer deck and export it.
  3. Compare the export with the previous one for increases.
  4. Distribute it with the notice period your contracts require.

Build a FLAT deck

A FLAT deck gives every code in a region the same rate. Interstate, intrastate and indeterminate rates are all equal. It needs no vendors.

Step 1. Enter the regional rates

On the FLAT tab click Add Rate Deck. Enter the Deck Name and a rate for USA 48 (the contiguous states), Alaska, Canada and Hawaii. These four are required. Each rate must be greater than 0, at most 99.999999, with up to six decimals. Tollfree is optional and covers the seven toll-free codes.

Add Flat Rate Deck dialog: Deck Name Guide Demo - USCAN Flat, USA 48 Rate 0.009, Alaska Rate 0.045, Canada Rate 0.012, Hawaii Rate 0.025, Tollfree 0.01

Step 2. Choose increments and deck type, then save

Pick the Initial Increment and Subsequent Increment in seconds (1, 6, 12, 18, 24 or 30; default 6 and 6) and the Deck Type: LRN or DNIS. Click Add Rate Deck. Saving builds the deck right away; this takes a minute or more.

Lower part of the Add Flat Rate Deck dialog: Initial Increment 6, Subsequent Increment 6, Deck Type LRN

Step 3. Check and assign

The new deck appears with its rates and increments. The demo FLAT deck has 226,347 codes (scroll the table right to see Total Rates). Assign or distribute it from the row menu exactly as for a Variable deck. After you edit a FLAT deck's rates, choose Generate to rebuild it.

FLAT tab listing Guide Demo - USCAN Flat, Unassigned, with USA rate 0.009, Alaska 0.045, Canada 0.012, Hawaii 0.025, toll-free 0.01, increments 6 and 6, deck type LRN

International decks

Create an International deck on the Variable tab with Location International and category Dialed or EEA. The pricing settings work as described above. After the first save, Edit shows two tabs, Rate deck info and Settings.

Settings tab of an International generator: Create A-Z LCR and Create A-Z Fallback LCR checkboxes, MCL Template default, a Destinations list with Slovakia, Vietnam and Chile, and Vendors Considered with two vendors ticked

Settings tab of an International generator, with vendors chosen for the selected destination.

  • MCL Template is required. It sets the billing increments of the new deck's destinations.
  • Destinations and Vendors Considered: add destinations, select one, and tick the vendors for it.
  • Create A-Z LCR uses one vendor list for all destinations instead of per-destination lists.
  • Create A-Z Fallback LCR adds a fallback vendor list. While it is ticked, the deck is priced from the fallback list.
  • Max. Vendor Effective Date is the effective date of the new rates and also the cut-off for vendor rates: vendor rates that take effect after it are ignored, and codes a vendor marked expired are left out.
  • One version only: Generate updates an International deck's rates in place with the new effective date instead of adding a version.

Export and review an International deck before you distribute it, as for US & Canada.

LCR and Exports tabs

The LCR tab ranks your international vendors by cost. Create the ranking by MCL (a country, or all countries, from your Master Code List) or by one rate deck, choose how many vendors to rank (LCR depth) and the rate type, EEA or International. The result is a report you download. It is not a customer deck.

Add LCR Rate Deck dialog with LCR Type Create By MCL or Create By Deck, Country, LCR Depth 1 to 10 and Rate Type EEA or International

The Exports tab lists your exported files with their status. A file can be downloaded once its status is Completed.

Settings reference

Variable generator

SettingWhat it doesValues and default
NameName of the generator and of the deck it createsUnique, up to 50 characters; fixed after save
DirectionTermination decks only todayTermination
LocationUS & Canada or InternationalFixed after save
CategoryKind of deck to build; decides which vendor decks are readUS & Canada: Prefix Jurisdiction (NPANXX), LATA/OCN Jurisdictional, Peering, Local, Toll-Free. International: Dialed, EEA
Pricing ModeCurrently all choices give the same result as LCR DepthLCR Depth (default)
Profit MarkupPercent of the picked vendor rate, or PPM: a fixed amount per minuteRequired
Profit ValueThe percent or the amount per minuteRequired; below 10,000; may be negative
Minimum / Maximum MarkupFloor and cap on the markup, as an amount per minute−99.9999 to 1000; blank minimum = 0; blank maximum = no cap
Minimum / Maximum RateFloor and cap on the final rateBlank minimum = 0; blank maximum = no cap
Max. Vendor Effective DateInternational: effective date of new rates and cut-off for vendor rates. US & Canada: currently no effectRequired
Decimal PrecisionDecimal places of the generated rates2 to 6; default 6
LCR DepthWhich distinct vendor rate to price from: 1 = cheapest, 2 = second cheapest, and so on1 to 10; required
Rounding DigitsDecimal places used when the charge for each call rated on this deck is rounded1 to 8; default 4
Rate ByRate calls by the LRN of a ported number, or by the dialed numberPrefix Jurisdiction and LATA/OCN only; LRN (default) or Dialed; fixed after save
Indeterminate RateRate for calls whose jurisdiction cannot be determinedInter, Intra, Higher Of Inter/Intra, Lower Of Inter/Intra
Include 8YY Pricing / 8YY PriceAdds the toll-free codes 800, 833, 844, 855, 866, 877 and 888 at one fixed priceOff by default
Include Canada / Include United StatesWhich countries' codes the deck containsUnited States on, Canada off by default

Always true for US & Canada Variable decks

  • Billing increments are 6 seconds initial and 6 seconds subsequent. There is no increment setting.
  • Toll-free codes are never taken from vendor decks. They are only added through Include 8YY Pricing.
  • Codes of the other NANP countries and territories are always left out: area codes 242, 246, 264, 268, 284, 340, 345, 441, 473, 649, 664, 670, 671, 684, 721, 758, 767, 784, 787, 809, 829, 849, 868, 869, 876 and 939. That includes Puerto Rico, the US Virgin Islands, Guam, the Northern Mariana Islands, American Samoa and the Caribbean countries.

Tips and troubleshooting

Pricing tips

  • Price above the cheapest vendor. An LCR depth of 2 or 3 keeps your margin when calls fail over from the cheapest vendor to the next one.
  • Set a minimum markup so that no code is sold at cost, and a maximum markup to stay competitive on expensive codes.
  • Use Maximum Rate only with care, because it can sell codes below cost.
  • Choose vendors with full decks. Check the Rates column; vendors with only a few codes add little.
  • Mind future-dated vendor uploads. A US & Canada deck already uses them.
  • Name decks by version, for example with the month, so customers and your team can tell decks apart.

Messages and symptoms

You seeWhyWhat to do
"No vendors selected to generate deck."No vendor is ticked in Vendors ConsideredEdit the generator and tick vendors. Toll-Free decks need none.
"Deck name has already been taken."Another rate deck uses the nameChoose a unique name.
Total Rates much lower than expectedThe vendors' decks are small or of a different kindCheck the Rates and Rate Decks columns in Vendors Considered.
Status stays PendingSomething changed since the last GenerateChoose Generate if the rates should reflect the change.
Assign, Distribute or Export unavailableThe deck has no rates yetGenerate it first.
"Please enter a rate contact for this relationship before mass distributing a deck."The customer relationship has no Rate contactAdd a Rate contact to the relationship, or use Assign To Trunk Group.
Customer still billed at old rates after GenerateTrunk groups keep the copy they receivedDistribute the new version to them.

Based on the PeerEdge Orchestrator Rate Deck Generator as of November 2026. Screenshots come from a PeerEdge test system, with vendor, customer and user names replaced by examples.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article