GET
/
accounting
/
journal_entries
curl --request GET \
  --url https://api.rootfi.dev/v3/accounting/journal_entries \
  --header 'api_key: <api-key>'
{
  "data": [
    {
      "account_id": "123456",
      "amount": 100,
      "currency_id": "123456",
      "currency_rate": 1,
      "description": "Example Description",
      "document_number": "123456",
      "journal_entry_type": "Example Journal Entry Type",
      "journal_lines": [
        {
          "account_id": "123456",
          "contact_id": "123456",
          "description": "This is a description",
          "journal_entry_id": "123456",
          "net_amount": 100,
          "platform_id": "123456",
          "tax_amount": 100,
          "tax_id": "123456",
          "tracking_category_ids": [
            "123456"
          ],
          "type": "DEBIT",
          "updated_at": "2024-01-22T05:07:31.000Z"
        }
      ],
      "platform_id": "123456",
      "posted_date": "2024-01-25T09:00:00Z",
      "rootfi_company_id": 123,
      "rootfi_created_at": "2024-01-25T09:00:00Z",
      "rootfi_id": 123,
      "rootfi_updated_at": "2024-01-25T09:00:00Z",
      "updated_at": "2024-01-25T09:00:00Z"
    }
  ],
  "next": "eyJyb291ZmlfaWQiOjQ0MDA2MX0=",
  "prev": "eyJyb290ZmlfaWQiOjQ0MDA2MX0=",
  "total_count": 123
}

The Journal Entries are basic records of a company’s financial transactions used to record the debits and credits of each transaction.

Authorizations

api_key
string
headerrequired

Query Parameters

limit
integer | null

The number of objects you want to retrieve

next
string | null

The next page of objects to retrieve

prev
string | null

The previous page of objects to retrieve

expand
string | null

Comma separated fields to expand. Supported values are currency, journal_lines, account

select
string | null

Comma separated fields to select. Supported values are raw_data, data_hash

rootfi_company_id[eq]
integer | null

Filter by rootfi_company_id

return_count
boolean | null

Return the count of the objects

sort[rootfi_created_at]
enum<string>

Sort by rootfi_created_at

Available options:
ASC,
DESC
sort[rootfi_updated_at]
enum<string>

Sort by rootfi_updated_at

Available options:
ASC,
DESC

Response

200 - application/json
next
string | null

The next page of objects to retrieve

prev
string | null

The previous page of objects to retrieve

total_count
integer | null

The total count of the objects

data
object[]
required