---
title: "Export invoices as CSV"
method: GET
path: "/gateway/invoices/export"
tags: ["Invoices"]
---

# Export invoices as CSV

`GET /gateway/invoices/export`

## Request

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

Up to 5000 rows for the matching filter, built for accounting software: date, invoice number, description, amount and currency, exchange rate and source, tax name/rate/amount, buyer name/company/country/VAT, and status.

## Query parameters

- `from` string
- `to` string
- `status` 'all' | 'issued' | 'paid' | 'voided'
- `fiatCurrency` 'EUR' | 'USD'
- `networks` string

## Response `200`

The invoices CSV.

## Other responses

- `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)
