Create a new Account within the Organization.
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
Account request for operations such as Create or Update Account.
Name of the Account.
1 - 200Code of the Account. This is a unique short code used for the Account.
1 - 80Contact email for the Account.
The version number of the entity:
Contact address for the Account.
Parent Account ID, or null if this Account does not have a parent.
Optional setting to define a billing cycle date, which sets the date of the first Bill and acts as a reference for when in the applied billing frequency period subsequent bills are created:
billEpoch date of February 15th, 2022. The first Bill will be created for the Account on February 15th, and subsequent Bills created on the 15th of the months following for the remainder of the billing period - March 15th, April 15th, and so on.Purchase Order Number of the Account.
Optional attribute - allows you to set a purchase order number that comes through into invoicing. For example, your financial systems might require this as a reference for clearing payments.
100Account level billing currency, such as USD or GBP. Optional attribute:
Note: If you've attached a Plan to the Account that uses a different currency to the billing currency, then you must add the relevant currency conversion rate at Organization level to ensure the billing process can convert line items calculated using the Plan currency into the selected billing currency. If you don't add these conversion rates, then bills will fail for the Account.
"USD"
The UUID of the statement definition used when Bill statements are generated for the Account. If no statement definition is specified for the Account, the statement definition specified at Organizational level is used.
Bill statements can be used as informative backing sheets to invoices. Based on the usage breakdown defined in the statement definition, generated statements give a breakdown of usage charges on Account Bills, which helps customers better understand usage charges incurred over the billing period.
See Working with Bill Statements in the m3ter documentation for more details.
Specify whether to auto-generate statements once Bills are approved or locked.
NONE, JSON, JSON_AND_CSV Define the order in which any Prepayment or Balance amounts on the Account are to be drawn-down against for billing. Four options:
"PREPAYMENT","BALANCE". Draw-down against Prepayment credit before Balance credit."BALANCE","PREPAYMENT". Draw-down against Balance credit before Prepayment credit."PREPAYMENT". Only draw-down against Prepayment credit."BALANCE". Only draw-down against Balance credit.NOTES:
creditApplicationOrder settings are not available, and the draw-down order defaults always to Prepayment then Balance order.PREPAYMENT, BALANCE Enter the number of days after the Bill generation date that you want to show on Bills as the due date.
Note: If you define daysBeforeBillDue at individual Account level, this will take precedence over any daysBeforeBillDue setting defined at Organization level.
x > 0Return the created Account
Response containing an AccountResponse entity.
The UUID of the entity.
The version number:
User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number.
If customFields can also be defined for this entity at the Organizational level,customField values defined at individual level override values of customFields with the same name defined at Organization level.
See Working with Custom Fields in the m3ter documentation for more information.
Name of the Account.
Code of the Account. This is a unique short code used for the Account.
Contact address for the Account.
Contact email for the Account.
Parent Account ID, or null if this account does not have a parent.
Defines first bill date for Account Bills. For example, if the Plan attached to the Account is set for monthly billing frequency and you set the first bill date to be January 1st, Bills are created every month starting on that date.
Optional attribute - if not defined, then first bill date is determined by the Epoch settings at Organizational level.
Purchase Order Number of the Account.
Optional attribute - allows you to set a purchase order number that comes through into invoicing. For example, your financial systems might require this as a reference for clearing payments.
Account level billing currency, such as USD or GBP. Optional attribute:
Note: If you've attached a Plan to the Account that uses a different currency to the billing currency, then you must add the relevant currency conversion rate at Organization level to ensure the billing process can convert line items calculated using the Plan currency into the selected billing currency. If you don't add these conversion rates, then bills will fail for the Account.
"USD"
The UUID of the statement definition used when Bill statements are generated for the Account. If no statement definition is specified for the Account, the statement definition specified at Organizational level is used.
Bill statements can be used as informative backing sheets to invoices. Based on the usage breakdown defined in the statement definition, generated statements give a breakdown of usage charges on Account Bills, which helps customers better understand usage charges incurred over the billing period.
See Working with Bill Statements in the m3ter documentation for more details.
The DateTime when the Account was created (in ISO 8601 format).
The DateTime when the Account was last modified (in ISO 8601 format).
The ID of the user who created the account.
The ID of the user who last modified the Account.
Specify whether to auto-generate statements once Bills are approved or locked.
NONE, JSON, JSON_AND_CSV The order in which any Prepayment or Balance amounts on the Account are to be drawn-down against for billing. Four options:
"PREPAYMENT","BALANCE". Draw-down against Prepayment credit before Balance credit."BALANCE","PREPAYMENT". Draw-down against Balance credit before Prepayment credit."PREPAYMENT". Only draw-down against Prepayment credit."BALANCE". Only draw-down against Balance credit.PREPAYMENT, BALANCE The number of days after the Bill generation date shown on Bills as the due date.