This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to reflect currency conversion in an operation?

Tags: None
(comma "," separated)
User avatar
pashkin
Registered Member
Posts
3
Karma
0
In Ledger with it's double-entry system it's possible to specify such an operation:
Code: Select all
2011/09/23 Cash in Munich
    Assets:Cash                               €50.00
    Assets:Checking                          $-66.00

This says that $66.00 came out of checking and turned into 50 Euros. The implied exchange rate was $1.32. Then 35.00 Euros were spent on Dinner in Munich.

http://ledger-cli.org/3.0/doc/ledger3.h ... ommodities

Is it possible to do a similar thing in Skrooge?
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
Hi,

Yes, this is possible.
You just have to create a "transfer" from the account "Cash" (in euro) to the account "Checking" (in dollars), a rate will be proposed (based on the current currency rates) but you can change it manually.

Regards.

PS: I didn't know "Ledger". Because this is an open source tool. This could be interesting that Skrooge could import directly the "Ledger" file. What is the file format? Is it possible to find the format description somewhere?


Skrooge, a personal finances manager powered by KDE
Image - PayPal
User avatar
pashkin
Registered Member
Posts
3
Karma
0
smankowski wrote:Hi,

Yes, this is possible.
You just have to create a "transfer" from the account "Cash" (in euro) to the account "Checking" (in dollars), a rate will be proposed (based on the current currency rates) but you can change it manually.


As I understand "transfer" in Skrooge represents a transfer between own accounts and not a transaction between own account and a payee, right? If yes - what if I have a bank card in USD and I pay for something in a store in EUR - how to reflect that?

smankowski wrote:PS: I didn't know "Ledger". Because this is an open source tool. This could be interesting that Skrooge could import directly the "Ledger" file. What is the file format? Is it possible to find the format description somewhere?


Here is the Ledger's web-site: http://ledger-cli.org/. It has a documentation there that describes it's file format among other things: http://ledger-cli.org/3.0/doc/ledger3.h ... nal-Format. Ledger is a command line accounting tool - it is somewhat popular as I understand. It uses double-entry system so that if you're adding a payment besides information about how much did you spend you also must enter information about how much the payee received. Ledger is also currency-agnostic, meaning that you can enter amounts of money in arbitrary currency without explicitly defining it. These two features makes Ledger able to handle currency conversion in a kind of "implicit" way - you just enter the debit in one currency and the credit in another.
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
pashkin wrote:As I understand "transfer" in Skrooge represents a transfer between own accounts and not a transaction between own account and a payee, right?

Right. In you example, "Cash" and "Checking" seem to be accounts.
pashkin wrote:If yes - what if I have a bank card in USD and I pay for something in a store in EUR - how to reflect that?

If the source and target accounts are not in the same unit a popup will ask you the rate to apply.

Regards.


Skrooge, a personal finances manager powered by KDE
Image - PayPal


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]