> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating an Account Type

> Add a new Account Type to enforce Ledger structure and validate which Transactions an Account can take part in.

Account Types classify Accounts and can be used later by Accounting Routes to validate which accounts are allowed in each operation. Create them before Accounts when **Validate Account Type** is enabled for the Ledger.

## Before you start

***

You need an existing Organization and Ledger. If you cannot see the Account Types menu, enable **Validate Account Type** in [Ledger Settings](/en/lerian-console/midaz-console/managing-ledgers-via-console#ledger-settings).

Define Account Types from the accounting model, not from individual customer names. Examples: `customer`, `merchant`, `treasury`, `fee`, `settlement`, `revenue`, `expense`.

## Create the Account Type

***

<Steps>
  <Step>
    From the **Account Types** page, click the **New Account Type** button.
  </Step>

  <Step>
    The **New Account Type** form will open on the right side of the screen.
  </Step>

  <Step>
    Fill in the information and click the **Save** button.
  </Step>
</Steps>

## Field guide

***

| Field       | What to enter                                                                                                | Example                                                                       |
| ----------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| Name        | Clear operator-facing name for this Account Type.                                                            | `Customer`                                                                    |
| Key Value   | Stable value used to classify Accounts and route rules. Use a short lowercase value that will remain stable. | `customer`                                                                    |
| Description | Optional explanation of when operators should use this type.                                                 | `Accounts that represent end customers and can send or receive BRL payments.` |

<Tip>
  The **Key Value** is the stable identifier used by Accounts and Accounting Routes. Keep it short, lowercase, and aligned with your accounting model — changing it later would require recreating dependent Accounts and routes.
</Tip>

## What to do next

***

After creating Account Types, create Accounts and select the correct type in [Creating an Account](/en/lerian-console/midaz-console/creating-an-account).

<Card title="API equivalent" type="tip" horizontal>
  [Create an Account Type endpoint](/en/reference/midaz/create-an-account-type)
</Card>
