Repository navigation
Description
The Context
There are numerous issues raised (#271 #207 #46 ...) with the current state of Splitwise import and I would like to group them all together, as well as gather feedback for how I would like to rework the current flow.
Currently, we rely on an external hosted solution, to generate a JSON with SOME data fetched from Splitwise API. Looking at the code, it is very simple. We do not import expenses and with the planned #234, such imported accounts will break.
The background for not importing expenses was the fact, that we do not want to overload the Node server with processing of JSONs, which could slow down the app (this concern was probably related more to the public instance) #29
The Plan
- Add
pg-boss, which will allow us to offload execution to another process. We also want this for Feature Request: Allow currency exchange transactions #79 and Feature Request: Recurring expense #160 - Change the import splitwise screen, to have an accordion from https://export-splitwise.vercel.app/ and accept the API key not JSON
- Create a worker job that first does exactly what the current functionality does
- Fetch ALL transactions in batches
- Fetch more transaction metadata
Along the way, we might switch to https://github.com/athulanilthomas/splitwise-ts
Nice to have
- more granular import, allow importing a subset of groups/friends
- toggle for archived groups
- toggle for not importing settled up expenses
- ability to sync Splitwise data after it has been imported
Activity
krokosik commentedon Aug 13, 2025
Feel free to comment your opinions on this and please keep all Splitwise import related discussion here
krokosik commentedon Sep 2, 2025
Okay, I see now that the terms of use for the Splitwise API, unsurprisingly, explicitly disallow using it for developing a competing service to their product. I see 2 paths forward:
rodrigost23 commentedon Sep 3, 2025
Is the CSV too limited? Does it lack information?
krokosik commentedon Sep 17, 2025
@rodrigost23 It's more work for me to implement it mostly + I'm not sure if you can read parts of a csv into memory in JS.
krokosik commentedon Sep 17, 2025
And a full CSV export seems to be a premium feature
rodrigost23 commentedon Sep 27, 2025
I'm able to export CSVs by friend or by group without being a premium subscriber, and it downloaded all transactions since 2019 (which means everything I have there) in the following format:
Not a very good machine-readable format anyway, especially considering everything came translated. So not only the headers were translated, but also category names were in Portuguese.
Maybe having a way to import SplitPro data in its own format (json?) would be ideal, so a converter from Splitwise API or CSV could be part of that external hosted app, not part of SplitPro so to not infringe their terms.
Luifr commentedon Jan 13, 2026
Any user can export CSV data without premium account
CSV export is per group or person
When exporting data for a person only non-group transactions are exported
I would like to be able to import group expenses via CSV
Each row will be a transaction in split-pro db, the user will have to map each split wise person to a spli-pro person (or create a new one with the same name as a default)
Uli-Z commentedon Apr 23, 2026
Hey guys, I just stumbled over this project as i'm kinda disappointed by my current used Splitwise-alternative Spliit.
As you are thinking about this Splitwise-CSV-Import feature: The CSV format is not ideal as it lacks some informations. I worked on that problem for a (still pending) PR for Spliit and found a pretty good solution. Maybe you want to check it out to get some inspiration:
spliit-app/spliit#483
davidrudlstorfer commentedon Apr 23, 2026
@Uli-Z do you know more regarding Spliit? I also looked into Spliit and it seems kinda dead. This repo should be a really good alternative and your PR on the topic of this issue looks good
rodrigost23 commentedon Apr 23, 2026
@Uli-Z There's a WIP approach in #465. It's different than spliit-app/spliit#483, as it does not use CSV, but relies on oss-apps/export-splitwise#2 instead.
Mufaddal5253110 commentedon May 24, 2026
Hey! I've opened a PR for this: #660
Happy to discuss further. Looking forward to feedback!
krokosik commentedon May 25, 2026
Sorry, I don't accept 100% vibe coded PRs, especially of this size. Most importantly I cannot accept it due to the fact that it violates the Splitwise API ToS.
maxdd commentedon May 28, 2026
How much time can we hope to wait to have an easy way to move over to split-pro? I think a lot of us are waiting this to get away from splitwise
ZenoBell commentedon May 29, 2026
I was in the same position and didn't/couldn't want to manually recreate years of Splitwise history. (since 2020)
I ended up building a one-time import script against the Split Pro database and the Splitwise API. It imported my users, groups, and around ~1500 historical expenses successfully.
A few observations:
It was a migration tool, not a permanent integration. (so like that it's less invasive,no UI/routes/runtime integration)
It required mapping existing Split Pro users to Splitwise users. (Splitwise-user-ID → Split-Pro-user-ID mapping and not based on emails)
I tested locally first, doublechecked all the entries fast and then I ran it on my homelab. (it includes dry-run, rollback, idempotency(
transactionId = splitwise:<id>), user mapping, skipped-expense logs, and production backup instructions )Once the import was complete, all expenses became normal Split Pro data.
Also to be noted i tested only on my data and we were always only two users.
I don't think this is something that should be implemented for various reasons, but it convinced me that a migration path is very feasible and would probably help a lot of people move from Splitwise.
If someone is interested, I'd be happy to share notes about the migration process and edge cases I encountered via PM.
maxdd commentedon May 30, 2026
I would be more than happy to try it. Will you open a repo?
krokosik commentedon May 30, 2026
@maxdd I know it's a blocker for some, but I have very little spare time for Split Pro and when I actually do work on it, I prioritize issues current users face, so I can't really give any ETA on that :/
maxdd commentedon May 30, 2026
That's fine and congrats for the great project. It is just s pity to loose all the entries on Splitwise. So it is not a full replacement for me yet
ZenoBell commentedon May 31, 2026
Please use it with caution and make sure to back up your database before running it. The importer is available here: splitwise-to-splitpro-importer.
rodrigost23 commentedon Aug 14, 2026
What if we had a specific format to import data to SplitPro? This way people could make their own external tools that convert their data to the SplitPro format without having to insert directly to database, for instance. It would be an easier way to not having to maintain import features from other services directly.
p18dh28ejfi commentedon Aug 17, 2026
You can use the 7-day Splitwise Pro trial to get the JSON export.
It only imported the final balances for me, not the individual line items/transactions. Pretty disappointing, but good to know before trying.
krokosik commentedon Aug 18, 2026
@rodrigost23 yes, given the fact that API now requires PRO, that might be the way to go. We could build around the current format and extend it with info that is right now missing and publish a JSON schema