---
title: "LuckPanda for AI agents"
canonical: https://luckpanda.app/agents
---

# LuckPanda for AI agents

LuckPanda makes invoices, quotes, proforma invoices, receipts and credit notes in any currency, with India GST, UK and EU VAT and US sales tax worked out per line. An AI agent (ChatGPT, Claude, Gemini, Perplexity, Cursor or your own) can create these for a person **free and without an account**: fill in a document and hand back a link that opens it in the editor, or a branded PDF. The person checks it, downloads it, and signs in only to number, send and get paid.

## Rules for agents

- Ask the person for every detail. Never invent business names, tax numbers (GSTIN, VAT, EIN), prices or dates.
- Agents propose; people decide. Agents never issue, number, send or take payment for a document. The prefill link opens a draft marked "filled in from a link" for the person to check.
- Money follows the document's country and currency, never the browser: 1,24,500.00 in India, 124.500,00 in Germany.
- Tax results are general guidance, not tax advice.

## Three ways to create a document

1. **Prefill link**: open any document page below with `?doc=<base64url JSON>` (or URL-encoded raw JSON, or simple parameters such as `?seller_name=…&buyer_name=…&item=Design|1|1200|18`). Short link for long documents: `POST https://luckpanda.app/api/public/drafts` → `https://luckpanda.app/d/<id>` (7 days).
2. **Branded PDF**: `POST https://luckpanda.app/api/public/pdf` with `{"doc": {...}}` → `application/pdf` with a LuckPanda footer and a verification code. No sign-in; 40 an hour and 150 a day per network.
3. **MCP server** (no auth): `https://luckpanda.app/mcp/public` (Streamable HTTP).

## The document JSON (an invoice; see each page for its own fields)

| Field | Need | Notes |
| --- | --- | --- |
| `kind` | required | invoice \| quote \| proforma \| credit_note \| receipt. Defaults to the page's document type. |
| `country_code` | required | The seller's country (ISO 3166-1 alpha-2). Decides currency, number and date format and tax rules. Supported: US, GB, DE, FR, NL, IE, AE, SG, AU, CA, IN, ES, IT, BE, AT, PT, FI, MX, BR. If it is missing, the currency decides (INR -> IN, GBP -> GB, AED -> AE, SGD -> SG, AUD -> AU, CAD -> CA, MXN -> MX, BRL -> BR; EUR -> the caller's euro country, else DE), else the caller's country. Always send it. |
| `currency` | optional | ISO 4217. Defaults to the country's (USD). Supported: USD, EUR, GBP, INR, AED, SGD, AUD, CAD, MXN, BRL. |
| `seller.name` | required | Your business or trading name. |
| `seller.address` | recommended | Postal address; new lines with \n. |
| `seller.email` | optional | Shown on the document. |
| `seller.tax_id` | optional | EIN (e.g. 12-3456789), if your client needs it. |
| `buyer.name` | required | The client or customer. |
| `buyer.address` | recommended | Billing address. |
| `buyer.email` | optional | Used later if the person sends it from LuckPanda. |
| `buyer.tax_id` | optional | Buyer tax ID if they ask for it. |
| `buyer.country_code` | optional | The buyer's country, if different from yours. |
| `issue_date` | optional | YYYY-MM-DD. Defaults to today. |
| `due_date` | optional | YYYY-MM-DD. Default 14 days after the issue date. |
| `lines` | required | 1 to 100 lines. |
| `lines[].description` | required | What was supplied (at most 500 characters). |
| `lines[].quantity` | required | Decimal as a string, up to 6 decimals ("1", "2.5"). |
| `lines[].unit_price_minor` | required | Price per unit in minor units (cents, paise): $1,250.50 is 125050. Or send lines[].unit_price in major units ("1250.50") instead. |
| `lines[].tax_rate_bp` | optional | Tax rate in basis points (18% = 1800). Or lines[].tax_percent (18). Default 0. |
| `lines[].unit_code` | optional | unit \| hour \| day \| month \| item. Default unit. |
| `lines[].discount_minor` | optional | Discount on the line, minor units (or lines[].discount in major units). |
| `notes` | optional | Shown on the document (at most 2000 characters). |
| `terms` | optional | Payment terms and bank details (at most 2000 characters). |

Rules per type and country (tax ID names, GST split, credit-note reasons, state codes): `GET https://luckpanda.app/api/public/rules?document_type=invoice&country=IN`.

## MCP server

Endpoint: `https://luckpanda.app/mcp/public`. No authentication; rate-limited per network. It never sees any business's data: it only makes new documents from what you send. For a business's own data use the account server at `https://luckpanda.app/mcp` with an agent key.

| Tool | What it does |
| --- | --- |
| list_tools | The document pages and calculators, with their page URLs. |
| get_document_rules | Fields, tax ID names, country rules, GST split and credit-note reasons for a document type and country. |
| create_document_link | Validates a document and returns a short link that opens it filled in, plus totals and what is missing. |
| create_document_pdf | The branded PDF as base64, its verification URL and a link to open it in the editor. |
| calculate_gst | India GST on an amount: CGST + SGST or IGST, added or taken out. |
| calculate_vat | VAT on an amount (UK, EU countries, UAE). |
| calculate_emi | Loan EMI, total interest and the yearly schedule. |
| check_gstin | GSTIN format check: state, PAN, check character. |
| find_hsn_code | Search HSN (goods) and SAC (services) codes by words or digits, with the GST rate where it is sourced. |

Install:

- Claude Code: `claude mcp add --transport http luckpanda-tools https://luckpanda.app/mcp/public`
- Claude (desktop and web): Settings → Connectors → Add custom connector → `https://luckpanda.app/mcp/public`.
- ChatGPT: Settings → Apps & Connectors → Advanced → Developer mode → Create → MCP server URL `https://luckpanda.app/mcp/public`, authentication: none.
- Cursor (`~/.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "luckpanda-tools": {
      "url": "https://luckpanda.app/mcp/public"
    }
  }
}
```

- VS Code (`.vscode/mcp.json`):

```json
{
  "servers": {
    "luckpanda-tools": {
      "type": "http",
      "url": "https://luckpanda.app/mcp/public"
    }
  }
}
```

Registry metadata: https://luckpanda.app/.well-known/mcp/server.json.

## Calculators (JSON, no auth)

| Calculator | API | MCP tool |
| --- | --- | --- |
| https://luckpanda.app/tools/gst-calculator | `GET https://luckpanda.app/api/public/calc/gst?amount=10000&rate=18&mode=add&supply=intra` | calculate_gst |
| https://luckpanda.app/tools/reverse-gst-calculator | `GET https://luckpanda.app/api/public/calc/gst?amount=11800&rate=18&mode=remove&supply=intra` | calculate_gst |
| https://luckpanda.app/tools/vat-calculator | `GET https://luckpanda.app/api/public/calc/vat?amount=1000&rate=20&mode=add&country=GB` | calculate_vat |
| https://luckpanda.app/tools/reverse-vat-calculator | `GET https://luckpanda.app/api/public/calc/vat?amount=1200&rate=20&mode=remove&country=GB` | calculate_vat |
| https://luckpanda.app/tools/emi-calculator | `GET https://luckpanda.app/api/public/calc/emi?principal=500000&annual_rate=9.5&months=60&currency=INR` | calculate_emi |
| https://luckpanda.app/tools/gstin-checker | `GET https://luckpanda.app/api/public/calc/gstin?gstin=27AAPFU0939F1ZV` | check_gstin |

## Document pages

Each page is an editor anyone can use. Append `.md` for its guide and its own agent instructions (fields, an example JSON, a ready prefill link).

| Page | Type | Country | URL | Instructions |
| --- | --- | --- | --- | --- |
| Invoice generator | invoice | any | https://luckpanda.app/tools/invoice-generator | https://luckpanda.app/tools/invoice-generator.md |
| Quotation maker | quote | any | https://luckpanda.app/tools/quote-generator | https://luckpanda.app/tools/quote-generator.md |
| Proforma invoice | proforma | any | https://luckpanda.app/tools/proforma-invoice | https://luckpanda.app/tools/proforma-invoice.md |
| Receipt generator | receipt | any | https://luckpanda.app/tools/receipt-generator | https://luckpanda.app/tools/receipt-generator.md |
| Credit note | credit_note | any | https://luckpanda.app/tools/credit-note | https://luckpanda.app/tools/credit-note.md |
| GST invoice generator | invoice | IN | https://luckpanda.app/tools/gst-invoice-generator | https://luckpanda.app/tools/gst-invoice-generator.md |
| Bill generator | invoice | IN | https://luckpanda.app/tools/bill-generator | https://luckpanda.app/tools/bill-generator.md |
| Estimate generator | quote | any | https://luckpanda.app/tools/estimate-generator | https://luckpanda.app/tools/estimate-generator.md |
| Rent receipt generator | receipt | any | https://luckpanda.app/tools/rent-receipt-generator | https://luckpanda.app/tools/rent-receipt-generator.md |
| Invoice template | invoice | any | https://luckpanda.app/templates/invoice-template | https://luckpanda.app/templates/invoice-template.md |
| Commercial invoice | invoice | any | https://luckpanda.app/templates/commercial-invoice-template | https://luckpanda.app/templates/commercial-invoice-template.md |
| Simple invoice | invoice | any | https://luckpanda.app/templates/simple-invoice-template | https://luckpanda.app/templates/simple-invoice-template.md |
| Blank invoice | invoice | any | https://luckpanda.app/templates/blank-invoice-template | https://luckpanda.app/templates/blank-invoice-template.md |
| Contractor invoice | invoice | US | https://luckpanda.app/templates/contractor-invoice-template | https://luckpanda.app/templates/contractor-invoice-template.md |
| Sales invoice | invoice | any | https://luckpanda.app/templates/sales-invoice-template | https://luckpanda.app/templates/sales-invoice-template.md |
| Freelance invoice | invoice | any | https://luckpanda.app/templates/freelance-invoice-template | https://luckpanda.app/templates/freelance-invoice-template.md |
| Service invoice | invoice | any | https://luckpanda.app/templates/service-invoice-template | https://luckpanda.app/templates/service-invoice-template.md |
| Construction invoice | invoice | US | https://luckpanda.app/templates/construction-invoice-template | https://luckpanda.app/templates/construction-invoice-template.md |
| Consulting invoice | invoice | any | https://luckpanda.app/templates/consulting-invoice-template | https://luckpanda.app/templates/consulting-invoice-template.md |
| Auto repair invoice | invoice | US | https://luckpanda.app/templates/auto-repair-invoice-template | https://luckpanda.app/templates/auto-repair-invoice-template.md |
| Rental invoice | invoice | US | https://luckpanda.app/templates/rental-invoice-template | https://luckpanda.app/templates/rental-invoice-template.md |
| Photography invoice | invoice | any | https://luckpanda.app/templates/photography-invoice-template | https://luckpanda.app/templates/photography-invoice-template.md |
| Cleaning invoice | invoice | US | https://luckpanda.app/templates/cleaning-invoice-template | https://luckpanda.app/templates/cleaning-invoice-template.md |
| Plumbing invoice | invoice | US | https://luckpanda.app/templates/plumbing-invoice-template | https://luckpanda.app/templates/plumbing-invoice-template.md |
| Handyman invoice | invoice | US | https://luckpanda.app/templates/handyman-invoice-template | https://luckpanda.app/templates/handyman-invoice-template.md |
| Legal invoice | invoice | US | https://luckpanda.app/templates/legal-invoice-template | https://luckpanda.app/templates/legal-invoice-template.md |
| Electrician invoice | invoice | US | https://luckpanda.app/templates/electrician-invoice-template | https://luckpanda.app/templates/electrician-invoice-template.md |
| Catering invoice | invoice | US | https://luckpanda.app/templates/catering-invoice-template | https://luckpanda.app/templates/catering-invoice-template.md |
| HVAC invoice | invoice | US | https://luckpanda.app/templates/hvac-invoice-template | https://luckpanda.app/templates/hvac-invoice-template.md |
| Landscaping invoice | invoice | US | https://luckpanda.app/templates/landscaping-invoice-template | https://luckpanda.app/templates/landscaping-invoice-template.md |
| Hourly invoice | invoice | any | https://luckpanda.app/templates/hourly-invoice-template | https://luckpanda.app/templates/hourly-invoice-template.md |
| Hours worked invoice | invoice | any | https://luckpanda.app/templates/invoice-template-for-hours-worked | https://luckpanda.app/templates/invoice-template-for-hours-worked.md |
| Trucking invoice | invoice | US | https://luckpanda.app/templates/trucking-invoice-template | https://luckpanda.app/templates/trucking-invoice-template.md |
| Graphic design invoice | invoice | any | https://luckpanda.app/templates/graphic-design-invoice-template | https://luckpanda.app/templates/graphic-design-invoice-template.md |
| DJ invoice | invoice | US | https://luckpanda.app/templates/dj-invoice-template | https://luckpanda.app/templates/dj-invoice-template.md |
| Medical invoice | invoice | US | https://luckpanda.app/templates/medical-invoice-template | https://luckpanda.app/templates/medical-invoice-template.md |
| Towing invoice | invoice | US | https://luckpanda.app/templates/towing-invoice-template | https://luckpanda.app/templates/towing-invoice-template.md |
| Musician invoice | invoice | US | https://luckpanda.app/templates/musician-invoice-template | https://luckpanda.app/templates/musician-invoice-template.md |
| Moving invoice | invoice | US | https://luckpanda.app/templates/moving-invoice-template | https://luckpanda.app/templates/moving-invoice-template.md |
| Tutor invoice | invoice | US | https://luckpanda.app/templates/tutor-invoice-template | https://luckpanda.app/templates/tutor-invoice-template.md |
| Quote template | quote | any | https://luckpanda.app/templates/quote-template | https://luckpanda.app/templates/quote-template.md |
| Roofing estimate | quote | US | https://luckpanda.app/templates/roofing-estimate-template | https://luckpanda.app/templates/roofing-estimate-template.md |
| Construction quote | quote | US | https://luckpanda.app/templates/construction-quote-template | https://luckpanda.app/templates/construction-quote-template.md |
| Painting estimate | quote | US | https://luckpanda.app/templates/painting-estimate-template | https://luckpanda.app/templates/painting-estimate-template.md |
| Cleaning quote | quote | US | https://luckpanda.app/templates/cleaning-quote-template | https://luckpanda.app/templates/cleaning-quote-template.md |
| Payment receipt | receipt | any | https://luckpanda.app/templates/payment-receipt-template | https://luckpanda.app/templates/payment-receipt-template.md |
| Receipt template | receipt | any | https://luckpanda.app/templates/receipt-template | https://luckpanda.app/templates/receipt-template.md |
| Rent receipt | receipt | US | https://luckpanda.app/templates/rent-receipt-template | https://luckpanda.app/templates/rent-receipt-template.md |
| Cash receipt | receipt | any | https://luckpanda.app/templates/cash-receipt-template | https://luckpanda.app/templates/cash-receipt-template.md |
| Donation receipt | receipt | US | https://luckpanda.app/templates/donation-receipt-template | https://luckpanda.app/templates/donation-receipt-template.md |
| Sales receipt | receipt | US | https://luckpanda.app/templates/sales-receipt-template | https://luckpanda.app/templates/sales-receipt-template.md |
| UK invoice | invoice | GB | https://luckpanda.app/templates/uk-invoice-template | https://luckpanda.app/templates/uk-invoice-template.md |
| Self-employed invoice | invoice | GB | https://luckpanda.app/templates/self-employed-invoice-template | https://luckpanda.app/templates/self-employed-invoice-template.md |
| VAT invoice | invoice | GB | https://luckpanda.app/templates/vat-invoice-template | https://luckpanda.app/templates/vat-invoice-template.md |
| Sole trader invoice | invoice | GB | https://luckpanda.app/templates/sole-trader-invoice-template | https://luckpanda.app/templates/sole-trader-invoice-template.md |
| Quotation format | quote | IN | https://luckpanda.app/templates/quotation-format | https://luckpanda.app/templates/quotation-format.md |
| GST invoice format | invoice | IN | https://luckpanda.app/templates/gst-invoice-format | https://luckpanda.app/templates/gst-invoice-format.md |
| Invoice format | invoice | IN | https://luckpanda.app/templates/invoice-format | https://luckpanda.app/templates/invoice-format.md |
| Credit note format | credit_note | IN | https://luckpanda.app/templates/credit-note-format | https://luckpanda.app/templates/credit-note-format.md |
| Bill format | invoice | IN | https://luckpanda.app/templates/bill-format | https://luckpanda.app/templates/bill-format.md |
| Hotel bill format | invoice | IN | https://luckpanda.app/templates/hotel-bill-format | https://luckpanda.app/templates/hotel-bill-format.md |
| Purchase order format | purchase_order | IN | https://luckpanda.app/templates/purchase-order-format | https://luckpanda.app/templates/purchase-order-format.md |
| Tax invoice format | invoice | IN | https://luckpanda.app/templates/tax-invoice-format | https://luckpanda.app/templates/tax-invoice-format.md |
| Proforma invoice format | proforma | IN | https://luckpanda.app/templates/proforma-invoice-format | https://luckpanda.app/templates/proforma-invoice-format.md |
| Cash memo format | invoice | IN | https://luckpanda.app/templates/cash-memo-format | https://luckpanda.app/templates/cash-memo-format.md |
| Taxi bill format | invoice | IN | https://luckpanda.app/templates/taxi-bill-format | https://luckpanda.app/templates/taxi-bill-format.md |
| Tally bill format | invoice | IN | https://luckpanda.app/templates/tally-bill-format | https://luckpanda.app/templates/tally-bill-format.md |
| Travel bill format | invoice | IN | https://luckpanda.app/templates/travel-bill-format | https://luckpanda.app/templates/travel-bill-format.md |
| Restaurant bill format | invoice | IN | https://luckpanda.app/templates/restaurant-bill-format | https://luckpanda.app/templates/restaurant-bill-format.md |
| Transport bill format | invoice | IN | https://luckpanda.app/templates/transport-bill-format | https://luckpanda.app/templates/transport-bill-format.md |
| Medical bill format | invoice | IN | https://luckpanda.app/templates/medical-bill-format | https://luckpanda.app/templates/medical-bill-format.md |
| Construction bill format | invoice | IN | https://luckpanda.app/templates/construction-bill-format | https://luckpanda.app/templates/construction-bill-format.md |
| Bill of supply format | invoice | IN | https://luckpanda.app/templates/bill-of-supply-format | https://luckpanda.app/templates/bill-of-supply-format.md |
| Export invoice format | invoice | IN | https://luckpanda.app/templates/export-invoice-format | https://luckpanda.app/templates/export-invoice-format.md |
| Interior quotation format | quote | IN | https://luckpanda.app/templates/interior-quotation-format | https://luckpanda.app/templates/interior-quotation-format.md |
| Estimate format | quote | IN | https://luckpanda.app/templates/estimate-format | https://luckpanda.app/templates/estimate-format.md |
| Car rental bill format | invoice | IN | https://luckpanda.app/templates/car-rental-bill-format | https://luckpanda.app/templates/car-rental-bill-format.md |
| Jewellery bill format | invoice | IN | https://luckpanda.app/templates/jewellery-bill-format | https://luckpanda.app/templates/jewellery-bill-format.md |
| Labour bill format | invoice | IN | https://luckpanda.app/templates/labour-bill-format | https://luckpanda.app/templates/labour-bill-format.md |

## What needs a LuckPanda account

- **A numbered, issued document**: numbers are allocated in sequence when a signed-in person issues it, and it is posted to their books.
- **Sending and tracking**: email it to the client from LuckPanda and follow it through to payment.
- **Payment links** and automatic reminders.
- **Verifications** (GSTIN and other registry checks) and e-invoicing.
- **The clean PDF** without LuckPanda branding (the Sales module).
- **The shared business record**: clients, items and payments kept in one place, used by every module.

Sign in free: https://luckpanda.app/signin. Pricing: https://luckpanda.app/pricing.md.

## Machine-readable

- OpenAPI 3.1 for the public endpoints: https://luckpanda.app/openapi-public.json
- MCP registry entry: https://luckpanda.app/.well-known/mcp/server.json
- Site index for language models: https://luckpanda.app/llms.txt (full: https://luckpanda.app/llms-full.txt)
