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
- Before you start
- How a Variable deck's rates are calculated
- Build a Variable US & Canada deck
- Put a deck into service
- Keep decks current
- Build a FLAT deck
- International decks
- LCR and Exports tabs
- Settings reference
- Tips and troubleshooting
What the generator does
The generator page in PeerEdge Orchestrator has four tabs. Two of them create customer rate decks.
| Tab | What it does | Creates a deck |
|---|---|---|
| Variable | Builds 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 |
| FLAT | Builds a US & Canada termination deck with one rate per region: the 48 contiguous states, Alaska, Hawaii, Canada and toll-free. | Yes |
| LCR | Ranks your international vendors by cost for a country or for one rate deck. | No, it is a report |
| Exports | Holds 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.
| Step | What happens | Example |
|---|---|---|
| 1. Collect | Rates for the code from every vendor you selected. Negative rates are ignored. | 0.0060, 0.2500, 0.5000 |
| 2. Pick | Sort the distinct rates low to high and take the one at your LCR depth. | depth 2: 0.2500 |
| 3. Mark up | Percent of the picked rate, or a fixed amount per minute (PPM). | 20%: 0.0500 |
| 4. Limit markup | Raise to the minimum markup, lower to the maximum markup. | capped at 0.0100 |
| 5. Limit rate | Rate plus markup, raised to the minimum rate and lowered to the maximum rate. | 0.2600 |
| 6. Indeterminate | Set from the final interstate and intrastate rates, as you chose. | higher of the two |
| 7. Round | To 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 depth | Picked vendor rate | 20% markup | Markup after limits | Customer rate |
|---|---|---|---|---|
| 1 | 0.0060 | 0.0012 | 0.0012 | 0.0072 |
| 2 | 0.2500 | 0.0500 | 0.0100 (maximum) | 0.2600 |
| 3 | 0.5000 | 0.1000 | 0.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.

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.

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.

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.

Every action for a generator is in its row menu. Assign, Distribute and Export work once the deck has 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.

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

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.


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 Group | Distribute | |
|---|---|---|
| Customer notice | None | Emails the deck to the relationship's Rate contacts, using the notification template you choose |
| Effective | Right away (applied within about two minutes) | On the effective date you set (default seven days ahead; past dates are not allowed) |
| Confirmation | Not needed | Optional per trunk group: Delivered or Opened |
| Use for | New customers, internal or test trunk groups | Rate 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.

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.


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.

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:
- Upload the vendors' new rate decks.
- Generate the customer deck and export it.
- Compare the export with the previous one for increases.
- 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.

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.

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.

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, 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.

The Exports tab lists your exported files with their status. A file can be downloaded once its status is Completed.
Settings reference
Variable generator
| Setting | What it does | Values and default |
|---|---|---|
| Name | Name of the generator and of the deck it creates | Unique, up to 50 characters; fixed after save |
| Direction | Termination decks only today | Termination |
| Location | US & Canada or International | Fixed after save |
| Category | Kind of deck to build; decides which vendor decks are read | US & Canada: Prefix Jurisdiction (NPANXX), LATA/OCN Jurisdictional, Peering, Local, Toll-Free. International: Dialed, EEA |
| Pricing Mode | Currently all choices give the same result as LCR Depth | LCR Depth (default) |
| Profit Markup | Percent of the picked vendor rate, or PPM: a fixed amount per minute | Required |
| Profit Value | The percent or the amount per minute | Required; below 10,000; may be negative |
| Minimum / Maximum Markup | Floor and cap on the markup, as an amount per minute | −99.9999 to 1000; blank minimum = 0; blank maximum = no cap |
| Minimum / Maximum Rate | Floor and cap on the final rate | Blank minimum = 0; blank maximum = no cap |
| Max. Vendor Effective Date | International: effective date of new rates and cut-off for vendor rates. US & Canada: currently no effect | Required |
| Decimal Precision | Decimal places of the generated rates | 2 to 6; default 6 |
| LCR Depth | Which distinct vendor rate to price from: 1 = cheapest, 2 = second cheapest, and so on | 1 to 10; required |
| Rounding Digits | Decimal places used when the charge for each call rated on this deck is rounded | 1 to 8; default 4 |
| Rate By | Rate calls by the LRN of a ported number, or by the dialed number | Prefix Jurisdiction and LATA/OCN only; LRN (default) or Dialed; fixed after save |
| Indeterminate Rate | Rate for calls whose jurisdiction cannot be determined | Inter, Intra, Higher Of Inter/Intra, Lower Of Inter/Intra |
| Include 8YY Pricing / 8YY Price | Adds the toll-free codes 800, 833, 844, 855, 866, 877 and 888 at one fixed price | Off by default |
| Include Canada / Include United States | Which countries' codes the deck contains | United 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 see | Why | What to do |
|---|---|---|
| "No vendors selected to generate deck." | No vendor is ticked in Vendors Considered | Edit the generator and tick vendors. Toll-Free decks need none. |
| "Deck name has already been taken." | Another rate deck uses the name | Choose a unique name. |
| Total Rates much lower than expected | The vendors' decks are small or of a different kind | Check the Rates and Rate Decks columns in Vendors Considered. |
| Status stays Pending | Something changed since the last Generate | Choose Generate if the rates should reflect the change. |
| Assign, Distribute or Export unavailable | The deck has no rates yet | Generate it first. |
| "Please enter a rate contact for this relationship before mass distributing a deck." | The customer relationship has no Rate contact | Add a Rate contact to the relationship, or use Assign To Trunk Group. |
| Customer still billed at old rates after Generate | Trunk groups keep the copy they received | Distribute 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
Feedback sent
We appreciate your effort and will try to fix the article