If you're building or maintaining billing software for the Indian market, you've probably hit the point where "just print an invoice" stopped being good enough. Since August 2023, any business crossing ₹5 crore in aggregate turnover has to get every B2B invoice registered with a government Invoice Registration Portal (IRP) before it's legally valid — and the integration details matter more than most teams expect going in.
The flow itself is simple on paper: serialize your invoice into the prescribed JSON schema, POST it to an IRP or GSP endpoint, get back a 64-character IRN plus a signed QR code, and embed both on the customer-facing invoice. The complexity is in everything around that one call — strict schema validation, IRP sandbox quirks, and a 30-day hard cutoff for any business over ₹10 crore AATO.…