curl --request GET \
--url https://api.trycherry.ai/v1/reports/statements/{type} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycherry.ai/v1/reports/statements/{type}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycherry.ai/v1/reports/statements/{type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.trycherry.ai/v1/reports/statements/{type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.trycherry.ai/v1/reports/statements/{type}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.trycherry.ai/v1/reports/statements/{type}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/reports/statements/{type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"type": "income_statement",
"periodStart": "2026-01-01",
"periodEnd": "2026-06-30",
"currency": "USD",
"revenue": {
"total": 28500,
"breakdown": [
{
"accountNumber": "4010",
"accountName": "Revenue",
"amount": 28500
}
]
},
"expenses": {
"total": 3900,
"breakdown": [
{
"accountNumber": "6110",
"accountName": "Software & Subscriptions",
"amount": 3900
}
]
},
"netIncome": 24600
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}Generate a financial statement
A financial statement computed from the live ledger — the exact generator the Cherry app uses, so figures here always match the product. profit_and_loss and cash_flow cover the from..to period (both required); balance_sheet is a snapshot as of to (from is ignored). The response shape varies by statement type: revenue/expense breakdowns for P&L, asset/liability/equity sections for the balance sheet, inflow/outflow for cash flow.
curl --request GET \
--url https://api.trycherry.ai/v1/reports/statements/{type} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycherry.ai/v1/reports/statements/{type}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycherry.ai/v1/reports/statements/{type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.trycherry.ai/v1/reports/statements/{type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.trycherry.ai/v1/reports/statements/{type}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.trycherry.ai/v1/reports/statements/{type}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/reports/statements/{type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"type": "income_statement",
"periodStart": "2026-01-01",
"periodEnd": "2026-06-30",
"currency": "USD",
"revenue": {
"total": 28500,
"breakdown": [
{
"accountNumber": "4010",
"accountName": "Revenue",
"amount": 28500
}
]
},
"expenses": {
"total": 3900,
"breakdown": [
{
"accountNumber": "6110",
"accountName": "Software & Subscriptions",
"amount": 3900
}
]
},
"netIncome": 24600
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}Authorizations
Cherry API key, created in the app. Sent as Authorization: Bearer ck_live_…. OAuth access tokens (ck_oat_…) are accepted in exactly the same header.
Path Parameters
profit_and_loss, balance_sheet, cash_flow Query Parameters
Period start, YYYY-MM-DD. Required for profit_and_loss and cash_flow.
Period end, YYYY-MM-DD. For balance_sheet this is the as-of snapshot date.
Response
The generated statement (shape varies by type)