2
<document filename="invoice_list.pdf">
3
<template pageSize="29.7cm, 21cm" title="Invoice List" author="Nicolas Bessi-Jordi Esteve (Zikzakmedia)" allowSplitting="20">
4
<pageTemplate id="first">
5
<frame id="first" x1="1cm" y1="1cm" width="27.7cm" height="19cm"/>
8
<!--<fill color="darkblue"/>-->
9
<!--<stroke color="darkblue"/>-->
12
<setFont name="Helvetica-Bold" size="10"/>
13
<drawString x="0.8cm" y="20cm">[[company.name]]</drawString>
14
<setFont name="Helvetica-Bold" size="9"/>
15
<!--<drawRightString x="19.8cm" y="25.50cm">[[ company.rml_header1 ]]</drawRightString>-->
16
<drawString x="25.8cm" y="20cm">Invoice List</drawString>
19
<setFont name="Helvetica" size="8"/>
20
<drawString x="0.8cm" y="0.9cm">[[formatLang(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), date_time=True)]]</drawString>
21
<drawString x="27.5cm" y="0.9cm">Page <pageNumber/></drawString>
23
<lineMode width="0.7"/>
24
<lines>0.8cm 19.8cm 28.8cm 19.8cm</lines>
25
<setFont name="Helvetica" size="8"/>
31
<blockTableStyle id="Standard_Outline">
32
<blockAlignment value="LEFT"/>
33
<blockValign value="TOP"/>
35
<blockTableStyle id="Table1">
36
<blockAlignment value="LEFT"/>
37
<blockValign value="TOP"/>
38
<blockBackground colorName="#e6e6e6" start="0,0" stop="0,0"/>
39
<blockBackground colorName="#e6e6e6" start="1,0" stop="1,0"/>
40
<blockBackground colorName="#e6e6e6" start="2,0" stop="2,0"/>
41
<blockBackground colorName="#e6e6e6" start="0,1" stop="0,1"/>
42
<blockBackground colorName="#e6e6e6" start="1,1" stop="1,1"/>
43
<blockBackground colorName="#e6e6e6" start="2,1" stop="2,1"/>
45
<blockTableStyle id="Table2">
46
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
47
<lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,1" stop="-1,-1"/>
48
<blockValign value="TOP"/>
49
<blockAlignment value="RIGHT" start="2,1" stop="-1,-1"/>
51
<blockTableStyle id="Table3">
52
<blockAlignment value="LEFT"/>
53
<blockValign value="TOP"/>
54
<blockBottomPadding length="1.0"/>
55
<lineStyle kind="LINEABOVE" colorName="#AAAAAA"/>
56
<blockBackground colorName="white" start="0,0" stop="-1,0"/>
58
<blockTableStyle id="Table3a">
59
<blockAlignment value="LEFT"/>
60
<blockValign value="MIDDLE"/>
61
<lineStyle kind="LINEABOVE" colorName="#888888"/>
62
<blockBottomPadding length="1.0"/>
63
<blockBackground colorName="white" start="0,0" stop="-1,0"/>
65
<blockTableStyle id="Table3b">
66
<blockAlignment value="LEFT"/>
67
<blockValign value="TOP"/>
68
<blockTopPadding length="0.5"/>
69
<blockBottomPadding length="1.0"/>
70
<blockBackground colorName="white" start="0,0" stop="-1,0"/>
72
<blockTableStyle id="Table5">
73
<blockAlignment value="LEFT"/>
74
<blockValign value="TOP"/>
76
<blockTableStyle id="Table4">
77
<blockAlignment value="LEFT"/>
78
<blockValign value="TOP"/>
79
<lineStyle kind="GRID" colorName="black"/>
81
<blockTableStyle id="Theader">
82
<blockAlignment value="LEFT"/>
83
<blockValign value="TOP"/>
84
<lineStyle kind="OUTLINE" colorName="#e6e6e6"/>
85
<blockBackground colorName="white" start="0,0" stop="-1,0"/>
89
<paraStyle name="all" alignment="justify"/>
91
<paraStyle name="P1" fontName="Helvetica" fontSize="20.0" leading="25" alignment="CENTER"
92
spaceBefore="0.0" spaceAfter="6.0"/>
93
<paraStyle name="P2" fontName="Helvetica" fontSize="7.0" leading="10" spaceBefore="0.0"
95
<paraStyle name="P3" fontName="Helvetica" fontSize="7.0" leading="10" alignment="LEFT"
96
spaceBefore="0.0" spaceAfter="6.0"/>
97
<paraStyle name="P4" fontName="Helvetica" fontSize="7.0" leading="10" alignment="RIGHT"
98
spaceBefore="0.0" spaceAfter="6.0"/>
99
<paraStyle name="P5" fontName="Helvetica" fontSize="10.0" leading="13" alignment="RIGHT"
100
spaceBefore="0.0" spaceAfter="6.0"/>
101
<paraStyle name="P6" fontName="Helvetica" alignment="CENTER" spaceBefore="0.0"
103
<paraStyle name="P7" fontName="Helvetica" fontSize="10.0" leading="14" alignment="RIGHT"
104
spaceBefore="0.0" spaceAfter="6.0"/>
105
<paraStyle name="P8" fontName="Helvetica" fontSize="10.0" leading="14" alignment="RIGHT"
106
spaceBefore="0.0" spaceAfter="6.0"/>
107
<paraStyle name="P9" fontName="Helvetica" fontSize="7.0" leading="10" alignment="RIGHT"
108
spaceBefore="0.0" spaceAfter="6.0"/>
109
<paraStyle name="P9b" fontName="Helvetica-Bold" fontSize="7.0" leading="10"
110
alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
111
<paraStyle name="P10" fontName="Helvetica" alignment="CENTER"/>
112
<paraStyle name="P11" fontName="Helvetica" fontSize="10.0" leading="14"/>
113
<paraStyle name="P12" fontName="Helvetica" fontSize="14.0" leading="17"/>
114
<paraStyle name="P13" fontName="Helvetica-Bold" fontSize="10.0" leading="8"
115
alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
116
<paraStyle name="P14" fontName="Helvetica" fontSize="7.0" leading="10" spaceBefore="0.0"
118
<paraStyle name="P15" fontName="Helvetica-Bold" spaceBefore="0.0" spaceAfter="6.0"/>
119
<paraStyle name="P16" rightIndent="17.0" leftIndent="-0.0" fontName="Times-Roman"
120
fontSize="7.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
121
<paraStyle name="P17" fontName="Helvetica" alignment="LEFT" fontSize="12.0" spaceAfter="0.0"/>
122
<paraStyle name="Standard" fontName="Helvetica-Bold" size="9" fontSize="7.5"/>
123
<paraStyle name="Header" fontName="Helvetica-Bold" size="9" fontSize="9"/>
124
<paraStyle name="Account" fontName="Helvetica"/>
125
<paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0" fontSize="7.5"/>
126
<paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
127
<paraStyle name="Table Contents" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
128
<paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER" spaceBefore="0.0"
130
<paraStyle name="Caption" fontName="Helvetica" fontSize="10.0" leading="13"
131
spaceBefore="6.0" spaceAfter="6.0"/>
132
<paraStyle name="Index" fontName="Helvetica"/>
136
<para style="Standard">[[setLang(user.context_lang)]]</para>
137
<para style="Standard">
138
<font color="white"> </font>
140
<para style="Header">Customer Invoices [[ (out_invoices or removeParentNode('para')) and '' ]]</para>
142
<section> [[ repeatIn(out_invoices, 'obj') ]] <para style="Standard"> Currency : [[ obj[0] ]] </para>
143
<!--<blockTable colWidths="1.8cm,1.4cm,1.4cm,1.8cm,1.8cm,2cm,3.5cm,2cm,4cm,1.2cm,1.8cm,1.4cm,1.8cm,1.6cm" repeatRows="1" style="Table3">-->
144
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3a">
147
<para style="Standard" size="5">Number</para>
150
<para style="Standard" size="5">External ref.</para>
153
<para style="Standard" size="5">Entry num.</para>
156
<para style="Standard" size="5">Invoice date</para>
159
<para style="Standard" size="5">Due date</para>
162
<para style="Standard" size="5">Partner code</para>
165
<para style="Standard" size="5">Partner</para>
168
<para style="Standard" size="5">Vat</para>
171
<para style="Standard" size="5">Invoice description</para>
174
<para style="Standard" size="5">State</para>
177
<para alignment="RIGHT" style="Standard" size="5">Untaxed</para>
180
<para alignment="RIGHT" style="Standard" size="5">Taxes</para>
183
<para alignment="RIGHT" style="Standard" size="5">Total</para>
186
<para style="Standard" size="5">Fiscal position</para>
190
<section>[[ repeatIn(obj[1], 'inv') ]]
191
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
194
<para style="Text body">[[inv.number]]</para>
197
<para style="Text body">[[inv.reference]]</para>
200
<para style="Text body">[[inv.move_id.name]]</para>
203
<para style="Text body">[[inv.date_invoice and formatLang(inv.date_invoice, date=True)]]</para>
206
<para style="Text body">[[inv.date_due and formatLang(inv.date_due, date=True)]]</para>
209
<para style="Text body">[[inv.partner_id.ref]]</para>
212
<para style="Text body">[[inv.partner_id.name]]</para>
215
<para style="Text body">[[inv.partner_id.vat]]</para>
218
<para style="Text body">[[inv.name]]</para>
221
<para style="Text body">Draft [[ (inv.state=='draft' or removeParentNode('para')) and '']]</para>
222
<para style="Text body">Pro-forma [[ (inv.state in ['proforma','proforma2'] or removeParentNode('para')) and '']]</para>
223
<para style="Text body">Open [[ (inv.state=='open' or removeParentNode('para')) and '']]</para>
224
<para style="Text body">Paid [[ (inv.state=='paid' or removeParentNode('para')) and '']]</para>
225
<para style="Text body">Cancelled [[ (inv.state=='cancel' or removeParentNode('para')) and '']]</para>
228
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_untaxed)]]</para>
231
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_tax)]]</para>
234
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_total)]]</para>
237
<para style="Text body">[[inv.fiscal_position.name]]</para>
241
<section>[[ repeatIn(detailed_taxes and inv.tax_line or [], 'tax_line') ]]
242
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3b">
243
[[ (tax_line.tax_code_id and tax_line.tax_code_id.notprintable and removeParentNode('blockTable')) or '']]
249
<para style="Text body" alignment="RIGHT">[[tax_line.name or '']]</para>
252
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base)]]</para>
255
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.amount)]]</para>
258
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base+tax_line.amount)]]</para>
267
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
273
<para alignment="RIGHT" style="Standard">Total</para>
276
<para alignment="RIGHT" style="Standard">[[formatLang(obj[2])]]</para>
279
<para alignment="RIGHT" style="Standard">[[formatLang(obj[3])]]</para>
282
<para alignment="RIGHT" style="Standard">[[formatLang(obj[4])]]</para>
289
<para style="Standard">
290
<font color="white"> </font>
297
<para style="Header">Customer Refund Invoices [[ (out_refunds or removeParentNode('para')) and '' ]]</para>
299
<section> [[ repeatIn(out_refunds, 'obj') ]] <para style="Standard"> Currency : [[ obj[0] ]] </para>
300
<!--<blockTable colWidths="1.8cm,1.4cm,1.4cm,1.8cm,1.8cm,2cm,3.5cm,2cm,4cm,1.2cm,1.8cm,1.4cm,1.8cm,1.6cm" repeatRows="1" style="Table3">-->
301
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3a">
304
<para style="Standard" size="5">Number</para>
307
<para style="Standard" size="5">External ref.</para>
310
<para style="Standard" size="5">Entry num.</para>
313
<para style="Standard" size="5">Invoice date</para>
316
<para style="Standard" size="5">Due date</para>
319
<para style="Standard" size="5">Partner code</para>
322
<para style="Standard" size="5">Partner</para>
325
<para style="Standard" size="5">Vat</para>
328
<para style="Standard" size="5">Invoice description</para>
331
<para style="Standard" size="5">State</para>
334
<para alignment="RIGHT" style="Standard" size="5">Untaxed</para>
337
<para alignment="RIGHT" style="Standard" size="5">Taxes</para>
340
<para alignment="RIGHT" style="Standard" size="5">Total</para>
343
<para style="Standard" size="5">Fiscal position</para>
347
<section>[[ repeatIn(obj[1], 'inv') ]]
348
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
351
<para style="Text body">[[inv.number]]</para>
354
<para style="Text body">[[inv.reference]]</para>
357
<para style="Text body">[[inv.move_id.name]]</para>
360
<para style="Text body">[[inv.date_invoice and formatLang(inv.date_invoice, date=True)]]</para>
363
<para style="Text body">[[inv.date_due and formatLang(inv.date_due, date=True)]]</para>
366
<para style="Text body">[[inv.partner_id.ref]]</para>
369
<para style="Text body">[[inv.partner_id.name]]</para>
372
<para style="Text body">[[inv.partner_id.vat]]</para>
375
<para style="Text body">[[inv.name]]</para>
378
<para style="Text body">Draft [[ (inv.state=='draft' or removeParentNode('para')) and '']]</para>
379
<para style="Text body">Pro-forma [[ (inv.state in ['proforma','proforma2'] or removeParentNode('para')) and '']]</para>
380
<para style="Text body">Open [[ (inv.state=='open' or removeParentNode('para')) and '']]</para>
381
<para style="Text body">Paid [[ (inv.state=='paid' or removeParentNode('para')) and '']]</para>
382
<para style="Text body">Cancelled [[ (inv.state=='cancel' or removeParentNode('para')) and '']]</para>
385
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_untaxed)]]</para>
388
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_tax)]]</para>
391
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_total)]]</para>
394
<para style="Text body">[[inv.fiscal_position.name]]</para>
398
<section>[[ repeatIn(detailed_taxes and inv.tax_line or [], 'tax_line') ]]
399
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3b">
400
[[ (tax_line.tax_code_id and tax_line.tax_code_id.notprintable and removeParentNode('blockTable')) or '']]
406
<para style="Text body" alignment="RIGHT">[[tax_line.name or '']]</para>
409
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base)]]</para>
412
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.amount)]]</para>
415
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base+tax_line.amount)]]</para>
424
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
430
<para alignment="RIGHT" style="Standard">Total</para>
433
<para alignment="RIGHT" style="Standard">[[formatLang(obj[2])]]</para>
436
<para alignment="RIGHT" style="Standard">[[formatLang(obj[3])]]</para>
439
<para alignment="RIGHT" style="Standard">[[formatLang(obj[4])]]</para>
446
<para style="Standard">
447
<font color="white"> </font>
454
<para style="Header">Supplier Invoices [[ (in_invoices or removeParentNode('para')) and '' ]]</para>
456
<section> [[ repeatIn(in_invoices, 'obj') ]] <para style="Standard"> Currency : [[ obj[0] ]] </para>
457
<!--<blockTable colWidths="1.8cm,1.4cm,1.4cm,1.8cm,1.8cm,2cm,3.5cm,2cm,4cm,1.2cm,1.8cm,1.4cm,1.8cm,1.6cm" repeatRows="1" style="Table3">-->
458
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3a">
461
<para style="Standard" size="5">Number</para>
464
<para style="Standard" size="5">External ref.</para>
467
<para style="Standard" size="5">Entry num.</para>
470
<para style="Standard" size="5">Invoice date</para>
473
<para style="Standard" size="5">Due date</para>
476
<para style="Standard" size="5">Partner code</para>
479
<para style="Standard" size="5">Partner</para>
482
<para style="Standard" size="5">Vat</para>
485
<para style="Standard" size="5">Invoice description</para>
488
<para style="Standard" size="5">State</para>
491
<para alignment="RIGHT" style="Standard" size="5">Untaxed</para>
494
<para alignment="RIGHT" style="Standard" size="5">Taxes</para>
497
<para alignment="RIGHT" style="Standard" size="5">Total</para>
500
<para style="Standard" size="5">Fiscal position</para>
504
<section>[[ repeatIn(obj[1], 'inv') ]]
505
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
508
<para style="Text body">[[inv.number]]</para>
511
<para style="Text body">[[inv.reference]]</para>
514
<para style="Text body">[[inv.move_id.name]]</para>
517
<para style="Text body">[[inv.date_invoice and formatLang(inv.date_invoice, date=True)]]</para>
520
<para style="Text body">[[inv.date_due and formatLang(inv.date_due, date=True)]]</para>
523
<para style="Text body">[[inv.partner_id.ref]]</para>
526
<para style="Text body">[[inv.partner_id.name]]</para>
529
<para style="Text body">[[inv.partner_id.vat]]</para>
532
<para style="Text body">[[inv.name]]</para>
535
<para style="Text body">Draft [[ (inv.state=='draft' or removeParentNode('para')) and '']]</para>
536
<para style="Text body">Pro-forma [[ (inv.state in ['proforma','proforma2'] or removeParentNode('para')) and '']]</para>
537
<para style="Text body">Open [[ (inv.state=='open' or removeParentNode('para')) and '']]</para>
538
<para style="Text body">Paid [[ (inv.state=='paid' or removeParentNode('para')) and '']]</para>
539
<para style="Text body">Cancelled [[ (inv.state=='cancel' or removeParentNode('para')) and '']]</para>
542
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_untaxed)]]</para>
545
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_tax)]]</para>
548
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_total)]]</para>
551
<para style="Text body">[[inv.fiscal_position.name]]</para>
555
<section>[[ repeatIn(detailed_taxes and inv.tax_line or [], 'tax_line') ]]
556
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3b">
557
[[ (tax_line.tax_code_id and tax_line.tax_code_id.notprintable and removeParentNode('blockTable')) or '']]
563
<para style="Text body" alignment="RIGHT">[[tax_line.name or '']]</para>
566
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base)]]</para>
569
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.amount)]]</para>
572
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base+tax_line.amount)]]</para>
581
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" style="Table3">
587
<para alignment="RIGHT" style="Standard">Total</para>
590
<para alignment="RIGHT" style="Standard">[[formatLang(obj[2])]]</para>
593
<para alignment="RIGHT" style="Standard">[[formatLang(obj[3])]]</para>
596
<para alignment="RIGHT" style="Standard">[[formatLang(obj[4])]]</para>
603
<para style="Standard">
604
<font color="white"> </font>
611
<para style="Header">Supplier Refund Invoices [[ (in_refunds or removeParentNode('para')) and '' ]]</para>
613
<section> [[ repeatIn(in_refunds, 'obj') ]] <para style="Standard"> Currency : [[ obj[0] ]] </para>
614
<!--<blockTable colWidths="1.8cm,1.4cm,1.4cm,1.8cm,1.8cm,2cm,3.5cm,2cm,4cm,1.2cm,1.8cm,1.4cm,1.8cm,1.6cm" repeatRows="1" style="Table3">-->
615
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3a">
618
<para style="Standard" size="5">Number</para>
621
<para style="Standard" size="5">External ref.</para>
624
<para style="Standard" size="5">Entry num.</para>
627
<para style="Standard" size="5">Invoice date</para>
630
<para style="Standard" size="5">Due date</para>
633
<para style="Standard" size="5">Partner code</para>
636
<para style="Standard" size="5">Partner</para>
639
<para style="Standard" size="5">Vat</para>
642
<para style="Standard" size="5">Invoice description</para>
645
<para style="Standard" size="5">State</para>
648
<para alignment="RIGHT" style="Standard" size="5">Untaxed</para>
651
<para alignment="RIGHT" style="Standard" size="5">Taxes</para>
654
<para alignment="RIGHT" style="Standard" size="5">Total</para>
657
<para style="Standard" size="5">Fiscal position</para>
661
<section>[[ repeatIn(obj[1], 'inv') ]]
662
<blockTable colWidths="2.0cm,2.3cm,1.4cm,1.8cm,1.8cm,2cm,5.2cm,2cm,1.2cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3">
665
<para style="Text body">[[inv.number]]</para>
668
<para style="Text body">[[inv.reference]]</para>
671
<para style="Text body">[[inv.move_id.name]]</para>
674
<para style="Text body">[[inv.date_invoice and formatLang(inv.date_invoice, date=True)]]</para>
677
<para style="Text body">[[inv.date_due and formatLang(inv.date_due, date=True)]]</para>
680
<para style="Text body">[[inv.partner_id.ref]]</para>
683
<para style="Text body">[[inv.partner_id.name]]</para>
686
<para style="Text body">[[inv.partner_id.vat]]</para>
689
<para style="Text body">[[inv.name]]</para>
692
<para style="Text body">Draft [[ (inv.state=='draft' or removeParentNode('para')) and '']]</para>
693
<para style="Text body">Pro-forma [[ (inv.state in ['proforma','proforma2'] or removeParentNode('para')) and '']]</para>
694
<para style="Text body">Open [[ (inv.state=='open' or removeParentNode('para')) and '']]</para>
695
<para style="Text body">Paid [[ (inv.state=='paid' or removeParentNode('para')) and '']]</para>
696
<para style="Text body">Cancelled [[ (inv.state=='cancel' or removeParentNode('para')) and '']]</para>
699
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_untaxed)]]</para>
702
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_tax)]]</para>
705
<para style="Text body" alignment="RIGHT">[[formatLang(inv.amount_total)]]</para>
708
<para style="Text body">[[inv.fiscal_position.name]]</para>
712
<section>[[ repeatIn(detailed_taxes and inv.tax_line or [], 'tax_line') ]]
713
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3b">
714
[[ (tax_line.tax_code_id and tax_line.tax_code_id.notprintable and removeParentNode('blockTable')) or '']]
720
<para style="Text body" alignment="RIGHT">[[tax_line.name or '']]</para>
723
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base)]]</para>
726
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.amount)]]</para>
729
<para style="Text body" alignment="RIGHT">[[formatLang(tax_line.base+tax_line.amount)]]</para>
738
<blockTable colWidths="10.0cm,9.7cm,1.8cm,1.4cm,1.6cm,2.6cm" repeatRows="1" style="Table3">
744
<para alignment="RIGHT" style="Standard">Total</para>
747
<para alignment="RIGHT" style="Standard">[[formatLang(obj[2])]]</para>
750
<para alignment="RIGHT" style="Standard">[[formatLang(obj[3])]]</para>
753
<para alignment="RIGHT" style="Standard">[[formatLang(obj[4])]]</para>
760
<para style="Standard">
761
<font color="white"> </font>