---
updatedAt: 2025-06-10T20:28:55.000Z
agentTools:
  projectIndex: https://global.docs.decentro.tech/llms.txt
---

# Ledgers - Account Statement

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decentro-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sea.staging.decentro.tech/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v2/ledger/journal/{journal_urn}/account/{account_urn}/statement": {
      "get": {
        "summary": "Ledgers - Account Statement",
        "description": "",
        "operationId": "ledgers-account-statement",
        "parameters": [
          {
            "name": "journal_urn",
            "in": "path",
            "description": "Journal URN under which the ledger account was created",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "account_urn",
            "in": "path",
            "description": "Ledger Account URN received from Decentro during the time of creating a ledger account",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "page",
            "in": "path",
            "description": "Number of pages of the statement required. Each page supports upto 10 transactions",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "from",
            "in": "query",
            "description": "Start date for the statement",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "End date for the statement",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "client_id",
            "in": "header",
            "description": "Decentro assigned client_id for the company",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "description": "Decentro assigned client_secret for the company",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "module_secret",
            "in": "header",
            "description": "Decentro assigned module_secret for the company",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success: Ledger account statment fetched": {
                    "value": "{\n    \"decentroTxnId\": \"ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF\",\n    \"status\": \"SUCCESS\",\n    \"responseCode\": \"S00000\",\n    \"message\": \"Transaction successful\",\n    \"data\": {\n        \"transactionStatus\": \"SUCCESS\",\n        \"transactionDescription\": \"Ledger account statement fetched successfully\",\n        \"count\": {\n            \"total\": 2,\n            \"credit\": 1,\n            \"debit\": 1\n        },\n        \"statement\": [\n            {\n                \"creationTimestamp\": \"2022-06-06 21:21:21\",\n                \"transactionTimestamp\": \"2022-06-06 21:21:21\",\n                \"lastModificationTimestamp\": \"2022-06-06 22:22:22\",\n                \"purpose\": \"load ledger account - 2021_08_14T07_01_01\",\n                \"transactionUrn\": \"ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF\",\n                \"referenceId\": \"transaction_1\",\n                \"type\": \"DEBIT\",\n                \"amount\": 2.5,\n                \"currency\": \"INR\",\n                \"openingBalance\": 40.5,\n                \"closingBalance\": 42.5,\n                \"payerLedgerAccountUrn\": \"LA0001\",\n                \"payeeLedgerAccountUrn\": \"LA0002\",\n                \"transactionType\": \"MAIN\",\n                \"transferType\": \"L2L\",\n                \"status\": \"SUCCESS\",\n                \"additionalParameters\": {\n                    \"parameter1\": \"value1\",\n                    \"parameter2\": \"value2\"\n                }\n            },\n            {\n                \"creationTimestamp\": \"2022-06-06 21:21:21\",\n                \"transactionTimestamp\": \"2022-06-06 21:21:21\",\n                \"lastModificationTimestamp\": \"2022-06-06 22:22:22\",\n                \"purpose\": \"load ledger account - 2021_08_14T07_01_01\",\n                \"transactionUrn\": \"ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF\",\n                \"referenceId\": \"transaction_2\",\n                \"type\": \"CREDIT\",\n                \"amount\": 2.5,\n                \"currency\": \"INR\",\n                \"openingBalance\": 40.5,\n                \"closingBalance\": 42.5,\n                \"payerLedgerAccountUrn\": \"LA0002\",\n                \"payeeLedgerAccountUrn\": \"LA0001\",\n                \"transactionType\": \"MAIN\",\n                \"transferType\": \"TRANSFER INTO LEDGER ACCOUNT\",\n                \"status\": \"SUCCESS\",\n                \"additionalParameters\": {\n                    \"parameter1\": \"value1\",\n                    \"parameter2\": \"value2\"\n                }\n            }\n        ]\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "decentroTxnId": {
                      "type": "string",
                      "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF"
                    },
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "responseCode": {
                      "type": "string",
                      "example": "S00000"
                    },
                    "message": {
                      "type": "string",
                      "example": "Transaction successful"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "transactionStatus": {
                          "type": "string",
                          "example": "SUCCESS"
                        },
                        "transactionDescription": {
                          "type": "string",
                          "example": "Ledger account statement fetched successfully"
                        },
                        "count": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer",
                              "example": 2,
                              "default": 0
                            },
                            "credit": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "debit": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            }
                          }
                        },
                        "statement": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "creationTimestamp": {
                                "type": "string",
                                "example": "2022-06-06 21:21:21"
                              },
                              "transactionTimestamp": {
                                "type": "string",
                                "example": "2022-06-06 21:21:21"
                              },
                              "lastModificationTimestamp": {
                                "type": "string",
                                "example": "2022-06-06 22:22:22"
                              },
                              "purpose": {
                                "type": "string",
                                "example": "load ledger account - 2021_08_14T07_01_01"
                              },
                              "transactionUrn": {
                                "type": "string",
                                "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF"
                              },
                              "referenceId": {
                                "type": "string",
                                "example": "transaction_1"
                              },
                              "type": {
                                "type": "string",
                                "example": "DEBIT"
                              },
                              "amount": {
                                "type": "number",
                                "example": 2.5,
                                "default": 0
                              },
                              "currency": {
                                "type": "string",
                                "example": "INR"
                              },
                              "openingBalance": {
                                "type": "number",
                                "example": 40.5,
                                "default": 0
                              },
                              "closingBalance": {
                                "type": "number",
                                "example": 42.5,
                                "default": 0
                              },
                              "payerLedgerAccountUrn": {
                                "type": "string",
                                "example": "LA0001"
                              },
                              "payeeLedgerAccountUrn": {
                                "type": "string",
                                "example": "LA0002"
                              },
                              "transactionType": {
                                "type": "string",
                                "example": "MAIN"
                              },
                              "transferType": {
                                "type": "string",
                                "example": "L2L"
                              },
                              "status": {
                                "type": "string",
                                "example": "SUCCESS"
                              },
                              "additionalParameters": {
                                "type": "object",
                                "properties": {
                                  "parameter1": {
                                    "type": "string",
                                    "example": "value1"
                                  },
                                  "parameter2": {
                                    "type": "string",
                                    "example": "value2"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```