GET
/
consumers
/
{consumer_id}
/
accounting
/
journal
/
entries
/
multi-analytic-plans
Get journal entries (Multiple Analytic Plans)
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/journal/entries/multi-analytic-plans \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "reference": "<string>",
      "due_date": "2023-12-25",
      "journal_id": "<string>",
      "name": "<string>",
      "journal_name": "<string>",
      "date": "2023-12-25",
      "posted": true,
      "id": "<string>",
      "items": [
        {
          "account_number": "<string>",
          "partner_id": "<string>",
          "description": "<string>",
          "debit": 123,
          "credit": 123,
          "currency": "<string>",
          "currency_exchange_rate": 123,
          "id": "<string>",
          "partner_name": "<string>",
          "account_name": "<string>",
          "matching_numbers": [
            "<string>"
          ],
          "analytic_distribution": [
            {
              "analytic_plan": "<string>",
              "analytic_accounts": [
                {
                  "analytic_account": "<string>",
                  "percentage": 123
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
size
integer
default:50

Page size

Required range: 1 <= x <= 100
folder_id
string | null

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

unposted_allowed
enum<string>
required
Available options:
true,
false
journal_id
string
required
date_from
string<date> | null

Accounting date from which the journal entries will be retrieved (this date will be included in the response). This parameter is mandatory if the 'updated_after' parameter is not provided.

date_to
string<date> | null

Accounting date until which the journal entries will be retrieved (this date will be included in the response).This parameter is mandatory if the 'updated_after' parameter is not provided.

updated_after
string<date-time> | null

When provided only journal entries modified or created after this datetime will be retrieved (this datetime will NOT be included in the response). E.g. 2023-01-31T15:00:00 for 31 of January 2023 at 3PM UTC, UTC is the only format that is supported on all connectors.

partner_id
string | null

Response

200
application/json

Successful Response

The response is of type object.