Building Blocks
- Overview
- Service Type
- Billable Service
- Usage Type
- Multi-rate Usage Type
- View Existing Multi-rate Usage Types
- Filter Attributes for the Multi-rate Usage Type
- Sort Attributes for the Allowance Resource
- View Details of a Specific Multi-Rate Usage Type
- Add a New Multi-rate Usage Type
- Modify Existing Multi-rate Configuration
- Delete a Multi-rate Usage Type Configuration for the Client
- Sequence the Child Usage Type Entries in a Multi-rate Usage Type Configuration
- Expression Builder with Multi-rate Usage Type Child Entries
- Add an Expression
- Unit of Measure
Overview
This section covers the definition and management of some of the Allegro building blocks configuration that is critical to Allegro management. As the name suggests, these are some simple building block configurations. All these building blocks need to be pre-configured for the client before these can be used with monetization models.
This section covers the following building blocks:
- Service Type—The service type provides another level of grouping monetization plans, raw and monetized usage data. With a Telecom example VOICE, SMS, DATA are defined as service types each of which in turn will require one or more usage types.
- Billable Service—These are defined and configured in core Aria, referred to as services that can be added to a plan. They are automatically synchronized with Aria Allegro
- Usage Type—These are defined and configured in core Aria that can be added to a plan. They are automatically synchronized with Aria Allegro.
- Multi Rate usage Type—These are defined using the usage type configuration to support multiple pass rating for a single usage record.
- Units of Measure—for future use for LATAM countries and folio management.
Service Type
Users are required to configure all the service types for all the business units supported by a client in the deployment. With a Telecom example, the service type can be VOICE, DATA, SMS. It provides another level of grouping to monitor and track all the data for a given service type.
View Existing Service Types
- Click on the Usage switch (Usage/Account toggle switch) in the navigation pane
- Click on the Configurations menu option in the navigation panel. This will expand the sub-menu for Configurations in the Navigation Pane.
- Click on the Building Blocks menu option in the navigation pane
- Click on the Service Type tab in the Activity Pane.
- This will fetch the existing set of service types configured for the client and show a line for each service type on the table.
Filter Attributes for the Service Type
- Service Type: Filter based on the service type configured. It is a case-insensitive, partial match filter. For example, if we use the filter as "cloud", then it will match all the service types that have a case in-sensitive "cloud" as part of the name.
Sort Attributes for the Service Type
- Service Type: Sort ascending or descending based on the service type.
This is shown in the following screenshot:

View Details of a Specific Service Type
- Navigate using "To view existing service type"
- Select and click the service type. This will open the drawer and allow you to modify the data
Add a New Service Type
- Navigate using "To view existing service type"
- Click the Add Service Type button towards the top-right corner of the activity pane. This will open a drawer to add details of the new service type.
- In the first field, either select a Service Type from the dropdown list available OR type a new service Type. All Caps is usually preferred
- The UI will automatically copy the same in the next Name field for the service type as default. You can edit the name field, if required.
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
- Click on the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the service types.
Modify Existing Resource Configuration
Since it is a very simple configuration, the only attribute you can modify is the name of the service type which is reference only.
- Navigate using "To view existing service type"
- Click the Id link button with the ID highlighted in the Aria Blue color to open the drawer to modify the service type.
- Modify the attributes (the ID field cannot be modified) inline as required.
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
Click on the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the currency resources.
Delete a Service Type for the Client
Aria Allegro manages the referential integrity if the service type is still in use in other configurations. Only when the service type is no longer referenced, it will allow the users to delete a service type.
- Navigate using "To view existing service types"
- Select the service type from the table.
- Press the Trash container icon in the same row on the right-hand side.
- Press the Save button to save the deletion of the service type. Please note that if the service type is used and referenced in other configurations, then it will throw an error.
- To cancel the deletion prior to Saving it, press the Cancel button to revert.
Billable Service
You configure the services in core Aria as it is done today. These services are then automatically synchronized with Aria Allegro. The name change is to differentiate between a Billable Service and a Service Type in Aria Allegro. Please note that only minimal definition of the billable service is required in Aria Allegro so you will see a select set of attributes associated with the billable service in Aria Allegro UI.
View Existing Billable Services
- Click on the Usage switch (Usage/Account toggle switch) in the navigation pane
- Click on the Configurations menu option in the navigation panel. This will expand the sub-menu for Configurations in the Navigation Pane.
- Click on the Building blocks menu option in the navigation pane
- Click on the Billable Service tab in the Activity Pane.
- This will fetch the existing set of service types configured for the client and show a line for each service type on the table.
Filter Attributes for the Billable Services
- Name: The name of the billable service. It is a case-insensitive, partial match filter. For example, if we use the filter as "voice", then it will match all the billable services that have a case in-sensitive "voice" as part of the name.
- Service Type: Select the service type from the dropdown list to filter all billable services of a given service type. This works as an Exact Match with the dropdown list.
- Usage Type No: With Aria Catalog reference, you can use the usage type number to find the specific billable service. This filter is an exact match filter.
Sort Attributes for the Allowance Resource
- Name: Ascending or descending sort based on the name of the billable service.
- Service Type: Ascending or descending sort based on the service type associated with the billable service.
- Usage Type No: Ascending or descending sort based on the usage type number associated with the billable service.
This is shown in the following screenshot:

View Details of a Specific Billable Service
- Navigate using "To view existing service type"
- Select and click the billable service ID link. This will open the drawer and allow you to modify the data
Add a New Service Type
- You only add new services using Aria Admin UI and not through Aria Allegro. This is so that monetized transactions that flow back from Aria Allegro to Aria Billing Cloud will have the right reference to ensure invoicing and other functionality.
Modify Existing Resource Configuration
You only modify existing services using Aria Admin UI and not through Aria Allegro. This is so that monetized transactions that flow back from Aria Allegro to Aria Billing Cloud will have the right reference to ensure invoicing and other functionality. Users are only required to associate an Aria Service Type for a Billable Service.
- Navigate using "To view existing service type"
- Click the Id link button with the ID highlighted in the Aria Blue color to open the drawer to modify the service type.
- Find the Service Type field and associate the Aria Allegro service type by selecting one from the dropdown list. Please note that Allegro UI populates the dropdown list using the service type configuration.
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
- Click on the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the currency resources.
Usage Type
You configure the usage types in core Aria as it is done today. These usage types are then automatically synchronized with Aria Allegro. Please note that only minimal definition of the billable service is required in Aria Allegro so you will see a select set of attributes associated with the usage type in Aria Allegro UI.
View Existing Usage Types
- Click on the Usage switch (Usage/Account toggle switch) in the navigation pane
- Click on the Configurations menu option in the navigation panel. This will expand the sub-menu for Configurations in the Navigation Pane.
- Click on the Building Blocks menu option in the navigation pane
- Click on the Usage Type tab in the Activity Pane.
- This will fetch the existing set of usage types configured for the client and show a line for each service type on the table.
Filter Attributes for the Usage Type
- Name: The name of the usage type. It is a case-insensitive, partial match filter. For example, if we use the filter as "call", then it will match all the usage types that have a case in-sensitive "call" as part of the name.
- Usage Type No: With Aria Catalog reference, you can use the usage type number to find the specific usage type. This filter is an exact match filter.
Sort Attributes for the Usage Type
- Name: Ascending or descending sort based on the name of the usage type.
- Usage Type No: Ascending or descending sort based on the usage type number associated with the usage type.
This is shown in the following screenshot:

View Details of a Specific Multi-rate Usage Type,
- Navigate using "To view existing multi rate usage types"
- Select and click the billable service ID link. This will open the drawer and allow you to view the data
Add a New Multi-rate Usage Type
- You only add new usage types using Aria Admin UI and not through Aria Allegro. This is so that monetized transactions that flow back from Aria Allegro to Aria Billing Cloud will have the right reference to ensure invoicing and other functionality.
Modify an Existing Usage Type
- You only modify existing usage types using Aria Admin UI and not through Aria Allegro. This is so that monetized transactions that flow back from Aria Allegro to Aria Billing Cloud will have the right reference to ensure invoicing and other functionality.
Multi-rate Usage Type
Multi rate usage type is a configuration which allows definition of grouping usage types for multi-pass rating. If every single usage record of certain type requires multiple rates to be applied, then Multi Rate usage type configuration provides that support. An example of a multi-rate usage type is where for a single input usage record you need to apply the following fees:
- Access fee
- Usage Fee
- Usage Surcharge
Similarly, there can be many more examples of applying Multiple usage rates for a single usage record. Allegro allows setup of different monetization models for each fee applied on a usage record. Hence it manages each rate as an iterative process in the usage processing engine. The configuration is set up the way it is to allow the choice of showing the combined invoice line or separate invoice lines, separate GL account setup and more. Multi rate usage-type will only work with pre-configured set of usage types in core Aria.
View Existing Multi-rate Usage Types
- Click on the Usage switch (Usage/Account toggle switch) in the navigation pane
- Click on the Configurations menu option in the navigation panel. This will expand the sub-menu for Configurations in the Navigation Pane.
- Click on the Building Blocks menu option in the navigation pane
- Click on the Multi Rate Usage Type tab in the Activity Pane.
- This will fetch the existing set of multi rate usage types configured for the client and show a line for each service type on the table.
Filter Attributes for the Multi-rate Usage Type
- Service Type: Select the service type from the dropdown list to filter all billable services of a given service type. This works as an Exact Match with the dropdown list.
- Subscription Category: Select the multi-rate usage type setting based on the subscription category (Postpaid, Prepaid, Prepaid with AAA, etc) by selecting the value from the dropdown list. This is an Exact match filter
- Usage Type No: With Aria Catalog reference, you can use the usage type number to find the specific billable service. This filter is an exact match filter.
Sort Attributes for the Allowance Resource
- Service Type: Ascending or descending sort based on the service type associated with the billable service.
- Subscription Category: Ascending or descending sort based on the subscription category for which the multi-rate usage configuration is set up.
- Usage Type No: Ascending or descending sort based on the usage type number associated with the billable service.
This is shown in the following screenshot:

View Details of a Specific Multi-Rate Usage Type
- Navigate using "To view existing multi rate usage-type"
- Select and click the service type ID link. This will open the drawer and allow you to modify the data
Add a New Multi-rate Usage Type
- Navigate using "To view existing multi rate usage-type"
- Click the Add Multi Usage Type button towards the top-right corner of the activity pane. This will open a drawer to add details of the new multi rate usage type configuration.
- In the first field, select a Service Type from the dropdown list available. This attribute only provides an easy reference to differentiate from multiple such configurations.
- For the next field Subscription Category, select the value from the dropdown list. Some of the values are for future use. These are:
- POSTPAID—a postpaid subscription
- PREPAID—a prepaid subscription
- PREPAID_AS_POSTPAID—a prepaid subscription in essence but may require invoice generation for all or specific usage cases. This may not be required for all regions.
- In the next field Usage Type, select the usage type field from the dropdown list. Please note that the Allegro UI populates the dropdown list using the usage-type configuration.
- Allegro UI will automatically populate the ID associated with the selected Usage type in the next field.
- The next field Invoice line using child entries is a check box field. For the configuration, if you want the invoice lines to show each child usage type, then select the checkbox. Otherwise, leave it unselected. If unselected, the invoice line is assumed to be presented as combined parent level usage type only.
- The next field Usage Type dependencies is a check box field. For the configuration, if you are going to add a child usage type which is dependent on another child usage type, then you should select the check box. This is an Allegro UI trying to control data entry.
- An example of the usage type dependencies is with our example in this section where the Surcharge usage-type can be a fixed percentage of the of the usage fee, then you are not required to set up a price plan for the surcharge and can instead provide an override within this configuration itself. This is an optimization allowed in the configuration.
- Refer to the Quick Notes button which provides the following information
- Select the "Invoice line using child entries" to determine the level at which to aggregate monetized usage when usage aggregation for invoicing is enabled. If the checkbox is enabled, aggregation will use the child usage types, otherwise the parent usage type.
- Select the "Usage Type dependencies" if the monetization for subsequent entries is dependent on the previous entries. For example, with two usage types "Usage fee" and "Usage Surcharge", Usage Surcharge entry can be X% of previous Usage fee entry. Surcharge will only be calculated on the net value of the Usage fee. Otherwise, leave the checkbox disabled.
- The Expression field is used for dependencies to evaluate the Quantity. In our example, the entry for Usage Surcharge can build the expression using the Usage Fee value and that will be used as a quantity.
- If the Percent field is used for any dependencies, then a flat %age will be applied on the expression value as an override to the actual pricing configured for the usage-type. In our example, Usage surcharge may have a pricing model configuration set, but in the context of the multi-rate configuration if the percent value is provided, the monetization model configuration for usage surcharge will be ignored.
- Note that the UI allows sequencing of the usage type rows in a multi-rate configuration. With the use of expression and percent, use the sequence wisely and set the expression/percent field accordingly. Expression and Percent field will always be disabled for the first row.
- To add multi pass usage types (child entries), press the Add Button to add a row for each child-entry required.
- The first two fields are mutually exclusive.
- If Invoice Line using child entries check box is not selected, then Allegro expects that you can type any value in the second field Usage Sub Type for the child entry (the first field is disabled) as it will all be sent back to Aria Billing cloud with the parent usage type reference.
- If Invoice Line using child entries check box is selected, then Allegro expects that you select the value for the first field Usage Type from the dropdown list of usage types configured (the second field is disabled).
- If the checkbox for Usage Type dependencies is left unchecked (not selected), then the next set of fields are disabled. Otherwise,
- In the next field Expression reference the expression builder with Multi Rate Usage Type.
- In the next field Percent enters a percentage value. This is specified as a decimal value between 0 to 1. For example, 0.15 for 15%. The percentage is applied on the value derived by the expression.
- Continue to Add more child rows for each pass by pressing the Add Usage Type button and repeating the process.
- The first two fields are mutually exclusive.
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
- Click on the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the service types.
Modify Existing Multi-rate Configuration
Since it is a very simple configuration, the only attribute you can modify is the name of the service type which is reference only.
- Navigate using "To view existing multi rate usage-type"
- Click the Id link button with the ID highlighted in the Aria Blue color to open the drawer to modify the service type.
- Modify the attributes (the ID field cannot be modified) inline as required and as detailed in the "To add a new multi-rate usage-type configuration".
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
Click on the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the currency resources.
Delete a Multi-rate Usage Type Configuration for the Client
Deleting a multi rate usage type configuration will stop processing multi passes for the existing configuration. Hence, use it wisely.
- Navigate using "To view existing multi rate usage types"
- Select the multi rate usage-type from the table.
- Press the Trash container icon in the same row on the right-hand side.
- Press the Save button to save the deletion of the multi rate usage-type configuration.
- To cancel the deletion prior to Saving it, press the Cancel button to revert.
Sequence the Child Usage Type Entries in a Multi-rate Usage Type Configuration
For each multi rate usage type configuration, the user has the Sequencing icon available to sequence the child entries. Please note that in this configuration, with the possible use of expressions, may have inter-dependences which should be reviewed to ensure all the configuration is correct when you re-sequence the entries.
- Navigate using "To view existing multi rate usage types"
- Select the multi rate usage-type from the table and press the ID Link. This will open the drawer with the configuration and a sub-table for child entries.
- Use the Sequencing icon on the left side of each row (3 rows of two dots), press and hold the left key on the mouse or pad and move the row up/down. Repeat this process until you are satisfied with the sequencing. Review the dependency entries for correctness before saving your changes.
- Press the Save button to save the save the sequencing within a multi rate usage-type configuration.
- To cancel the sequencing prior to Saving it, press the Cancel button to revert.
Expression Builder with Multi-rate Usage Type Child Entries
If you want a different and independent monetization model for each child usage type for each pass of rating the usage record, then make sure that you unselect the Usage Type Dependencies field. Otherwise, an expression field for each subsequent row will be required.
This expression builder is slightly different from other expression builders with Accumulators or Rate Units because of the interdependencies between child entries. In our example if the sequence of the child entries (each pass of rating) is Access Fee Usage Fee Usage Surcharge, then
- Access fee does not require an expression. The pricing will come from the monetization model associated with the Access fee since it is the 1st entry.
- Usage Fee can be an independent monetization model OR can be an expression using the Access Fee (previous entry)
- Usage Surcharge can be an independent model OR can be an expression using one or both of Access Fee and Usage Fee (previous entries)
- And so on for additional rows.
Add an Expression
- The first field in the expression builder is the expression pane. There are two options for the user to build the expression. These are:
- Type the expression in the expression pane OR
- Use the operators, operands and fields below the expression pane to build an expression.
- Tools available for expression builders are:
- Operators—These are multiply ‘*’, divide ‘/’, add ‘+’, subtract ‘-‘, left bracket ‘(‘, right bracket ‘)’, minimum operator ‘min’, maximum operator ‘max’.
- Select Field—Select the field from the dropdown list. Please note that with the sequence of child entries allowed and interdependence between rows,
- For the first row, the dropdown list will be empty
- For the second row, the dropdown list will show one entry with reference to the first row in the configuration. For this row, you can build an expression around the first-row entry (Engine uses the gross amount field impact from the 1st row (1st pass rating).
- For the third row, the dropdown list will show two entries with reference to the entries in the first two rows in the configuration. For this row, you can build an expression around the first two row entries (Engine uses the gross amount field impact from the 1st two rows (1st pass rating)
- And so on.
- To build the expression let us use the following example,
- Access fee is an independent monetization model, so no expression is required.
- Usage fee is 125% of the access fee. Expression will be ‘Access Fee’ and the percentage field will be 1.25
- Usage surcharge is 15% of the sum of activation fee and the usage fee. Expression will be ‘AccessFee + UsageFee’ and the percentage field will be 0.15
- Typing the expression manually. It is advised that you use the expression builder to avoid typing errors.
- In the expression pane type expression as ‘AccesFee’ for the 2nd row of Usage Fee
- In the expression pane type expression as ‘AccessFee + UsageFee’ for the usage surcharge row.
- Using the operators and operands from the toolbox
- For the Usage Fee (2nd row)
- Select the Access Fee from the Select Field dropdown list from the toolbox. You will see the expression shows as "AccessFee" in the expression pane.
- Click Save for the expression and it will take you back to the multi-rate usage-type configuration drawer.
- For the Usage Surcharge (3rd row)
- Select the Access Fee from the Select Field dropdown list from the toolbox. You will see the expression shows as "AccessFee" in the expression pane.
- Select the Add operator from the toolbox. This will show the expression as "AccessFee +"
- Select the UsageFee Fee from the Select Field dropdown list from the toolbox. You will see the expression shows as "AccessFee + UsageFee" in the expression pane.
- Click Save for the expression and it will take you back to the multi-rate usage-type configuration drawer.
- For the Usage Fee (2nd row)
- Click on the SAVE button at the bottom right corner of the drawer. This will push the changes to save the expression to go back to the previous drawer.
- Click on the CANCEL button at the bottom right corner of the drawer to cancel all the expressions and go back to the main activity pane for the accumulator resource.
Unit of Measure
This is a placeholder for future use especially for LATAM countries. Most LATAM countries require folio (invoice, credit memo, debit memo, payment complement) to be stamped by the regulatory body generally referred to as SAT, supported by recognized technology partners generally referred to as PAC. Each country folio management requires a regulatory unit of measure code to be setup for interfacing with the PAC/SAT for folio management.