Description Usage Arguments Examples
This function is mainly used as a standalone when adding invoices from a creditor to you administration.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | add_daybook_entry(
date,
daybook,
account,
entity,
comment,
invoice_file,
invoice_num,
direction,
currency,
amount,
...,
VAT_class
)
|
date |
Date of transaction. |
daybook |
A character string for the daybook type (sales, purchases, bank, memorial). |
account |
A numeric value for ledger account number. |
entity |
Describe the transaction (i.e., the company). |
comment |
Describe in more detail the transaction. |
invoice_file |
The path to the invoice file. |
invoice_num |
The invoice number as given on the invoice as a numeric value. |
direction |
The direction of the transaction, usually |
currency |
A character string for the currency of the transaction. |
amount |
A numeric value for the amount of the transaction. |
... |
A numeric value or vector of numeric values for the absolute value(s) of VAT included in the invoice. |
VAT_class |
A variable for the VAT class of the transaction. Supply a
character vector with the same number of element as VAT object supplied to
the ellipses ( |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
add_daybook_entry(
Sys.Date(),
"sales",
1050,
"Super-store",
"A bunch of things",
"invoice.txt",
1,
"credit",
"$",
1000,
210,
"high-VAT"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.