---
title: "Create an invoice for memberships"
method: POST
path: "/v1/invoices/memberships"
---

# Create an invoice for memberships

`POST /v1/invoices/memberships`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/invoices/memberships`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/invoices/memberships/post.ts> (a function with typed inputs; its response is checked against the schema)

Supply the request body and this api will generate an invoice by booking the memberships aand returns the invoice id as the response.

## Request body

- object
  - `center_id` string: Unique identifier of the center.
  - `user_id` string: Unique identifier of the user.
  - `membership_ids` string: Unique identifier of the guest's membership.

## Response `200`

200

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
