---
title: "Generate Customer Receipt"
method: POST
path: "/pdfs/receipt/{customer_id}"
tags: ["PDFs"]
---

# Generate Customer Receipt

`POST /pdfs/receipt/{customer_id}`

Generate a receipt PDF for a customer based on their billing contract.

Args:
- customer_id: The customer ID
- request: Receipt generation request with optional date, tax percentage, and receipt number
  - date: Date paid (defaults to first of previous month)
  - tax_percentage: Tax percentage to apply (default 0)
  - receipt_number: Custom receipt number (auto-generated if not provided)

Returns:
- PDF file as application/pdf

## Path parameters

- `customer_id` string, uuid, required

## Request body

- GenerateReceiptRequest — Request to generate a receipt for a customer.
  - `receipt_number` string, nullable
  - `date` string, date-time, nullable
  - `tax_percentage` union
    - number
    - string
  - `description` string
  - `billing_run_item_id` string, uuid, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/b642b91e0a5c/schema)
