{"id":22740464,"url":"https://github.com/ryanito/paypal-to-freeagent","last_synced_at":"2026-08-15T17:31:33.943Z","repository":{"id":154344195,"uuid":"373327090","full_name":"ryanito/paypal-to-freeagent","owner":"ryanito","description":"Sync PayPal transactions → FreeAgent bank account(s)","archived":false,"fork":false,"pushed_at":"2021-06-04T02:21:07.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T13:07:05.462Z","etag":null,"topics":["freeagent","paypal"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-02T23:21:20.000Z","updated_at":"2021-06-04T02:21:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bde22c6a-3dcc-4aa1-bebb-8513653d41fe","html_url":"https://github.com/ryanito/paypal-to-freeagent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanito/paypal-to-freeagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fpaypal-to-freeagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fpaypal-to-freeagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fpaypal-to-freeagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fpaypal-to-freeagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanito","download_url":"https://codeload.github.com/ryanito/paypal-to-freeagent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanito%2Fpaypal-to-freeagent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36694190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-15T02:00:05.847Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["freeagent","paypal"],"created_at":"2024-12-10T23:08:55.897Z","updated_at":"2026-08-15T17:31:33.938Z","avatar_url":"https://github.com/ryanito.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThe script will take a CSV file (generated with PayPal reports) and upload the transactions to the FreeAgent bank account(s) you specify in `.env`.\n\nI created this script for two reasons:\n\n- As a workaround for FreeAgent's built-in de-duplication (to prevent missing transactions)\n- To better support multi-currency bank accounts (one upload for all currencies)\n\nFreeAgent's built-in de-duplication uses three key pieces of information - Date, Amount and Description. If these are identical on more than one transaction, FreeAgent will view this as a potential duplicate. However, this can cause missing transactions in FreeAgent bank accounts where de-duplication is removing **different** transactions that have the same Date, Amount and Description.\n\nThis script uses the transaction ID to create unique descriptions that won't be de-duplicated by FreeAgent.\n\nFreeAgent does not fully support multi-currency bank accounts (at the time of writing), so they recommend that you add a separate bank account for each currency that you hold (see \"A word on PayPal\" at https://www.freeagent.com/blog/multi-currency-banking-arrives/)\n\nYou can specify multiple FreeAgent bank accounts as a comma-separated string in `.env`, e.g. `FREEAGENT_BANK_ACCOUNT_ID=\"123,456\"`. The script will loop through these accounts and import transactions that match the bank account's currency.\n\n# Installation\n\n1. Make sure you have `node` and `npm` installed\n2. `npm install`\n3. Copy `.env.example` to `.env` and populate each value.\n\n# Usage\n\n`node index.js [file.csv]`\n\n![terminal](https://user-images.githubusercontent.com/7041605/120565828-d1e10e00-c405-11eb-9cb0-3b07e1524eb7.gif)\n\nGo to your FreeAgent account and the transactions will be in the bank account(s), ready to be explained/confirmed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanito%2Fpaypal-to-freeagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanito%2Fpaypal-to-freeagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanito%2Fpaypal-to-freeagent/lists"}