Every Indian freelancer, agency, and small business eventually faces the same boring problem: generating GST-compliant invoices. The big SaaS tools charge ₹500–₹2000 per month for what is fundamentally a templating + arithmetic job. Let's just write it ourselves.
By the end of this post you'll have a Python script that:
Takes a buyer's state, line items, and GST rates
Correctly splits tax into CGST + SGST (intra-state) or IGST (inter-state) — the part most templates get wrong
Produces a clean, printable PDF invoice with HSN codes and a proper tax breakdown






