---
title: "Get Invoices"
method: GET
path: "/billing/invoices"
tags: ["internal"]
---

# Get Invoices

`GET /billing/invoices`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/billing/invoices`
- Auth: HTTP bearer

Get the user's invoice history from Stripe.

Returns a list of paid invoices with links to view/download.

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- InvoicesResponse: Response with list of invoices.
  - `invoices` InvoiceItem[], required
    - `id` string, required
    - `number` string, nullable, required
    - `amount` integer, required
    - `currency` string, required
    - `status` string, required
    - `created` string, date-time, required
    - `period_start` string, date-time, nullable, required
    - `period_end` string, date-time, nullable, required
    - `invoice_url` string, nullable, required
    - `pdf_url` string, nullable, required
  - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
