> ## 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.

# Save GSTR-3B past liability breakup

> Declare the liability breakup for past return periods.

## Request body schema

> [card] [View JSON request body schema](https://developer.sandbox.co.in/data/gst/schema/request/taxpayer/gstr-3b/past_liability_breakup.json)

## 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/gstr-3b/past_liability_breakup.json)

## Excel field reference

> [card] [View Excel field reference](https://developer.sandbox.co.in/data/gst/schema/workbook/taxpayer/gstr-3b/past_liability_breakup-v7.0.xlsx)


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json POST /gst/compliance/tax-payer/gstrs/gstr-3b/{year}/{month}/past-liability-breakup
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/gstrs/gstr-3b/{year}/{month}/past-liability-breakup:
    post:
      tags:
        - Taxpayer/Returns/File GSTR-3B
        - Taxpayer
        - Returns
        - File GSTR-3B
      summary: Save GSTR-3B past liability breakup
      description: Declare the liability breakup for past return periods.
      operationId: saveGstr3bPastLiabilityBreakup
      parameters:
        - name: year
          in: path
          description: Year of the return period.
          required: true
          example: 2020
          schema:
            type: integer
            format: int32
            minimum: 1001
            maximum: 9998
        - name: month
          in: path
          description: Month of the return period.
          required: true
          example: 3
          schema:
            type: integer
            format: int32
            minimum: 1
            maximum: 12
        - name: x-api-version
          in: header
          description: API version
          required: false
          schema:
            type: string
            default: 1.0.0
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: GSTR-3B past liability breakup customer request
              properties:
                breakup:
                  type: array
                  minItems: 1
                  items:
                    type: object
                    properties:
                      ret_period:
                        minLength: 1
                        pattern: ^((0[1-9]|1[012])((19|20)\d\d))$
                        type: string
                        description: Return Period of the liability breakup
                      liability:
                        type: object
                        properties:
                          iamt:
                            description: Integrated Tax
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                          camt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: Center tax
                          samt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: State tax
                          csamt:
                            description: Cess
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                        required:
                          - iamt
                          - camt
                          - samt
                          - csamt
                        description: Liability details
                    required:
                      - ret_period
                      - liability
                  description: Past Liability breakup details
              required:
                - breakup
            examples:
              Liability for two return periods:
                value:
                  breakup:
                    - ret_period: '032020'
                      liability:
                        iamt: 1000
                        camt: 150
                        samt: 200
                        csamt: 300
                    - ret_period: '022020'
                      liability:
                        iamt: 1000
                        camt: 150
                        samt: 200
                        csamt: 300
                summary: Liability for two return periods
        required: true
      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:
                                type: object
                                properties:
                                  reference_id:
                                    description: Reference id
                  - 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:
                Liability for two return periods:
                  summary: Liability for two return periods
                  value:
                    code: 200
                    timestamp: 1795478400000
                    transaction_id: 00000000-0000-4000-8000-000046983942
                    data:
                      status_cd: '1'
                      data:
                        reference_id: '243255'
          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.