Bill
Retrieve Bill Statement in CSV Format
Changed onRetrieve a specific Bill Statement for the given Bill UUID in CSV format.
Bill Statements are backing sheets to the invoices sent to your customers. Bill Statements provide a breakdown of the usage responsible for the usage charge line items shown on invoices.
The response includes a pre-signed downloadUrl, which must be used with a separate GET call to download the actual Bill Statement. This ensures secure access to the requested information.
get/organizations/{orgId}/bills/{id}/statement/csv
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
orgIdstring required
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
idstring required
The unique identifier (UUID) of the Bill for which to retrieve the Statement in CSV format.
Response
Returns the download URL
Changes
- info
endpoint added
- info