> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Invoices

> Fetch the invoices for different sections with their respective status in real time.

#### Response body schema

<Card title="View response body schema" icon="code" href="https://raw.githubusercontent.com/in-co-sandbox/in-co-sandbox-docs/refs/heads/main/data/gst/schema/request/taxpayer/invoices/invoices.json" arrow="true" horizontal />


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json GET /gst/compliance/tax-payer/invoices
openapi: 3.0.1
info:
  title: compliance
  description: >-
    **GST Compliance API** enables businesses to automate compliance
    requirements like [Taxpayer
    verification](https://developer.sandbox.co.in/reference/search-gstin-api),
    [GSTR
    Filing](https://developer.sandbox.co.in/reference/gst-taxpayer-authentication),
    [Generating
    E-Invoices](https://developer.sandbox.co.in/reference/e-invoice-authentication-api),
    and [E-Way
    Bills](https://developer.sandbox.co.in/reference/e-way-bill-authentication-api).We
    provide these APIs from GSTN-authorised GST Suvidha Providers, handling the
    encryption-decryption and signing so you don't have to handle the
    complexities.
  version: 1.0.0
servers:
  - url: https://api.sandbox.co.in
  - url: https://test-api.sandbox.co.in
security: []
tags:
  - name: Public
  - name: Taxpayer
  - name: Taxpayer Auth
  - name: Returns
  - name: GSTR-1 Documents
  - name: File GSTR-1
  - name: GSTR-2A Documents
  - name: GSTR-2B Document
  - name: File GSTR-3B
  - name: GSTR-4
  - name: File GSTR-9
  - name: Invoice Management System
  - name: GSTR-1A Documents
  - name: File GSTR-1A
  - name: Ledgers
  - name: e-Invoice
  - name: Sales e-Invoices for return period
  - name: Purchase e-Invoices for return period
  - name: Front Office Notices
  - name: Front Office
  - name: AATO
  - name: e-Invoice1
  - name: Authentication
  - name: e-Invoice12
  - name: E-Way Bill
  - name: E-Way Bill1
  - name: Authentication1
  - name: Consignor
  - name: Consolidated E-Way Bill
  - name: Multi-Vehicle Movement
  - name: Consignee
  - name: Transporter
  - name: Consolidated E-Way Bill1
  - name: Multi-vehicle Movement
  - name: Common
paths:
  /gst/compliance/tax-payer/invoices:
    get:
      tags:
        - Taxpayer
        - Returns
        - Invoice Management System
      summary: Get Invoices
      operationId: getInvoices
      parameters:
        - name: section
          in: query
          description: >-
            Section of the transaction. Possible values: B2B, B2BA, CN, CNA, DN,
            DNA, ECOM, ECOMA
          required: true
          schema:
            type: string
            default: b2b
            example: '{{section}}'
        - name: status
          in: query
          description: >-
            Optional filter to fetch invoices of specific status. Possible
            values: accepted, rejected, pending, no_action_taken
          required: false
          schema:
            type: string
            example: no_action_taken
        - name: authorization
          in: header
          description: >-
            GST taxpayer access token. For token-generation steps, refer to the
            [Generate Taxpayer
            Session](/recipes/gst/authentication/generate_tax_payer_session)
            recipe, then pass the token in the authorization header.
          required: true
          example: ''
          schema:
            type: string
        - name: x-api-key
          in: header
          description: API key for identification
          required: true
          example: ''
          schema:
            type: string
        - name: x-api-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
      responses:
        '200':
          description: 200 B2B Invoices / 200 B2B Accepted Invoices
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                    example: 200
                  data:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          b2b:
                            type: array
                            items:
                              type: object
                              properties:
                                action:
                                  type: string
                                  example: 'N'
                                camt:
                                  type: number
                                  example: 0
                                cess:
                                  type: number
                                  example: 0
                                hash:
                                  type: string
                                  example: >-
                                    5614d4073380ec8b4ed4613846b18d18d5ee7ce4727e5f5a4d238fe96aaf8600
                                iamt:
                                  type: number
                                  example: 288
                                idt:
                                  type: string
                                  example: 02-11-2024
                                inum:
                                  type: string
                                  example: '1024250260344'
                                inv_typ:
                                  type: string
                                  example: R
                                ispendactblocked:
                                  type: string
                                  example: 'N'
                                pos:
                                  type: string
                                  example: '24'
                                rtnprd:
                                  type: string
                                  example: '112024'
                                samt:
                                  type: number
                                  example: 0
                                srcfilstatus:
                                  type: string
                                  example: Not Filed
                                srcform:
                                  type: string
                                  example: R1
                                stin:
                                  type: string
                                  example: 33ABCCZ0123M2YZ
                                txval:
                                  type: number
                                  example: 1600
                                val:
                                  type: number
                                  example: 1888
                            example:
                              - action: 'N'
                                camt: 0
                                cess: 0
                                hash: >-
                                  5614d4073380ec8b4ed4613846b18d18d5ee7ce4727e5f5a4d238fe96aaf8600
                                iamt: 288
                                idt: 02-11-2024
                                inum: '1024250260344'
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 0
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 33ABCCZ0123M2YZ
                                txval: 1600
                                val: 1888
                              - action: 'N'
                                camt: 0
                                cess: 0
                                hash: >-
                                  c5e0ba76b757d78b441a6b419118b44f0777cfe939abe5559fe3d088ce715d1e
                                iamt: 397.44
                                idt: 31-10-2024
                                inum: '5096411148'
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '102024'
                                samt: 0
                                srcfilstatus: Filed
                                srcform: R1
                                stin: 06ABCCG0123D1YZ
                                txval: 2208
                                val: 2605.44
                              - action: 'N'
                                camt: 30.59
                                cess: 0
                                hash: >-
                                  9662a16203363ad199a8ed76bd90601002438db7927350c4cd8a715c1d76b674
                                iamt: 0
                                idt: 16-10-2024
                                inum: AMD2-1463535
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '102024'
                                samt: 30.59
                                srcfilstatus: Filed
                                srcform: R1
                                stin: 24ABCCC0123E1YZ
                                txval: 339.84
                                val: 401.02
                              - action: 'N'
                                camt: 258.6
                                cess: 0
                                hash: >-
                                  ab52176cfb3c7ea983838c9f9cf702752b37851b699825785b135d62f00e9aba
                                iamt: 0
                                idt: 13-11-2024
                                inum: AMD2-3993079
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 258.6
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 24ABCCR0123M1YZ
                                txval: 2873.53
                                val: 3390.73
                              - action: A
                                camt: 10883.91
                                cess: 0
                                hash: >-
                                  dbd0f1c65631f9fdbfd3ab8d56c2949c3354b688ea53dee44e42768c07b676e2
                                iamt: 0
                                idt: 05-11-2024
                                inum: AO2SA2425002517
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 10883.91
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 24ABCCU0123M1YZ
                                txval: 120932.18
                                val: 142700
                              - action: 'N'
                                camt: 648.16
                                cess: 0
                                hash: >-
                                  907abd1862e141926d6c8dfa2df1b5c8be3120bc71eebfcbdb26d8b08b4bb0bd
                                iamt: 0
                                idt: 05-11-2024
                                inum: C24E242500143276
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 648.16
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 24ABCCI0123G1YZ
                                txval: 7201.8
                                val: 8498.12
                              - action: 'N'
                                camt: 0
                                cess: 0
                                hash: >-
                                  c4b056cd71d63c2984da8f5f85f35e6532978d8bce1381a2ef9958ce7002bc95
                                iamt: 18.76
                                idt: 13-11-2024
                                inum: IN-21576
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 0
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 08ABCPP0123E2YZ
                                txval: 375.24
                                val: 394
                              - action: 'N'
                                camt: 198.31
                                cess: 0
                                hash: >-
                                  4355e6c758ea876ea7981ccf2fe4d7de4546ad63cfcc2f7f04779583d4bb207b
                                iamt: 0
                                idt: 08-11-2024
                                inum: IT/24-25/978
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 198.31
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 24ABCFI0123L1YZ
                                txval: 2203.39
                                val: 2600
                              - action: 'N'
                                camt: 0
                                cess: 0
                                hash: >-
                                  4ce89032a00c068641b9e188c2a041be1416adb0c145d2a53a3af401a4bce95a
                                iamt: 27
                                idt: 19-11-2024
                                inum: LE/25/1/07976
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '112024'
                                samt: 0
                                srcfilstatus: Not Filed
                                srcform: R1
                                stin: 06ABCCG0123M1YZ
                                txval: 150
                                val: 177
                              - action: 'N'
                                camt: 0
                                cess: 0
                                hash: >-
                                  4562950e81948d6c2a295d8a83f3f3c4687fe5e53fef4eba0a4390d6f24744b6
                                iamt: 49.36
                                idt: 16-10-2024
                                inum: OI-30587/24-25
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '102024'
                                samt: 0
                                srcfilstatus: Filed
                                srcform: R1
                                stin: 32ABCPM0123R1YZ
                                txval: 408.79
                                val: 458.15
                              - action: 'N'
                                camt: 2181.36
                                cess: 0
                                hash: >-
                                  bfb71f250650a449db0073b838f9e821c26c87f67f91dd03c85c2b9656d96b9f
                                iamt: 0
                                idt: 17-10-2024
                                inum: PRN-1050
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '102024'
                                samt: 2181.36
                                srcfilstatus: Filed
                                srcform: R1
                                stin: 24ABCFG0123H1YZ
                                txval: 24237.29
                                val: 28600
                              - action: 'N'
                                camt: 152.54
                                cess: 0
                                hash: >-
                                  8d0187738366d5a26d81ac75a716d293d4ab799d51aafea7af57348715b0b265
                                iamt: 0
                                idt: 25-10-2024
                                inum: PRN-1094
                                inv_typ: R
                                ispendactblocked: 'N'
                                pos: '24'
                                rtnprd: '102024'
                                samt: 152.54
                                srcfilstatus: Filed
                                srcform: R1
                                stin: 24ABCFG0123H1YZ
                                txval: 1694.92
                                val: 2000
                      status_cd:
                        type: string
                        example: '1'
                  timestamp:
                    type: number
                    example: 1763446641000
                  transaction_id:
                    type: string
                    example: 661cc68b-0e48-4d39-a744-9afd56895340
              examples:
                200 B2B Accepted Invoices:
                  summary: 200 B2B Accepted Invoices
                  value:
                    code: 200
                    data:
                      data:
                        b2b:
                          - action: A
                            camt: 10883.91
                            cess: 0
                            hash: >-
                              dbd0f1c65631f9fdbfd3ab8d56c2949c3354b688ea53dee44e42768c07b676e2
                            iamt: 0
                            idt: 05-11-2024
                            inum: AO2SA2425002517
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 10883.91
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 24ABCCU0123M1YZ
                            txval: 120932.18
                            val: 142700
                      status_cd: '1'
                    timestamp: 1763446641000
                    transaction_id: fd976f56-b9a9-4012-9504-a351b1f2b7fa
                200 B2B Invoices:
                  summary: 200 B2B Invoices
                  value:
                    code: 200
                    data:
                      data:
                        b2b:
                          - action: 'N'
                            camt: 0
                            cess: 0
                            hash: >-
                              5614d4073380ec8b4ed4613846b18d18d5ee7ce4727e5f5a4d238fe96aaf8600
                            iamt: 288
                            idt: 02-11-2024
                            inum: '1024250260344'
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 0
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 33ABCCZ0123M2YZ
                            txval: 1600
                            val: 1888
                          - action: 'N'
                            camt: 0
                            cess: 0
                            hash: >-
                              c5e0ba76b757d78b441a6b419118b44f0777cfe939abe5559fe3d088ce715d1e
                            iamt: 397.44
                            idt: 31-10-2024
                            inum: '5096411148'
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '102024'
                            samt: 0
                            srcfilstatus: Filed
                            srcform: R1
                            stin: 06ABCCG0123D1YZ
                            txval: 2208
                            val: 2605.44
                          - action: 'N'
                            camt: 30.59
                            cess: 0
                            hash: >-
                              9662a16203363ad199a8ed76bd90601002438db7927350c4cd8a715c1d76b674
                            iamt: 0
                            idt: 16-10-2024
                            inum: AMD2-1463535
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '102024'
                            samt: 30.59
                            srcfilstatus: Filed
                            srcform: R1
                            stin: 24ABCCC0123E1YZ
                            txval: 339.84
                            val: 401.02
                          - action: 'N'
                            camt: 258.6
                            cess: 0
                            hash: >-
                              ab52176cfb3c7ea983838c9f9cf702752b37851b699825785b135d62f00e9aba
                            iamt: 0
                            idt: 13-11-2024
                            inum: AMD2-3993079
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 258.6
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 24ABCCR0123M1YZ
                            txval: 2873.53
                            val: 3390.73
                          - action: A
                            camt: 10883.91
                            cess: 0
                            hash: >-
                              dbd0f1c65631f9fdbfd3ab8d56c2949c3354b688ea53dee44e42768c07b676e2
                            iamt: 0
                            idt: 05-11-2024
                            inum: AO2SA2425002517
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 10883.91
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 24ABCCU0123M1YZ
                            txval: 120932.18
                            val: 142700
                          - action: 'N'
                            camt: 648.16
                            cess: 0
                            hash: >-
                              907abd1862e141926d6c8dfa2df1b5c8be3120bc71eebfcbdb26d8b08b4bb0bd
                            iamt: 0
                            idt: 05-11-2024
                            inum: C24E242500143276
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 648.16
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 24ABCCI0123G1YZ
                            txval: 7201.8
                            val: 8498.12
                          - action: 'N'
                            camt: 0
                            cess: 0
                            hash: >-
                              c4b056cd71d63c2984da8f5f85f35e6532978d8bce1381a2ef9958ce7002bc95
                            iamt: 18.76
                            idt: 13-11-2024
                            inum: IN-21576
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 0
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 08ABCPP0123E2YZ
                            txval: 375.24
                            val: 394
                          - action: 'N'
                            camt: 198.31
                            cess: 0
                            hash: >-
                              4355e6c758ea876ea7981ccf2fe4d7de4546ad63cfcc2f7f04779583d4bb207b
                            iamt: 0
                            idt: 08-11-2024
                            inum: IT/24-25/978
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 198.31
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 24ABCFI0123L1YZ
                            txval: 2203.39
                            val: 2600
                          - action: 'N'
                            camt: 0
                            cess: 0
                            hash: >-
                              4ce89032a00c068641b9e188c2a041be1416adb0c145d2a53a3af401a4bce95a
                            iamt: 27
                            idt: 19-11-2024
                            inum: LE/25/1/07976
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '112024'
                            samt: 0
                            srcfilstatus: Not Filed
                            srcform: R1
                            stin: 06ABCCG0123M1YZ
                            txval: 150
                            val: 177
                          - action: 'N'
                            camt: 0
                            cess: 0
                            hash: >-
                              4562950e81948d6c2a295d8a83f3f3c4687fe5e53fef4eba0a4390d6f24744b6
                            iamt: 49.36
                            idt: 16-10-2024
                            inum: OI-30587/24-25
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '102024'
                            samt: 0
                            srcfilstatus: Filed
                            srcform: R1
                            stin: 32ABCPM0123R1YZ
                            txval: 408.79
                            val: 458.15
                          - action: 'N'
                            camt: 2181.36
                            cess: 0
                            hash: >-
                              bfb71f250650a449db0073b838f9e821c26c87f67f91dd03c85c2b9656d96b9f
                            iamt: 0
                            idt: 17-10-2024
                            inum: PRN-1050
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '102024'
                            samt: 2181.36
                            srcfilstatus: Filed
                            srcform: R1
                            stin: 24ABCFG0123H1YZ
                            txval: 24237.29
                            val: 28600
                          - action: 'N'
                            camt: 152.54
                            cess: 0
                            hash: >-
                              8d0187738366d5a26d81ac75a716d293d4ab799d51aafea7af57348715b0b265
                            iamt: 0
                            idt: 25-10-2024
                            inum: PRN-1094
                            inv_typ: R
                            ispendactblocked: 'N'
                            pos: '24'
                            rtnprd: '102024'
                            samt: 152.54
                            srcfilstatus: Filed
                            srcform: R1
                            stin: 24ABCFG0123H1YZ
                            txval: 1694.92
                            val: 2000
                      status_cd: '1'
                    timestamp: 1763446641000
                    transaction_id: 661cc68b-0e48-4d39-a744-9afd56895340
          headers: {}
      deprecated: false
      security: []

````