{{#if stamp_url}}
{{/if}} {{#if payment_url}} online payment {{/if}}

{{document_type}} {{tt "invoice.number"}} {{number}}

{{print_option}}
{{#if issue_place}} {{tt "invoice.place"}}: {{issue_place}}, {{issue_date}}
{{else}} {{tt "invoice.issue_date"}}: {{issue_date}}
{{/if}} {{#if sell_date}} {{#if sell_date_kind}} {{{sell_date_kind}}}: {{sell_date}} {{else}} {{tt "invoice.sell_date"}}: {{sell_date}} {{/if}} {{/if}} {{#if type_of_payment}}
{{tt "invoice.payment_type"}}: {{type_of_payment}} {{/if}} {{#if payment_to}}
{{tt "invoice.payment_date"}}: {{payment_to}} {{/if}}

{{#if logo_url}} logo {{/if}}

{{tt "invoice.seller"}} {{tt "invoice.buyer"}}

{{company}}

{{{address}}}

{{seller_tax_no_kind}} {{tax_no}}

{{#if bank}}

{{bank}} {{bank_account}}

{{/if}} {{#if email}}

{{email}}

{{/if}} {{#if www}}

{{www}}

{{/if}} {{#if phone}}

{{tt 'department.phone'}}: {{phone}}

{{/if}} {{#if fax}}

{{tt 'department.fax'}}: {{fax}}

{{/if}}

{{buyer}}

{{{buyer_address}}}

{{#if buyer_company}} {{#if buyer_tax_no}}

{{buyer_tax_no_kind}} {{buyer_tax_no}}

{{/if}} {{/if}} {{#if use_delivery_address}} {{#if delivery_address}}

{{tt "client.delivery_address"}}:
{{{delivery_address}}}

{{/if}} {{/if}} {{{invoice_buyer_note}}}
{{#if title}}

{{title}}

{{/if}} {{#if use_product_code}} {{/if}} {{#if additional_info}} {{/if}} {{#if discount}} {{/if}} {{#if tax_visible}} {{#if tax2_visible}} {{/if}} {{else}} {{/if}} {{#each positions}} {{#if ../use_product_code}} {{/if}} {{#if ../additional_info}} {{/if}} {{#if ../discount}} {{/if}} {{#if ../tax_visible}} {{#if ../../tax2_visible}} {{/if}} {{/if}} {{/each}} {{#if use_product_code}} {{/if}} {{#if additional_info}} {{/if}} {{#if discount}} {{/if}} {{#if tax_visible}} {{/if}} {{#if tax_visible}} {{#if ../tax2_visible}} {{/if}} {{/if}} {{#if tax_visible}} {{#each summary}} {{#if ../../use_product_code}} {{/if}} {{#if ../../discount}} {{/if}} {{#if ../../additional_info}} {{/if}} {{#if ../../tax_visible}} {{/if}} {{#if ../../tax_visible}} {{#if ../../../tax2_visible}} {{/if}} {{/if}} {{/each}} {{/if}}
{{tt "invoice_position.nr"}} {{tt "invoice_position.name"}} {{tt "invoice_position.code"}} {{additional_info_desc}} {{tt "invoice_position.discount_percent"}} {{tt "invoice_position.quantity"}} {{tt "invoice_position.price_net"}} {{tt "invoice_position.total_price_net"}} {{tax_name}} {{tax2_name}} {{tax_value_name}} {{tt "invoice_position.total_price_gross"}} {{tt "invoice_position.bill_price_net"}} {{tt "invoice_position.bill_total_price_gross"}}
{{no}} {{item}} {{code}} {{additional_info}} {{discount}} {{quantity}} {{unit_price_net}} {{total_price_net}} {{tax}}% {{tax2}}% {{tax_value}} {{total_price_gross}}
{{tt "invoice.total"}} {{#not_eq kind 'final'}} {{total_price_net}} {{/not_eq}} {{#eq kind 'final'}} {{positions_total_price_net}} {{/eq}} {{#not_eq kind 'final'}} {{tax_value}} {{/not_eq}} {{#eq kind 'final'}} {{positons_total_tax}} {{/eq}} {{#not_eq kind 'final'}} {{total_price_gross}} {{/not_eq}} {{#eq kind 'final'}} {{positions_total_price_gross}} {{/eq}}
{{tax}}% {{total_price_net}} {{tax}}% {{tax2}}% {{tax_value}} {{total_price_gross}}
{{#if exchange_currency}} {{#if tax_visible}} {{/if}}
{{tt "invoice.total_price_net" }} {{ total_price_net}}{{currency}} {{ total_price_net_in_exchange_currency }}{{exchange_currency}}
{{tax_value_name}} {{ tax_value }}{{currency}} {{ tax_value_in_exchange_currency }}{{exchange_currency}}
{{tt "invoice.total_price_gross" }} {{ total_price_gross}}{{currency}} {{ total_price_gross_in_exchange_currency }}{{exchange_currency}}
{{long_exchange_note}}
{{/if}} {{#if notes}} {{/if}} {{#if outstanding_in_words}} {{/if}} {{#if paid}} {{/if}}
{{tt "invoice.description"}}: {{{notes}}}
{{tt "invoice.to_pay"}}: {{outstanding}}
{{tt "invoice.in_words"}}: {{{outstanding_in_words}}}
{{tt "invoice.paid"}}: {{paid}}


{{#if person}} {{tt "invoice.seller_person"}} {{person}} {{/if}} {{#if buyer_person}} {{tt "invoice.buyer_person"}} {{else}} ................................. {{/if}}
{{#if description_footer}}





{{description_footer}}
{{/if}} {{#if description_long}}



{{description_long}}
{{/if}} {{#if stamp_url}}
{{/if}}