The "qrcode_checks" validate that certain key data points which have been read from the statement match what is stored in the QR code for that particular statement. The information within the QR code is immutable and is therefore used as a source of truth to compare whether any changes have been made to the information on the statement (i.e. in cases of tampering) or if the information in the statement is complete (i.e. whether all of the pages of the statement are present or whether all of the expected transactions are there).
```postman_json
{
"errors": {
"code": "entity_not_found",
"message": "Record not found in module_bank_accounts"
}
}
```
```postman_json
{
"errors": {
"code": "entity_not_found",
"message": "Record not found in statements"
}
}
```
Breakdown of "qrcode_checks"
For all of the below checks, a "false" is a good outcome as it indicates there is no discrepancy between what Gathr has read from the statement versus what is stored in the QR code (i.e. a good match). If you get a "true" for any of the checks, it indicates that what has been read from the statement does not match the information in the QR code. This could mean that some information has been changed on the statement or perhaps is missing from the statement (due to a page being left out or cut off, line items that have been deleted, etc.)
statement_dates
Checks whether the statement dates that Gathr has read from the statement
statement_date,
start_date,
end_date
matches to the dates stored within the QR code:
printDate,
fromDate,
toDate
account_holder
Checks whether the account_holder that Gathr has read from the statement matches the accountHolder from the QR code.
account_number
Checks whether the account_number that Gathr has read from the statement matches the accountNumber from the QR code.
opening_balance
Checks whether the opening_balance that Gathr has read from the statement matches the openingBalance from the QR code.
largest_credit
Checks whether Gathr can find the transaction matching the amount and date of the largestCredit (i.e. largest credit transaction/ highest income) transaction according to the QR code within the Transactions that have been read from the statement.
largest_debit
Checks whether Gathr can find the transaction matching the amount and date of the largestDebit (i.e. largest debit transaction/ highest expense) transaction according to the QR code within the Transactions that have been read from the statement.
closing_balance
Checks whether the closing_balance that Gathr has read from the statement matches the closingBalance from the QR code.
transaction_count
Checks whether the total number of transactions Gathr has read from the statement (i.e. transaction_count) matches the number of transactions the QR code says the statement should have (i.e. transactionCount from the QR code).
Last updated
Was this helpful?
The UUID for a Bank Account that gets generated and returned in the response.
The UUID for a Statement that gets generated for each statement and returned in the response. You can also get this UUID from the or endpoint.