---
title: "Generate a subscription payment invoice"
method: POST
path: "/users/subscription/invoices/{subscriptionInvoiceID}"
tags: ["Users"]
---

# Generate a subscription payment invoice

`POST /users/subscription/invoices/{subscriptionInvoiceID}`

Generates a new invoice PDF file for the given subscription payment with given parameters.

## Path parameters

- `subscriptionInvoiceID` string, required

## Request body

- RequestsUserPaymentInvoice
  - `address` string, required
  - `city` string, required
  - `country` string, required
  - `name` string, required
  - `notes` string, required
  - `state` string, required
  - `zip_code` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

- **2026-04-12** `d0829ff5ceb5` — 1 breaking
  - added the new path request parameter `subscriptionInvoiceID`
- **2026-01-13** `b44927d841db` — 1 info
  - endpoint added
- **2023-12-22** `7e5887f7aceb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/changes/users/subscription/invoices/:subscriptionInvoiceID/post.md)

---

[API](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference.md) · [All operations](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ndolestudio/httpsms-api-reference/revisions/7e5d7ce790b3/schema)
