-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken stuff once again, added tests this time
- Loading branch information
1 parent
2e678f4
commit e310f9a
Showing
5 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
inputs: | ||
- match: "*.csv" | ||
config: | ||
prepend_postings: | ||
- account: Assets:Bank:US:Mercury | ||
amount: | ||
number: "{{ amount }}" | ||
currency: "{{ currency | default('USD', true) }}" | ||
|
||
imports: | ||
- match: | ||
extractor: | ||
equals: "mercury" | ||
actions: | ||
- type: add_txn | ||
file: "output.bean" | ||
txn: | ||
postings: | ||
- account: "Expenses" | ||
amount: | ||
number: "{{ -amount }}" | ||
currency: "{{ currency | default('USD', true) }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Date (UTC),Description,Amount,Status,Source Account,Bank Description,Reference,Note,Last Four Digits,Name On Card,Category,GL Code,Timestamp,Original Currency | ||
04-15-2024,Jane Doe,-1500.00,Sent,Mercury Checking xx1234,Send Money transaction initiated on Mercury,Profit distribution,,,,,,04-15-2024 14:35:37, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters