1. Fixing "Duplicate Invoice Number" Errors on Multi-Item Orders
If a business customer orders two products at 5% and 18% GST under a single invoice number, marketplace exports list two separate rows. Converting those rows one-to-one into JSON triggers a "Duplicate Invoice Number in B2B" error on gst.gov.in.
InvoiceToGSTR automatically groups matching (Buyer GSTIN + Invoice Number) entries, sums the overall invoice value (`val`), and nests each tax rate cleanly inside the `itms[]` array.
{
"gstin": "27AABCU9603R1ZM",
"fp": "112026",
"b2b": [
{
"ctin": "29AAACR5055K1Z7",
"inv": [
{
"inum": "INV-2026-1042",
"idt": "14-11-2026",
"val": 11800,
"pos": "29",
"rchrg": "N",
"inv_typ": "R",
"itms": [
{ "num": 1801, "itm_det": { "txval": 10000, "rt": 18, "iamt": 1800, "csamt": 0 } }
]
}
]
}
]
}2. B2CL vs B2CS Rules: When Do Unregistered Invoices Split?
Consumer (non-GSTIN) sales split across two distinct GSTR-1 schedules based on state and invoice value:
All intra-state consumer sales go into consolidated B2CS rate-and-state summaries. Inter-state consumer invoices go to B2CS too—unless a single invoice exceeds Rs 2,50,000, in which case GSTN requires reporting that invoice individually under B2CL (Table 5).
- Converts Excel serial dates and YYYY-MM-DD timestamps into strict DD-MM-YYYY format
- Sets supply type `INTER` when Supplier State != Place of Supply, and `INTRA` when equal
- Validates GSTIN check digits and Place of Supply state codes in Step 4 before export
Important checks before filing on GSTN
- Double check your own Supplier GSTIN and Return Period (`MMYYYY`) before uploading the generated JSON file to the GST portal.
Frequently Asked Questions
Should I download GSTN JSON or GST Offline Utility Excel (.xlsx)?
Download JSON if you are ready to upload straight to gst.gov.in. Choose Excel (.xlsx) if your CA wants to inspect or merge additional manual B2B bills inside the GST Offline Tool before generating JSON.
Can InvoiceToGSTR export multiple GSTR-1 sections together?
Yes—Step 3 lets you multi-select B2B, B2CL, B2CS, CDNR, CDNUR, HSN, DOCS, and more (31 GSTR-1 + 11 GSTR-2 templates) and download all JSON, Excel, and CSV outputs inside one ZIP archive.