jcornaz / beancount-parser

A beancount file parser library for rust
The Unlicense
21 stars 7 forks source link

feat(unstable): transaction metadata #23

Closed jeffwheeler closed 1 year ago

jeffwheeler commented 1 year ago

Metadata is allowed on all directives (Beancount documentation). This pull request adds support for metadata on transactions, while providing an API to enable support on other directives in a future change.

Metadata on transactions looks like:

2013-08-26 * "Buying some shares of Hooli"
  statement: "confirmation-826453.pdf"
  Assets:BTrade:HOOLI      10 HOOL @ {498.45 USD}
  Assets:BTrade:Cash
jeffwheeler commented 1 year ago

I can rebase this and merge on top of the other commit now that it's merged, give me a few minutes.