> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.papertracc.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.papertracc.com/_mcp/server.

# Get Chart Types

GET https://api.papertracc.com/v1/accounts/chart-types

Returns all configured chart/account types available for categorising ledger accounts.

Reference: https://api-docs.papertracc.com/papertracc/chart-of-accounts/get-chart-types

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /accounts/chart-types:
    get:
      operationId: Get Chart Types
      summary: Get Chart Types
      description: >-
        Returns all configured chart/account types available for categorising
        ledger accounts.
      tags:
        - chartOfAccounts
      parameters:
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Chart of Accounts_Get Chart
                  Types_Response_200
servers:
  - url: https://api.papertracc.com/v1
    description: Production
  - url: https://api.papertracc.com/rc-1
    description: Release Candidate 1
components:
  schemas:
    AccountsChartTypesGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        type:
          type: string
        is_contra:
          type: boolean
        description:
          type: string
      required:
        - id
        - name
        - type
        - is_contra
        - description
      title: AccountsChartTypesGetResponsesContentApplicationJsonSchemaDataItems
    Chart of Accounts_Get Chart Types_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/AccountsChartTypesGetResponsesContentApplicationJsonSchemaDataItems
        status:
          type: boolean
        message:
          type: string
      required:
        - data
        - status
        - message
      title: Chart of Accounts_Get Chart Types_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    identityAuth:
      type: apiKey
      in: header
      name: identity
      description: The identity for the active project.

```

## Examples



**Response**

```json
{
  "data": [
    {
      "id": "7e2a3eb5-ceda-4e13-9efb-509681424bc4",
      "name": "Cash",
      "type": "ASSET",
      "is_contra": false,
      "description": "Tracks physical and bank cash accounts."
    }
  ],
  "status": true,
  "message": "Successfully fetched chart types"
}
```

**SDK Code**

```python Chart of Accounts_Get Chart Types_example
import requests

url = "https://api.papertracc.com/v1/accounts/chart-types"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Chart of Accounts_Get Chart Types_example
const url = 'https://api.papertracc.com/v1/accounts/chart-types';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Chart of Accounts_Get Chart Types_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.papertracc.com/v1/accounts/chart-types"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Chart of Accounts_Get Chart Types_example
require 'uri'
require 'net/http'

url = URI("https://api.papertracc.com/v1/accounts/chart-types")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Chart of Accounts_Get Chart Types_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.papertracc.com/v1/accounts/chart-types")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php Chart of Accounts_Get Chart Types_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.papertracc.com/v1/accounts/chart-types', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Chart of Accounts_Get Chart Types_example
using RestSharp;

var client = new RestClient("https://api.papertracc.com/v1/accounts/chart-types");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Chart of Accounts_Get Chart Types_example
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.papertracc.com/v1/accounts/chart-types")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```