Importer: output total cost for a currency exchange

37 views
Skip to first unread message

Szabó Tibor

unread,
May 14, 2021, 4:41:46 PM5/14/21
to Beancount

Hi all,

sorry if trivial: how do I achieve this output in an importer:

2021-04-16 * "TEST" "Test conversion"
  Assets:EUR          100.00 EUR
  Assets:USD         -120.00 USD @@ 100.00 EUR

I have tried Cost and CostSpec, without success. Specifying per-unit cost (@) works.

Thanks a lot,
Tibor Szabó

Patrick Ruckstuhl

unread,
May 14, 2021, 4:51:21 PM5/14/21
to bean...@googlegroups.com

As far as I know, this is currently not possible. The @@ notation is actually converted on an early stage of the parsing. The data model available for the importers doesn't support it


Regards,

Patrick

--
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 on the web visit https://groups.google.com/d/msgid/beancount/8bc29851-3858-44cd-ac3e-2d7f40baa867n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages