---
title: "Gets an invoice by ID."
method: GET
path: "/invoice/{invoiceId}"
tags: ["Invoice"]
---

# Gets an invoice by ID.

`GET /invoice/{invoiceId}`

## Path parameters

- `invoiceId` string, required

## Response `200`

OK

- GetInvoiceEndpointOutput
  - `id` string, required — The invoice ID.
  - `billingPeriodId` string, required — The billing period this invoice belongs to.
  - `billingPeriodStart` string, date-time, required — The start date of the billing period.
  - `billingPeriodEnd` string, date-time, required — The end date of the billing period.
  - `stripeInvoiceId` string, nullable — The Stripe invoice ID.
  - `status` 'Generating' | 'Draft' | 'Open' | 'Paid' | 'Void' | 'Uncollectible' | 'Failed', required
  - `amountDue` integer, required — The total amount due in cents.
  - `currency` string, nullable — The invoice currency.
  - `createdAt` string, date-time, required — When the invoice was created.
  - `finalizedAt` string, date-time, nullable — When the invoice was finalized.
  - `paidAt` string, date-time, nullable — When the invoice was paid.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/d779de93a5ee/schema)
