---
title: "Create Debit Reason"
method: POST
path: "/organizations/{orgId}/picklists/debitreasons"
tags: ["DebitReason"]
---

# Create Debit Reason

`POST /organizations/{orgId}/picklists/debitreasons`

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](https://www.m3ter.com/docs/api#tag/Debits).

## Path parameters

- `orgId` string, required

## Request body

- DebitReasonRequest
  - `version` integer — The 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.
  - `code` string — The short code for the entity.
  - `name` string, required — The name of the entity.
  - `archived` boolean — 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 `200`

Return the created Debit Reason

- DebitReasonResponse
  - `id` string, required — The UUID of the entity.
  - `version` integer — 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.
  - `code` string — The short code of the data entity.
  - `name` string — The name of the data entity.
  - `archived` boolean — TRUE / FALSE flag indicating whether the data entity is archived. An entity can be archived if it is obsolete.
  - `dtCreated` string, date-time — The DateTime when the debit reason was created *(in ISO-8601 format)*.
  - `dtLastModified` string, date-time — The DateTime when the debit reason was last modified *(in ISO-8601 format)*.
  - `createdBy` string — The id of the user who created this debit reason.
  - `lastModifiedBy` string — The id of the user who last modified this debit reason.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/versions/ac93d1a9e6d9/schema)
