> For the complete documentation index, see [llms.txt](https://docs.gem-suite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gem-suite.com/api-reference/resources/transactions-1.md).

# Accounts

This page includes all endpoints available for the transactions module of Logiciel Actif.

## List all accounts

<mark style="color:blue;">`GET`</mark> `https://app.gem-books.com/api/accounts`

This endpoint allows you to get the list of your accounts. \
The transactions are returned sorted by ID.

#### Headers

| Name             | Type   | Description                   |
| ---------------- | ------ | ----------------------------- |
| Authentification | string | Bearer token.                 |
| Accept           | string | Should be `application/json`. |

{% tabs %}
{% tab title="200 " %}

```
{
            "id": 256,
            "code": "80040",
            "igrf": "",
            "name": "DEPRECIATION DE L EXCERCICE",
            "active": 1,
            "balance": "0.00",
            "currency": 1,
            "bank": 0,
            "system_id": 99125
        },
```

{% endtab %}
{% endtabs %}

## Retrieve an account

<mark style="color:blue;">`GET`</mark> `https://app.gem-books.com/api/accounts/:id`

This endpoint allows you to access a specific account by its ID.

#### Path Parameters

| Name | Type   | Description    |
| ---- | ------ | -------------- |
| id   | string | ID of account. |

#### Headers

| Name             | Type   | Description                   |
| ---------------- | ------ | ----------------------------- |
| Authentification | string | Bearer token.                 |
| Accept           | string | Should be `application/json`. |

{% tabs %}
{% tab title="200 " %}

```
{
            "id": 256,
            "code": "80040",
            "igrf": "",
            "name": "DEPRECIATION DE L EXCERCICE",
            "active": 1,
            "balance": "0.00",
            "currency": 1,
            "bank": 0,
            "system_id": 99125
        },
```

{% endtab %}
{% endtabs %}
