GEThttps://api.spirestock.com/api/v1/einvoice/gstr1#
Preview the GSTR-1 return for a month, built from the same invoices as the Accounts invoices and with the same amounts to the paisa. Reports what goes into each table (4A B2B, 5 B2C large: inter-state above Rs 1 lakh, 7 B2C others, 8 exempt supplies: 0% items, 12 HSN summary split B2B/B2C, 13 documents issued), the tax totals, the problems that would make the GST portal reject the file and warnings worth checking. B2B invoices with an IRN are left out of 4A by default because the portal fills them in from the e-invoice system. Reads only: no invoice number is fixed by a preview. GST e-Invoice add-on (402 ADDON_REQUIRED without it).
Access: API key read scope; staff need Invoices (14) — list.
Parameters
monthstring- Return period, YYYY-MM. Default: the current month in IST; a future month is refused (400)
include_einvoicedstring- 1 to put IRN-generated B2B invoices in 4A as well Default
0.
curl "https://api.spirestock.com/api/v1/einvoice/gstr1?month=2026-10" \
-H "X-API-Key: YOUR_API_KEY"{
"response_code": 200,
"month": "2026-10",
"period": "102026",
"gstin": "23AAACT1234B1Z7",
"include_einvoiced": false,
"in_progress": false,
"summary": {
"invoices": 3,
"b2b": 2,
"b2b_einvoiced": 0,
"b2cl": 0,
"b2c_small": 1,
"exempt_only": 0,
"cancelled": 0,
"skipped_empty": 0,
"taxable_value": 98774.88,
"igst": 2468.34,
"cgst": 2468.34,
"sgst": 2468.34,
"exempt_value": 8640,
"invoice_value": 114936
},
"sections": { "b2b": 2, "b2cl": 0, "b2cs": 2, "nil": 3, "hsn_b2b": 3, "hsn_b2c": 3 },
"problem_count": 0,
"warning_count": 1,
"problems": [],
"warnings": [
{ "message": "HSN 0401 has 4 digits: enough up to Rs 5 crore annual turnover, above that the portal needs 6" }
]
}