tax_box: Get a simple table of relevant tax information

View source: R/tax_box.R

tax_boxR Documentation

Get a simple table of relevant tax information

Description

Output a simple table with all the relevant tax information and tax form line numbers.

Usage

tax_box(report.summary, sup.losses, table.revenues, proceeds)

Arguments

report.summary

report.summary

sup.losses

sup.losses

table.revenues

table.revenues

proceeds

proceeds

Value

A data frame, with the following columns: Description, Amount, Comment, Line

Examples

my.list.prices <- prepare_list_prices(coins = "BTC", start.date = "2021-01-01")
all.data <- format_shakepay(data_shakepay)
formatted.ACB <- format_ACB(all.data, verbose = FALSE)
report.summary <- report_summary(formatted.ACB, today.data = TRUE, list.prices = my.list.prices)
sup.losses <- get_sup_losses(formatted.ACB, 2021)
table.revenues <- report_revenues(formatted.ACB, 2021)
proceeds <- get_proceeds(formatted.ACB, 2021)
tax_box(report.summary, sup.losses, table.revenues, proceeds)

cryptoTax documentation built on March 7, 2023, 7:46 p.m.