Step-by-Step Process to Create GSTR-1 Report JSON Format in D365 FO
While working in the ER, I encountered a scenario where I needed to generate a GSTR-1 report in JSON format. Although the standard system provides a data model and model mapping, it only includes an Excel format by default. This meant that a new format mapping had to be created specifically for JSON.
In this blog, I’ll walk you through the step-by-step process of creating the JSON format for the GSTR-1 report based on the given template. Let’s get started!
1. Navigate to the Electronic Reporting Workspace
Go to Organization administration > Workspaces > Electronic reporting.
2. Select the GST Returns Model
3. Create a New Configuration
5. Add a File Component
6. Create JSON Header
7. Define JSON Properties
8. Configure JSON Format for GSTR-1
Recommended by LinkedIn
9. Save Changes and Map Data Model
10. Modify Format Configuration Only
11. Grouping Data for JSON Formatting
Grouping Report Header
Grouping Invoice Data
Grouping Item Data
12. Bind the Fields Accordingly
Sample JSON Format for GSTR-1 Report
{
"gstin": "22AAAAA0000A1Z5",
"filing_period": "032024",
"b2b": [
{
"customer_gstin": "29BBBBB0000B1Z6",
"invoice_details": [
{
"invoice_number": "INV001",
"invoice_date": "2024-03-10",
"invoice_value": 15000.00,
"items": [
{
"item_number": 1,
"item_description": "Product A",
"taxable_value": 12000.00,
"tax_rate": 18,
"igst_amount": 2160.00,
"cess_amount": 0.00
}
]
}
]
}
]
}
This guide ensures that the GSTR-1 JSON format is correctly configured in D365 FO using Electronic Reporting (ER).
Thank you.
Microsoft Application Functional consultant |Dynamic 365 Finance and Operations, Certified|Microsoft Dynamics 365(SCM)
4wThanks for sharing, I encounter a problem while trying to create Fixed Asset Roll forward report, I did not see the model or name on the list for Microsoft global configuration, so I decide to create a new configuration, but from your step, you pick a model from the list before create a new configuration