GET
/
accounting
/
income_statement
curl --request GET \
  --url https://api.rootfi.dev/v3/accounting/income_statement \
  --header 'api_key: <api-key>'
{
  "data": [
    {
      "cost_of_goods_sold": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Cost of Goods Sold",
          "value": 123456.12
        }
      ],
      "currency_id": "00000000-0000-0000-0000-000000000000",
      "earnings_before_taxes": 123456,
      "gross_profit": 123456,
      "net_profit": 123456,
      "non_operating_expenses": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Non Operating Expenses",
          "value": 123456.12
        }
      ],
      "non_operating_revenue": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Non Operating Revenue",
          "value": 123456.12
        }
      ],
      "operating_expenses": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Operating Expenses",
          "value": 123456.12
        }
      ],
      "operating_profit": 123456,
      "period_end": "2024-01-31",
      "period_start": "2023-10-01",
      "platform_id": "123456",
      "revenue": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Revenue",
          "value": 123456.12
        }
      ],
      "rootfi_company_id": 1089,
      "rootfi_created_at": "2024-01-22T05:07:31.465Z",
      "rootfi_id": 157,
      "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
      "taxes": [
        {
          "line_items": [
            {
              "account_id": "123456",
              "line_items": [],
              "name": "Otis Falls",
              "value": 123456.12
            }
          ],
          "name": "Taxes",
          "value": 123456.12
        }
      ]
    }
  ],
  "next": "eyJyb291ZmlfaWQiOjQ0MDA2MX0=",
  "prev": "eyJyb290ZmlfaWQiOjQ0MDA2MX0=",
  "total_count": 123
}

An income statement is a financial report that shows a business’s revenue, expenses, and net income or loss over a specific period of time. In an accounting platform, an income statement is typically generated automatically based on the financial transactions that have been recorded in the system.

Authorizations

api_key
string
headerrequired

Query Parameters

limit
integer | null

The number of objects you want to retrieve

rootfi_company_id[eq]
integer | null

The company id of the rootfi

sort[period_end]
string | null

The period end date of the income statement

period_start[gte]
string | null

The period start date of the income statement

period_end[lte]
string | null

The period end date of the income statement

period
integer | null

The period of the income statement. This is the monthly grouping of the income statement. For example - If period is 3, then the income statement will be grouped by quarter.

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