Skip to main content
POST
/
v5
/
reports
/
reconciliationDiscrepancy
Reconciliation Discrepancy
curl --request POST \
  --url https://sandbox.hurdlr.com/rest/v5/reports/reconciliationDiscrepancy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '
{
  "endDate": "2023-12-31",
  "bankAccountId": 123,
  "beginDate": "2023-01-01",
  "exportType": "HTML",
  "type": "CLOUD_STORAGE"
}
'
{
  "result": "SUCCESS",
  "errors": {
    "fieldErrors": {},
    "globalErrors": [
      {
        "type": "DUPLICATE",
        "errorMessage": "<string>"
      }
    ]
  },
  "meta": {
    "title": "<string>",
    "businesses": [
      "<string>"
    ],
    "generatedOn": "2023-11-07T05:31:56Z",
    "generatedBy": "<string>",
    "footerLine": "<string>",
    "params": {
      "endDate": "2023-12-31",
      "bankAccountId": 123,
      "beginDate": "2023-01-01",
      "exportType": "HTML",
      "type": "CLOUD_STORAGE"
    }
  },
  "json": {
    "data": [
      {
        "discrepantTransactions": [
          {
            "entity": "EXPENSE",
            "entityId": 123,
            "date": "2023-11-07T05:31:56Z",
            "bankDescription": "<string>",
            "amount": 123,
            "status": "ACTIVE",
            "reviewStatus": "PARTNER_REVIEW_REQUIRED",
            "lastChangedDate": "2023-11-07T05:31:56Z",
            "reconciledAmount": 123,
            "difference": 123,
            "reconciledStatus": "ACTIVE",
            "reconciledDate": "2023-11-07T05:31:56Z"
          }
        ],
        "transactions": [
          {
            "entity": "EXPENSE",
            "entityId": 123,
            "date": "2023-11-07T05:31:56Z",
            "bankDescription": "<string>",
            "amount": 123,
            "status": "ACTIVE",
            "reviewStatus": "PARTNER_REVIEW_REQUIRED",
            "lastChangedDate": "2023-11-07T05:31:56Z",
            "reconciledAmount": 123,
            "difference": 123,
            "reconciledStatus": "ACTIVE",
            "reconciledDate": "2023-11-07T05:31:56Z"
          }
        ],
        "beginDate": "2023-11-07T05:31:56Z",
        "endDate": "2023-11-07T05:31:56Z",
        "completedDate": "2023-11-07T05:31:56Z",
        "endBalance": 123,
        "status": "IN_PROGRESS",
        "closingId": 123,
        "bankAccountId": 123,
        "bankAccountName": "<string>",
        "bankAccountNo": "<string>"
      }
    ]
  },
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

*/*
endDate
string<date>
required

End date for the report. All bank reconciliations ending before this date will be included in the report.

Example:

"2023-12-31"

bankAccountId
integer<int64>
required

Id of the bank account to report reconciliation discrepancies for

beginDate
string<date>

Begin date for the report.

Example:

"2023-01-01"

exportType
enum<string>
Available options:
HTML,
PDF,
XLS,
JSON,
XLSX,
CSV,
LLM
type
enum<string>
Available options:
CLOUD_STORAGE,
EMAIL,
VIEW

Response

200 - application/json

Successful operation

result
enum<string>

Result of the action performed

Available options:
SUCCESS,
FAILURE_VALIDATION_ERROR,
FAILURE_NO_DATA,
FAILURE_UNKNOWN_ERROR
errors
object

Error object containing details errors incurred, if any

meta
object

Metadata associated with the report generated

json
object
url
string

Url at which the downloadable report is located