---
title: "POST /usage/download-invoice/"
method: POST
path: "/usage/download-invoice/"
tags: ["usage"]
---

# POST /usage/download-invoice/

`POST /usage/download-invoice/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/download-invoice/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- DownloadInvoiceRequest
  - `invoice_id` string, required

## Response `200`

OK

- DownloadInvoiceResponse
  - `status` boolean, required
  - `result` DownloadInvoiceResult, required
    - `invoice_pdf_url` string, uri, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
