--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/3e7721b6-ed8d-4b6b-8574-ba52cef18a3an%40googlegroups.com.
I use the metadata for this purpose, to deduplicate and reconcile transactions with my bank statements. If you use links it can get messy whenever you have multiple accounts you're keeping track of, for example if you transfer between two accounts would you have two links? Which link corresponds to which account? By using the metadata you ensure the id corresponds to the account in question, not the whole transaction. For example:
2026-01-02 * "Chick-fil-A" "Eating out"
Expenses:Food 16.81 USD
Assets:Bank:Checking -16.81 USD
id: "ab778fab39asdbf3bfsa"
2026-01-03 * "Bank" "Transfer to checking"
Assets:Bank:Checking 50.00 USD
id: "bnaer0s8832ba08df"
Assets:Bank:Savings -50.00 USD
id: "bab01328bak092323"
It may be a little more verbose than the links but I think it's more in line with the intended purpose of links and metadata, and it should be pretty easy to implement with an importer. And if need be you can write a quick python script to check for duplicates against the transaction ids for each account.
"Artur Matos" arturm...@gmail.com – January 29, 2026 7:34 PM
To view this discussion visit https://groups.google.com/d/msgid/beancount/27fff318-96ef-473b-9c7b-06ccbc89ca1bn%40googlegroups.com.