beancount / ledger2beancount

Ledger to Beancount text-based converter
GNU General Public License v3.0
79 stars 15 forks source link

hledger: D sets default commodity #231

Closed tbm closed 3 years ago

tbm commented 3 years ago

https://hledger.org/journal.html#default-commodity

The D directive sets a default commodity, to be used for amounts without a commodity symbol (ie, plain numbers). This commodity will be applied to all subsequent commodity-less amounts, or until the next D directive. (Note, this is different from Ledger's D.)