---
title: "Creates a Stripe draft invoice for a billing period."
method: POST
path: "/billing/invoice"
tags: ["Invoice"]
---

# Creates a Stripe draft invoice for a billing period.

`POST /billing/invoice`

## Request body

- CreateInvoiceEndpointInput
  - `billingPeriodId` string, required — The billing period to create an invoice for.

## Response `200`

OK

- CreateInvoiceEndpointOutput
  - `invoiceId` string, required — The created invoice ID.

## 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)
