---
title: "List all profitlosses"
method: GET
path: "/accounting/{connection_id}/profitloss"
tags: ["accounting", "profitloss"]
---

# List all profitlosses

`GET /accounting/{connection_id}/profitloss`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string
- `sort` string
- `order` string
- `query` string
- `start_gte` string
- `end_lt` string
- `category_id` string
- `contact_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AccountingProfitloss[]
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `category_ids` string[]
  - `start_at` string, date-time
  - `end_at` string, date-time
  - `name` string
  - `currency` string
  - `income` AccountingProfitlossCategory[] — @deprecated – use income_sections instead
    - `name` string
    - `amount` number
    - `sub_items` AccountingProfitlossSubcategory[]
      - `name` string
      - `amount` number
      - `transaction_ids` string[]
  - `expenses` AccountingProfitlossCategory[] — @deprecated – use expenses_sections instead
    - `name` string
    - `amount` number
    - `sub_items` AccountingProfitlossSubcategory[]
      - `name` string
      - `amount` number
      - `transaction_ids` string[]
  - `cost_of_goods_sold` AccountingProfitlossCategory[] — @deprecated – use cost_of_goods_sold_sections instead
    - `name` string
    - `amount` number
    - `sub_items` AccountingProfitlossSubcategory[]
      - `name` string
      - `amount` number
      - `transaction_ids` string[]
  - `gross_profit_amount` number
  - `net_profit_amount` number
  - `income_total_amount` number
  - `net_income_amount` number
  - `expenses_total_amount` number
  - `cost_of_goods_sold_total_amount` number
  - `income_sections` AccountingProfitlossSection[]
    - `section_type` string
    - `section_name` string
    - `total_amount` number
    - `accounts` AccountingProfitlossAccount[]
      - `account_id` string
      - `account_name` string
      - `total_amount` number
      - `transaction_ids` string[]
  - `expenses_sections` AccountingProfitlossSection[]
    - `section_type` string
    - `section_name` string
    - `total_amount` number
    - `accounts` AccountingProfitlossAccount[]
      - `account_id` string
      - `account_name` string
      - `total_amount` number
      - `transaction_ids` string[]
  - `cost_of_goods_sold_sections` AccountingProfitlossSection[]
    - `section_type` string
    - `section_name` string
    - `total_amount` number
    - `accounts` AccountingProfitlossAccount[]
      - `account_id` string
      - `account_name` string
      - `total_amount` number
      - `transaction_ids` string[]
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/fecb148873a5/schema)
