Format A and Format B JSON Preparation Structures
The government’s official Excel utility supports two distinct formats for e-invoice JSON generation, catering to different data entry preferences. Format A consolidates all invoice and item details into a single sheet, simplifying the process for taxpayers handling B2B, SEZ, or export invoices where a unified data entry approach is preferred.
Format B splits the data across two separate sheets, one dedicated to invoice-level headers and another for line-item specifics, which can be beneficial for complex invoices requiring strict segregation of summary and detail data before JSON validation.
Bulk Generation and Single File Upload
Bulk generation tools allow users to create one comprehensive e-invoice JSON file from an Excel template containing multiple invoice records. This method is particularly efficient for businesses with high invoice volumes, as it reduces the number of individual uploads required to the Invoice Registration Portal (IRP).
Once the Excel sheet is populated according to the specified column headers, the tool generates a single JSON output that can be uploaded to the IRP, after which the portal returns the assigned IRN and QR code for each transaction, which can then be printed or downloaded in bulk.
JSON to Excel Conversion Methods
Converting an e-invoice JSON file back into an Excel spreadsheet is a common requirement for data analysis, reconciliation, or manual correction of IRP-generated records. Users can utilize Excel’s built-in "From JSON" feature for straightforward structures, though complex nested arrays often require dedicated conversion tools or macros to preserve data integrity.
The resulting Excel file typically organizes the JSON fields into columns, allowing users to filter, sort, and export the GST bill data into actionable insights or professional PDF reports for internal audit purposes.
Official Excel Kit Workflow and Validation
The official Excel kit provided by the tax authorities guides users through a step-by-step workflow from data entry to final JSON generation. The process begins with downloading the utility, followed by filling in seller details, invoice particulars, and item descriptions in the designated cells.

Crucially, the kit includes built-in validation checks that flag errors—such as missing GSTINs or invalid HSN codes—before the user attempts to generate the JSON file, preventing upload rejections at the IRP and ensuring that the final output adheres to the prescribed schema.
Attributes, Schema, and Sample JSON Reference
Understanding the e-invoice JSON schema is essential for both manual template creation and automated conversion. The schema defines the mandatory and optional fields, including invoice type, supplier and receiver GSTINs, place of delivery, and a detailed array of line items with quantities, rates, and tax amounts.
Sample JSON files provided in the official documentation illustrate the exact nesting structure and data types expected, serving as a reference standard for developers and accountants who need to map their internal Excel columns to the IRP’s required format without introducing schema validation errors.
Internal Resource Links
For users working with data lookups, match formula excel can help reconcile invoice numbers between systems. When handling large datasets, excel spill error solutions are often needed to manage dynamic array outputs.

Those building financial models may find excel sum formula useful for totaling invoice values, while clean consulting invoice template excel provides a structured starting point for professional service billing. Data hygiene is streamlined with remove duplicates excel, and formatting large invoice lists is easier with excel remove blank rows.