> ## 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 RCM statement

> Get the detailed RCM Liability Ledger for the specified period.

## Response schema

For successful responses, this schema describes the GSTN payload at `data.data`.

> [card] [View response JSON schema](https://developer.sandbox.co.in/data/gst/schema/response/taxpayer/ledgers/rcm_statement.json)

## Excel field reference

> [card] [View Excel field reference](https://developer.sandbox.co.in/data/gst/schema/workbook/taxpayer/ledgers/rcm_statement-v1.0.xlsx)


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json GET /gst/compliance/tax-payer/ledgers/rcm
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
    description: prod
  - url: https://test-api.sandbox.co.in
    description: test
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/ledgers/rcm:
    get:
      tags:
        - Taxpayer/Ledgers
        - Taxpayer
        - Ledgers
      summary: Get RCM statement
      description: Get the detailed RCM Liability Ledger for the specified period.
      operationId: getRcmStatement
      parameters:
        - name: to
          in: query
          description: End date of the ledger period in DD/MM/YYYY format.
          required: true
          example: 01/10/2024
          schema:
            type: string
            example: 01/10/2024
        - name: from
          in: query
          description: Start date of the ledger period in DD/MM/YYYY format.
          required: true
          example: 01/09/2024
          schema:
            type: string
            example: 01/09/2024
        - name: x-api-version
          in: header
          description: API version
          required: false
          schema:
            type: string
            default: 1.0.0
      responses:
        '200':
          description: >-
            GSTN response. data.status_cd is "1" for success and "0" for a
            business error.
          content:
            application/json:
              schema:
                oneOf:
                  - allOf:
                      - type: object
                        description: Fields included in every taxpayer endpoint response.
                        required:
                          - code
                          - timestamp
                          - transaction_id
                        properties:
                          code:
                            type: integer
                            description: >-
                              The HTTP status code reported in the response
                              body.
                            enum:
                              - 200
                          timestamp:
                            type: integer
                            format: int64
                            description: The response timestamp in Unix epoch milliseconds.
                          transaction_id:
                            type: string
                            description: >-
                              The transaction identifier used to trace the
                              request.
                      - type: object
                        required:
                          - data
                        properties:
                          data:
                            type: object
                            description: The GSTN success wrapper.
                            required:
                              - status_cd
                              - data
                            properties:
                              status_cd:
                                type: string
                                enum:
                                  - '1'
                                description: GSTN success status.
                              data:
                                title: Get RCM Liablity Ledger schema
                                type: object
                                properties:
                                  gstin:
                                    maxLength: 15
                                    minLength: 15
                                    pattern: >-
                                      [0-9]{2}[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}[1-9A-Za-z]{1}[Zz1-9A-Ja-j]{1}[0-9a-zA-Z]{1}
                                    type: string
                                    description: GSTIN of the Taxpayer
                                  frdt:
                                    type: string
                                    pattern: >-
                                      ^(0[1-9]|[12][0-9]|3[01])[/](0[1-9]|1[012])[/](19|20)\d\d$
                                    description: From Date
                                  todt:
                                    type: string
                                    pattern: >-
                                      ^(0[1-9]|[12][0-9]|3[01])[/](0[1-9]|1[012])[/](19|20)\d\d$
                                    description: To Date
                                  opnbal:
                                    type: object
                                    properties:
                                      igst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: IGST Amount
                                      cgst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: CGST Amount
                                      sgst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: SGST Amount
                                      cess:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: CESS Amount
                                    required:
                                      - igst
                                      - cgst
                                      - sgst
                                      - cess
                                    additionalProperties: false
                                    description: Stores opening bal for each tax head
                                  tr:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        trandt:
                                          type: string
                                          pattern: >-
                                            ^(0[1-9]|[12][0-9]|3[01])[/](0[1-9]|1[012])[/](19|20)\d\d$
                                          description: Transaction Date
                                        rtnprd:
                                          pattern: ^((0[1-9]|1[012])((19|20)\d\d))$
                                          type: string
                                          description: Return Period
                                        desc:
                                          description: Description of transaction
                                          type: string
                                        refno:
                                          type: string
                                          description: Reference Number
                                        itc4a2:
                                          type: object
                                          properties:
                                            igst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: IGST Amount
                                            cgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CGST Amount
                                            sgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: SGST Amount
                                            cess:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CESS Amount
                                          required:
                                            - igst
                                            - cess
                                          additionalProperties: false
                                          description: ITC Availed Import of services
                                        inwardsup_3_1d:
                                          type: object
                                          properties:
                                            igst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: IGST Amount
                                            cgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CGST Amount
                                            sgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: SGST Amount
                                            cess:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CESS Amount
                                          required:
                                            - igst
                                            - cgst
                                            - sgst
                                            - cess
                                          additionalProperties: false
                                          description: >-
                                            Inward supplies (liable to reverse
                                            charge)
                                        itc4a3:
                                          type: object
                                          properties:
                                            igst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: IGST Amount
                                            cgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CGST Amount
                                            sgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: SGST Amount
                                            cess:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CESS Amount
                                          required:
                                            - igst
                                            - cgst
                                            - sgst
                                            - cess
                                          additionalProperties: false
                                          description: >-
                                            ITC AvailedInward supplies liable to
                                            reverse charge
                                        clsbal:
                                          type: object
                                          properties:
                                            igst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: IGST Amount
                                            cgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CGST Amount
                                            sgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: SGST Amount
                                            cess:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: -9999999999999.99
                                              description: CESS Amount
                                          required:
                                            - igst
                                            - cgst
                                            - sgst
                                            - cess
                                          additionalProperties: false
                                          description: closing Balance
                                      required:
                                        - trandt
                                        - desc
                                        - refno
                                        - inwardsup_3_1d
                                        - clsbal
                                      additionalProperties: false
                                    description: Array of transactions
                                  clsbal:
                                    type: object
                                    properties:
                                      igst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: IGST Amount
                                      cgst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: CGST Amount
                                      sgst:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: SGST Amount
                                      cess:
                                        type: number
                                        multipleOf: 0.01
                                        maximum: 9999999999999.99
                                        minimum: -9999999999999.99
                                        description: CESS Amount
                                    required:
                                      - igst
                                      - cgst
                                      - sgst
                                      - cess
                                    additionalProperties: false
                                    description: Closing Balance of each Tax Heads
                                required:
                                  - gstin
                                  - frdt
                                  - todt
                                  - opnbal
                                  - clsbal
                                additionalProperties: false
                  - title: GSTN business error
                    type: object
                    description: HTTP 200 response containing a GSTN business failure.
                    required:
                      - code
                      - timestamp
                      - transaction_id
                      - data
                    properties:
                      code:
                        type: integer
                        description: The HTTP status code reported in the response body.
                        enum:
                          - 200
                      timestamp:
                        type: integer
                        format: int64
                        description: The response timestamp in Unix epoch milliseconds.
                      transaction_id:
                        type: string
                        description: The transaction identifier used to trace the request.
                      data:
                        type: object
                        description: The GSTN business-failure wrapper.
                        required:
                          - status_cd
                          - error
                        properties:
                          status_cd:
                            type: string
                            enum:
                              - '0'
                            description: GSTN business-failure status.
                          error:
                            type: object
                            description: A business error returned by GSTN.
                            required:
                              - error_cd
                              - message
                            properties:
                              error_cd:
                                type: string
                                description: The GSTN business error code.
                              message:
                                type: string
                                description: >-
                                  A human-readable description of the GSTN
                                  business error.
                description: >-
                  A GSTN success or GSTN business-failure response. Both
                  variants use HTTP 200.
              examples:
                Reverse charge statement for a date range:
                  summary: Reverse charge statement for a date range
                  value:
                    code: 200
                    timestamp: 1795478400000
                    transaction_id: 00000000-0000-4000-8000-000046983938
                    data:
                      status_cd: '1'
                      data:
                        gstin: 24MAYAS0100E9Z9
                        frdt: 01/09/2024
                        todt: 01/10/2024
                        opnbal:
                          igst: 395
                          cgst: 50
                          sgst: 497
                          cess: 4997
                        tr:
                          - trandt: 03/09/2024
                            desc: Opening Balance reported
                            refno: '1324'
                            inwardsup_3_1d:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                            clsbal:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                          - trandt: 03/09/2024
                            rtnprd: '082024'
                            desc: On filing of GSTR-3B/3BQ
                            refno: AA0612214478854
                            itc4a2:
                              igst: 100
                              cess: 100
                            itc4a3:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                            inwardsup_3_1d:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                            clsbal:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                        clsbal:
                          igst: 395
                          cgst: 50
                          sgst: 497
                          cess: 4997
                Reverse charge postings in May 2026:
                  summary: Reverse charge postings in May 2026
                  value:
                    code: 200
                    timestamp: 1794564224143
                    data:
                      data:
                        clsbal:
                          sgst: 0
                          cgst: 0
                          cess: 0
                          igst: 0
                        opnbal:
                          sgst: 0
                          cgst: 0
                          cess: 0
                          igst: 0
                        gstin: 24ABKCS2033B1ZV
                        frdt: 01/05/2026
                        todt: 01/06/2026
                        tr:
                          - itc4a2:
                              cess: 0
                              igst: 0
                            refno: AB240426991284W
                            inwardsup_3_1d:
                              sgst: 9000
                              cgst: 9000
                              cess: 0
                              igst: 0
                            itc4a3:
                              sgst: 9000
                              cgst: 9000
                              cess: 0
                              igst: 0
                            clsbal:
                              sgst: 0
                              cgst: 0
                              cess: 0
                              igst: 0
                            rtnprd: '042026'
                            trandt: 26/05/2026
                            desc: Filing of Form GSTR-3B
                      status_cd: '1'
                    transaction_id: eb71642f-dcf7-477a-bae3-edb9bf32eec3
                  description: Use 01/05/2026 through 01/06/2026.
                From date before 24 August 2024:
                  summary: From date before 24 August 2024
                  value:
                    code: 200
                    timestamp: 1794564164610
                    data:
                      status_cd: '0'
                      error:
                        message: From date of ledger cannot be before 24/08/2024.
                        error_cd: RTNREV-05
                    transaction_id: 5e6970f0-0081-4aa1-aff1-007a65295042
                  description: Use from=23/08/2024 and to=25/08/2024.
                To date before from date:
                  summary: To date before from date
                  value:
                    code: 200
                    timestamp: 1794564276057
                    data:
                      status_cd: '0'
                      error:
                        message: To date cannot be before From date.
                        error_cd: RTNREV-07
                    transaction_id: 2077f64d-8b7c-4bdc-b513-34d0f7bccbb8
                  description: Use from=03/09/2024 and to=02/09/2024.
          headers: {}
          x-apidog-name: OK
          x-apidog-ordering: 0
      deprecated: false
      security:
        - GstTaxpayerAccessToken: []
          SandboxApiKey1: []
components:
  securitySchemes:
    GstTaxpayerAccessToken:
      type: apiKey
      in: header
      name: authorization
      description: >-
        GST taxpayer access token returned by [Verify
        OTP](/api-reference/gst/compliance/endpoints/taxpayer/authentication/verify_otp).
    SandboxApiKey1:
      type: apiKey
      in: header
      name: x-api-key
      description: Sandbox API key from your Sandbox account.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.