AI prompts for the gstinapi.in API

6 sections, one markdown file each. Paste a file into Claude, ChatGPT, Cursor or Copilot and the assistant builds the whole integration for that section.

Pick a section

E-way bill API master prompt

Generate, look up, print as PDF, update the vehicle, extend, cancel, reject, close, consolidate and list.

Also at /e-way-bill-api/master-prompt.md

E-invoice API master prompt

Generate an IRN with or without the e-way bill, look it up, cancel it.

Also at /e-invoice-api/master-prompt.md

GSTIN and HSN API master prompt

Verify a GSTIN, read its return filing status, frequency and compliance summary, and look up HSN and SAC codes.

Also at /ai-prompts/gstin-and-hsn.md

PAN, Udyam and company API master prompt

Verify a PAN with a name-match hint, find GSTINs under a PAN, validate Udyam, look up a company or CIN. Includes personal-data handling rules.

Also at /ai-prompts/pan-udyam-company.md

GST return statements API master prompt

Connect a GSTIN with an OTP, then read GSTR-2B and GSTR-2A statements. Reading only, no filing.

Also at /ai-prompts/gst-returns.md

Vendor monitoring and webhooks master prompt

Watchlists of vendor GSTINs, the change timeline, and a signed webhook receiver with the exact verification steps.

Also at /ai-prompts/monitoring.md

What is inside each prompt

  • Questions the assistant asks you first: language, where the code lives, what you need, who owns the data.
  • Rules it must not break: where the API key lives, test mode first, retries that never double-charge or duplicate a filing, how to treat personal data.
  • A build plan in phases, so you review small pieces instead of one large change.
  • Every call in the section: fields, costs, examples and the errors to expect, rebuilt from these docs on every release.
  • A checklist the assistant must tick before it says it is done.

The prompts are tested by having a fresh assistant build a client from them against a local fake server. They cannot know your codebase, so read what the assistant produces before you merge it, and keep your API key and portal credentials out of the chat.

Prefer to read the reference yourself?