Invoice Generator
Generate professional PDF invoices from order data. Auto-numbered per project, branded with project logo and colors. Invoices stored as PAPI assets with CDN URL.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat. Replace the parts in [brackets] with your own details.
@WebsitePublisher create a PDF invoice with my logo for order [order number]@WebsitePublisher make a credit note for invoice [invoice number]With WebsitePublisher, create a PDF invoice with my logo for order [order number]With WebsitePublisher, make a credit note for invoice [invoice number]With WebsitePublisher, create a PDF invoice with my logo for order [order number]With WebsitePublisher, make a credit note for invoice [invoice number]Endpoints (4)
Generate a PDF invoice. Auto-assigns invoice number. All prices in cents (1999 = €19.99). Idempotent per order: when order_id and/or order_number is supplied and an active (non-credited) invoice already exists for that order, it is returned with existing:true instead of minting a new number.
No input parameters required.
Get a single invoice by ID, invoice number, or order_id. The order_id lookup returns the ACTIVE invoice for that order (fully credited ones excluded, newest first).
No input parameters required.
List invoices for this project. Paginated, newest first.
No input parameters required.
Create a credit note (negative invoice) for an existing invoice. Marks the original as credited.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| generate-invoice | invoice-generator_generate_invoice |
| get-invoice | invoice-generator_get_invoice |
| list-invoices | invoice-generator_list_invoices |
| credit-invoice | invoice-generator_credit_invoice |
Website