---
title: "Medical Bill Format for Pharmacies and Clinics"
canonical: https://luckpanda.app/templates/medical-bill-format
language: en
updated: 2026-10-09
content: full
---

# Medical bill format

**What should a medical bill include in India?** A pharmacy bill must show the pharmacy's name, address and drug licence numbers, a serial number, and the name and quantity of each medicine; for prescription drugs, also the batch number, expiry, manufacturer, patient and prescribing doctor. Most medicines carry 5% GST since 22 September 2025. Consultations and treatment by doctors, clinics and hospitals are exempt from GST and are billed without it.

- Every retail sale of a drug is made against a numbered cash or credit memo, and the pharmacy keeps the carbon copy.
- Schedule H1 sales are also entered in a separate register kept for three years.
- Medicines given to in-patients are part of the exempt treatment; medicines sold to out-patients are a taxable sale.
- Insurers and employers want itemised, signed, original bills with the prescription.

Free online tool: https://luckpanda.app/templates/medical-bill-format (create on screen, no account needed).

## Pharmacy, clinic and hospital bills: which is which

"Medical bill" covers three different documents, and each follows different rules:

|  | Pharmacy (medical store) bill | Clinic or doctor's bill | Hospital bill |
| --- | --- | --- | --- |
| What is sold | Medicines and other goods | Consultation, procedures, dressings | Treatment: room, doctors, procedures, medicines, tests |
| GST | Yes, by product: most medicines 5% | Exempt health care service | Exempt for treatment; in-patient medicines are part of it |
| Document if GST-registered | Tax invoice | Bill of supply | Bill of supply for treatment; tax invoice for taxable extras |
| Licence on the bill | Retail drug licence numbers | Doctor's registration number (good practice) | Hospital registration, where the state requires it |
| Other law | Drugs and Cosmetics Rules (rule 65) | State medical council rules | State clinical establishment rules, insurer and TPA requirements |

## How to fill in this medical bill format

1. **Add the pharmacy or clinic** Enter the name and address as on the drug licence, your GSTIN and state if registered, and the licence numbers in the address or notes.
2. **Enter the patient and the doctor** Put the patient's name and address under "Bill to", and the prescribing doctor and prescription date in the notes or the client name.
3. **Add each medicine** Use one line per medicine with the batch number and expiry in the description, HSN code (3004 for most packaged medicines), quantity and the taxable rate. For exempt services such as consultations, set the rate to 0%.
4. **Check the GST rate per line** Set the GST rate from each product's HSN entry: most medicines 5%, some nil, devices and other goods at their own rates. The tool splits CGST and SGST for local sales.
5. **Sign in to issue it** Sign in to issue: the bill takes the next number in your series and is kept as the carbon copy rule 65 asks you to keep. Issuing needs the Sales module.

## Example: a pharmacy bill with GST

Shubham Medical & General Stores in Nagpur sells three medicines to Sunita Deshmukh on Dr A. Joshi's prescription. Amoxicillin is a Schedule H drug, so it may be sold only on a prescription and the sale must be recorded with the prescriber, patient, batch and manufacturer. The pharmacy is GST-registered in Maharashtra and the sale is local, so 5% GST splits into 2.5% CGST and 2.5% SGST.

![Example pharmacy tax invoice MED/26-27/04518 from Shubham Medical & General Stores, Nagpur, with drug licence numbers and GSTIN, to patient Sunita Deshmukh on Dr A. Joshi's prescription, for paracetamol, amoxicillin and cetirizine with batch numbers and expiry dates, GST at 5%.](https://luckpanda.app/img/guide/en--medical-bill-format--pharmacy-bill.svg)

*A pharmacy bill that meets rule 65 of the Drugs and Cosmetics Rules and rule 46 of the CGST Rules together. Licence numbers shown are format examples.*

1. **Serial number** of the cash or credit memo, in one series.
2. **Pharmacy name, address and sale licence numbers** (rule 65), and the GSTIN.
3. **Prescribing doctor** and the prescription date, for Schedule H and H1 drugs.
4. **Patient's name and address**.
5. **Medicine name, quantity, batch number and expiry** on every line.
6. **HSN 3004** for packaged medicines; the code decides the GST rate.
7. **GST**: CGST + SGST at 2.5% each for a sale within Maharashtra.
8. **Signature of the registered pharmacist** who supplied the drugs.

**The numbers: bill MED/26-27/04518**

| Item | Qty | Rate | Taxable value | Tax |
| --- | --- | --- | --- | --- |
| Paracetamol 650 mg (15) B:PT2410 Exp 08/27 | 2 | ₹33.00 | ₹66.00 | ₹3.30 |
| Amoxicillin 500 mg (10) B:AX5528 Exp 03/27 | 2 | ₹95.00 | ₹190.00 | ₹9.50 |
| Cetirizine 10 mg (10) B:CT1187 Exp 11/27 | 1 | ₹22.00 | ₹22.00 | ₹1.10 |
| Taxable value |  |  | ₹278.00 |  |
| CGST 2.5% |  |  |  | ₹6.95 |
| SGST 2.5% |  |  |  | ₹6.95 |
| Total |  |  |  | ₹291.90 |

Taxable value ₹278.00, GST ₹13.90, bill total ₹291.90. The rates are taxable values: medicine MRPs include GST, so a strip of paracetamol with an MRP of ₹34.65 has a taxable value of ₹33.00.

### A clinic bill without GST

The same patient's consultation and dressing at a clinic are health care services by an authorised medical practitioner, so they are exempt. A clinic that is GST-registered for some other taxable supply issues a bill of supply for them; an unregistered clinic issues a plain bill. Either way, no GST is shown.

**Clinic bill: consultation and dressing (exempt)**

| Item | Qty | Rate | Taxable value | Tax |
| --- | --- | --- | --- | --- |
| Consultation, Dr A. Joshi, MBBS, MD | 1 | ₹800.00 | ₹800.00 | ₹0.00 |
| Wound dressing | 1 | ₹300.00 | ₹300.00 | ₹0.00 |
| Subtotal |  |  | ₹1,100.00 | ₹0.00 |
| Total |  |  |  | ₹1,100.00 |

Total ₹1,100.00 with no GST. Medicines dispensed from the clinic's own counter to this out-patient would go on a separate, taxed bill.

## What the Drugs and Cosmetics Rules require on a pharmacy bill

Rule 65 of the Drugs and Cosmetics Rules 1945 sets the conditions of a retail drug licence. For billing, it comes down to this:

| Requirement | What it means on the bill | Rule 65 |
| --- | --- | --- |
| Every retail sale against a cash or credit memo | Name, address and sale licence number of the pharmacy; serial number; name and quantity of each drug. Keep the carbon copies | Sub-rule (4)(3) |
| Prescription sales recorded | Date, prescriber's name and address, patient's name and address, drug and quantity, pharmacist's signature; for Schedule C, H and H1 drugs also the manufacturer, batch number and expiry. A serially numbered cash or credit memo book can be used instead of a prescription register for drugs supplied in original packs | Sub-rule (3) |
| Schedule H1 drugs | Also entered in a separate register: prescriber, patient, drug and quantity. Kept for three years and open for inspection | Sub-rule (3)(1)(h) |
| Supply under a pharmacist | Prescription drugs are supplied by or under the supervision of a registered pharmacist | Sub-rule (2) |
| Purchase records | Your own purchase bills, with supplier licence, batch and manufacturer, kept in date order | Sub-rule (4)(4) |

Retail licences are issued in **Form 20** (drugs other than those in Schedules C, C(1) and X) and **Form 21** (Schedule C and C(1) drugs); wholesale licences in Forms 20B and 21B. Print both retail numbers on the bill. The selling price can never exceed the MRP printed on the pack, which already includes GST.

## GST on medicines and health care after GST 2.0

- **Medicines**: most packaged medicines moved from 12% to **5%** on 22 September 2025, and a list of life-saving drugs became **nil-rated**. Check the HSN entry for each product rather than assuming.
- **Medical devices and diagnostic kits**: many moved to 5% at the same time; others, and general pharmacy goods such as cosmetics and toiletries, carry their own rates.
- **Health care services** by a clinical establishment, an authorised medical practitioner or paramedics are **exempt**. That covers diagnosis, treatment and care, including diagnostic labs that are clinical establishments.
- **Not exempt**: cosmetic or plastic surgery, unless it restores or reconstructs anatomy or function affected by congenital defects, developmental abnormalities, injury or trauma.
- **In-patients**: medicines, consumables and food supplied to admitted patients as part of treatment are part of a composite supply of exempt health care (CBIC Circular 32/06/2018-GST).
- **Out-patients**: medicines sold by a hospital pharmacy to out-patients are a separate taxable sale and need a tax invoice.
- **Input tax credit**: a hospital cannot claim credit on inputs used for exempt treatment, so its costs include the GST it pays.

> **Registration** A pharmacy is a seller of goods: it must register once aggregate turnover crosses ₹40 lakh in most states (₹20 lakh in some special category states). A clinic supplying only exempt services does not need to register.

## Hospital bills: interim, final and package bills

A hospital bill is itemised by head, because insurers and patients check each one:

- Room or bed charges per day, with the room category;
- Doctors' visits and consultations, with each doctor's name;
- Procedures and operation theatre charges, surgeon and anaesthetist fees;
- Investigations: lab tests and imaging, each named;
- Medicines and consumables, with a separate pharmacy statement listing batch numbers;
- Package charges, with what the package includes and what was billed outside it;
- Advances received, discounts, and the balance payable.

Most hospitals issue an **interim bill** during a long stay and a **final bill** at discharge, with the discharge summary. Treatment is exempt from GST, so the final bill shows no GST on those heads; taxable extras (for example retail items bought by attendants) appear on a separate invoice.

## Medical bills for insurance claims and reimbursement

**What does a health insurer need for a reimbursement claim?**
Typically: the claim form, the final hospital bill itemised by head, payment receipts, the discharge summary, prescriptions with the matching pharmacy bills, and investigation reports. Bills must carry the patient's name, dates, the hospital's or pharmacy's details and a signature or stamp. In a cashless claim the hospital sends these to the insurer or TPA directly.

**Why do pharmacy bills get rejected in claims?**
Because they do not match a prescription: a bill with no doctor's name, a date before the prescription, missing batch or patient details, or medicines not linked to the treatment claimed. Keep each pharmacy bill with its prescription.

**Is medical reimbursement from an employer tax-free?**
Generally not any more. The old tax-free medical reimbursement of up to ₹15,000 a year was replaced by the standard deduction from 2018-19, so most reimbursements are taxed as salary unless a specific exclusion applies. Employers still ask for itemised bills to approve the claim.

**What do government employees submit?**
Central government employees claim under the CS(MA) Rules or CGHS: original bills and cash memos, the prescription, and an essentiality certificate signed by the treating doctor. State schemes have their own forms, so check the department's format.

**Can medical bills reduce income tax?**
Under the old regime, health insurance premiums are deductible, and so are medical expenses for a senior citizen who has no health insurance, within limits. Pay by card, UPI or bank: cash payments do not qualify, except for preventive health check-ups. The new regime has no such deduction.

## Medical bill format, field by field

| Field | Pharmacy bill | Clinic or hospital bill |
| --- | --- | --- |
| Title | Tax invoice (or cash/credit memo if unregistered) | Bill, or bill of supply if registered |
| Seller details | Name, address, drug licence numbers, GSTIN | Name, address, registration number, doctor's registration |
| Number and date | One consecutive series, up to 16 characters | One series |
| Patient | Name and address | Name, age, patient or IP number, admission and discharge dates |
| Doctor | Prescribing doctor and prescription date | Treating doctor(s) |
| Lines | Medicine, HSN, batch, expiry, quantity, rate | Service heads, with dates and quantities |
| Tax | GST by line (most medicines 5%) | None on exempt treatment |
| Total | In figures and words, within MRP | With advances and balance |
| Signature | Registered pharmacist | Authorised signatory |

## Mistakes to avoid

- **Charging GST on a consultation.** Doctors' and clinics' health care services are exempt.
- **Adding GST on top of the MRP.** The MRP already includes it; the selling price cannot exceed it.
- **One GST rate for the whole bill.** Medicines, devices and cosmetics can carry different rates; go by HSN.
- **No batch or expiry** on a prescription drug line, which breaks the rule 65 record and makes recalls untraceable.
- **Selling a Schedule H1 drug** without the separate register entry.
- **No licence numbers** on the bill.
- **Undated or unsigned bills** for insurance or reimbursement, or bills that do not match the prescription.

## Medical bill vs prescription vs discharge summary vs medical certificate

|  | Medical bill | Prescription | Discharge summary | Medical certificate |
| --- | --- | --- | --- | --- |
| Issued by | Pharmacy, clinic or hospital | Registered doctor | Hospital | Registered doctor |
| Shows | What was supplied and what it cost | What the doctor ordered | Diagnosis, treatment, advice on discharge | Fitness or illness for a period |
| Has amounts | Yes | No | No | No |
| Needed for insurance | Yes | Yes, with pharmacy bills | Yes, for hospitalisation | Sometimes, for leave or disability cover |
| GST | On taxable goods only | No | No | No |

## Key terms

**Drug licence (Forms 20 and 21)**: The retail licences a pharmacy needs to sell drugs; their numbers go on every bill.

**Schedule H / H1**: Prescription-only drugs; H1 sales are also recorded in a separate register kept for three years.

**Batch number**: The manufacturer's lot code that lets a medicine be traced and recalled.

**Clinical establishment**: A hospital, clinic, nursing home or lab offering diagnosis or treatment; its health care services are exempt from GST.

**Composite supply**: A bundle supplied together with one principal supply; in-patient medicines follow the exempt treatment.

**MRP**: The maximum retail price printed on the pack, inclusive of all taxes.

**Essentiality certificate**: A doctor's certificate that the treatment and medicines were essential, needed for government medical claims.

## Questions people ask

### What GST applies to medicines?

Most medicines have been taxed at 5% since 22 September 2025, and a list of life-saving drugs is exempt. Medical devices and other pharmacy products carry their own rates, so check each HSN code.

### Is GST charged on a doctor's consultation?

No. Health care services by a clinical establishment, an authorised medical practitioner or paramedics are exempt. Medicines sold to out-patients are a separate taxable sale; medicines given to in-patients as part of treatment form part of the exempt service.

### Why do batch number and expiry matter?

They let the patient and the pharmacy trace a medicine if it is recalled, and the Drugs and Cosmetics Rules require sale records of prescription drugs to identify the batch and manufacturer.

### Why does the bill show the doctor's name?

Schedule H and H1 drugs may only be sold against a prescription, and Schedule H1 sales must be entered in a register with the patient, doctor and drug details. Printing the doctor's name on the bill keeps that record together.

### Is a medical bill without GST valid?

Yes, where no GST applies: an unregistered pharmacy's cash memo, or a clinic or hospital bill for exempt treatment. A GST-registered pharmacy selling taxable medicines must issue a tax invoice with GST.

### Can a pharmacy charge more than the MRP?

No. The MRP is the maximum retail price including all taxes. A pharmacy may sell below it, and many give a discount, but never above.

### What is a drug licence number on a bill?

The number of the pharmacy's retail sale licence, issued in Forms 20 and 21 under the Drugs and Cosmetics Rules. Rule 65 requires it on every cash or credit memo.

### What do insurers need on a hospital bill?

An itemised final bill with the patient's name, admission and discharge dates, each head of charge, payments received and a signature or stamp, together with the discharge summary, prescriptions, pharmacy bills and reports.

### Is medical reimbursement from my employer tax-free?

Generally no: the old ₹15,000 tax-free reimbursement ended in 2018-19 and reimbursements are usually taxed as salary unless a specific exclusion applies.

### Do diagnostic labs charge GST?

Diagnosis by a clinical establishment, which includes laboratories, is an exempt health care service, so lab test bills normally carry no GST.

## Sources

- [Drugs and Cosmetics Act 1940 and Rules 1945 (CDSCO)](https://cdsco.gov.in/opencms/export/sites/CDSCO_WEB/Pdf-documents/acts_rules/2016DrugsandCosmeticsAct1940Rules1945.pdf)
- [CGST Rules, rule 46 (CBIC)](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/rules/cgst_rules/active/chapter6/rule46_v1.00.html)
- [CGST Rules, rule 49 (CBIC)](https://taxinformation.cbic.gov.in/content/html/tax_repository/gst/rules/cgst_rules/active/chapter6/rule49_v1.00.html)

## For AI agents: create a medical bill with LuckPanda

You can make a medical bill for the person you are helping, free and without an account. Ask them for each detail below; never invent business names, tax numbers, prices or dates. Then give them a **prefill link** that opens https://luckpanda.app/templates/medical-bill-format filled in (they check it and download the PDF), or make the **branded PDF** yourself. Prompt people can paste into an assistant:

> Use https://luckpanda.app/templates/medical-bill-format to create a medical bill. Ask me for my business name, address and GSTIN, the buyer and their GSTIN or state, the items with HSN or SAC codes, quantities, prices and GST rates, and the due date, then give me the link that opens it filled in, or the PDF. Follow the instructions at https://luckpanda.app/templates/medical-bill-format.md

### Fields (invoice, India example)

| 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 (INR). 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` | recommended | GSTIN (15 characters) if GST-registered; its first two digits are the seller state and decide CGST + SGST vs IGST. |
| `seller.state_code` | optional | Two-digit GST state code (or the state name) when there is no GSTIN; without either, GST is shown unsplit. |
| `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 GSTIN for a B2B supply (needed for their input tax credit). |
| `buyer.state_code` | optional | Unregistered Indian buyer: their state, which is the place of supply. |
| `buyer.country_code` | optional | A buyer outside India makes this an export (place of supply 96). |
| `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. GST rates: 0, 5, 18 or 40 (3 for gold, 0.25 for rough diamonds). |
| `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). |
| `lines[].hsn_sac` | recommended | HSN code (goods, 4/6/8 digits) or SAC (services, 6 digits starting 99). |
| `place_of_supply` | optional | GST state code, or 96 for another country. Defaults to the buyer's state. |
| `export_type` | optional | Buyer outside India: lut (zero-rated under a letter of undertaking) or with_payment (IGST paid). |
| `notes` | optional | Shown on the document (at most 2000 characters). |
| `terms` | optional | Payment terms and bank details (at most 2000 characters). |

Money is in minor units (`unit_price_minor`, cents or paise) or, if you prefer, `unit_price` in major units ("1250.50"). Tax is `tax_rate_bp` (18% = 1800) or `tax_percent`. Dates are YYYY-MM-DD. Text is plain text: HTML is shown as typed, never rendered. Logos and document numbers are not accepted from links.

### Country rules

This page makes India documents: currency INR, GST, seller tax ID "GSTIN" (e.g. 27AAPFU0939F1ZV). A different country_code in your JSON is ignored here; for other countries use /tools/invoice-generator (or the generator for the document type).

**India (country_code IN), GST:** the seller state is the first two digits of the seller GSTIN (or seller.state_code). Seller state = place of supply: CGST + SGST, each half the rate. Another state: IGST. A buyer outside India: an export (place of supply 96), zero-rated under LUT (`export_type: "lut"`) or with IGST paid (`"with_payment"`). If the seller state is unknown, GST is shown unsplit until it is given. Add HSN (goods) or SAC (services) codes per line.

Full rules for any type and country: `GET https://luckpanda.app/api/public/rules?document_type=invoice&country=IN` or the MCP tool `get_document_rules`.

### Example document (JSON)

```json
{
  "kind": "invoice",
  "currency": "INR",
  "country_code": "IN",
  "seller": {
    "name": "Shubham Medical & General Stores",
    "email": "shubhammedical@example.com",
    "address": "Opp. Civil Hospital\nNagpur, Maharashtra 440003",
    "country_code": "IN",
    "tax_id": "27AABCS7412K1Z8"
  },
  "buyer": {
    "name": "Patient: Sunita Deshmukh (prescribed by Dr. A. Joshi)",
    "email": "accounts@acme.example",
    "address": "12 MG Road\nPune 411001",
    "country_code": "IN"
  },
  "issue_date": "2026-10-09",
  "due_date": "2026-10-09",
  "lines": [
    {
      "description": "Paracetamol 650 mg tablets, strip of 15 (HSN 3004). Batch PT2410, exp 08/2027",
      "quantity": "2",
      "unit_code": "unit",
      "unit_price_minor": 3300,
      "tax_rate_bp": 500
    },
    {
      "description": "Amoxicillin 500 mg capsules, strip of 10 (HSN 3004). Batch AX5528, exp 03/2027",
      "quantity": "2",
      "unit_code": "unit",
      "unit_price_minor": 9500,
      "tax_rate_bp": 500
    },
    {
      "description": "Cetirizine 10 mg tablets, strip of 10 (HSN 3004). Batch CT1187, exp 11/2027",
      "quantity": "1",
      "unit_code": "unit",
      "unit_price_minor": 2200,
      "tax_rate_bp": 500
    }
  ],
  "notes": "Retail drug licence nos. 20-XX-0000 and 21-XX-0000. Amoxicillin sold against the prescription of Dr. A. Joshi dated 7 October.",
  "terms": "Payment due within 14 days by bank transfer."
}
```

### 1. Prefill link (no API call)

Put the JSON in `?doc=`, as base64url (UTF-8) or as URL-encoded raw JSON. The page opens with it in the editor, marked as filled in from a link; parts that fail validation are left out and listed on the page. Example:

https://luckpanda.app/templates/medical-bill-format?doc=eyJraW5kIjoiaW52b2ljZSIsImN1cnJlbmN5IjoiSU5SIiwiY291bnRyeV9jb2RlIjoiSU4iLCJzZWxsZXIiOnsibmFtZSI6IlNodWJoYW0gTWVkaWNhbCAmIEdlbmVyYWwgU3RvcmVzIiwiZW1haWwiOiJzaHViaGFtbWVkaWNhbEBleGFtcGxlLmNvbSIsImFkZHJlc3MiOiJPcHAuIENpdmlsIEhvc3BpdGFsXG5OYWdwdXIsIE1haGFyYXNodHJhIDQ0MDAwMyIsImNvdW50cnlfY29kZSI6IklOIiwidGF4X2lkIjoiMjdBQUJDUzc0MTJLMVo4In0sImJ1eWVyIjp7Im5hbWUiOiJQYXRpZW50OiBTdW5pdGEgRGVzaG11a2ggKHByZXNjcmliZWQgYnkgRHIuIEEuIEpvc2hpKSIsImVtYWlsIjoiYWNjb3VudHNAYWNtZS5leGFtcGxlIiwiYWRkcmVzcyI6IjEyIE1HIFJvYWRcblB1bmUgNDExMDAxIiwiY291bnRyeV9jb2RlIjoiSU4ifSwiaXNzdWVfZGF0ZSI6IjIwMjYtMTAtMDkiLCJkdWVfZGF0ZSI6IjIwMjYtMTAtMDkiLCJsaW5lcyI6W3siZGVzY3JpcHRpb24iOiJQYXJhY2V0YW1vbCA2NTAgbWcgdGFibGV0cywgc3RyaXAgb2YgMTUgKEhTTiAzMDA0KS4gQmF0Y2ggUFQyNDEwLCBleHAgMDgvMjAyNyIsInF1YW50aXR5IjoiMiIsInVuaXRfY29kZSI6InVuaXQiLCJ1bml0X3ByaWNlX21pbm9yIjozMzAwLCJ0YXhfcmF0ZV9icCI6NTAwfSx7ImRlc2NyaXB0aW9uIjoiQW1veGljaWxsaW4gNTAwIG1nIGNhcHN1bGVzLCBzdHJpcCBvZiAxMCAoSFNOIDMwMDQpLiBCYXRjaCBBWDU1MjgsIGV4cCAwMy8yMDI3IiwicXVhbnRpdHkiOiIyIiwidW5pdF9jb2RlIjoidW5pdCIsInVuaXRfcHJpY2VfbWlub3IiOjk1MDAsInRheF9yYXRlX2JwIjo1MDB9LHsiZGVzY3JpcHRpb24iOiJDZXRpcml6aW5lIDEwIG1nIHRhYmxldHMsIHN0cmlwIG9mIDEwIChIU04gMzAwNCkuIEJhdGNoIENUMTE4NywgZXhwIDExLzIwMjciLCJxdWFudGl0eSI6IjEiLCJ1bml0X2NvZGUiOiJ1bml0IiwidW5pdF9wcmljZV9taW5vciI6MjIwMCwidGF4X3JhdGVfYnAiOjUwMH1dLCJub3RlcyI6IlJldGFpbCBkcnVnIGxpY2VuY2Ugbm9zLiAyMC1YWC0wMDAwIGFuZCAyMS1YWC0wMDAwLiBBbW94aWNpbGxpbiBzb2xkIGFnYWluc3QgdGhlIHByZXNjcmlwdGlvbiBvZiBEci4gQS4gSm9zaGkgZGF0ZWQgNyBPY3RvYmVyLiIsInRlcm1zIjoiUGF5bWVudCBkdWUgd2l0aGluIDE0IGRheXMgYnkgYmFuayB0cmFuc2Zlci4ifQ

Or use simple parameters for the common fields:

| Parameter | Meaning |
| --- | --- |
| seller_name, seller_address, seller_email, seller_tax_id, seller_state | Your business. seller_state: Indian GST state code or name. |
| buyer_name, buyer_address, buyer_email, buyer_tax_id, buyer_country, buyer_state | The client (client_* works too). |
| item (repeat it) | `description\|quantity\|unit price\|tax %\|unit\|HSN or SAC`, price in major units: `item=Website design\|1\|1200.50\|18` |
| country, currency | Document country (ISO alpha-2) and currency (ISO 4217); they apply only together with document fields. |
| kind | invoice, quote, proforma, credit_note or receipt (default: the page's). |
| issue_date, due_date | YYYY-MM-DD. |
| notes, terms | Plain text. |
| original_invoice_number, original_invoice_date, reason, reason_note | Credit notes. |
| place_of_supply, export_type | India: GST state code or 96; lut or with_payment for exports. |

https://luckpanda.app/templates/medical-bill-format?seller_name=Shubham%20Medical%20%26%20General%20Stores&seller_tax_id=27AABCS7412K1Z8&buyer_name=Patient%3A%20Sunita%20Deshmukh%20%28prescribed%20by%20Dr.%20A.%20Joshi%29&item=Paracetamol%20650%20mg%20tablets%2C%20strip%20of%2015%20%28HSN%203004%29.%20Batch%20PT2410%2C%20exp%2008%2F2027%7C2%7C33.00%7C5%7Cunit

**Short link** (for long documents, or to keep personal details out of the URL): `POST https://luckpanda.app/api/public/drafts` with `{"page": "medical-bill-format", "doc": {...}}` returns `{"url": "https://luckpanda.app/d/<id>", "totals": {...}, "missing": [...], "ignored": [...]}`. Links open for 7 days; at most 60 per hour per network.

```bash
curl -s -X POST https://luckpanda.app/api/public/drafts -H 'content-type: application/json' \
  -d '{"page":"medical-bill-format","doc":{"kind":"invoice","currency":"INR","country_code":"IN","seller":{"name":"Shubham Medical & General Stores","email":"shubhammedical@example.com","address":"Opp. Civil Hospital\nNagpur, Maharashtra 440003","country_code":"IN","tax_id":"27AABCS7412K1Z8"},"buyer":{"name":"Patient: Sunita Deshmukh (prescribed by Dr. A. Joshi)","email":"accounts@acme.example","address":"12 MG Road\nPune 411001","country_code":"IN"},"issue_date":"2026-10-09","due_date":"2026-10-09","lines":[{"description":"Paracetamol 650 mg tablets, strip of 15 (HSN 3004). Batch PT2410, exp 08/2027","quantity":"2","unit_code":"unit","unit_price_minor":3300,"tax_rate_bp":500},{"description":"Amoxicillin 500 mg capsules, strip of 10 (HSN 3004). Batch AX5528, exp 03/2027","quantity":"2","unit_code":"unit","unit_price_minor":9500,"tax_rate_bp":500},{"description":"Cetirizine 10 mg tablets, strip of 10 (HSN 3004). Batch CT1187, exp 11/2027","quantity":"1","unit_code":"unit","unit_price_minor":2200,"tax_rate_bp":500}],"notes":"Retail drug licence nos. 20-XX-0000 and 21-XX-0000. Amoxicillin sold against the prescription of Dr. A. Joshi dated 7 October.","terms":"Payment due within 14 days by bank transfer."}}'
```

### 2. Branded PDF (no sign-in)

`POST https://luckpanda.app/api/public/pdf` with `{"doc": {...}}` (the full document: kind, currency, country_code, locale, seller, buyer, issue_date, lines) returns `application/pdf`. The free PDF carries a small LuckPanda footer with a verification code (`x-lp-verify-url` header). Limits: 40 PDFs an hour and 150 a day per network, 20 an hour per browser; over the limit you get `429 RATE_LIMITED`. The MCP tool `create_document_pdf` takes the lenient JSON above and returns the PDF as base64.

```bash
curl -s -X POST https://luckpanda.app/api/public/pdf -H 'content-type: application/json' \
  -d '{"doc":{"kind":"invoice","currency":"INR","country_code":"IN","locale":"en-IN","seller":{"name":"Shubham Medical & General Stores","email":"shubhammedical@example.com","address":"Opp. Civil Hospital\nNagpur, Maharashtra 440003","country_code":"IN","tax_id":"27AABCS7412K1Z8"},"buyer":{"name":"Patient: Sunita Deshmukh (prescribed by Dr. A. Joshi)","email":"accounts@acme.example","address":"12 MG Road\nPune 411001","country_code":"IN"},"number":null,"issue_date":"2026-10-09","due_date":"2026-10-09","lines":[{"description":"Paracetamol 650 mg tablets, strip of 15 (HSN 3004). Batch PT2410, exp 08/2027","quantity":"2","unit_code":"unit","unit_price_minor":3300,"tax_rate_bp":500},{"description":"Amoxicillin 500 mg capsules, strip of 10 (HSN 3004). Batch AX5528, exp 03/2027","quantity":"2","unit_code":"unit","unit_price_minor":9500,"tax_rate_bp":500},{"description":"Cetirizine 10 mg tablets, strip of 10 (HSN 3004). Batch CT1187, exp 11/2027","quantity":"1","unit_code":"unit","unit_price_minor":2200,"tax_rate_bp":500}],"notes":"Retail drug licence nos. 20-XX-0000 and 21-XX-0000. Amoxicillin sold against the prescription of Dr. A. Joshi dated 7 October.","terms":"Payment due within 14 days by bank transfer."}}' -o medical-bill-format.pdf
```

### 3. MCP server (no auth)

Streamable HTTP at `https://luckpanda.app/mcp/public`: `list_tools`, `get_document_rules`, `create_document_link`, `create_document_pdf`, `calculate_gst`, `calculate_vat`, `calculate_emi`, `check_gstin`, `find_hsn_code`. Install: https://luckpanda.app/agents.

### What needs a LuckPanda account

Agents propose; people decide. Nothing made here is issued, sent or paid by an agent. The person signs in free to keep going:

- **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: https://luckpanda.app/signin. Pricing: https://luckpanda.app/pricing.md. All agent options: https://luckpanda.app/agents.md.
