> For the complete documentation index, see [llms.txt](https://cardknox.gitbook.io/sola-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardknox.gitbook.io/sola-dev-docs/api-reference/reporting-api/deposit-reports.md). Agents can also search and read this documentation through its [MCP server](https://cardknox.gitbook.io/sola-dev-docs/~gitbook/mcp).

# Deposit Reports

## Report Deposit

> \*\*Path\*\*: \`/reportjson\` \*\*xCommand\*\*: \`report:deposit\` POST to \*\*\`/reportjson\`\*\* with \*\*\`xCommand\`\*\* = \`report:deposit\` to run \*\*Report Deposit\*\*. Use this endpoint to retrieve ACHQ deposit details by deposit ID or by date range. The response includes deposit identifiers, deposit dates, totals, and the transactions contained in the deposit (for example, reference numbers and amounts) to support reconciliation and settlement reporting.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Deposit Reports APIs","version":"5.0.0"},"tags":[{"name":"Deposit Reports"}],"servers":[{"url":"https://x1.cardknox.com","description":"Default API host"}],"paths":{"/reportjson":{"post":{"summary":"Report Deposit","description":"**Path**: `/reportjson` **xCommand**: `report:deposit` POST to **`/reportjson`** with **`xCommand`** = `report:deposit` to run **Report Deposit**. Use this endpoint to retrieve ACHQ deposit details by deposit ID or by date range. The response includes deposit identifiers, deposit dates, totals, and the transactions contained in the deposit (for example, reference numbers and amounts) to support reconciliation and settlement reporting.\n","operationId":"API_075_reportdeposit","tags":["Deposit Reports"],"deprecated":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"xKey":{"type":"string","description":"Your Sola API key."},"xVersion":{"type":"string","description":"Gateway API version (e.g. 5.0.0)."},"xSoftwareName":{"type":"string","description":"Name of your software."},"xSoftwareVersion":{"type":"string","description":"Version number of your software."},"xCommand":{"type":"string","description":"Sola report type. Use report:deposit. ACHQ accounts only."},"xDepositId":{"type":"string","description":"Either xDepositId or (xBeginDate and xEndDate) is required.\n\n**Conditional:** Required if xBeginDate and xEndDate are not provided. ACHQ deposit ID.\n"},"xBeginDate":{"type":"string","description":"Begin date for deposit report range.\n\n**Conditional:** Required if xDepositId is not provided.\n","format":"YYYY-MM-DD or YYYY-MM-DD HH:MM:SS"},"xEndDate":{"type":"string","description":"End date for deposit report range.\n\n**Conditional:** Required if xDepositId is not provided.\n","format":"YYYY-MM-DD or YYYY-MM-DD HH:MM:SS"}},"required":["xKey","xVersion","xSoftwareName","xSoftwareVersion","xCommand"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"xResult":{"type":"string","description":"Result code (e.g. A = Approved)."},"xStatus":{"type":"string","description":"Status (e.g. Approved)."},"xError":{"type":"string","description":"Error message if any."},"xRefNum":{"type":"string","description":"Reference for the report request."},"xRecordsReturned":{"type":"string","description":"Number of records/deposits returned."},"xReportData":{"type":"string","description":"Report payload (deposit(s) with Deposit Id, Deposit Date, Total Amount, Transactions with Refnum and Amount)."},"xReportURL":{"type":"string","description":"Download URL when xReturnDownloadURL is true (valid ~5 minutes)."},"xReportingMaxTransactions":{"type":"string","description":"Maximum transactions allowed for report (e.g. 1000)."}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cardknox.gitbook.io/sola-dev-docs/api-reference/reporting-api/deposit-reports.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
