---
title: "Download invoice"
method: POST
path: "/api/v1/invoices/download"
tags: ["Invoices"]
---

# Download invoice

`POST /api/v1/invoices/download`

## Request body

- DownloadInvoiceCommand
  - `id` integer
  - `name` string, nullable

## Response `200`

OK

- CsvExporter
  - `fileName` string, required
  - `contentType` string, required
  - `content` string, byte, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc.dev/taikun/apis/taikun-webapi/revisions/09395964d191?raw)
