Beancount Workflow


Tracking Transactions

The easiest way to track transactions is to just check each asset and check if previous transactions have been recorded automatically.

It requires two things:

For example, if I open a new bank account, I have no way to know it exists through Beancount. So I need to add a new account just after I've opened it.
Then, if I've bought something with the money in this bank account, the transaction is recorded by my bank, so I don't need to record it directly.
Finally, if I buy something with cash, it's not recorded, excepted if I keep the bill. So I either need to keep the bill (and don't lose it), or process the transaction directly.

graph TD;
      Z[A new transaction is happening]-->A[Is it automatically recorded by any instance?];
      A-->B[Yes];
      A-->C[No];
      B-->D[Process the transaction at period]
      C-->E[Process the transaction now]

Periodic Review

If the above workflow is followed, then the periodic review should just consist in checking each account or each entity that recorded the new transactions, and process them.

graph TD
A[Gather all the places where transactions are stored]-->B[Process the new transactions]
A-->C[Add the new accounts]

Importing Data

flowchart
	702402["Upload generated files to beancount import folder"] --- 184244["Import transactions with fava"]
	1["Download bank files"] --- 513737["Run bean-f --dir dir --clean"]
	513737 --- 702402

%% Mermaid Flow Diagram Link
%% Keep this link to make future edits to your diagram
%% https://www.mermaidflow.app/flowchart#N4IgZgNg9g7iBcoB2UAmBTAzgg2qGAlqgC4AWCAjAJwAMANCKegQOanEIAc9IRCIFEAwAOUTAWIEoSBKAAeCAKwAWHgE9KAJgDsAXwaoAhsUOyQAYwiHMmLLgC6DTMTUQ78HI5BWARugj8ACKwSNCGqAAEPoZIANYRYARu2AYEAE7o5pLS-AAqAEJCIGkxsZiBJTAyiPogwoYZSMQASqUIPKiVAMoubgjEaQCu6LUuwuj8GVkxLG4AcmgTTr0TNU7+mcToqAhghhC2ImISUkgAgj6YUBCDW2YK8CrqWnoGJSwsBEgsu-u2+vgiGQEJpFJoGExWOwuDw+PABJxlJplMoiqJxNlqvIuFRNAA6KhUMHKABsygoKIAzDRFAwNPBOJoSXjKdplIzKZwKDQaBRNJTakYTGZLNZbNgPF5nK53J4GL5-PwAJIAW1EaWIEQGMUwhiyp0wEUIZAShgAbqZUlNMXlCgwSnFypUsbV6o0Wm14B1uit+kMRgwxqtip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