Create Debit Reason
Create a new Debit Reason for your Organization. When you’ve created a Debit Reason, it becomes available as a debit type for adding Debit line items to Bills. See Debits.
Authorizations
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
Path Parameters
UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.
Body
The name of the entity.
1 - 200The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
The short code for the entity.
80^[\p{L}_$][\p{L}_$0-9]*$"code"
A Boolean TRUE / FALSE flag indicating whether the entity is archived. An entity can be archived if it is obsolete.
- TRUE - the entity is in the archived state.
- FALSE - the entity is not in the archived state.
Response
Return the created Debit Reason
The UUID of the entity.
The version number:
- Create: On initial Create to insert a new entity, the version is set at 1 in the response.
- Update: On successful Update, the version is incremented by 1 in the response.
The short code of the data entity.
The name of the data entity.
TRUE / FALSE flag indicating whether the data entity is archived. An entity can be archived if it is obsolete.
The DateTime when the debit reason was created (in ISO-8601 format).
The DateTime when the debit reason was last modified (in ISO-8601 format).
The id of the user who created this debit reason.
The id of the user who last modified this debit reason.