The global template must contain the $(products_added) and $(products_removed) tags, which is where specific added and removed reservation items will be listed. Other tags you can use:
$(sequential_number) -- your site's sequential number of the corrective invoice,
$(invoice_id) -- ID of the invoice in our system,
$(year_sequential_number) -- your site's sequential number of the corrective invoice in a given year,
$(month_sequential_number) -- your site's sequential number of the corrective invoice in a given month,
$(financial_year_sequential_number) - your site's sequential number of the invoice in the financial year (as set in
Invoice settings)
$(invoice_creation_date), $(invoice_creation_date_formatted) - the invoice creation date, as a number without separators and formatted as per site settings, e.g. 20160105 and 2016-01-05,
$(invoice_creation_time), $(invoice_creation_time_formatted) - the invoice creation time, as a number without separators and formatted as per site settings, e.g. 1245 and 12:45,
$(parent_sequential_number) -- sequential number of the parent invoice for which the corrective invoice is created,
$(year_parent_sequential_number) -- sequential number of the parent invoice in a given year for which the corrective invoice is created,
$(month_parent_sequential_number) -- sequential number of the parent invoice in a given month for which the corrective invoice is created,
$(financial_year_parent_sequential_number) -- sequential number of the parent invoice in the financial year for which the corrective invoice is created,
$(parent_invoice_creation_date), $(parent_invoice_creation_date_formatted) - the parent invoice creation date, as a number without separators and formatted as per site settings, e.g. 20160105 and 2016-01-05,
$(products_added_count) -- number of products that were added to the reservation since last parent or corrective invoice,
$(products_removed_count) -- number of products that were removed from the reservation since last parent or corrective invoice,
$(previous_invoice_products_count) -- number of products in the last parent or corrective invoice,
$(previous_invoice_products) -- lists items of the last parent or corrective invoice,
$(currency) -- currency of the corrective invoice,
$(total_price_net) -- total price (without tax),
$(total_price_gross) -- total price with tax,
$(total_tax) -- amount of tax,
$(amount_paid) -- amount paid until invoice generation,
$(amount_paid_until_now) -- amount paid until this moment (invoice presentation),
$(amount_owed) -- amount to be paid (on invoice generation),
$(amount_owed_now) -- amount to be paid for this moment (invoice presentation),
$(discount) -- amount of discount,
$(price_no_discount) -- total amount without discount,
$(total_price_to_be_paid) -- original price minus the discount applied,
$(total_quantity) -- sum of all quantities in for the reservations,
$(page_break) -- continue on a new page,
$(tax_rate_count), $(tax_rate:x), $(tax_rate_value:x) -- these tags allow you to list all tax rates with amount. You usually use them with the $(foreach:xxx) tag, for example:
$(foreach:$(tax_rate_count))Tax $(tax_rate:$(it))%:$(tax_rate_value:$(it))$(endfor)$(corrective_total_price_gross), $(corrective_total_price_net), $(corrective_total_tax) -- total price with tax, total price without tax and amount of tax, calculated only for the added and removed items listed on the corrective invoice.
$(prod_total_xxx) -- Total price with tax for specified additional or custom product. When product was not at all chosen, 0 will be returned. xxx is the product name with spaces replaced by the underscore character OR it can be also product's ID,
$(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