# Billing and plans

Plans change what you can export and how many sites you can run. No plan or billing state ever blocks POST /v1/receipts: the banner keeps working and every choice is stored.

## Plans and prices

PolicyGrain plans (INR, before 18% GST)

| Plan | Price | Sites | Exportable receipts |
| --- | --- | --- | --- |
| Free | ₹0 | 1 site | 10,000 a month |
| Pro | ₹1,499 a month or ₹14,999 a year | 3 sites | 100,000 a month |
| Agency | ₹6,999 a month or ₹69,999 a year | 25 sites | 500,000 a month |
| Vendor Trust Pack | ₹14,999 one-time, then ₹2,999 a year | Add-on | Not applicable |

Prices exclude GST. Every invoice adds 18% GST under SAC 998314 (information technology software services). GET /v1/billing/plans is the live catalog the checkout reads; if it ever differs from this table, the API is right.

## Billing routes

- **GET /v1/billing/plans**: Public plan catalog with monthly and annual prices in paise. No key needed.
- **GET /v1/billing/entitlements**: The account's current plan, site allowance and export limit. Paid entitlements start only once a verified Razorpay webhook or server reconciliation confirms the subscription is active.
- **POST /v1/billing/subscriptions**: Starts a Razorpay subscription for a paid plan and billing cycle. Send an Idempotency-Key.
- **POST /v1/billing/subscriptions/cancel**: Cancels at the end of the paid period; the account then returns to Free.
- **GET /v1/billing/invoices, GET /v1/billing/invoices/{id} and /html**: GST invoices as JSON or a printable HTML page.
- **POST /v1/billing/webhooks/razorpay**: Razorpay's signed webhook. Requests with a bad signature are refused; you never call this route yourself.

If a renewal charge fails, paid entitlements stay on for a 7-day grace period before the account moves to Free.
