Retrieve Bills in Billing Period
Changed onRetrieve all Bills within a specified billing period. This endpoint allows you to retrieve Bills on various frequencies, such as daily, weekly, monthly, or annually. Specify the last day of the period to define the range.
For example, to retrieve all Bills on monthly billing up to September with due date of 1st of month, use the last day of September, which is September 30th.
The list can also be paginated for easier management.
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
The last date of the billing period for which you want to retrieve Bills. This date defines the range of Bills to be retrieved.
The billing frequency for the specified period. Valid options are daily, weekly, monthly, or annually.
Query parameters
Specifies the maximum number of Bills to retrieve per page.
The nextToken for multi-page retrievals. It is used to fetch the next page of Bills in a paginated list.
Comma separated list of additional fields.
Response
Returns the list of Bills within the billing period
Example response
{
"data": [
{
"timezone": "UTC",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
]
}
]
}Changes
- breaking
the
//////response's property type changed from no type toobjectfor status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- warning
added the new
AD_HOCenum value to the////response property for the response status - info
added the optional property
//to the response with the status
- warning