Create a new Charge.
NOTES:
accountId request parameter.entityId request parameter to specify which Balance on an Account the Charge is for.amount or use a number of units together with a unitPrice for a calculated value = units x unit price. But you cannot specify both an amount and units/unit price.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
Request containing a Charge entity
Name of the Charge. Added to the Bill line item description for this Charge.
1 - 200Unique short code for the Charge.
1 - 80The ID of the Account the Charge is being created for.
36Charge currency.
1The entity type the Charge is created for.
NOTE: If entityType is BALANCE, you must provide the entityId of the Balance the Charge is for.
AD_HOC, BALANCE The line item type used for Charge billing.
BALANCE_FEE, AD_HOC The service period start date (in ISO-8601 format) for the Charge.
The service period end date (in ISO-8601 format)for the Charge.
NOTE: End date is exclusive.
The version number of the entity:
The date when the Charge will be added to a Bill.
"2022-01-04"
Amount of the Charge. If amount is provided, then units and unitPrice must be omitted.
Number of units of the Charge. If amount is omitted, then provide together with unitPrice. When amount is provided, units must be omitted.
Unit price. If amount is omitted, then provide together with units. When amount is provided, unitPrice must be omitted.
The description added to the Bill line item for the Charge.
The ID of the Charge linked entity. For example, the ID of an Account Balance if a Balance Charge.
NOTE: If entityType is BALANCE, you must provide the entityId of the Balance the Charge is for.
The Accounting Product ID assigned to the Charge.
36Used to enter information about the Charge for accounting purposes, such as the reason it was created. This information will not be added to a Bill line item for the Charge.
The ID of a Contract on the Account that the Charge will be added to.
Returns the created Charge
Response containing a Charge entity
The UUID of the entity.
The version number:
Name of the Charge. Added to the Bill line item description for Charge.
The unique short code of the Charge.
The ID of the Account the Charge was created for.
The date when the Charge will be added to a Bill.
The Charge amount. If amount has been defined, then units and unitPrice cannot be used.
Number of units of the Charge. Provided together with unitPrice. If units and unitPrice are provided, amount cannot be used.
Unit Price for the Charge. Provided together with units:
amount only.units and unitPrice are provided, amount cannot be used.Charge currency.
The description added to the Bill line item for the Charge.
The entity type the Charge has been created for.
AD_HOC, BALANCE The ID of the Charge linked entity. For example, the ID of an Account Balance if a Balance Charge.
The ID of the Bill created for this Charge.
The Accounting Product ID assigned to the Charge.
The service period start date (in ISO-8601 format) for the Charge .
The service period end date (in ISO-8601 format) for the Charge.
NOTE: End date is exclusive.
Information about the Charge for accounting purposes, such as the reason it was created. This information will not be added to the created Bill line item for the Charge.
The ID of a Contract on the Account that the Charge has been added to.
The line item type used for billing a Charge.
BALANCE_FEE, AD_HOC The date and time (in ISO-8601 format) when the Charge was created.
The date and time (in ISO 8601 format) when the Charge was last modified.
The unique identifier (UUID) of the user who created the Charge.
The unique identifier (UUID) of the user who last modified the Charge.
The ID of the Balance Charge Schedule that created the Charge.