---
title: "Export a financial report"
method: GET
path: "/reports/export"
tags: ["Reports"]
---

# Export a financial report

`GET /reports/export`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/reports/export`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Downloads a branded PDF or XLSX report. Core reports, P&L comparison, comparative balance sheet, cash flow, and financial ratios support both formats. Management Financials is a PDF-only packet.

## Query parameters

- `report` 'income-statement' | 'balance-sheet' | 'trial-balance' | 'general-ledger' | 'pnl-comparison' | 'pnl-by-class' | 'comparative-balance-sheet' | 'cash-flow' | 'financial-ratios' | 'management-financials', required
- `format` 'pdf' | 'xlsx'
- `hideZeroRows` boolean
- `startDate` string, date
- `endDate` string, date
- `asOf` string, date
- `compare` 'monthly' | 'quarterly' | 'yearly'
- `periods` integer
- `anchorDate` string, date
- `basis` 'accrual' | 'cash'

## Response `200`

Report export file

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
