-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
132 additions
and
9 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
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
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,30 @@ | ||
# Tags | ||
|
||
A generic Beancount transaction looks like this: | ||
|
||
```txt | ||
{date} * "{payee}" "{narration}" {" ".join({tags})} | ||
for key, value in {metadata}: # aka transaction metadata | ||
{key}: "{value}" | ||
{source_account} | ||
{flag}{account} {amount} {currency} | ||
for key, value in {account_metadata}: # aka account metadata | ||
{key}: "{value}" | ||
``` | ||
|
||
Tags are user input. Here we define a list of reserved words for tags that injects additional metadata. | ||
|
||
* `#reconcile` | ||
* Adds a (random) uuid string to a `uuid` key to transaction metadata of a debit transaction (amount is negative). Example: | ||
|
||
```txt | ||
uuid: "603cd901-a734-45d0-a100-dc01c22b5b4b" | ||
``` | ||
* Adds a empty string to a `uuid` key to transaction metadata of a credit transaction (amount is positive). Example: | ||
```txt | ||
uuid: "" | ||
``` | ||
This is to reconcile duplicate transactions for a money transfer between two accounts. My personal convention is to keep the debit one, copy the UUID, paste the UUID to the credit one and comment the credit one. |
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
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,13 @@ | ||
# Read Me | ||
|
||
A test case that has no mappings defined, so all transactions are mapped to the default. | ||
|
||
Command: | ||
|
||
```sh | ||
bean-mt \ | ||
ja_bank \ | ||
./config.toml \ | ||
./test.csv \ | ||
--output output.bean | ||
``` |
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,13 @@ | ||
# Read Me | ||
|
||
A test case that has no mappings defined, so all transactions are mapped to the default. | ||
|
||
Command: | ||
|
||
```sh | ||
bean-mt \ | ||
rakuten_bank \ | ||
./config.toml \ | ||
./test.csv \ | ||
--output output.bean | ||
``` |
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,13 @@ | ||
# Read Me | ||
|
||
A test case that has no mappings defined, so all transactions are mapped to the default. | ||
|
||
Command: | ||
|
||
```sh | ||
bean-mt \ | ||
rakuten_card \ | ||
./config.toml \ | ||
./test.csv \ | ||
--output output.bean | ||
``` |
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,13 @@ | ||
# Read Me | ||
|
||
A test case that has no mappings defined, so all transactions are mapped to the default. | ||
|
||
Command: | ||
|
||
```sh | ||
bean-mt \ | ||
shinsei_bank \ | ||
./config.toml \ | ||
./test.csv \ | ||
--output output.bean | ||
``` |
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,13 @@ | ||
# Read Me | ||
|
||
A test case that has no mappings defined, so all transactions are mapped to the default. | ||
|
||
Command: | ||
|
||
```sh | ||
bean-mt \ | ||
suminshin_net_bank \ | ||
./config.toml \ | ||
./test.csv \ | ||
--output output.bean | ||
``` |
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