> ## 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 Invoice Count

> Fetch the count of documents 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/invoice_count.json" arrow="true" horizontal />


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json GET /gst/compliance/tax-payer/invoices/count
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/count:
    get:
      tags:
        - Taxpayer
        - Returns
        - Invoice Management System
      summary: Get Invoice Count
      operationId: getInvoiceCount
      parameters:
        - name: type_of_goods
          in: query
          description: Type of goods. E.g. imports, inward_supplies, others
          required: true
          schema:
            type: string
            default: others
            example: '{{type_of_goods}}'
        - 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-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
        - name: x-api-key
          in: header
          description: API key for identification
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: 200 Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                    example: 200
                  data:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          all_oth:
                            type: object
                            properties:
                              b2b:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 1
                                  noaction:
                                    type: number
                                    example: 11
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              b2ba:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              b2bcn:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              b2bcna:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              b2bdn:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              b2bdna:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              ecom:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              ecoma:
                                type: object
                                properties:
                                  accept:
                                    type: number
                                    example: 0
                                  noaction:
                                    type: number
                                    example: 0
                                  pending:
                                    type: number
                                    example: 0
                                  reject:
                                    type: number
                                    example: 0
                              ttl_cnt:
                                type: number
                                example: 12
                      status_cd:
                        type: string
                        example: '1'
                  timestamp:
                    type: number
                    example: 1763446641000
                  transaction_id:
                    type: string
                    example: 07457fe3-fb26-4e02-bfdb-5a396c80ffea000
              examples:
                200 Success:
                  summary: 200 Success
                  value:
                    code: 200
                    data:
                      data:
                        all_oth:
                          b2b:
                            accept: 1
                            noaction: 11
                            pending: 0
                            reject: 0
                          b2ba:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          b2bcn:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          b2bcna:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          b2bdn:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          b2bdna:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          ecom:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          ecoma:
                            accept: 0
                            noaction: 0
                            pending: 0
                            reject: 0
                          ttl_cnt: 12
                      status_cd: '1'
                    timestamp: 1763446641000
                    transaction_id: 07457fe3-fb26-4e02-bfdb-5a396c80ffea000
          headers: {}
      deprecated: false
      security: []

````