Overview
A unit of measure is the name of the thing you bill for: an API call, a seat, a gigabyte. You define each unit once in your product catalogue, give it a singular and a plural name, translate it into the languages your customers use, and then pick it on your usage-based billing products. Every product that uses the same unit shows the same wording on invoices, in every language.
Limitations
Units can only be created on the Unit of measure pages, not from the picker on a product.
A handle is unique per account and can't be changed once the unit has been created.
Units are picked in the admin on usage-based billing products. On add-ons and on subscription level, units are linked through the API only.
Open the Unit of measure page
Click on Configuration → Product catalogue → Unit of measure.
The list shows every unit on your account:
Column | Description |
|---|---|
Handle | API name of the unit |
Name | Singular name, for example API call |
Plural | Plural name, for example API calls |
Status | Shows whether the unit is active or deleted |
Create a unit of measure
Click on + New.
Enter a Name, the singular form of the unit, for example API call.
Enter the Plural, for example API calls.
Check the Handle. It's taken from the name automatically. To change it, click on the pen symbol.
Click on Create.
The new unit appears in the list and can be picked on your usage-based billing products straight away.
Note
The handle can only be changed while you are creating the unit. Handles are unique across your account, including the handles of deleted units. Names and plurals may repeat.
Translate a unit of measure
Customers see the unit name on their invoices, so translate it into every language you bill in.
Click on the name of the unit in the list.
Open the translations.
Enter a singular and a plural for each language enabled on your account.
Click on Save.
The languages offered here are the ones enabled on your account's languages page. Enable a language there first if it's missing.
Edit or delete a unit of measure
To edit a unit, click on its name in the list, change the name, the plural or a translation, and click on Save. You can do this while products are using the unit; the change applies everywhere the unit is used.
To delete a unit, open it and click on Delete. Deleting is a soft delete: products that already use the unit keep it, and the unit stays in the list with the status Deleted. It can't be picked for new products.
Pick a unit on a usage-based product
Click on Configuration → Product catalogue → Usage-based billing.
Create a new product, or open an existing one.
Select the unit from the Unit picker. It lists all active units on your account.
Click on Save.
If the unit you need doesn't exist yet, use the Manage units link next to the picker to open the Unit of measure page and create it there.
What happened to my existing unit labels
Before units of measure, the unit was free text on each usage-based product. Those labels were converted into units automatically:
One unit was created for each distinct label on your account. Labels that differ only in upper and lower case became separate units.
Each converted unit has the same text as its singular and its plural. Check these and correct the plural where it's wrong.
Every usage-based billing product and subscription metered product was linked to its unit.
Amounts and existing invoices are unchanged.
Tip
Go through the list once after the conversion: correct the plurals, merge duplicates that differ only in spelling by moving the products to one unit, and add your translations.
What to do next
After you have defined your unit of measure, you can create your usage-based billing product. For a detailed set-up guide click here: Usage-based billing
An overview on how usage-based billing products work in Frisbii Billing, click here: How usage-based billing works: from product setup to credit note