[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ o.address_invoice_id.street ]] [[ o.address_invoice_id.street2 or removeParentNode('para') ]] [[ o.address_invoice_id.zip or '' ]] [[ o.address_invoice_id.city or '' ]] [[ o.address_invoice_id.state_id and o.address_invoice_id.state_id.name or removeParentNode('para') ]] [[ o.address_invoice_id.country_id and o.address_invoice_id.country_id.name or '' ]] Tel. : [[ o.address_invoice_id.phone or removeParentNode('para') ]] Fax : [[ o.address_invoice_id.fax or removeParentNode('para') ]] VAT : [[ o.partner_id.vat or removeParentNode('para') ]] Invoice [[ ((o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')) or removeParentNode('para')) and '' ]] [[ o.number ]] PRO-FORMA [[ ((o.type == 'out_invoice' and o.state == 'proforma2') or removeParentNode('para')) and '' ]] Draft Invoice [[ ((o.type == 'out_invoice' and o.state == 'draft') or removeParentNode('para')) and '' ]] Cancelled Invoice [[ ((o.type == 'out_invoice' and o.state == 'cancel') or removeParentNode('para')) and '' ]] [[ o.number ]] Refund [[ (o.type=='out_refund' or removeParentNode('para')) and '' ]] [[ o.number ]] Supplier Refund [[ (o.type=='in_refund' or removeParentNode('para')) and '' ]] [[ o.number ]] Supplier Invoice [[ (o.type=='in_invoice' or removeParentNode('para')) and '' ]] [[ o.number ]] Document Invoice Date Partner Ref. [[ o.name or ' ' ]] [[ formatLang(o.date_invoice,date=True) ]] [[ o.address_invoice_id.partner_id.ref or ' ' ]] Description Taxes Quantity Unit Price Disc.(%) Price
[[ repeatIn(o.invoice_line,'l') ]] [[ l.name ]] [[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]] [[ formatLang(l.quantity)]] [[ (l.uos_id and l.uos_id.name) or '' ]] [[ formatLang(l.price_unit) ]][[ o.currency_id.symbol ]] [[ formatLang(l.discount, digits=get_digits(dp='Account')) ]] [[ formatLang(l.price_subtotal, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]] [[ format(l.note or '') or removeParentNode('tr') ]]
Net Total: [[ formatLang(o.amount_untaxed) ]] [[ o.currency_id.symbol ]] Taxes: [[ formatLang(o.amount_tax, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]] Total: [[ formatLang(o.amount_total) ]] [[ o.currency_id.symbol ]] Tax Base Amount
[[ repeatIn(o.tax_line,'t') ]] [[ t.name ]] [[ formatLang(t.base, digits=get_digits(dp='Account')) ]] [[ o.currency_id.symbol ]] [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount) ]] [[ o.currency_id.symbol ]]
[[ (o.comment and format(o.comment )) or removeParentNode('para') ]] [[ (o.payment_term.note and format(o.payment_term and o.payment_term.note)) or removeParentNode('para') ]] Fiscal Position: [[ (o.fiscal_position.note and format(o.fiscal_position and o.fiscal_position.note)) or removeParentNode('blockTable') ]]