# get-gstr-data

{% embed url="<https://www.mastersindia.co/contact-us/?products=GST%20API>" %}

<table><thead><tr><th width="224">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>URL</strong></td><td><a href="https://api-platform.mastersindia.co/api/v1/saas-apis/get-gstr-data-api/?search&#x26;data_type=GSTR1&#x26;page_size=10">https://api-platform.mastersindia.co/api/v1/saas-apis/get-gstr-data-api/?search&#x26;data_type=GSTR1&#x26;page_size=10</a></td></tr><tr><td><strong>Method Type</strong></td><td>GET</td></tr><tr><td><strong>Header &#x26; Params</strong></td><td><p><strong>HEADERS</strong></p><p>Gstin : 09AABCR1718E1ZN</p><p>Year: 2020-21</p><p>Month: 08</p><p>Authorization: JWT {{token}}</p><p>productId: enterprises</p><p></p><p><strong>PARAMS</strong></p><p><strong>search</strong></p><p>data_type: GSTR1</p><p>page_size: 10</p></td></tr><tr><td><strong>Post Parameters (JSON Format)</strong></td><td><p></p><pre><code>--header 'Gstin: 09AABCR1718E1ZN' \
--header 'Authorization: JWT {{token}}' \
</code></pre></td></tr><tr><td><strong>Success Response</strong></td><td><p></p><pre class="language-javascript"><code class="lang-javascript">{
  "message": "success",
  "success": true,
  "data": {
    "b2b": [
      {
        "_id": "628cd69ed7ac810a877ea662",
        "invoice_type": "b2b",
        "supplier_gstin": "09AABCR1718E1ZN",
        "buyer_gstin": "27AARCA7991A1ZB",
        "idt": "30-10-2019",
        "contact_name": "Sony",
        "inum": "JIT201910015",
        "net_amount": 2.08,
        "val": 1,
        "invoice_ty": "cdnr",
        "customer_gstin": "27AARCA7991A1ZB",
        "normal_taxable": 0,
        "ttxval": 1.6600000000000001,
        "data": {
          "itms": [
            {
              "num": 1,
              "itc": {},
              "itm_det": {
                "item_name": "Smart TV",
                "invoice_value": "",
                "description": "Smart TV",
                "hsn_sc": "10001",
                "supply_type": "",
                "qty": 1,
                "rt": 12,
                "uqc": "OTH",
                "adjust_amt": 0,
                "txval": 1,
                "assessable_value": 0,
                "csamt": 1,
                "irt": 12,
                "iamt": 0.66
              }
            }
          ]
        }
      }
    ]
  }
}
</code></pre></td></tr></tbody></table>

{% embed url="<https://www.mastersindia.co/contact-us/?products=GST%20API>" %}
