---
title: "Download a statement PDF"
method: GET
path: "/gateway/invoices/statement"
tags: ["Invoices"]
---

# Download a statement PDF

`GET /gateway/invoices/statement`

## Request

- Base URL: `https://api.agentaos.ai/api/v1`
- URL: `https://api.agentaos.ai/api/v1/gateway/invoices/statement`
- Auth: API key in header `x-api-key`

A statement-style PDF covering a date range: opening/closing balance, every transaction in the ledger, and a VAT summary grouped by rate. `from` and `to` are both required, unlike the other date filters in this API.

## Query parameters

- `from` string, required
- `to` string, required
- `fiatCurrency` 'EUR' | 'USD'
- `networks` string

## Response `200`

The statement PDF.

## Other responses

- `400`: A required field is missing, out of range, or the wrong type. `ValidationPipe` also rejects any field not in the documented schema.
- `401`: Missing or invalid `x-api-key`.

---

[API](https://skmtc.dev/agentaos/apis/agentaos-gateway-api.md) · [All operations](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/revisions/3a8ad3c6b965?raw)
