record_salary: Write salary entries in the ledger.

Description Usage Arguments Value

View source: R/record_salary.R

Description

Write salary entries in the ledger.

Usage

1
2
3
4
5
6
7
8
9
record_salary(
  date = Sys.Date(),
  object = "salespeople",
  quantity = 1,
  price = 2000,
  rate = 0.5,
  origin = 22100,
  destination = 61200
)

Arguments

date

Date. date of the recognition and payment.

object

Character. Name of the kind of employees.

quantity

Integer. Time paid in Full Time Equivalent.

price

Double. Monthly salary of the workfroce.

rate

Double. Percentage of base salary to compute labor taxes.

origin

Character. From where the salary is taken.

destination

Character. Where the salary goes.

Value

A tibble of journal entries.


NicolasJBM/simulR documentation built on Feb. 15, 2021, 9:38 a.m.