Search code examples
apifinanceaccounting

Building a rudimentary accounting app


I'm building a simple accounting app to be used for personal finance.

A user might keep track of purchases, upcoming bills, recurring deposits, etc. It will be verrrrry simple.

Two questions:

1) Any advice I should keep in mind? Obviously, I'll use transactions where appropriate, but proper datatypes and other considerations would be nice to know about.

2) Are there any APIs you know of I could use to periodically get a user's balance from their bank? i.e., an API that would make it simple to query their account, regardless of whether they're at Chase, BofA or other?

Thanks very much,

Michael


Solution

  • Having just completed version 1.0 of some custom written online accounting software for school related non-profits I have some advice :)

    • Use standard double entry accounting/bookkeeping (debits and credits) as the basis for your financial engine. You will find this will serve you well when it comes to not only storing data on transactions but also generating reports. Assets = Liabilies + Equity is a tried and true approach for tracking who owns what.
    • Use decimal types for money.
    • Use transactions.
    • Keep the interface as simple as possible.
    • You will need to have a method to allow the user to reconcile the bank records with their own records. Pulling in bank data would help this process but you will need to provide the user with a method to compare. You can use bank statements for this process.
    • The bank is always considered to be right. If there is a discrepancy between the bank and the user records... the fault almost always is with the user records.
    • Make sure you provide some sort of backup facility for the user
    • Secure the users data
    • Make sure you fully understand the process you are automating. Do not make assumptions. Run your ideas by an accountant who specializes in personal finance. Having this vetting will help quite a bit.
    • Be prepared to write ALOT of code. Accounting software has been around for years, the list of "standard features" for a typical accounting package has grown, and there are quite a few players in the market. If you are planning on selling this product you will need to provide those standard features and then find some way of differentiating it from what is already available with additional features.
    • TEST TEST TEST and TEST again. You are keeping records of peoples personal financial transactions (their money). Errors are not taken lightly.