|
2 registered users in last 24 hours FI List of Placeholder variables for templatesThe following list of variables are useful when adapting the finance document template during [configuration]. These variables can be included into the template and represent varying values of financial data. This is not the complete list, but generally speaking these are the most frequent and useful. Most variables found throughout ]project-open[ can be input into the templates as well. Variables can be inserted into templates using a line like:<H1><%= %variable_name% ></H1> Please note that in the lists below that invoice is meant to refer to all financial documents. Variables are presented alphabetically by variable name.
General Variables
Related ProjectsThese variables are useful if you want to refer one or more projects that are related to the given invoice. Please note that you can have 0, 1 or multiple projects related to a single invoice (0 for a "stand-alone" invoice without project, 1 for the standard case of one project per invoice and multiple projects if you choose to do "cumulative invoicing", where you include several (small) projects in a single invoice).
Customer and Provider
|
|
Area |
Variable |
Explanation |
Type |
Example |
Available since Version |
|
Internal information |
internal_name |
Company name |
Text |
Foo Company |
3.4.0.7.x |
|
|
internal_address_line1 |
First address line |
Text |
Foo street 1 |
|
|
|
internal_address_line2 |
Second address line |
Text |
14th floor |
|
|
|
internal_postal_code |
Postal code |
Text |
D-82008 |
|
|
|
internal_city |
City |
Text |
Munich |
|
|
|
internal_country_code |
Country code |
Text |
D |
|
|
|
internal_phone |
Phone no. |
Text |
+12 123 12345678 |
|
|
|
internal_fax |
Fax no. |
Text |
+12 123 12345679 |
|
|
|
internal_primary_contact_email |
E-Mail address of your primary contact |
|
|
|
|
|
internal_tax_id |
Tax ID-Number |
Text |
987654321 |
|
|
|
internal_vat_number |
VAT ID-Number |
|
DE1234567890 |
|
|
Customer information |
company_name |
Company name |
Text |
Big Customer Inc. |
|
|
|
salutation |
Salutation for contact person |
|
Mr. |
|
|
|
company_contact_name |
Contact person’s name |
|
Peter Jung
|
|
|
|
user_position |
Contact person’s position |
|
Manager |
|
|
|
address_line1 |
Address line 1 |
|
Rich Avenue 1 |
|
|
|
address_line2 |
Address line 2 |
|
1st – 3rd floor |
|
|
|
address_postal_code |
Postal code |
|
1500-RICH |
|
|
|
address_city |
City |
|
Richmond |
|
|
|
company_path |
Customer no. |
|
12345 |
|
|
Finance doc information |
invoice_date_pretty |
Invoice date (localized format) |
|
2010-12-31 |
|
|
|
invoice_nr |
Invoice No. |
|
I2010_0001 |
|
|
|
ctr |
Counter for invoiced positions |
|
1 |
|
|
|
item_units_pretty
|
No. of units (localized format)
|
|
1.000 |
|
|
|
item_uom |
Unit of measurement |
|
Lines, Words, Hours, etc. |
|
|
|
item_name |
Item name |
|
Translation |
|
|
|
price_per_unit |
Price for one unit (localized format, no currency symbol added)
|
|
10,50 |
|
|
|
amount_pretty |
Summed amount for this line (localized format, no currency symbol added) |
|
10500,00 |
|
|
|
vat_perc_pretty |
VAT percentage rate (without %-symbol) |
|
19 |
|
|
|
vat_amount_pretty |
VAT amount (localized format, no currency symbol) |
|
1.995,00 |
|
|
|
grand_total_pretty; |
Grand total of invoice (localized format, no currency symbol) |
|
12.495,00 |
|
