Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to determine the Account Balances at historical date/times? #78

Closed
johnmee opened this issue Feb 27, 2021 · 5 comments
Closed

How to determine the Account Balances at historical date/times? #78

johnmee opened this issue Feb 27, 2021 · 5 comments

Comments

@johnmee
Copy link
Contributor

johnmee commented Feb 27, 2021

This is a Feature Request for the determination of the balance of an account at a specific date/time.

The tranactions list /transactions returns in a long list without any account balance numbers. When one is importing into an accounting program, it is very helpful to be able to reconcile account balances periodically to detect errors and inadvertent bookentry postings. However, the only balance check I can find is the current balance provided by /accounts.

Option A, as seen in the westpac/stgeorge transaction listings, the residual account balance is included as a data point with every transaction.

Option B is the addition of a ISO formatted date/time parameter to /accounts which returns the state, and balance, of the account/s on the given date/time. I expect consideration of the exact moment in time could complicate things. A compromise to a fixed time of day, eg midnight UTC, or timezone param, would be reasonable. This option may be relevant to the feature request for deleted/removed accounts.

I am just looking for a way to reconcile my account balances against yours at intermediate points during an import.

@johnmee johnmee changed the title Retrieve account balance at a specified date/time. How to determine the Account Balances at historical date/times? Feb 27, 2021
@d11wtq
Copy link
Contributor

d11wtq commented Mar 29, 2021

This is actually a bit tricky because Up uses the account's available balance, which takes into account pending transactions and can change in response to pending transactions being deleted or settled at a different amount. Essentially if you had a running balance on your 7-11 transaction today, that might be a different running balance in 2 weeks time, if something like a hotel room deposit hold that was placed 3 days prior is subsequently deleted.

@johnmee
Copy link
Contributor Author

johnmee commented Mar 29, 2021

I'll take whatever "balance" you have.
Is the current "available balance" all you keep?

@all64bits
Copy link

I am also interested in this. Would it possible to get a running balance for each settled transaction, and just return null for pending transactions? That way, the balance shouldn't change when pending transactions settle?

@all64bits
Copy link

all64bits commented Jan 13, 2022

I understand what you say @d11wtq about the impact on balance assertions caused by changes to pending transactions which are sitting earlier in the list. This is the same issue I have when exporting transaction info for a credit account I have. However I also have a transactions account with the same bank, and when I export the transaction list from that one, it only includes pending transactions after they settle, and because of that the balance assertions never change.

@johnmee
Copy link
Contributor Author

johnmee commented Sep 3, 2022

My other bank deals with this "whats my current balance" question by recording the transactions with the settlement timestamp. They include a timestamp of when the transaction actually took place in the transaction description.

But it looks like this is a "wont fix" :-/

I'm still keen for a solution to this "what was the balance" question. Sometimes it takes me a looong time to get around to importing transactions. Which puts me in a lot of pain when I'm hunting through 6 months worth of transactions to find whatever is throwing out the reconciliation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants