投資
如何在 ledger-cli 中輸入資本回報
首先是一些背景知識:我將 GnuCash 用於個人財務,並試圖從 ledger-cli 獲取一些報告。使用 GnuCash 中的 piecash 將數據導出到分類帳文件中。
執行 ledger 時,它報告資本回報錯誤,這是按照 GnuCash 的建議輸入的:
> 2014/07/18 return of capital > Assets:Investments:Broker:Cash 959.52 AUD > Trading:ASX:IPE 0.0000 IPE @@ 959.52 AUD > Assets:Investments:Broker:Shares:IPE 0.0000 IPE @@ 959.52 AUD > Trading:CURRENCY:AUD -959.52 AUD Unbalanced remainder is: 1919.04 AUD Amount to balance against: 959.52 AUD Error: Transaction does not balance
我看到現金賬戶中的金額和股票賬戶中的金額都是正數。交易賬戶餘額。為 ledger-cli 編寫這些交易的正確方法是什麼?
這是關於人們如何在 ledger-cli 或任何復式記賬系統中跟踪資本回報事件的一般性問題。請注意,Selinger 的多幣種系統的使用也適用(在這種情況下使用交易賬戶)。
由此產生的報告應表明這不是應稅收入,而是投資價值的減少和轉移到現金。
您可以像這樣對資本回報進行建模:
2000-01-01 * Bought IPE Assets:Investments:Broker:Shares:IPE 100 IPE {10.00 USD} [2000-01-01] @ 10.00 USD Assets:Investments:Broker:Cash -1000.00 USD 2019-04-01 * Return of capital Assets:Investments:Broker:Cash 500.00 USD Assets:Investments:Broker:Shares:IPE 100 IPE { 5.00 USD} [2000-01-01] @ 5.00 USD Assets:Investments:Broker:Shares:IPE -100 IPE {10.00 USD} [2000-01-01] @ 5.00 USD
唯一我不確定第二次發布的日期應該是 2000-01-01 還是 2019-04-01,但我認為這主要是一個稅收問題。由於資金返還不是應稅事件,我認為應該是原始購買價格。