[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ o.address_invoice_id.title or '' ]] [[ o.address_invoice_id.name ]] [[ o.address_invoice_id.street ]] [[ o.address_invoice_id.street2 or '' ]] [[ 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 '' ]] [[ o.address_invoice_id.country_id and o.address_invoice_id.country_id.name or '' ]] Tél. : [[ o.address_invoice_id.phone or '' ]] Fax : [[ o.address_invoice_id.fax or '' ]] TVA : [[ o.partner_id.vat or '' ]] Invoice [[ (o.type=='out_invoice' or removeParentNode('font')) and '' ]] Refund [[ (o.type=='out_refund' or removeParentNode('font')) and '' ]] Supplier Refund [[ (o.type=='in_refund' or removeParentNode('font')) and '' ]] Supplier Invoice [[ (o.type=='in_invoice' or removeParentNode('font')) and '' ]] [[ o.number ]] Document : [[o.name]] Invoice Date: [[o.date_invoice]] Customer Ref: [[ o.address_invoice_id.partner_id.ref or '/' ]] Description Taxes Quantity Unit Price Disc. Net Price
[[repeatIn(o.invoice_line,'l') ]] [[ l.name ]] [[ ', '.join([lt.name for lt in l.invoice_line_tax_id]) ]] [[ l.quantity ]] [[l.uos_id and l.uos_id.name or '' ]] [[ '%.2f' % l.price_unit ]] [[ '%.3f' % (l.discount or 0.0) ]] [[ '%.2f' %l.price_subtotal ]] [[o.currency_id.code ]] [[ repeatIn((l.note and [l.note]) or [], 'note') ]] [[ note or removeParentNode('table') ]] [[ setTag('para','xpre') ]]
Tax Base Amount [[ repeatIn(o.tax_line,'t') ]] [[ t.name ]] [[ '%.2f' % t.base ]] [[ '%.2f' % t.amount]] Subtotal : [[ '%.2f' % o.amount_untaxed ]] [[o.currency_id.code ]] Taxes : [[ '%.2f' % o.amount_tax ]] [[o.currency_id.code ]] Total : [[ '%.2f' % o.amount_total ]] [[o.currency_id.code ]] [[ o.comment or '' ]] [[ setTag('para','xpre') ]] [[ (o.payment_term and o.payment_term.note) or '' ]] [[ setTag('para','xpre') ]]