reckon 0.6.0 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +50 -0
  3. data/.gitignore +3 -0
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +75 -7
  6. data/Gemfile.lock +1 -1
  7. data/README.md +85 -24
  8. data/Rakefile +17 -1
  9. data/bin/build-new-version.sh +26 -0
  10. data/bin/reckon +9 -1
  11. data/lib/reckon.rb +1 -0
  12. data/lib/reckon/app.rb +18 -141
  13. data/lib/reckon/cosine_similarity.rb +67 -62
  14. data/lib/reckon/csv_parser.rb +2 -7
  15. data/lib/reckon/date_column.rb +10 -0
  16. data/lib/reckon/money.rb +59 -52
  17. data/lib/reckon/options.rb +153 -0
  18. data/lib/reckon/version.rb +1 -1
  19. data/spec/cosine_training_and_test.rb +52 -0
  20. data/spec/integration/another_bank_example/input.csv +9 -0
  21. data/spec/integration/another_bank_example/output.ledger +36 -0
  22. data/spec/integration/another_bank_example/test_args +1 -0
  23. data/spec/integration/ask_for_account/cli_input.exp +33 -0
  24. data/spec/integration/ask_for_account/expected_output +11 -0
  25. data/spec/integration/ask_for_account/input.csv +9 -0
  26. data/spec/integration/ask_for_account/test_args +1 -0
  27. data/spec/integration/austrian_example/input.csv +13 -0
  28. data/spec/integration/austrian_example/output.ledger +52 -0
  29. data/spec/integration/austrian_example/test_args +2 -0
  30. data/spec/integration/bom_utf8_file/input.csv +3 -0
  31. data/spec/integration/bom_utf8_file/output.ledger +4 -0
  32. data/spec/integration/bom_utf8_file/test_args +3 -0
  33. data/spec/integration/broker_canada_example/input.csv +12 -0
  34. data/spec/integration/broker_canada_example/output.ledger +48 -0
  35. data/spec/integration/broker_canada_example/test_args +1 -0
  36. data/spec/integration/chase/account_tokens_and_regex/output.ledger +36 -0
  37. data/spec/integration/chase/account_tokens_and_regex/test_args +2 -0
  38. data/spec/integration/chase/account_tokens_and_regex/tokens.yml +16 -0
  39. data/spec/integration/chase/default_account_names/output.ledger +36 -0
  40. data/spec/integration/chase/default_account_names/test_args +3 -0
  41. data/spec/integration/chase/input.csv +9 -0
  42. data/spec/integration/chase/learn_from_existing/learn.ledger +7 -0
  43. data/spec/integration/chase/learn_from_existing/output.ledger +36 -0
  44. data/spec/integration/chase/learn_from_existing/test_args +1 -0
  45. data/spec/integration/chase/simple/output.ledger +36 -0
  46. data/spec/integration/chase/simple/test_args +1 -0
  47. data/spec/integration/danish_kroner_nordea_example/input.csv +6 -0
  48. data/spec/integration/danish_kroner_nordea_example/output.ledger +24 -0
  49. data/spec/integration/danish_kroner_nordea_example/test_args +1 -0
  50. data/spec/integration/english_date_example/input.csv +3 -0
  51. data/spec/integration/english_date_example/output.ledger +12 -0
  52. data/spec/integration/english_date_example/test_args +1 -0
  53. data/spec/integration/extratofake/input.csv +24 -0
  54. data/spec/integration/extratofake/output.ledger +92 -0
  55. data/spec/integration/extratofake/test_args +1 -0
  56. data/spec/integration/french_example/input.csv +9 -0
  57. data/spec/integration/french_example/output.ledger +36 -0
  58. data/spec/integration/french_example/test_args +2 -0
  59. data/spec/integration/german_date_example/input.csv +3 -0
  60. data/spec/integration/german_date_example/output.ledger +12 -0
  61. data/spec/integration/german_date_example/test_args +1 -0
  62. data/spec/integration/harder_date_example/input.csv +5 -0
  63. data/spec/integration/harder_date_example/output.ledger +20 -0
  64. data/spec/integration/harder_date_example/test_args +1 -0
  65. data/spec/integration/ing/input.csv +3 -0
  66. data/spec/integration/ing/output.ledger +12 -0
  67. data/spec/integration/ing/test_args +1 -0
  68. data/spec/integration/intuit_mint_example/input.csv +7 -0
  69. data/spec/integration/intuit_mint_example/output.ledger +28 -0
  70. data/spec/integration/intuit_mint_example/test_args +1 -0
  71. data/spec/integration/invalid_header_example/input.csv +6 -0
  72. data/spec/integration/invalid_header_example/output.ledger +8 -0
  73. data/spec/integration/invalid_header_example/test_args +1 -0
  74. data/spec/integration/inversed_credit_card/input.csv +16 -0
  75. data/spec/integration/inversed_credit_card/output.ledger +64 -0
  76. data/spec/integration/inversed_credit_card/test_args +1 -0
  77. data/spec/integration/nationwide/input.csv +4 -0
  78. data/spec/integration/nationwide/output.ledger +16 -0
  79. data/spec/integration/nationwide/test_args +1 -0
  80. data/spec/integration/regression/issue_51_account_tokens/input.csv +8 -0
  81. data/spec/integration/regression/issue_51_account_tokens/output.ledger +32 -0
  82. data/spec/integration/regression/issue_51_account_tokens/test_args +4 -0
  83. data/spec/integration/regression/issue_51_account_tokens/tokens.yml +9 -0
  84. data/spec/integration/regression/issue_64_date_column/input.csv +3 -0
  85. data/spec/integration/regression/issue_64_date_column/output.ledger +8 -0
  86. data/spec/integration/regression/issue_64_date_column/test_args +1 -0
  87. data/spec/integration/regression/issue_73_account_token_matching/input.csv +2 -0
  88. data/spec/integration/regression/issue_73_account_token_matching/output.ledger +4 -0
  89. data/spec/integration/regression/issue_73_account_token_matching/test_args +6 -0
  90. data/spec/integration/regression/issue_73_account_token_matching/tokens.yml +8 -0
  91. data/spec/integration/regression/issue_85_date_example/input.csv +2 -0
  92. data/spec/integration/regression/issue_85_date_example/output.ledger +8 -0
  93. data/spec/integration/regression/issue_85_date_example/test_args +1 -0
  94. data/spec/integration/spanish_date_example/input.csv +3 -0
  95. data/spec/integration/spanish_date_example/output.ledger +12 -0
  96. data/spec/integration/spanish_date_example/test_args +1 -0
  97. data/spec/integration/suntrust/input.csv +7 -0
  98. data/spec/integration/suntrust/output.ledger +28 -0
  99. data/spec/integration/suntrust/test_args +1 -0
  100. data/spec/integration/test.sh +123 -0
  101. data/spec/integration/test_money_column/input.csv +3 -0
  102. data/spec/integration/test_money_column/output.ledger +8 -0
  103. data/spec/integration/test_money_column/test_args +1 -0
  104. data/spec/integration/two_money_columns/input.csv +5 -0
  105. data/spec/integration/two_money_columns/output.ledger +20 -0
  106. data/spec/integration/two_money_columns/test_args +1 -0
  107. data/spec/integration/yyyymmdd_date_example/input.csv +1 -0
  108. data/spec/integration/yyyymmdd_date_example/output.ledger +4 -0
  109. data/spec/integration/yyyymmdd_date_example/test_args +1 -0
  110. data/spec/reckon/app_spec.rb +24 -6
  111. data/spec/reckon/csv_parser_spec.rb +3 -3
  112. data/spec/reckon/money_column_spec.rb +24 -24
  113. data/spec/reckon/money_spec.rb +15 -34
  114. data/spec/reckon/options_spec.rb +17 -0
  115. data/spec/spec_helper.rb +6 -1
  116. metadata +102 -7
  117. data/.travis.yml +0 -13
@@ -0,0 +1 @@
1
+ -f input.csv --unattended --account Assets:Bank:Checking
@@ -0,0 +1,36 @@
1
+ 2009-12-10 CREDIT; Some Company vendorpymt PPD ID: 5KL3832735
2
+ Assets:Bank:Checking $2,105.00
3
+ Income:Unknown
4
+
5
+ 2009-12-11 CREDIT; PAYPAL TRANSFER PPD ID: PAYPALSDSL
6
+ Expenses:Unknown
7
+ Assets:Bank:Checking -$116.22
8
+
9
+ 2009-12-14 DEBIT; WEBSITE-BALANCE-10DEC09 12 12/10WEBSITE-BAL
10
+ Expenses:Websites
11
+ Assets:Bank:Checking -$20.96
12
+
13
+ 2009-12-21 DEBIT; WEBSITE-BALANCE-17DEC09 12 12/17WEBSITE-BAL
14
+ Expenses:Websites
15
+ Assets:Bank:Checking -$12.23
16
+
17
+ 2009-12-23 CREDIT; Some Company vendorpymt PPD ID: 59728JSL20
18
+ Assets:Bank:Checking $3,520.00
19
+ Income:Unknown
20
+
21
+ 2009-12-23 CREDIT; Blarg BLARG REVENUE PPD ID: 00jah78563
22
+ Assets:Bank:Checking $1,558.52
23
+ Income:Unknown
24
+
25
+ 2009-12-24 DEBIT; GITHUB 041287430274 CA 12/22GITHUB 04
26
+ Expenses:Unknown
27
+ Assets:Bank:Checking -$7.00
28
+
29
+ 2009-12-24 CHECK; Book Store
30
+ Expenses:Books
31
+ Assets:Bank:Checking -$20.00
32
+
33
+ 2009-12-24 DEBIT; HOST 037196321563 MO 12/22SLICEHOST
34
+ Expenses:Unknown
35
+ Assets:Bank:Checking -$85.00
36
+
@@ -0,0 +1,2 @@
1
+ -f ../input.csv --unattended --account 'Assets:Bank:Checking' \
2
+ --account-tokens tokens.yml
@@ -0,0 +1,16 @@
1
+ Income:
2
+ Salary:
3
+ - 'LÖN'
4
+ - 'Salary'
5
+ Expenses:
6
+ Bank:
7
+ - 'Comission'
8
+ - /mastercard/i
9
+ Rent:
10
+ - '0011223344' # Landlord bank number
11
+ Websites:
12
+ - /web/i
13
+ Books:
14
+ - 'Book'
15
+ '[Internal:Transfer]': # Virtual account
16
+ - '4433221100' # Your own account number
@@ -0,0 +1,36 @@
1
+ 2009-12-10 CREDIT; Some Company vendorpymt PPD ID: 5KL3832735
2
+ Assets:Bank:Checking $2,105.00
3
+ Income:Default
4
+
5
+ 2009-12-11 CREDIT; PAYPAL TRANSFER PPD ID: PAYPALSDSL
6
+ Income:Default
7
+ Assets:Bank:Checking -$116.22
8
+
9
+ 2009-12-14 DEBIT; WEBSITE-BALANCE-10DEC09 12 12/10WEBSITE-BAL
10
+ Expenses:Default
11
+ Assets:Bank:Checking -$20.96
12
+
13
+ 2009-12-21 DEBIT; WEBSITE-BALANCE-17DEC09 12 12/17WEBSITE-BAL
14
+ Expenses:Default
15
+ Assets:Bank:Checking -$12.23
16
+
17
+ 2009-12-23 CREDIT; Some Company vendorpymt PPD ID: 59728JSL20
18
+ Assets:Bank:Checking $3,520.00
19
+ Income:Default
20
+
21
+ 2009-12-23 CREDIT; Blarg BLARG REVENUE PPD ID: 00jah78563
22
+ Assets:Bank:Checking $1,558.52
23
+ Income:Default
24
+
25
+ 2009-12-24 DEBIT; GITHUB 041287430274 CA 12/22GITHUB 04
26
+ Expenses:Default
27
+ Assets:Bank:Checking -$7.00
28
+
29
+ 2009-12-24 CHECK; Book Store
30
+ Expenses:Default
31
+ Assets:Bank:Checking -$20.00
32
+
33
+ 2009-12-24 DEBIT; HOST 037196321563 MO 12/22SLICEHOST
34
+ Expenses:Default
35
+ Assets:Bank:Checking -$85.00
36
+
@@ -0,0 +1,3 @@
1
+ -f ../input.csv --unattended --account Assets:Bank:Checking \
2
+ --default-into-account Expenses:Default \
3
+ --default-outof-account Income:Default
@@ -0,0 +1,9 @@
1
+ DEBIT,20091224120000[0:GMT],"HOST 037196321563 MO 12/22SLICEHOST",-85.00
2
+ CHECK,20091224120000[0:GMT],"Book Store",-20.00
3
+ DEBIT,20091224120000[0:GMT],"GITHUB 041287430274 CA 12/22GITHUB 04",-7.00
4
+ CREDIT,20091223120000[0:GMT],"Some Company vendorpymt PPD ID: 59728JSL20",3520.00
5
+ CREDIT,20091223120000[0:GMT],"Blarg BLARG REVENUE PPD ID: 00jah78563",1558.52
6
+ DEBIT,20091221120000[0:GMT],"WEBSITE-BALANCE-17DEC09 12 12/17WEBSITE-BAL",-12.23
7
+ DEBIT,20091214120000[0:GMT],"WEBSITE-BALANCE-10DEC09 12 12/10WEBSITE-BAL",-20.96
8
+ CREDIT,20091211120000[0:GMT],"PAYPAL TRANSFER PPD ID: PAYPALSDSL",-116.22
9
+ CREDIT,20091210120000[0:GMT],"Some Company vendorpymt PPD ID: 5KL3832735",2105.00
@@ -0,0 +1,7 @@
1
+ 2004/05/14 * Pay day
2
+ Assets:Bank:Checking $500.00
3
+ Income:Salary
4
+
5
+ 2004/05/27 Book Store
6
+ Expenses:Books $20.00
7
+ Liabilities:MasterCard
@@ -0,0 +1,36 @@
1
+ 2009-12-10 CREDIT; Some Company vendorpymt PPD ID: 5KL3832735
2
+ Assets:Bank:Checking $2,105.00
3
+ Income:Unknown
4
+
5
+ 2009-12-11 CREDIT; PAYPAL TRANSFER PPD ID: PAYPALSDSL
6
+ Income:Unknown
7
+ Assets:Bank:Checking -$116.22
8
+
9
+ 2009-12-14 DEBIT; WEBSITE-BALANCE-10DEC09 12 12/10WEBSITE-BAL
10
+ Expenses:Unknown
11
+ Assets:Bank:Checking -$20.96
12
+
13
+ 2009-12-21 DEBIT; WEBSITE-BALANCE-17DEC09 12 12/17WEBSITE-BAL
14
+ Expenses:Unknown
15
+ Assets:Bank:Checking -$12.23
16
+
17
+ 2009-12-23 CREDIT; Some Company vendorpymt PPD ID: 59728JSL20
18
+ Assets:Bank:Checking $3,520.00
19
+ Income:Unknown
20
+
21
+ 2009-12-23 CREDIT; Blarg BLARG REVENUE PPD ID: 00jah78563
22
+ Assets:Bank:Checking $1,558.52
23
+ Income:Unknown
24
+
25
+ 2009-12-24 DEBIT; GITHUB 041287430274 CA 12/22GITHUB 04
26
+ Expenses:Unknown
27
+ Assets:Bank:Checking -$7.00
28
+
29
+ 2009-12-24 CHECK; Book Store
30
+ Expenses:Books
31
+ Assets:Bank:Checking -$20.00
32
+
33
+ 2009-12-24 DEBIT; HOST 037196321563 MO 12/22SLICEHOST
34
+ Expenses:Unknown
35
+ Assets:Bank:Checking -$85.00
36
+
@@ -0,0 +1 @@
1
+ -f ../input.csv --unattended --account Assets:Bank:Checking -l learn.ledger
@@ -0,0 +1,36 @@
1
+ 2009-12-10 CREDIT; Some Company vendorpymt PPD ID: 5KL3832735
2
+ Assets:Bank:Checking $2,105.00
3
+ Income:Unknown
4
+
5
+ 2009-12-11 CREDIT; PAYPAL TRANSFER PPD ID: PAYPALSDSL
6
+ Income:Unknown
7
+ Assets:Bank:Checking -$116.22
8
+
9
+ 2009-12-14 DEBIT; WEBSITE-BALANCE-10DEC09 12 12/10WEBSITE-BAL
10
+ Expenses:Unknown
11
+ Assets:Bank:Checking -$20.96
12
+
13
+ 2009-12-21 DEBIT; WEBSITE-BALANCE-17DEC09 12 12/17WEBSITE-BAL
14
+ Expenses:Unknown
15
+ Assets:Bank:Checking -$12.23
16
+
17
+ 2009-12-23 CREDIT; Some Company vendorpymt PPD ID: 59728JSL20
18
+ Assets:Bank:Checking $3,520.00
19
+ Income:Unknown
20
+
21
+ 2009-12-23 CREDIT; Blarg BLARG REVENUE PPD ID: 00jah78563
22
+ Assets:Bank:Checking $1,558.52
23
+ Income:Unknown
24
+
25
+ 2009-12-24 DEBIT; GITHUB 041287430274 CA 12/22GITHUB 04
26
+ Expenses:Unknown
27
+ Assets:Bank:Checking -$7.00
28
+
29
+ 2009-12-24 CHECK; Book Store
30
+ Expenses:Unknown
31
+ Assets:Bank:Checking -$20.00
32
+
33
+ 2009-12-24 DEBIT; HOST 037196321563 MO 12/22SLICEHOST
34
+ Expenses:Unknown
35
+ Assets:Bank:Checking -$85.00
36
+
@@ -0,0 +1 @@
1
+ -f ../input.csv --unattended --account 'Assets:Bank:Checking'
@@ -0,0 +1,6 @@
1
+ 16-11-2012;Dankort-nota DSB Kobenhavn 15149;16-11-2012;-48,00;26550,33
2
+ 26-10-2012;Dankort-nota Ziggy Cafe 19471;26-10-2012;-79,00;26054,54
3
+ 22-10-2012;Dankort-nota H&M Hennes & M 10681;23-10-2012;497,90;25433,54
4
+ 12-10-2012;Visa kob DKK 995,00 WWW.ASOS.COM 00000 ;12-10-2012;-995,00;27939,54
5
+ 12-09-2012;Dankort-nota B.J. TRADING E 14660;12-09-2012;-3452,90;26164,80
6
+ 27-08-2012;Dankort-nota MATAS - 20319 18230;27-08-2012;-655,00;21127,45
@@ -0,0 +1,24 @@
1
+ 2012-08-27 Dankort-nota MATAS - 20319 18230; 27-08-2012; 21127,45
2
+ Expenses:Unknown
3
+ Assets:Bank:Checking -$655.00
4
+
5
+ 2012-09-12 Dankort-nota B.J. TRADING E 14660; 12-09-2012; 26164,80
6
+ Expenses:Unknown
7
+ Assets:Bank:Checking -$3,452.90
8
+
9
+ 2012-10-12 Visa kob DKK 995,00 WWW.ASOS.COM 00000; 12-10-2012; 27939,54
10
+ Expenses:Unknown
11
+ Assets:Bank:Checking -$995.00
12
+
13
+ 2012-10-22 Dankort-nota H&M Hennes & M 10681; 23-10-2012; 25433,54
14
+ Assets:Bank:Checking $497.90
15
+ Expenses:Unknown
16
+
17
+ 2012-10-26 Dankort-nota Ziggy Cafe 19471; 26-10-2012; 26054,54
18
+ Expenses:Unknown
19
+ Assets:Bank:Checking -$79.00
20
+
21
+ 2012-11-16 Dankort-nota DSB Kobenhavn 15149; 16-11-2012; 26550,33
22
+ Expenses:Unknown
23
+ Assets:Bank:Checking -$48.00
24
+
@@ -0,0 +1 @@
1
+ -f input.csv --unattended --account Assets:Bank:Checking --csv-separator ';' --comma-separates-cents
@@ -0,0 +1,3 @@
1
+ 24/12/2009,Check - 0000000122,122,-$76.00,"","$1,750.06"
2
+ 24/12/2009,BLARG R SH 456930,"","",+$327.49,"$1,826.06"
3
+ 24/12/2009,Check - 0000000112,112,-$800.00,"","$1,498.57"
@@ -0,0 +1,12 @@
1
+ 2009-12-24 BLARG R SH 456930; $1,826.06
2
+ Assets:Bank:Checking $327.49
3
+ Income:Unknown
4
+
5
+ 2009-12-24 Check - 0000000122; 122; $1,750.06
6
+ Income:Unknown
7
+ Assets:Bank:Checking -$76.00
8
+
9
+ 2009-12-24 Check - 0000000112; 112; $1,498.57
10
+ Income:Unknown
11
+ Assets:Bank:Checking -$800.00
12
+
@@ -0,0 +1 @@
1
+ -f input.csv --unattended --account Assets:Bank:Checking
@@ -0,0 +1,24 @@
1
+ "Data","Dependencia Origem","Hist�rico","Data do Balancete","N�mero do documento","Valor",
2
+ "10/31/2012","","Saldo Anterior","","0","100.00",
3
+ "11/01/2012","0000-9","Transfer�ncia on line - 01/11 4885 256620-6 XXXXXXXXXXXXX","","224885000256620","100.00",
4
+ "11/01/2012","","Dep�sito COMPE - 033 0502 27588602104 XXXXXXXXXXXXXX","","101150","100.00",
5
+ "11/01/2012","","Proventos","","496774","1000.00",
6
+ "11/01/2012","","Benef�cio","","496775","100.00",
7
+ "11/01/2012","0000-0","Compra com Cart�o - 01/11 09:45 XXXXXXXXXXX","","135102","-1.00",
8
+ "11/01/2012","0000-0","Compra com Cart�o - 01/11 09:48 XXXXXXXXXXX","","235338","-10.00",
9
+ "11/01/2012","0000-0","Compra com Cart�o - 01/11 12:35 XXXXXXXX","","345329","-10.00",
10
+ "11/01/2012","0000-0","Compra com Cart�o - 01/11 23:57 XXXXXXXXXXXXXXXX","","686249","-10.00",
11
+ "11/01/2012","0000-0","Saque com cart�o - 01/11 13:17 XXXXXXXXXXXXXXXX","","11317296267021","-10.00",
12
+ "11/01/2012","","Pagto conta telefone - VIVO DF","","110101","-100.00",
13
+ "11/01/2012","","Cobran�a de I.O.F.","","391100701","-1.00",
14
+ "11/05/2012","0000-0","Compra com Cart�o - 02/11 16:57 XXXXXXXXXXXX","","161057","-10.00",
15
+ "11/05/2012","0000-0","Compra com Cart�o - 03/11 18:57 XXXXXXXXXXXXXXX","","168279","-10.00",
16
+ "11/05/2012","0000-0","Compra com Cart�o - 05/11 12:32 XXXXXXXXXXXXXXXXX","","245166","-10.00",
17
+ "11/05/2012","0000-0","Compra com Cart�o - 02/11 17:18 XXXXXXXXXXXXX","","262318","-1.00",
18
+ "11/05/2012","0000-0","Compra com Cart�o - 02/11 22:46 XXXXXXXXXXX","","382002","-100.00",
19
+ "11/05/2012","0000-0","Compra com Cart�o - 02/11 23:19 XXXXXXXXXXX","","683985","-1.00",
20
+ "11/05/2012","0000-0","Compra com Cart�o - 03/11 01:19 XXXXXXXXXXXXXXXX","","704772","-10.00",
21
+ "11/05/2012","0000-0","Compra com Cart�o - 03/11 11:08 XXXXXXXX","","840112","-1.00",
22
+ "11/05/2012","0000-0","Saque com cart�o - 05/11 19:24 XXXXXXXXXXXXXXXXX","","51924256267021","-10.00",
23
+ "11/05/2012","0000-0","Transfer�ncia on line - 05/11 4885 256620-6 XXXXXXXXXXXXX","","224885000256620","-100.00",
24
+ "11/05/2012","","Pagamento de T�tulo - XXXXXXXXXXXXXXXXXXX","","110501","-100.00",
@@ -0,0 +1,92 @@
1
+ 2012-10-31 Saldo Anterior; 0
2
+ Assets:Bank:Checking $100.00
3
+ Income:Unknown
4
+
5
+ 2012-11-01 Proventos; 496774
6
+ Assets:Bank:Checking $1,000.00
7
+ Income:Unknown
8
+
9
+ 2012-11-01 0000-9; Transferência on line - 01/11 4885 256620-6 XXXXXXXXXXXXX; 224885000256620
10
+ Assets:Bank:Checking $100.00
11
+ Income:Unknown
12
+
13
+ 2012-11-01 Benefício; 496775
14
+ Assets:Bank:Checking $100.00
15
+ Income:Unknown
16
+
17
+ 2012-11-01 Depósito COMPE - 033 0502 27588602104 XXXXXXXXXXXXXX; 101150
18
+ Assets:Bank:Checking $100.00
19
+ Income:Unknown
20
+
21
+ 2012-11-01 0000-0; Compra com Cartão - 01/11 09:45 XXXXXXXXXXX; 135102
22
+ Income:Unknown
23
+ Assets:Bank:Checking -$1.00
24
+
25
+ 2012-11-01 Cobrança de I.O.F.; 391100701
26
+ Expenses:Unknown
27
+ Assets:Bank:Checking -$1.00
28
+
29
+ 2012-11-01 0000-0; Compra com Cartão - 01/11 09:48 XXXXXXXXXXX; 235338
30
+ Income:Unknown
31
+ Assets:Bank:Checking -$10.00
32
+
33
+ 2012-11-01 0000-0; Compra com Cartão - 01/11 12:35 XXXXXXXX; 345329
34
+ Income:Unknown
35
+ Assets:Bank:Checking -$10.00
36
+
37
+ 2012-11-01 0000-0; Compra com Cartão - 01/11 23:57 XXXXXXXXXXXXXXXX; 686249
38
+ Income:Unknown
39
+ Assets:Bank:Checking -$10.00
40
+
41
+ 2012-11-01 0000-0; Saque com cartão - 01/11 13:17 XXXXXXXXXXXXXXXX; 11317296267021
42
+ Income:Unknown
43
+ Assets:Bank:Checking -$10.00
44
+
45
+ 2012-11-01 Pagto conta telefone - VIVO DF; 110101
46
+ Expenses:Unknown
47
+ Assets:Bank:Checking -$100.00
48
+
49
+ 2012-11-05 0000-0; Compra com Cartão - 02/11 17:18 XXXXXXXXXXXXX; 262318
50
+ Income:Unknown
51
+ Assets:Bank:Checking -$1.00
52
+
53
+ 2012-11-05 0000-0; Compra com Cartão - 02/11 23:19 XXXXXXXXXXX; 683985
54
+ Income:Unknown
55
+ Assets:Bank:Checking -$1.00
56
+
57
+ 2012-11-05 0000-0; Compra com Cartão - 03/11 11:08 XXXXXXXX; 840112
58
+ Income:Unknown
59
+ Assets:Bank:Checking -$1.00
60
+
61
+ 2012-11-05 0000-0; Compra com Cartão - 02/11 16:57 XXXXXXXXXXXX; 161057
62
+ Income:Unknown
63
+ Assets:Bank:Checking -$10.00
64
+
65
+ 2012-11-05 0000-0; Compra com Cartão - 03/11 01:19 XXXXXXXXXXXXXXXX; 704772
66
+ Income:Unknown
67
+ Assets:Bank:Checking -$10.00
68
+
69
+ 2012-11-05 0000-0; Compra com Cartão - 03/11 18:57 XXXXXXXXXXXXXXX; 168279
70
+ Income:Unknown
71
+ Assets:Bank:Checking -$10.00
72
+
73
+ 2012-11-05 0000-0; Compra com Cartão - 05/11 12:32 XXXXXXXXXXXXXXXXX; 245166
74
+ Income:Unknown
75
+ Assets:Bank:Checking -$10.00
76
+
77
+ 2012-11-05 0000-0; Saque com cartão - 05/11 19:24 XXXXXXXXXXXXXXXXX; 51924256267021
78
+ Income:Unknown
79
+ Assets:Bank:Checking -$10.00
80
+
81
+ 2012-11-05 0000-0; Compra com Cartão - 02/11 22:46 XXXXXXXXXXX; 382002
82
+ Income:Unknown
83
+ Assets:Bank:Checking -$100.00
84
+
85
+ 2012-11-05 0000-0; Transferência on line - 05/11 4885 256620-6 XXXXXXXXXXXXX; 224885000256620
86
+ Income:Unknown
87
+ Assets:Bank:Checking -$100.00
88
+
89
+ 2012-11-05 Pagamento de Título - XXXXXXXXXXXXXXXXXXX; 110501
90
+ Expenses:Unknown
91
+ Assets:Bank:Checking -$100.00
92
+
@@ -0,0 +1 @@
1
+ -f input.csv --unattended --account Assets:Bank:Checking
@@ -0,0 +1,9 @@
1
+ 01234567890;22/01/2014;CHEQUE 012345678901234578ABC000 0000 4381974748378178473744441;0000037;-10,00;
2
+ 01234567890;22/01/2014;CHEQUE 012345678901937845500TS1 0000 7439816947047874387438445;0000038;-5,76;
3
+ 01234567890;22/01/2014;CARTE 012345 CB:*0123456 XX XXXXXX XXX 33BORDEAUX;00X0X0X;-105,90;
4
+ 01234567890;22/01/2014;CARTE 012345 CB:*0123456 XXXXXXXXXXX 33SAINT ANDRE D;00X0X0X;-39,99;
5
+ 01234567890;22/01/2014;CARTE 012345 CB:*0123456 XXXXXXX XXXXX 33BORDEAUX;10X9X6X;-36,00;
6
+ 01234567890;22/01/2014;PRLV XXXXXXXX ABONNEMENT XXXXXXXXXXXXXX.NET N.EMETTEUR: 324411;0XX0XXX;-40,00;
7
+ 01234567890;21/01/2014;CARTE 012345 CB:*0123456 XXXXX XX33433ST ANDRE DE C;0POBUES;-47,12;
8
+ 01234567890;21/01/2014;CARTE 012345 CB:*0123456 XXXXXXXXXXXX33433ST ANDRE DE C;0POBUER;-27,02;
9
+ 01234567890;21/01/2014;CARTE 012345 CB:*0123456 XXXXXX XXXXXXXX33ST ANDRE 935/;0POBUEQ;-25,65;
@@ -0,0 +1,36 @@
1
+ 2014-01-21 01234567890; CARTE 012345 CB:*0123456 XXXXXX XXXXXXXX33ST ANDRE 935/; 0POBUEQ
2
+ Expenses:Unknown
3
+ Assets:Bank:Checking -$25.65
4
+
5
+ 2014-01-21 01234567890; CARTE 012345 CB:*0123456 XXXXXXXXXXXX33433ST ANDRE DE C; 0POBUER
6
+ Expenses:Unknown
7
+ Assets:Bank:Checking -$27.02
8
+
9
+ 2014-01-21 01234567890; CARTE 012345 CB:*0123456 XXXXX XX33433ST ANDRE DE C; 0POBUES
10
+ Expenses:Unknown
11
+ Assets:Bank:Checking -$47.12
12
+
13
+ 2014-01-22 01234567890; CHEQUE 012345678901937845500TS1 0000 7439816947047874387438445; 0000038
14
+ Expenses:Unknown
15
+ Assets:Bank:Checking -$5.76
16
+
17
+ 2014-01-22 01234567890; CHEQUE 012345678901234578ABC000 0000 4381974748378178473744441; 0000037
18
+ Expenses:Unknown
19
+ Assets:Bank:Checking -$10.00
20
+
21
+ 2014-01-22 01234567890; CARTE 012345 CB:*0123456 XXXXXXX XXXXX 33BORDEAUX; 10X9X6X
22
+ Expenses:Unknown
23
+ Assets:Bank:Checking -$36.00
24
+
25
+ 2014-01-22 01234567890; CARTE 012345 CB:*0123456 XXXXXXXXXXX 33SAINT ANDRE D; 00X0X0X
26
+ Expenses:Unknown
27
+ Assets:Bank:Checking -$39.99
28
+
29
+ 2014-01-22 01234567890; PRLV XXXXXXXX ABONNEMENT XXXXXXXXXXXXXX.NET N.EMETTEUR: 324411; 0XX0XXX
30
+ Expenses:Unknown
31
+ Assets:Bank:Checking -$40.00
32
+
33
+ 2014-01-22 01234567890; CARTE 012345 CB:*0123456 XX XXXXXX XXX 33BORDEAUX; 00X0X0X
34
+ Expenses:Unknown
35
+ Assets:Bank:Checking -$105.90
36
+
@@ -0,0 +1,2 @@
1
+ -f input.csv --unattended --account Assets:Bank:Checking \
2
+ --comma-separates-cents --csv-separator ';'
@@ -0,0 +1,3 @@
1
+ 24.12.2009,Check - 0000000122,122,-$76.00,"","$1,750.06"
2
+ 24.12.2009,BLARG R SH 456930,"","",+$327.49,"$1,826.06"
3
+ 24.12.2009,Check - 0000000112,112,-$800.00,"","$1,498.57"