Description Usage Arguments Value
View source: R/record_investment.R
Write investment entries in the ledger.
1 2 3 4 5 6 7 8 9 | record_investment(
date = Sys.Date(),
object = "asset",
price = 120000,
rate = NA,
duration = 60,
origin = 15300,
destination = 92000
)
|
date |
Date. date of the sale. |
object |
Character. Name of the product or service sold. |
price |
Double. Base price of the product or service. |
rate |
Double. Interest rate used for the operating lease. |
duration |
Integer. Number of periods (months). |
origin |
Character. Account where the asset is "stored". |
destination |
Character. Account where the asset depreciation is accumulated. |
A tibble of journal entries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.