Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transactions with costs / prices #8

Open
jokerjoe opened this issue May 31, 2023 · 0 comments
Open

Transactions with costs / prices #8

jokerjoe opened this issue May 31, 2023 · 0 comments

Comments

@jokerjoe
Copy link

jokerjoe commented May 31, 2023

When a transaction includes a cost or price, a simple share works but not other types of shares.

option "operating_currency" "USD"

plugin "beancount_share.share" "{}"

1970-01-01 open Assets:Cash
1970-01-01 open Expenses:Food

1971-01-01 * "dinner" #share-Bob; Works
  Assets:Cash                                        -10.00 GBP @@ 12.00 USD
  Expenses:Food                                       12.00 USD

1971-01-01 * "dinner" #share-Bob-33p; Error: It doesn't make sense to split a remaining amount of zero. 
  Assets:Cash                                        -10.00 GBP @@ 12.00 USD
  Expenses:Food                                       12.00 USD

1971-01-01 * "dinner" #share-Bob-3; Error: The posting can't share more than it's absolute value. 
  Assets:Cash                                        -10.00 GBP @@ 12.00 USD
  Expenses:Food

1971-01-01 * "dinner" #share-Bob-33p; Error: It doesn't make sense to split a remaining amount of zero. 
  Assets:Cash                                        -10.00 GBP @ 1.20 USD
  Expenses:Food                                       12.00 USD

1971-01-01 * "dinner" #share-Bob-3; Error: The posting can't share more than it's absolute value. 
  Assets:Cash                                        -10.00 GBP @ 1.20 USD
  Expenses:Food                                       12.00 USD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant