---
title: "Get an invoice"
method: GET
path: "/v1/orgs/{slug}/billing/invoices/{invoice_id}"
tags: ["billing"]
---

# Get an invoice

`GET /v1/orgs/{slug}/billing/invoices/{invoice_id}`

## Request

- Base URL: `https://api.microsandbox.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.microsandbox.dev/v1/orgs/{slug}/billing/invoices/{invoice_id}`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required
- `invoice_id` string, required

## Response `200`

Invoice detail

- Invoice: Invoice from the billing provider (Autumn/Stripe).
  - `created_at` string, date-time, required
  - `currency` string, required
  - `id` string, required
  - `invoice_url` string, nullable
  - `period_end` string, date-time, required
  - `period_start` string, date-time, required
  - `status` string, required
  - `total_cents` integer, required

## Other responses

- `401`: Unauthorized
- `404`: Invoice not found

---

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