# Custard API documentation

The Custard API manages saved invoices, recurring schedules, customers, payment methods and workspace settings using the same rules as the Custard application. It also generates free invoice PDFs without an account. Requests use HTTP methods and JSON; responses contain JSON or a private file attachment.

Read API status for release availability. Sections labelled Planned describe future behavior; only operations in the OpenAPI specification are implemented. Links are relative to this documentation host.

## Guides

- [API status](/docs/api-status.md)
- [Free invoice PDFs](/docs/free-invoice-pdfs.md)
- [Authentication](/docs/authentication.md)
- [HTTP API keys](/docs/http-api-keys.md)
- [MCP connections](/docs/mcp-connections.md)
- [MCP workspace workflows](/docs/mcp-workspace-workflows.md)
- [Plans and entitlements](/docs/plans-and-entitlements.md)
- [Workspace access and permissions](/docs/workspace-access-and-permissions.md)
- [Invoice operations](/docs/invoice-operations.md)
- [Profile and workspace resources](/docs/profile-and-workspace-resources.md)
- [Amounts and dates](/docs/amounts-and-dates.md)
- [Errors and retries](/docs/errors-and-retries.md)
- [Rate limits](/docs/rate-limits.md)
- [Idempotent requests](/docs/idempotent-requests.md)
- [Download this specification](/docs/download-this-specification.md)

## API contract

- [OpenAPI specification](/openapi.json): Exact implemented request and response schemas.
- [API reference in Markdown](/docs/reference.md): API description and complete OpenAPI contract.
- [Invoice PDF example](/docs/invoice-pdf.example.json): Validated request body for PDF generation.
