---
title: "Retrieves a ProfitAndLoss resource."
method: GET
path: "/profit_and_loss"
tags: ["ProfitAndLoss"]
---

# Retrieves a ProfitAndLoss resource.

`GET /profit_and_loss`

Retrieves a ProfitAndLoss resource.

## Query parameters

- `start` string, date-time, required
- `end` string, date-time, required
- `accounting_method` 'cash' | 'accrual', required

## Response `200`

ProfitAndLoss resource

- ProfitAndLoss
  - `id` string
  - `integration` string — The key of the integration source e.g. "quickbooks", or "xero"
  - `reportTitle` string, nullable — e.g: ProfitAndLoss
  - `companyName` string, nullable — e.g: the company legal name
  - `columns` string[], nullable — columns in profit and loss statement
  - `rows` string[], nullable — rows in profit and loss statement
  - `accountingMethod` string, nullable — accounting method: a set of rules under which revenues and expenses are reported in financial statements e.g: cash
  - `start` string, date-time, nullable — start datetime of the profit and loss statement coverage
  - `end` string, date-time, nullable — end datetime of the profit and loss statement coverage
  - `currencyCode` string, nullable
  - `totalIncome` integer, nullable — Total income in cents
  - `totalExpenses` integer, nullable — Total expenses in cents

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/bossinsights/apis/boss-insights.md) · [All operations](https://skmtc.net/bossinsights/apis/boss-insights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bossinsights/boss-insights/revisions/d08a107895ad/schema)
