GithubHelp home page GithubHelp logo

sclem / pctransactionfixer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 9 KB

Personal Capital Transaction Fixer

Home Page: https://addons.mozilla.org/en-US/firefox/addon/pctransactionfixer/

License: MIT License

JavaScript 97.88% Shell 2.12%

pctransactionfixer's Introduction

pctransactionfixer

An extension to properly balance transactions in Personal Capital.

What it does

Transaction fixer for Personal Capital's "Cash Flow" feature. Negative transactions in an "Income" category deduct from the "Income" tab instead of "Expenses", and vice-versa.

Example

Lets say you purchase something at a store and you decide to return it. Personal Capital will report the reimbursement as "Income" from the store, and the expense will remain for budgeting purposes.

In traditional double-entry accounting, this is incorrect. The reimbursement should be a positive "Expense" and zero-out the original purchase.

Another use case: Your friend pays you back 50% of the cost of a shared purchase. Personal capital, by default, will report the transaction from your friend as income, and the expense is reported at twice what you "really paid".

How it works

When personal capital requests the user's transactions, the extension goes through the list of transactions and finds "Credits" that fall within an "Expense" category (custom categories are supported). It then rewrites them as the opposite ("Debit") and negates the amount.

This extension does not affect any data on personal capital's servers. It only changes the way expenses and income transactions are displayed in the UI.

Notice:

This extension only supports Firefox 57 and higher. The transaction rewrite relies on a WebRequest API function that is not available in Chrome yet. See: https://bugs.chromium.org/p/chromium/issues/detail?id=104058

pctransactionfixer's People

Contributors

sclem avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.