Rate plans and usage
Each answered outbound call is rated on receipt, on three rate plans: the operator’s purchase price, its sale to the reseller, the sale to the customer. Inbound calls, internal calls and unanswered calls are not rated. A received call forwarded to an outside number is rated as an outbound call to that number, from the moment the other party answers to the hang-up.
Rate plans
The Rate plans page groups them by type: Purchase, Sale to resellers and Sale to customers for the operator; Sale to customers for a reseller, who never sees the operator’s purchase prices.
New rate plan: a name, an effective date (a purchase rate plan only applies to calls from that date, counted from midnight in the calling customer’s time zone; by default, today in yours) and its lines, in two ways:
- CSV file: one line per prefix,
prefixe;destination;prix_minute;frais;palier(prefix, destination, price per minute, connection fee, increment), for example+336;Mobiles;0,05;0;60/30. Prices excluding tax in the installation’s currency (no symbol, or only its own:0,05 €in euros,0.05 CHFin Swiss francs). The incrementminimum/stepin seconds:1/1per second,60/60per started minute,60/30first minute indivisible then per 30 seconds. - From another rate plan, with a margin: same lines, prices and fees increased by the percentage given.
The default rate plan of a type applies to any customer (or reseller) that has none assigned. Click a rate plan to see its lines and search for a prefix or a destination. Deleting a rate plan (all its versions) does not change calls already rated.
On screen, prefixes with the same destination and the same prices (price per minute, fee,
increment) are grouped on one line, for example +336, +337 for French mobiles. Beyond four
prefixes, the first three are shown, followed by + N to expand the others; Show less
folds them back. Searching for a prefix finds the line of its group, expanded, with the prefix
searched for highlighted. Grouping only affects the display: the rate plan keeps one line per
prefix, for rating as for the CSV. The customer’s Rates are shown the same way.
Catch-all (other destinations)
The line with the * prefix, the catch-all, covers any destination that no other line of
the rate plan covers: a call is rated by the line with the longest prefix, otherwise by the
catch-all. Only one per rate plan. Providers’ purchase rate plans often have one: it goes into
the CSV as is, for example *;Rest of the world;0,20;0;1/1.
For a sales rate plan, the Catch-all (other destinations) box of New rate plan sets its
price: price per minute, fee and increment (60/60 by default). It replaces the catch-all of
the CSV or of the source rate plan, and the margin does not apply to it. Left empty, the
catch-all of the CSV or of the source rate plan stays, if there is one.
A sales rate plan without a catch-all is marked No catch-all: calls to a destination that is not in it are not billed. In its lines and in the customer’s Rates, the catch-all comes last, under Other destinations.
Editing a rate plan
A rate plan can be changed without importing it again: each change saves a new version, dated, of the same rate plan. The previous version stays in the history: past calls keep their price. Customers and resellers that use the rate plan (assigned, or by default) move to the new version on their own on its effective date: nothing to reassign. Whoever can create a rate plan can edit it (the operator all of its own, a reseller its sale-to-customers rate plans).
On the rate plan’s page, Edit opens the lines of the latest version for editing:
- change a line’s price per minute, connection fee, increment or destination;
- Add a line adds one at the top of the table, Remove removes one;
- the
*catch-all line is edited like the others (only one per rate plan); - the search (prefix or destination) filters the lines shown, useful for a purchase rate plan of several hundred lines; hidden lines are kept as they are.
The rules are those of the CSV import: a faulty line (invalid or duplicate prefix, second catch-all, invalid price, fee or increment) is flagged below it, and saving waits for it to be fixed. Below the table, the count of lines changed, added and removed.
Choose the effective date of the new version (today by default, counted from midnight in the calling customer’s time zone), then Save the new version. A future date keeps the current version in force until then: the rate plan’s page announces it (“A new version of this rate plan is saved…”), and the list of rate plans shows New version on …. A past date is reserved for the operator admin: the new version then also applies to calls already received since that day, but prices already set on them do not change; only calls still without a price are completed, and a price recalculation would take them into account.
Or import a CSV as a new version, below the table: the CSV (same format as at creation) replaces all the lines, from the effective date chosen.
Version history
From the second version on, the rate plan’s page shows the Version history: number, effective date, status (in force, upcoming, previous), number of lines, author and date saved. View opens a version read-only. The rate plan’s header recalls the version shown (“Version 2 of 1 Dec 2026”).
Each call is rated by the version in force on the day of the call, on receipt as during a
recalculation. For purchase rate plans, the latest effective date wins, across all purchase rate
plans. A sales rate plan applies as soon as it is assigned: before the effective date of its
first version, that first version applies. Each new version is written to the audit log
(grille.versionner), with the number of lines changed, added and removed. Through the API:
POST /grilles/{id}/versions (lines or CSV, effective date), GET /grilles/{id}/versions and
GET /grilles/{id}/versions/{version}.
The service part of premium-rate (SVA) numbers stays outside any rate plan and any version (see below).
Assigning a rate plan
On a customer’s page, the Pricing card chooses its sale rate plan among those of its operator or reseller; on a reseller’s page, the operator chooses its sale-to-reseller rate plan. The change applies to the next calls; calls already received keep their amounts.
The customer admin reads their sale rate plan, without being able to change it, in the Rates menu of their space: rate plan name, effective date, prices by destination. They see neither the purchase prices nor the sale-to-reseller rate plan.
Calls received before their rate plan
A call received while no rate plan applied (customer without a sales rate plan, no purchase rate plan in force yet that day, destination missing from a rate plan without a catch-all) stays without an amount. Creating a rate plan, assigning one or changing the default rate plan completes these calls at once, if there is now a rate plan for them; an amount already set never changes. A purchase rate plan only applies from its effective date: older calls stay without a purchase price.
On the VM, kanadr revaloriser does the same for all customers (--client <id> for one,
--depuis YYYY-MM-DD for calls from that day). Each re-rating is written to the audit log.
Recalculating prices
To correct a wrong rate plan before billing, the operator admin can recalculate the prices already set for a customer over a period: the customer’s page, Trunk and usage cap tab, Recalculate prices card. Choose the first and last day (included, in the customer’s time zone), then Preview: the number of calls whose price changes and, for the purchase, the sale to the reseller and the sale to the customer, the total before, after and the difference. Nothing is written until you click Apply the recalculation and confirm. Calls are recalculated on the rate plans in force on the day of each call. The recalculation is written to the audit log, with the period and the difference. Support and resellers do not see this card.
On the VM, the same thing:
kanadr revaloriser --forcer --client <id> --depuis 2026-10-01 --jusqu-a 2026-10-17
kanadr revaloriser --forcer --client <id> --depuis 2026-10-01 --jusqu-a 2026-10-17 --appliquer
Without --appliquer, the command shows the preview (calls, totals before and after,
difference) and writes nothing. --forcer requires --client and --depuis; without
--jusqu-a, the period runs until now.
Amounts in the call log
A customer’s Call log shows the amounts of each call, depending on your role, with the period total at the bottom of the table (all the calls of the chosen period and extension):
- operator (admin, support, assistance): Purchase excl. tax, Reseller sale excl. tax (customer of a reseller), Customer sale excl. tax and Margin excl. tax, your sale (to the reseller, otherwise to the customer) minus the purchase;
- reseller: Purchase excl. tax, what you pay the operator, and Customer sale excl. tax;
- customer and its users: Cost excl. tax, their price.
“—”: a call that is not billed, or without an amount (see above). Export (CSV) includes the
same amounts, with a marge (margin) column for the operator.
A call to a premium-rate (SVA) number costs its call charge, according to the rate plans, plus the service charge at the number’s official rate, the same at purchase and sales, with no margin: “incl. service” under each amount. It is in no rate plan; a call marked service to re-rate has provisional amounts, taken up automatically (see Premium-rate numbers).
Usage
The Customers list shows, for the chosen month (top of the page) and for each customer, the rated calls, the billed minutes and the amounts: purchase (operator only), sale to reseller and sale to customer, with the total. Months follow your organization’s time zone. Export calls (CSV) downloads the details of the outbound calls of the same month, the basis for billing.
Margin
Next to these amounts, the list shows the Customer subscription (and the Subscription to reseller for a reseller’s customers) counted this month, then each customer’s Margin, with their totals: the subscription and call sales, minus purchases.
- operator: the subscription and calls you sell (to the reseller for a reseller’s customer, otherwise to the customer) minus the purchase of the calls;
- reseller: the subscription and calls you sell to the customer minus what you pay the operator for them.
The subscription is the price entered by hand on the customer’s page (see Subscription price). The list follows the calendar month: it counts there once, in full, in the month of its due date (the cycle day, the 1st without a start date); the first month counts if the due date falls on the start day or after, and a terminated customer no longer counts. Without a price entered, the margin is that of the calls alone: if you sell calls at zero (unlimited plan), it is negative and equals their purchase cost. A missing amount counts as zero. This is not an invoice.
The customer’s page shows the same margin, for the current month, in the Margin this month tile, and that of the current subscription cycle in the Subscription tab; the operator’s home page, in the This month module (with Subscriptions this month). The calls CSV export only contains calls: the subscription is not in it.