---
title: "Create Credit Reason"
method: POST
path: "/organizations/{orgId}/picklists/creditreasons"
tags: ["CreditReason"]
---

# Create Credit Reason

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

Create a new Credit Reason for your Organization. When you've created a Credit Reason, it becomes available as a credit type for adding Credit line items to Bills. See [Credits](https://www.m3ter.com/docs/api#tag/Credits).

## Path parameters

- `orgId` string, required

## Request body

- CreditReasonRequest
  - `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 Credit Reason

- CreditReasonResponse
  - `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 credit reason was created *(in ISO-8601 format)*.
  - `dtLastModified` string, date-time — The DateTime when the credit reason was last modified *(in ISO-8601 format)*.
  - `createdBy` string — The id of the user who created this credit reason.
  - `lastModifiedBy` string — The id of the user who last modified this credit 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)
