This commit is contained in:
Lars Nolden
2026-09-10 12:30:42 +02:00
commit 9843fe0c50
79 changed files with 16318 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Fixture 01-basic-card
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_01","source":"csv","account_id":"acc_main","booking_date":"2026-01-01","amount":"-12.34","currency":"EUR","raw_description":"Ordinary card payment","fingerprint":"fp_fixture_1"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 02-double-quotes
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_02","source":"csv","account_id":"acc_main","booking_date":"2026-01-02","amount":"-12.34","currency":"EUR","raw_description":"Cafe \"Zur Sonne\"","fingerprint":"fp_fixture_2"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 03-backslashes
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_03","source":"csv","account_id":"acc_main","booking_date":"2026-01-03","amount":"-12.34","currency":"EUR","raw_description":"Invoice C:\\archive\\2026","fingerprint":"fp_fixture_3"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+23
View File
@@ -0,0 +1,23 @@
# Fixture 04-multiline
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {
"id": "tx_fixture_04",
"source": "csv",
"account_id": "acc_main",
"booking_date": "2026-01-04",
"amount": "-12.34",
"currency": "EUR",
"raw_description": "First line\nSecond line\nThird line",
"fingerprint": "fp_fixture_4"
}
// Editable classification metadata follows.
enrichment: {
"kind": "expense",
"tag_ids": [],
"classification": {
"source": "fallback"
},
"category_id": "cat_expenses_unclassified"
}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 05-unicode
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_05","source":"csv","account_id":"acc_main","booking_date":"2026-01-05","amount":"-12.34","currency":"EUR","raw_description":"Bäckerei 東京 — café","fingerprint":"fp_fixture_5"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 06-comment-markers
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_06","source":"csv","account_id":"acc_main","booking_date":"2026-01-06","amount":"-12.34","currency":"EUR","raw_description":"# not a comment // neither is this","fingerprint":"fp_fixture_6"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 07-braces
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_07","source":"csv","account_id":"acc_main","booking_date":"2026-01-07","amount":"-12.34","currency":"EUR","raw_description":"Payment {reference}: [123]","fingerprint":"fp_fixture_7"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+23
View File
@@ -0,0 +1,23 @@
# Fixture 08-tabs
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {
"id": "tx_fixture_08",
"source": "csv",
"account_id": "acc_main",
"booking_date": "2026-01-08",
"amount": "-12.34",
"currency": "EUR",
"raw_description": "Terminal\tA\tReceipt",
"fingerprint": "fp_fixture_8"
}
// Editable classification metadata follows.
enrichment: {
"kind": "expense",
"tag_ids": [],
"classification": {
"source": "fallback"
},
"category_id": "cat_expenses_unclassified"
}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 09-income
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_09","source":"csv","account_id":"acc_main","booking_date":"2026-01-09","amount":"3456.78","currency":"EUR","raw_description":"Salary January","fingerprint":"fp_fixture_9"}
// Editable classification metadata follows.
enrichment: {"kind":"income","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_income_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 10-refund
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_10","source":"csv","account_id":"acc_main","booking_date":"2026-01-10","amount":"18.42","currency":"EUR","raw_description":"Merchant refund","fingerprint":"fp_fixture_10"}
// Editable classification metadata follows.
enrichment: {"kind":"income","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_income_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 11-zero
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_11","source":"csv","account_id":"acc_main","booking_date":"2026-01-11","amount":"0.00","currency":"EUR","raw_description":"Zero-value bank notification","fingerprint":"fp_fixture_11"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 12-four-decimals
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_12","source":"csv","account_id":"acc_main","booking_date":"2026-01-12","amount":"-0.0001","currency":"EUR","raw_description":"Interest adjustment","fingerprint":"fp_fixture_12"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 13-large-exact
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_13","source":"csv","account_id":"acc_main","booking_date":"2026-01-13","amount":"-922337203685477.5808","currency":"EUR","raw_description":"Large exact debit","fingerprint":"fp_fixture_13"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 14-usd
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_14","source":"csv","account_id":"acc_usd","booking_date":"2026-01-14","amount":"-21.2345","currency":"USD","raw_description":"USD purchase","fingerprint":"fp_fixture_14"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 15-gbp
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_15","source":"csv","account_id":"acc_gbp","booking_date":"2026-01-15","amount":"-9.99","currency":"GBP","raw_description":"GBP purchase","fingerprint":"fp_fixture_15"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 16-duplicate-one
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_16","source":"csv","account_id":"acc_main","booking_date":"2026-01-16","amount":"-4.50","currency":"EUR","raw_description":"Identical legitimate payment","fingerprint":"duplicate-payment"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 17-duplicate-two
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_17","source":"csv","account_id":"acc_main","booking_date":"2026-01-16","amount":"-4.50","currency":"EUR","raw_description":"Identical legitimate payment","fingerprint":"duplicate-payment"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 18-upstream-id
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_18","source":"enable-banking","account_id":"acc_main","booking_date":"2026-01-18","amount":"-12.34","currency":"EUR","raw_description":"Provider-backed transfer reference","fingerprint":"fp_fixture_18","external_id":"provider:stable/123"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 19-counterparty
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_19","source":"csv","account_id":"acc_main","booking_date":"2026-01-19","amount":"-12.34","currency":"EUR","raw_description":"SEPA direct debit","fingerprint":"fp_fixture_19","counterparty":"Example & Sons","counterparty_iban":"DE89370400440532013000"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback"},"category_id":"cat_expenses_unclassified"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 20-transfer-out
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_20","source":"csv","account_id":"acc_main","booking_date":"2026-01-20","amount":"-250.00","currency":"EUR","raw_description":"Savings transfer","fingerprint":"fp_fixture_20"}
// Editable classification metadata follows.
enrichment: {"kind":"transfer","tag_ids":[],"classification":{"source":"transfer-match"},"transfer_peer_id":"tx_fixture_21"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 21-transfer-in
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_21","source":"csv","account_id":"acc_save","booking_date":"2026-01-21","amount":"250.00","currency":"EUR","raw_description":"Savings transfer","fingerprint":"fp_fixture_21"}
// Editable classification metadata follows.
enrichment: {"kind":"transfer","tag_ids":[],"classification":{"source":"transfer-match"},"transfer_peer_id":"tx_fixture_20"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 22-ai-metadata
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_22","source":"csv","account_id":"acc_main","booking_date":"2026-01-22","amount":"-12.34","currency":"EUR","raw_description":"Classified grocery","fingerprint":"fp_fixture_22"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":["tag_food","tag_recurring"],"classification":{"source":"ai","model":"gpt-4.1-mini","timestamp":"2026-01-22T12:34:56.123Z"},"category_id":"cat_grocery","merchant_id":"mer_cafe"}
}
+7
View File
@@ -0,0 +1,7 @@
# Fixture 23-manual-metadata
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_23","source":"csv","account_id":"acc_main","booking_date":"2026-01-23","amount":"-12.34","currency":"EUR","raw_description":"Human reviewed purchase","fingerprint":"fp_fixture_23"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":["tag_food","tag_recurring"],"classification":{"source":"manual","timestamp":"2026-01-23T16:00:00+01:00"},"category_id":"cat_grocery","merchant_id":"mer_cafe"}
}
@@ -0,0 +1,7 @@
# Fixture 24-failed-enrichment
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {"id":"tx_fixture_24","source":"csv","account_id":"acc_main","booking_date":"2026-01-24","amount":"-12.34","currency":"EUR","raw_description":"Retained fallback after failure","fingerprint":"fp_fixture_24"}
// Editable classification metadata follows.
enrichment: {"kind":"expense","tag_ids":[],"classification":{"source":"fallback","error":"Provider unavailable: \"timeout\"\nRetry later"},"category_id":"cat_expenses_unclassified"}
}
@@ -0,0 +1,28 @@
# Fixture 25-value-date-and-comments
transaction {
# Bank facts: preserve these bytes when enrichment changes.
facts: {
"id": "tx_fixture_25",
"source": "csv",
"account_id": "acc_main",
"booking_date": "2026-01-25",
"amount": "-12.34",
"currency": "EUR",
"raw_description": "Booked after settlement",
"fingerprint": "fp_fixture_25",
"value_date": "2025-12-31"
}
// Editable classification metadata follows.
enrichment: {
"kind": "expense",
"tag_ids": [
"tag_food",
"tag_recurring"
],
"classification": {
"source": "merchant-defaults"
},
"category_id": "cat_grocery",
"merchant_id": "mer_cafe"
}
}