Last active
March 9, 2016 23:17
-
-
Save vessenes/c1540554b707450ffb55 to your computer and use it in GitHub Desktop.
Example Beancount Inventory File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option "operating_currency" "USD" | |
plugin "beancount.plugins.book_conversions" "Assets:Inventory:AU,Income:AU" | |
plugin "beancount.plugins.unrealized" | |
2016-01-08 open Assets:Cash | |
2016-01-08 open Assets:Inventory:AU | |
2016-01-08 open Income:USD | |
2016-01-08 open Income:AU | |
2016-01-08 open Expenses:USD | |
2016-01-08 open Liabilities:Payroll | |
2016-01-08 open Equity:Opening-Balances | |
2016-03-08 commodity AU | |
export: "AU" | |
name: "Gold" | |
2016-03-08 price AU 1000.00 USD | |
2016-02-01 * "Opening Equity" | |
Assets:Cash 4000 USD | |
Equity:Opening-Balances -4000 USD | |
2016-03-08 * "Labor Made Gold" | |
Assets:Inventory:AU 10.00 AU @ 100 USD | |
Liabilities:Payroll -1000 USD | |
2016-03-09 * "Labor Paid" | |
Liabilities:Payroll 1000 USD | |
Assets:Cash -1000 USD | |
2016-04-08 price AU 500.00 USD | |
2016-04-08 * "Mining Sample" | |
Assets:Inventory:AU 10.00 AU @ 250 USD | |
Liabilities:Payroll -2500 USD | |
2016-05-01 * "Sell some Gold" | |
Assets:Inventory:AU -5 AU @ 600 USD | |
Assets:Cash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment