Files
kvitt/server/crates/kvitt-import/tests/fixtures/english.csv
T
jacobh2 50339aef6d M9: kvitt-import Splitwise importer (SPEC §10.8, FR-17)
CLI per §10.8 with --help, --dry-run and a summary; English and Swedish
headers with member columns matched by name; CSV quoting; payments as
settlements with one allocation; trailing totals row used to reconcile
the account balance (mismatch rolls back, exit 4); non-SEK rows abort
unless --fx; committed category table data/splitwise_categories.csv;
idempotent re-runs through import_key; rows validated with the server's
push checks, audited with source import, no pushes; one BEGIN IMMEDIATE
transaction. Tests over synthetic fixtures only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
2026-10-18 07:45:37 +02:00

804 B

1DateDescriptionCategoryCostCurrencyAlex ExampleRobin Sample
22025-01-05Weekly shopGroceries300.00SEK150.00-150.00
32025-01-06Paint, brushes and tapeHousehold supplies120.50SEK-60.2560.25
42025-01-07CinemaMovies200.00SEK0.000.00
52025-01-08Bus cardBus/train100.00SEK-100.00100.00
62025-01-09Mystery boxWidgets50.00SEK25.00-25.00
72025-01-10CoffeeDining out40.00SEK20.00-20.00
82025-01-10CoffeeDining out40.00SEK20.00-20.00
92025-01-11An extremely long synthetic description written only to exercise the truncation rule of the importer at one hundred code pointsGeneral10.00SEK5.00-5.00
102025-01-12Robin paid AlexPayment100.00SEK-100.00100.00
112025-01-13Rent, JanuaryRent1000.00SEK500.00-500.00
122025-01-14Total balanceSEK459.75-459.75