When you have set up pricing for your Product Plans, attached these to end customer Accounts, and created any Prepayments/Commitments or Balances for Accounts that need them, you can generate some test Bills for these Accounts. To do this, you’ll need to first feed some sample usage data measurements into the m3ter platform before you generate test Bills for Accounts. You can exploit a very useful feature built into the Console, which allows you to submit test usage data into m3ter directly from a Meter Details pages:Documentation Index
Fetch the complete documentation index at: https://docs.m3ter.com/llms.txt
Use this file to discover all available pages before exploring further.
- For a specific Account.
- For the Meter data collection fields which are the basis for charging the Account.
- The Name or Code of the Account for which you want to submit usage data measurements and then go on to check billing.
- The Meters whose Data Fields are the Target Fields for the Aggregations which you used to configure the Pricing for the Plan you’ve attached to the Account.
Submitting Test Usage Data
You can submit test usage data measurements for ingest into the platform directly from Meter Details pages. To submit test usage data:- Select Metering. The Meters page opens and lists Meters by Product for All Products together with any Global Meters.
- You first need to locate the Meter whose Data Fields were Target Fields for the Aggregation used for pricing the Plan you’ve attached to the Account:
- You can select or search for the Product to which the Meter belongs. Use the Products drop-down at top-right, select the Product the Meter belongs to. The Meters page adjusts and shows:
- The selected Product and any existing Meters created for it.
- Any Global Meters.
- Alternatively, in the Search box at top-left, start to type in the name of the Meter. The Meter pages adjusts as you type and shows:
- The Meters whose name matches the entered text string and listed under the Product they belong to.
- Any Global Meters whose name matches the entered text string.
- Select the NAME hotlink text of the Meter you want to submit test data for. The Meter Details page opens.
- Scroll down the page to the Submit Measurements panel. This contains three tabs:
- Ingest API. Default selection offering advice on how to use the Submit Measurements API call to the m3ter Ingest API, together with code snippets in different languages that you can copy directly to your clipboard. For more details, see Getting Started with API Calls.
- File Upload API. If you have prepared a usage data measurements file in JSON format ready for upload using the File Upload Service, you can perform the upload directly in the Console. See File Upload Service API for more details.
- Upload CSV. Allows you to upload a
CSVformatted file for usage data measurements ingest. For more details, see File Uploads for Usage Data by Meter. - Submit usage data. Allows you to submit usage data measurements for the Meter’s Data Fields for specified Accounts.
- Select the Submit usage data tab.
- On the Submit usage data tab you can submit usage data for the Meter:
- Using the default Simple UI format:
- A measurement UID is entered automatically.
- A Timestamp date/time is entered for the current date and time. You can adjust this as required, and you might want to enter a date/time value that is in the past for your submission - see the section below for more details. (Required)
- End timestamp. Can be used in those cases where a usage event needs to have an explicit start and end rather than being instantaneous. (Optional)
- The Code string for the Meter is entered - this is the required parameter for a Submit Measurements API call to the Ingest API.
- You can select the Account for which you want to submit usage data for charging the Account. (Required)
- Enter a Value for each of the Meter Data fields as required for the usage data submission. In this example, the selected Meter has a single MEASURE numeric Data Field:

- Alternatively, you can switch to Advanced, where you can edit the raw JSON for the usage data submission:

- Select Submit usage. If the submission succeeds:
- You’ll see a
{ "result" : "accepted"}message under Log. - A Log item is shown for the measurement submission which reproduces the JSON.

- Note that:
- The usage data measurement UID -
"uid"- has been automatically refreshed with a new unique value to allow a second submission for the same Meter and Account. - The timestamp -
"ts"- is not refreshed and you can edit this as required for further submissions.
- The usage data measurement UID -
- If you want to send a second set of usage data for the same Meter but for a different Account, edit the Account Code, and a second set of measures for the Meter Data Fields.
- Select Submit usage again to submit a second set of usage data.
Checking Test Usage Data Submissions
When you start to submit test usage data for ingest into the platform using a Meter Details page, you can quickly check and track those submissions using the Activity panel on the page, which will list:- Usage data measurement submissions made for the Meter in the last hour and which were successfully ingested into the platform.
- Up to a maximum of the ten most recent submissions made in the last hour.
- Select Metering. The Meters page opens and lists Meters by Product for All Products together with any Global Meters.
- Follow the steps given in the previous section to open a Meter Details page and submit some usage data measurements.
- When you have done this and received a
{ "result" : "accepted"}message under Log for your submissions, scroll down the page to the Activity panel. - Wait a few minutes and select Refresh:


- If a usage data submission you’ve made in the last hour does not appear on the Activity panel and you suspect the submission has failed one of the validation checks performed during the asynchronous enrichment stage, you can select the check Ingest Events hotlink text at the bottom of the panel. This takes you directly to the Ingest Events page, where any ingest failures are listed and you can review and troubleshoot these errors - see Reviewing and Resolving Ingest Events.
- Also, if you want to review a wider range of usage data measurements you’ve submitted to the platform, you can select View in Data Explorer on the Activity panel to open the Usage Data Explorer, where a query using the selected Meter and for a time period of Today is preloaded and performed.