The global template must contain the
$(products) tag, which is where specific invoice items will be listed. Other tags you can use:
$(invoice_number) -- invoice number,
$(currency) -- currency of the invoice,
$(total_price_net) -- total price (without tax),
$(total_price_net*XXX) -- total price multiplied by XXX (e.g. $(total_price_net*1.1) returns the total price plus 10%),
$(total_price_gross) -- total price with tax,
$(total_tax) -- amount of tax,
$(amount_paid) -- amount already paid,
$(amount_owed) -- amount to be paid,
$(discount) -- amount of discount,
$(price_no_discount) -- total amount without discount,
$(total_price_to_be_paid) -- original price minus the discount applied,
$(res_nr) -- sequential reservation number,
$(res_nr_confirmed) -- sequential reservation number counting only confirmed reservations (can be used as invoice number),
$(res_nr_with_payment) -- sequential reservation number counting only reservations with valid payments,
$(res_nr_with_year),
$(res_nr_confirmed_with_year) -- similar to the previous tags but these versions include the year, a dash and the number. Note that the invoice numbers here are counted from the beginning of the year,
$(res_nr_with_year_and_payment) -- similar to $(res_nr_with_payment) but the count restarts each year,
$(cart_nr), $(cart_nr_with_year), $(cart_nr_with_year_and_payment), $(cart_nr_confirmed), $(cart_nr_with_payment), $(cart_nr_confirmed_with_year) -- same as $(res_nr...) tags except that the numbers increase not with each reservation but with each shopping cart - these versions should be used if you're using the shopping cart feature,
$(total_quantity) -- sum of all quantities in the invoice,
$(page_break) -- continue on a new page,
$(online_payment_surcharge_tax_rate) - tax rate for online payment surcharge (in %)
The template can also use general tags (
how to use tags?). Please see the following FAQ questions for a detailed tag list:
Tag playgroundConditional printing of textsUniversal tagsSite dataResource dataReservation data