<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
    <property name="createdBy">Eclipse BIRT Designer Version 4.6.0.v201606072122</property>
    <list-property name="userProperties">
        <structure>
            <property name="name">Data Cube.MoveLineDS.x</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube.MoveLineDS.y</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube.MoveLineDS.width</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube.MoveLineDS.height</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube2.MoveLineDS.x</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube2.MoveLineDS.y</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube2.MoveLineDS.width</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">Data Cube2.MoveLineDS.height</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
    </list-property>
    <property name="Data Cube.MoveLineDS.x">38</property>
    <property name="Data Cube.MoveLineDS.y">19</property>
    <property name="Data Cube.MoveLineDS.width">150</property>
    <property name="Data Cube.MoveLineDS.height">200</property>
    <property name="Data Cube2.MoveLineDS.x">135</property>
    <property name="Data Cube2.MoveLineDS.y">41</property>
    <property name="Data Cube2.MoveLineDS.width">192</property>
    <property name="Data Cube2.MoveLineDS.height">239</property>
    <list-property name="propertyBindings">
        <structure>
            <property name="name">odaURL</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["DBName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaUser</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["UserName"].value</expression>
        </structure>
        <structure>
            <property name="name">odaPassword</property>
            <property name="id">209</property>
            <expression name="value" type="javascript">params["Password"].value</expression>
        </structure>
    </list-property>
    <property name="units">in</property>
    <property name="iconFile">/templates/blank_report.gif</property>
    <property name="layoutPreference">auto layout</property>
    <property name="bidiLayoutOrientation">ltr</property>
    <property name="imageDPI">96</property>
    <property name="locale">fr_FR</property>
    <parameters>
        <scalar-parameter name="AccountingReportId" id="3544">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="isRequired">true</property>
            <property name="dataType">decimal</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="concealValue">false</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="DBName" id="3545">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">jdbc:postgresql://localhost:5432/axelor-open-suite</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="UserName" id="3546">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">axelor</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="Password" id="3547">
            <property name="hidden">true</property>
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
    </parameters>
    <data-sources>
        <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="209">
            <list-property name="privateDriverProperties">
                <ex-property>
                    <name>disabledMetadataBidiFormatStr</name>
                </ex-property>
                <ex-property>
                    <name>disabledContentBidiFormatStr</name>
                </ex-property>
                <ex-property>
                    <name>contentBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
                <ex-property>
                    <name>metadataBidiFormatStr</name>
                    <value>ILYNN</value>
                </ex-property>
            </list-property>
            <property name="odaDriverClass">org.postgresql.Driver</property>
            <property name="odaURL">jdbc:postgresql://localhost:5432/</property>
        </oda-data-source>
    </data-sources>
    <data-sets>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="MoveLineDS" id="210">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">movelinename</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">movelinename</text-property>
                    <text-property name="heading">movelinename</text-property>
                </structure>
                <structure>
                    <property name="columnName">movelinedate</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">movelinedate</text-property>
                    <text-property name="heading">movelinedate</text-property>
                </structure>
                <structure>
                    <property name="columnName">accountcode</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">accountcode</text-property>
                    <text-property name="heading">accountcode</text-property>
                </structure>
                <structure>
                    <property name="columnName">accountname</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">accountname</text-property>
                    <text-property name="heading">accountname</text-property>
                </structure>
                <structure>
                    <property name="columnName">taxcode</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">taxcode</text-property>
                    <text-property name="heading">taxcode</text-property>
                </structure>
                <structure>
                    <property name="columnName">technical_type_select</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">technical_type_select</text-property>
                    <text-property name="heading">technical_type_select</text-property>
                </structure>
                <structure>
                    <property name="columnName">debit</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">debit</text-property>
                    <text-property name="heading">debit</text-property>
                </structure>
                <structure>
                    <property name="columnName">debittaxamount</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">debittaxamount</text-property>
                    <text-property name="heading">debittaxamount</text-property>
                </structure>
                <structure>
                    <property name="columnName">credit</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">credit</text-property>
                    <text-property name="heading">credit</text-property>
                </structure>
                <structure>
                    <property name="columnName">credittaxamount</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">credittaxamount</text-property>
                    <text-property name="heading">credittaxamount</text-property>
                </structure>
            </list-property>
            <list-property name="filter"/>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">AccountingReportId</property>
                    <property name="nativeName"></property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">-5</property>
                    <property name="position">1</property>
                    <property name="isOptional">false</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">movelinename</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">movelinedate</property>
                        <property name="dataType">date</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">accountcode</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">accountname</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">taxcode</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">technical_type_select</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">debit</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">debittaxamount</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">9</property>
                        <property name="name">credit</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">10</property>
                        <property name="name">credittaxamount</property>
                        <property name="dataType">decimal</property>
                    </structure>
                </list-property>
            </structure>
            <property name="rowFetchLimit">0</property>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">movelinename</property>
                    <property name="nativeName">movelinename</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">movelinedate</property>
                    <property name="nativeName">movelinedate</property>
                    <property name="dataType">date</property>
                    <property name="nativeDataType">91</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">accountcode</property>
                    <property name="nativeName">accountcode</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">accountname</property>
                    <property name="nativeName">accountname</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">taxcode</property>
                    <property name="nativeName">taxcode</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">technical_type_select</property>
                    <property name="nativeName">technical_type_select</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">debit</property>
                    <property name="nativeName">debit</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">debittaxamount</property>
                    <property name="nativeName">debittaxamount</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">9</property>
                    <property name="name">credit</property>
                    <property name="nativeName">credit</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">10</property>
                    <property name="name">credittaxamount</property>
                    <property name="nativeName">credittaxamount</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[Select 
MoveLine.name as moveLineName,
MoveLine.date_val as moveLineDate,
Account.code as accountCode,
Account.name as accountName,
Tax.code as taxCode,
AccountType.technical_type_select,
Case  when AccountType.technical_type_select != 'tax' then MoveLine.debit
end as debit,
Case when AccountType.technical_type_select = 'tax' then MoveLine.debit
end as debitTaxAmount,
Case  when AccountType.technical_type_select != 'tax' then MoveLine.credit
end as credit,
Case when AccountType.technical_type_select = 'tax' then MoveLine.credit
end as creditTaxAmount


from public.account_accounting_report as AccountingReport 
left outer join public.account_move_line as MoveLine on (AccountingReport.id = ?)
left outer join public.account_account as Account on (MoveLine.account = Account.id)
left outer join public.account_account_type as AccountType on (Account.account_type = AccountType.id)
left outer join public.account_move as Move on (MoveLine.move = Move.id)
left outer join public.account_tax_line as TaxLine on (MoveLine.tax_line = TaxLine.id) 
left outer join public.account_tax as Tax on (TaxLine.tax = Tax.id) 
where 
(AccountingReport.currency = Move.company_currency) 
AND AccountingReport.company = Move.company 
AND MoveLine.date_val >= AccountingReport.date_from 
AND MoveLine.date_val <= AccountingReport.date_to 
AND (Move.status_select = 3 OR Move.status_select = 2) 
AND MoveLine.tax_line is not null
AND Tax.type_select = 2
AND (AccountingReport.display_closing_accounting_moves is true
	OR(AccountingReport.display_closing_accounting_moves is false
		AND (Move.functional_origin_select IS NULL OR Move.functional_origin_select != 2)))
AND (AccountingReport.display_opening_accounting_moves is true
	OR(AccountingReport.display_opening_accounting_moves is false
		AND (Move.functional_origin_select IS NULL OR Move.functional_origin_select != 1)))
AND  Move.ignore_in_accounting_ok = false
order by MoveLine.date_val ASC, MoveLine.name ASC]]></xml-property>
        </oda-data-set>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="AccountingReportDS" id="489">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">company_name</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">company_name</text-property>
                    <text-property name="heading">company_name</text-property>
                </structure>
                <structure>
                    <property name="columnName">date_from</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">date_from</text-property>
                    <text-property name="heading">date_from</text-property>
                </structure>
                <structure>
                    <property name="columnName">date_to</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">date_to</text-property>
                    <text-property name="heading">date_to</text-property>
                </structure>
                <structure>
                    <property name="columnName">year_name</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">year_name</text-property>
                    <text-property name="heading">year_name</text-property>
                </structure>
                <structure>
                    <property name="columnName">ReportDateEdition</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">ReportDateEdition</text-property>
                    <text-property name="heading">ReportDateEdition</text-property>
                </structure>
                <structure>
                    <property name="columnName">currency</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">currency</text-property>
                    <text-property name="heading">currency</text-property>
                </structure>
            </list-property>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">AccountingReportId</property>
                    <property name="nativeName"></property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">-5</property>
                    <property name="position">1</property>
                    <property name="isOptional">false</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">company_name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">date_from</property>
                        <property name="dataType">date</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">date_to</property>
                        <property name="dataType">date</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">year_name</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">ReportDateEdition</property>
                        <property name="dataType">date-time</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">currency</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">company_name</property>
                    <property name="nativeName">company_name</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">date_from</property>
                    <property name="nativeName">date_from</property>
                    <property name="dataType">date</property>
                    <property name="nativeDataType">91</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">date_to</property>
                    <property name="nativeName">date_to</property>
                    <property name="dataType">date</property>
                    <property name="nativeDataType">91</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">year_name</property>
                    <property name="nativeName">year_name</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">ReportDateEdition</property>
                    <property name="nativeName">ReportDateEdition</property>
                    <property name="dataType">date-time</property>
                    <property name="nativeDataType">93</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">currency</property>
                    <property name="nativeName">currency</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[select Company.name as company_name,AccountingReport.date_from,AccountingReport.date_to,
AcYear.name as year_name, AccountingReport.publication_date_time as "ReportDateEdition",
Currency.code as currency 
from public.account_accounting_report as AccountingReport 
inner join public.base_company as Company on (AccountingReport.company = Company.id)
left outer join public.base_year as AcYear on (AccountingReport.year = AcYear.id)
left outer join public.base_currency as Currency on (AccountingReport.currency = Currency.id)
where AccountingReport.id = ? 
]]></xml-property>
        </oda-data-set>
        <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="SumByTaxDS" id="4081">
            <property name="nullsOrdering">nulls lowest</property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">taxcode</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">taxcode</text-property>
                    <text-property name="heading">taxcode</text-property>
                </structure>
                <structure>
                    <property name="columnName">taxname</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">taxname</text-property>
                    <text-property name="heading">taxname</text-property>
                </structure>
                <structure>
                    <property name="columnName">taxlinevalue</property>
                    <property name="analysis">dimension</property>
                    <text-property name="displayName">taxlinevalue</text-property>
                    <text-property name="heading">taxlinevalue</text-property>
                </structure>
                <structure>
                    <property name="columnName">debit</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">debit</text-property>
                    <text-property name="heading">debit</text-property>
                </structure>
                <structure>
                    <property name="columnName">debittaxamount</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">debittaxamount</text-property>
                    <text-property name="heading">debittaxamount</text-property>
                </structure>
                <structure>
                    <property name="columnName">credit</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">credit</text-property>
                    <text-property name="heading">credit</text-property>
                </structure>
                <structure>
                    <property name="columnName">credittaxamount</property>
                    <property name="analysis">measure</property>
                    <text-property name="displayName">credittaxamount</text-property>
                    <text-property name="heading">credittaxamount</text-property>
                </structure>
            </list-property>
            <list-property name="filter"/>
            <list-property name="parameters">
                <structure>
                    <property name="name">param_1</property>
                    <property name="paramName">AccountingReportId</property>
                    <property name="nativeName"></property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">-5</property>
                    <property name="position">1</property>
                    <property name="isOptional">false</property>
                    <property name="isInput">true</property>
                    <property name="isOutput">false</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">taxcode</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">taxname</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">taxlinevalue</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">debit</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">debittaxamount</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">credit</property>
                        <property name="dataType">decimal</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">credittaxamount</property>
                        <property name="dataType">decimal</property>
                    </structure>
                </list-property>
            </structure>
            <property name="rowFetchLimit">0</property>
            <property name="dataSource">Data Source</property>
            <list-property name="resultSet">
                <structure>
                    <property name="position">1</property>
                    <property name="name">taxcode</property>
                    <property name="nativeName">taxcode</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">taxname</property>
                    <property name="nativeName">taxname</property>
                    <property name="dataType">string</property>
                    <property name="nativeDataType">12</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">taxlinevalue</property>
                    <property name="nativeName">taxlinevalue</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">debit</property>
                    <property name="nativeName">debit</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">debittaxamount</property>
                    <property name="nativeName">debittaxamount</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">credit</property>
                    <property name="nativeName">credit</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">credittaxamount</property>
                    <property name="nativeName">credittaxamount</property>
                    <property name="dataType">decimal</property>
                    <property name="nativeDataType">2</property>
                </structure>
            </list-property>
            <xml-property name="queryText"><![CDATA[Select 
Tax.code as taxCode,
Tax.name as taxName, 
TaxLine.value as taxLineValue, 
sum(Case  when AccountType.technical_type_select != 'tax' then MoveLine.debit
else 0
end) as debit,
sum(Case when AccountType.technical_type_select = 'tax' then MoveLine.debit
else 0
end) as debitTaxAmount,
sum(Case  when AccountType.technical_type_select != 'tax' then MoveLine.credit
else 0
end) as credit,
sum(Case when AccountType.technical_type_select = 'tax' then MoveLine.credit
else 0
end) as creditTaxAmount


from public.account_accounting_report as AccountingReport 
left outer join public.account_move_line as MoveLine on (AccountingReport.id = ?)
left outer join public.account_account as Account on (MoveLine.account = Account.id)
left outer join public.account_account_type as AccountType on (Account.account_type = AccountType.id)
left outer join public.account_move as Move on (MoveLine.move = Move.id)
left outer join public.account_tax_line as TaxLine on (MoveLine.tax_line = TaxLine.id) 
left outer join public.account_tax as Tax on (TaxLine.tax = Tax.id) 
where 
(AccountingReport.currency = Move.company_currency) 
AND AccountingReport.company = Move.company 
AND MoveLine.date_val >= AccountingReport.date_from 
AND MoveLine.date_val <= AccountingReport.date_to 
AND (Move.status_select = 3 OR Move.status_select = 2) 
AND MoveLine.tax_line is not null
AND Tax.type_select = 2
AND (AccountingReport.display_closing_accounting_moves is true
	OR(AccountingReport.display_closing_accounting_moves is false
		AND (Move.functional_origin_select IS NULL OR Move.functional_origin_select != 2)))
AND (AccountingReport.display_opening_accounting_moves is true
	OR(AccountingReport.display_opening_accounting_moves is false
		AND (Move.functional_origin_select IS NULL OR Move.functional_origin_select != 1)))
AND  Move.ignore_in_accounting_ok = false
group by Tax.id, TaxLine.value
order by Tax.code ASC]]></xml-property>
        </oda-data-set>
    </data-sets>
    <cubes>
        <tabular-cube name="Data Cube" id="3357">
            <property name="dimensions">
                <tabular-dimension name="AccountCode" id="3358">
                    <property name="isTimeType">false</property>
                    <property name="defaultHierarchy">NewTabularHierarchy</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy" id="3359">
                            <property name="levels">
                                <tabular-level name="accountcode" id="3598">
                                    <property name="dataType">string</property>
                                    <property name="columnName">accountcode</property>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
                <tabular-dimension name="AccountName" id="3361">
                    <property name="isTimeType">false</property>
                    <property name="defaultHierarchy">NewTabularHierarchy1</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy1" id="3362">
                            <property name="levels">
                                <tabular-level name="accountname" id="3599">
                                    <property name="dataType">string</property>
                                    <property name="columnName">accountname</property>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
                <tabular-dimension name="VatLine" id="3364">
                    <property name="isTimeType">false</property>
                    <property name="defaultHierarchy">NewTabularHierarchy2</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy2" id="3365">
                            <property name="levels">
                                <tabular-level name="vatvalue" id="3601">
                                    <property name="dataType">decimal</property>
                                    <property name="levelType">dynamic</property>
                                    <property name="columnName">vatvalue</property>
                                    <expression name="displayColumnName" type="javascript">dataSetRow["vatvalue"]</expression>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
                <tabular-dimension name="VatName" id="3439">
                    <property name="isTimeType">false</property>
                    <property name="defaultHierarchy">NewTabularHierarchy3</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy3" id="3440">
                            <property name="levels">
                                <tabular-level name="vatname" id="3600">
                                    <property name="dataType">string</property>
                                    <property name="levelType">dynamic</property>
                                    <property name="columnName">vatname</property>
                                    <expression name="displayColumnName" type="javascript">dataSetRow["vatname"]</expression>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
            </property>
            <property name="measureGroups">
                <tabular-measure-group name="Summary Field" id="3367">
                    <property name="measures">
                        <tabular-measure name="from" id="3368">
                            <property name="function">sum</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["from_measure"]</expression>
                            <property name="dataType">decimal</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                    </property>
                </tabular-measure-group>
                <tabular-measure-group name="Summary Field1" id="3369">
                    <property name="measures">
                        <tabular-measure name="to" id="3370">
                            <property name="function">sum</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["to_measure"]</expression>
                            <property name="dataType">decimal</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                    </property>
                </tabular-measure-group>
                <tabular-measure-group name="Summary Field2" id="3371">
                    <property name="measures">
                        <tabular-measure name="tvavalue" id="3372">
                            <property name="function">first</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["vat_measure"]</expression>
                            <property name="dataType">decimal</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                    </property>
                </tabular-measure-group>
                <tabular-measure-group name="Summary Field3" id="3431">
                    <property name="measures">
                        <tabular-measure name="from_to_diff" id="3432">
                            <property name="function">sum</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["diff"]</expression>
                            <property name="dataType">decimal</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                    </property>
                </tabular-measure-group>
            </property>
            <property name="dataSet">MoveLineDS</property>
        </tabular-cube>
    </cubes>
    <styles>
        <style name="report" id="4">
            <property name="fontFamily">sans-serif</property>
            <property name="fontSize">10pt</property>
        </style>
        <style name="crosstab-cell" id="5">
            <property name="borderBottomColor">#CCCCCC</property>
            <property name="borderBottomStyle">solid</property>
            <property name="borderBottomWidth">1pt</property>
            <property name="borderLeftColor">#CCCCCC</property>
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">1pt</property>
            <property name="borderRightColor">#CCCCCC</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">1pt</property>
            <property name="borderTopColor">#CCCCCC</property>
            <property name="borderTopStyle">solid</property>
            <property name="borderTopWidth">1pt</property>
        </style>
        <style name="crosstab" id="6">
            <property name="borderBottomColor">#CCCCCC</property>
            <property name="borderBottomStyle">solid</property>
            <property name="borderBottomWidth">1pt</property>
            <property name="borderLeftColor">#CCCCCC</property>
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">1pt</property>
            <property name="borderRightColor">#CCCCCC</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">1pt</property>
            <property name="borderTopColor">#CCCCCC</property>
            <property name="borderTopStyle">solid</property>
            <property name="borderTopWidth">1pt</property>
        </style>
        <style name="Para" id="3548">
            <structure name="numberFormat">
                <property name="category">Custom</property>
                <property name="pattern">(####,##0.00 )</property>
            </structure>
            <structure name="stringFormat">
                <property name="category">Unformatted</property>
            </structure>
        </style>
    </styles>
    <page-setup>
        <simple-master-page name="Simple MasterPage" id="2">
            <property name="type">a4</property>
            <property name="orientation">landscape</property>
            <property name="topMargin">0.15in</property>
            <property name="bottomMargin">0.15in</property>
            <property name="showHeaderOnFirst">false</property>
            <property name="headerHeight">2cm</property>
            <property name="footerHeight">1cm</property>
            <page-header>
                <grid id="3982">
                    <property name="dataSet">AccountingReportDS</property>
                    <list-property name="boundDataColumns">
                        <structure>
                            <property name="name">company_name</property>
                            <text-property name="displayName">company_name</text-property>
                            <expression name="expression" type="javascript">dataSetRow["company_name"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                        <structure>
                            <property name="name">date_from</property>
                            <text-property name="displayName">date_from</text-property>
                            <expression name="expression" type="javascript">dataSetRow["date_from"]</expression>
                            <property name="dataType">date</property>
                        </structure>
                        <structure>
                            <property name="name">date_to</property>
                            <text-property name="displayName">date_to</text-property>
                            <expression name="expression" type="javascript">dataSetRow["date_to"]</expression>
                            <property name="dataType">date</property>
                        </structure>
                        <structure>
                            <property name="name">year_name</property>
                            <text-property name="displayName">year_name</text-property>
                            <expression name="expression" type="javascript">dataSetRow["year_name"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                        <structure>
                            <property name="name">ReportDateEdition</property>
                            <text-property name="displayName">ReportDateEdition</text-property>
                            <expression name="expression" type="javascript">dataSetRow["ReportDateEdition"]</expression>
                            <property name="dataType">date-time</property>
                        </structure>
                        <structure>
                            <property name="name">currency</property>
                            <text-property name="displayName">currency</text-property>
                            <expression name="expression" type="javascript">dataSetRow["currency"]</expression>
                            <property name="dataType">string</property>
                        </structure>
                    </list-property>
                    <column id="3983">
                        <property name="width">33%</property>
                    </column>
                    <column id="3984"/>
                    <column id="3985">
                        <property name="width">33%</property>
                    </column>
                    <row id="3993">
                        <cell id="3994">
                            <label id="3995">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">right</property>
                                <property name="display">inline</property>
                                <text-property name="text">Société : </text-property>
                            </label>
                            <text id="3996">
                                <property name="fontWeight">normal</property>
                                <property name="display">inline</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF>row["company_name"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="3997">
                            <label id="3998">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">right</property>
                                <property name="display">inline</property>
                                <text-property name="text">Exercice : </text-property>
                            </label>
                            <text id="3999">
                                <property name="fontWeight">normal</property>
                                <property name="display">inline</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF>row["year_name"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="4000">
                            <label id="4001">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">right</property>
                                <property name="display">inline</property>
                                <text-property name="text">Devise : </text-property>
                            </label>
                            <text id="4002">
                                <property name="fontWeight">normal</property>
                                <property name="display">inline</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF>row["currency"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                    </row>
                    <row id="4003">
                        <cell id="4004"/>
                        <cell id="4005">
                            <label id="4006">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">right</property>
                                <property name="display">inline</property>
                                <text-property name="text">Du : </text-property>
                            </label>
                            <text id="4007">
                                <property name="fontWeight">normal</property>
                                <property name="display">inline</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF  format="dd/MM/yyyy">row["date_from"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="4008">
                            <label id="4009">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">right</property>
                                <property name="display">inline</property>
                                <text-property name="text">Au : </text-property>
                            </label>
                            <text id="4010">
                                <property name="fontWeight">normal</property>
                                <property name="display">inline</property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF format="dd/MM/yyyy">row["date_to"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                    </row>
                    <row id="4011">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">medium</property>
                        <property name="height">5px</property>
                        <cell id="4012"/>
                        <cell id="4013"/>
                        <cell id="4014"/>
                    </row>
                </grid>
            </page-header>
            <page-footer>
                <grid id="3931">
                    <column id="4021"/>
                    <column id="3943">
                        <property name="width">10%</property>
                    </column>
                    <column id="3932">
                        <property name="width">6%</property>
                    </column>
                    <column id="3933">
                        <property name="width">3%</property>
                    </column>
                    <column id="3934">
                        <property name="width">6%</property>
                    </column>
                    <row id="3935">
                        <property name="borderTopStyle">solid</property>
                        <property name="borderTopWidth">thin</property>
                        <property name="verticalAlign">middle</property>
                        <cell id="4020">
                            <text id="4022">
                                <property name="fontWeight">bold</property>
                                <property name="textAlign">center</property>
                                <property name="contentType">auto</property>
                                <text-property name="content"><![CDATA[ETAT D'AIDE A LA DECLARATION DE TVA]]></text-property>
                            </text>
                        </cell>
                        <cell id="3942">
                            <text id="3128">
                                <property name="fontSize">9pt</property>
                                <property name="display">inline</property>
                                <property name="dataSet">AccountingReportDS</property>
                                <list-property name="boundDataColumns">
                                    <structure>
                                        <property name="name">ReportDateEdition</property>
                                        <text-property name="displayName">ReportDateEdition</text-property>
                                        <expression name="expression" type="javascript">dataSetRow["ReportDateEdition"]</expression>
                                        <property name="dataType">date-time</property>
                                    </structure>
                                </list-property>
                                <property name="contentType">html</property>
                                <text-property name="content"><![CDATA[<VALUE-OF>row["ReportDateEdition"]</VALUE-OF>]]></text-property>
                            </text>
                        </cell>
                        <cell id="3936">
                            <auto-text id="3937">
                                <property name="textAlign">right</property>
                                <property name="type">page-number</property>
                            </auto-text>
                        </cell>
                        <cell id="3938">
                            <text id="3939">
                                <property name="textAlign">center</property>
                                <property name="contentType">plain</property>
                                <text-property name="content"><![CDATA[/]]></text-property>
                            </text>
                        </cell>
                        <cell id="3940">
                            <auto-text id="3941">
                                <property name="textAlign">left</property>
                                <property name="type">total-page</property>
                            </auto-text>
                        </cell>
                    </row>
                </grid>
            </page-footer>
        </simple-master-page>
    </page-setup>
    <body>
        <grid id="3560">
            <property name="dataSet">AccountingReportDS</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">company_name</property>
                    <text-property name="displayName">company_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["company_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">date_from</property>
                    <text-property name="displayName">date_from</text-property>
                    <expression name="expression" type="javascript">dataSetRow["date_from"]</expression>
                    <property name="dataType">date</property>
                </structure>
                <structure>
                    <property name="name">date_to</property>
                    <text-property name="displayName">date_to</text-property>
                    <expression name="expression" type="javascript">dataSetRow["date_to"]</expression>
                    <property name="dataType">date</property>
                </structure>
                <structure>
                    <property name="name">year_name</property>
                    <text-property name="displayName">year_name</text-property>
                    <expression name="expression" type="javascript">dataSetRow["year_name"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">ReportDateEdition</property>
                    <text-property name="displayName">ReportDateEdition</text-property>
                    <expression name="expression" type="javascript">dataSetRow["ReportDateEdition"]</expression>
                    <property name="dataType">date-time</property>
                </structure>
                <structure>
                    <property name="name">currency</property>
                    <text-property name="displayName">currency</text-property>
                    <expression name="expression" type="javascript">dataSetRow["currency"]</expression>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <column id="3561">
                <property name="width">33%</property>
            </column>
            <column id="3564"/>
            <column id="3565">
                <property name="width">33%</property>
            </column>
            <row id="3566">
                <cell id="3567">
                    <property name="colSpan">3</property>
                    <property name="rowSpan">1</property>
                    <text id="3558">
                        <property name="fontSize">15pt</property>
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">center</property>
                        <property name="contentType">auto</property>
                        <text-property name="content"><![CDATA[ETAT D'AIDE A LA DECLARATION DE TVA]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="3572">
                <property name="height">0.3cm</property>
                <cell id="3573"/>
                <cell id="3576"/>
                <cell id="3577"/>
            </row>
            <row id="3578">
                <cell id="3579">
                    <label id="526">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Société : </text-property>
                    </label>
                    <text id="554">
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["company_name"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="3582">
                    <label id="527">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Exercice : </text-property>
                    </label>
                    <text id="555">
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["year_name"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="3583">
                    <label id="3929">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Devise : </text-property>
                    </label>
                    <text id="3930">
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["currency"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="3584">
                <cell id="3585">
                    <label id="4173">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Date d'édition : </text-property>
                    </label>
                    <text id="4172">
                        <property name="fontSize">9pt</property>
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF>row["ReportDateEdition"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="3588">
                    <label id="528">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Du : </text-property>
                    </label>
                    <text id="556">
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF  format="dd/MM/yyyy">row["date_from"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
                <cell id="3589">
                    <label id="529">
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">right</property>
                        <property name="display">inline</property>
                        <text-property name="text">Au : </text-property>
                    </label>
                    <text id="557">
                        <property name="display">inline</property>
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<VALUE-OF format="dd/MM/yyyy">row["date_to"]</VALUE-OF>]]></text-property>
                    </text>
                </cell>
            </row>
            <row id="3923">
                <property name="borderBottomStyle">solid</property>
                <property name="borderBottomWidth">medium</property>
                <property name="height">5px</property>
                <cell id="3924"/>
                <cell id="3927"/>
                <cell id="3928"/>
            </row>
        </grid>
        <table id="4082">
            <property name="dataSet">SumByTaxDS</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">taxcode</property>
                    <text-property name="displayName">taxcode</text-property>
                    <expression name="expression" type="javascript">dataSetRow["taxcode"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">taxname</property>
                    <text-property name="displayName">taxname</text-property>
                    <expression name="expression" type="javascript">dataSetRow["taxname"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">debit</property>
                    <text-property name="displayName">debit</text-property>
                    <expression name="expression" type="javascript">dataSetRow["debit"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">debittaxamount</property>
                    <text-property name="displayName">debittaxamount</text-property>
                    <expression name="expression" type="javascript">dataSetRow["debittaxamount"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">credit</property>
                    <text-property name="displayName">credit</text-property>
                    <expression name="expression" type="javascript">dataSetRow["credit"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">credittaxamount</property>
                    <text-property name="displayName">credittaxamount</text-property>
                    <expression name="expression" type="javascript">dataSetRow["credittaxamount"]</expression>
                    <property name="dataType">decimal</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">totalDebitTaxAmount</property>
                    <property name="dataType">float</property>
                    <property name="aggregateFunction">SUM</property>
                    <list-property name="arguments">
                        <structure>
                            <property name="name">Expression</property>
                            <expression name="value" type="javascript">row["debittaxamount"]</expression>
                        </structure>
                    </list-property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">totalCreditTaxAmount</property>
                    <property name="dataType">float</property>
                    <property name="aggregateFunction">SUM</property>
                    <list-property name="arguments">
                        <structure>
                            <property name="name">Expression</property>
                            <expression name="value" type="javascript">row["credittaxamount"]</expression>
                        </structure>
                    </list-property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">creditBalance</property>
                    <expression name="expression" type="javascript">var balance = row["totalCreditTaxAmount"] - row["totalDebitTaxAmount"]
if(balance > 0)  {
balance
}</expression>
                    <property name="dataType">decimal</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">debitBalance</property>
                    <expression name="expression" type="javascript">var balance = row["totalDebitTaxAmount"] - row["totalCreditTaxAmount"]
if(balance > 0)  {
balance
}</expression>
                    <property name="dataType">decimal</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">taxlinevalue</property>
                    <text-property name="displayName">taxlinevalue</text-property>
                    <expression name="expression" type="javascript">dataSetRow["taxlinevalue"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
            </list-property>
            <property name="pageBreakInterval">0</property>
            <column id="4116">
                <property name="width">10%</property>
            </column>
            <column id="4117">
                <property name="width">20%</property>
            </column>
            <column id="4139">
                <property name="width">10%</property>
            </column>
            <column id="4118">
                <property name="width">15%</property>
            </column>
            <column id="4119">
                <property name="width">15%</property>
            </column>
            <column id="4120">
                <property name="width">15%</property>
            </column>
            <column id="4121">
                <property name="width">15%</property>
            </column>
            <header>
                <row id="4152">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderLeftStyle">solid</property>
                    <property name="borderLeftWidth">thin</property>
                    <property name="borderRightStyle">solid</property>
                    <property name="borderRightWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <cell id="4153">
                        <property name="colSpan">3</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4156">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4160">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">TVA à payer</text-property>
                        </label>
                    </cell>
                    <cell id="4158">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4161">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">TVA à déduire</text-property>
                        </label>
                    </cell>
                </row>
                <row id="4083">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderLeftStyle">solid</property>
                    <property name="borderLeftWidth">thin</property>
                    <property name="borderRightStyle">solid</property>
                    <property name="borderRightWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <cell id="4084">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4085">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Code TVA</text-property>
                        </label>
                    </cell>
                    <cell id="4086">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4087">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Nom</text-property>
                        </label>
                    </cell>
                    <cell id="4135">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4140">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Taux</text-property>
                        </label>
                    </cell>
                    <cell id="4088">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4093">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Base</text-property>
                        </label>
                    </cell>
                    <cell id="4090">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4095">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Montant</text-property>
                        </label>
                    </cell>
                    <cell id="4092">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4089">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Base</text-property>
                        </label>
                    </cell>
                    <cell id="4094">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4091">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Montant</text-property>
                        </label>
                    </cell>
                </row>
            </header>
            <detail>
                <row id="4096">
                    <cell id="4097">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4098">
                            <property name="fontSize">9pt</property>
                            <property name="resultSetColumn">taxcode</property>
                        </data>
                    </cell>
                    <cell id="4099">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4100">
                            <property name="fontSize">9pt</property>
                            <property name="resultSetColumn">taxname</property>
                        </data>
                    </cell>
                    <cell id="4136">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4141">
                            <property name="fontSize">9pt</property>
                            <structure name="numberFormat">
                                <property name="category">Custom</property>
                                <property name="pattern">###,##0.00 %</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <property name="resultSetColumn">taxlinevalue</property>
                        </data>
                    </cell>
                    <cell id="4101">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4106">
                            <property name="fontSize">9pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["credit"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">credit</property>
                        </data>
                    </cell>
                    <cell id="4103">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4108">
                            <property name="fontSize">9pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["credittaxamount"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">credittaxamount</property>
                        </data>
                    </cell>
                    <cell id="4105">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4102">
                            <property name="fontSize">9pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["debit"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">debit</property>
                        </data>
                    </cell>
                    <cell id="4107">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4104">
                            <property name="fontSize">9pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["debittaxamount"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">debittaxamount</property>
                        </data>
                    </cell>
                </row>
            </detail>
            <footer>
                <row id="4109">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <cell id="4110">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                    </cell>
                    <cell id="4111"/>
                    <cell id="4137">
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4162">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Totaux</text-property>
                        </label>
                    </cell>
                    <cell id="4112">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4130">
                            <property name="fontSize">9pt</property>
                            <property name="fontWeight">bold</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <property name="resultSetColumn">totalCreditTaxAmount</property>
                        </data>
                    </cell>
                    <cell id="4114">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4129">
                            <property name="fontSize">9pt</property>
                            <property name="fontWeight">bold</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <property name="resultSetColumn">totalDebitTaxAmount</property>
                        </data>
                    </cell>
                </row>
                <row id="4122">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <cell id="4123">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                    </cell>
                    <cell id="4124"/>
                    <cell id="4138">
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4163">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Solde</text-property>
                        </label>
                    </cell>
                    <cell id="4125">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4133">
                            <property name="fontSize">9pt</property>
                            <property name="fontWeight">bold</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <property name="resultSetColumn">creditBalance</property>
                        </data>
                    </cell>
                    <cell id="4127">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4134">
                            <property name="fontSize">9pt</property>
                            <property name="fontWeight">bold</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <property name="resultSetColumn">debitBalance</property>
                        </data>
                    </cell>
                </row>
            </footer>
        </table>
        <table id="4023">
            <property name="borderLeftStyle">solid</property>
            <property name="borderLeftWidth">thin</property>
            <property name="borderRightStyle">solid</property>
            <property name="borderRightWidth">thin</property>
            <property name="pageBreakBefore">always</property>
            <property name="dataSet">MoveLineDS</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">movelinename</property>
                    <text-property name="displayName">movelinename</text-property>
                    <expression name="expression" type="javascript">dataSetRow["movelinename"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">movelinedate</property>
                    <text-property name="displayName">movelinedate</text-property>
                    <expression name="expression" type="javascript">dataSetRow["movelinedate"]</expression>
                    <property name="dataType">date</property>
                </structure>
                <structure>
                    <property name="name">accountcode</property>
                    <text-property name="displayName">accountcode</text-property>
                    <expression name="expression" type="javascript">dataSetRow["accountcode"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">accountname</property>
                    <text-property name="displayName">accountname</text-property>
                    <expression name="expression" type="javascript">dataSetRow["accountname"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">taxcode</property>
                    <text-property name="displayName">taxcode</text-property>
                    <expression name="expression" type="javascript">dataSetRow["taxcode"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">credittaxamount</property>
                    <text-property name="displayName">credittaxamount</text-property>
                    <expression name="expression" type="javascript">dataSetRow["credittaxamount"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">debittaxamount</property>
                    <text-property name="displayName">debittaxamount</text-property>
                    <expression name="expression" type="javascript">dataSetRow["debittaxamount"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">debit</property>
                    <text-property name="displayName">debit</text-property>
                    <expression name="expression" type="javascript">dataSetRow["debit"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
                <structure>
                    <property name="name">credit</property>
                    <text-property name="displayName">credit</text-property>
                    <expression name="expression" type="javascript">dataSetRow["credit"]</expression>
                    <property name="dataType">decimal</property>
                </structure>
            </list-property>
            <property name="pageBreakInterval">0</property>
            <column id="4052">
                <property name="width">15%</property>
            </column>
            <column id="4053">
                <property name="width">7%</property>
            </column>
            <column id="4054">
                <property name="width">8%</property>
            </column>
            <column id="4055">
                <property name="width">25%</property>
            </column>
            <column id="4056">
                <property name="width">5%</property>
            </column>
            <column id="4060">
                <property name="width">10%</property>
            </column>
            <column id="4064">
                <property name="width">10%</property>
            </column>
            <column id="4068">
                <property name="width">10%</property>
            </column>
            <column id="4072">
                <property name="width">10%</property>
            </column>
            <header>
                <row id="4142">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <cell id="4143">
                        <property name="colSpan">5</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4164">
                            <property name="fontWeight">bold</property>
                            <property name="textAlign">left</property>
                            <text-property name="text">TVA sur débits</text-property>
                        </label>
                    </cell>
                    <cell id="4148">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4165">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">TVA à payer</text-property>
                        </label>
                    </cell>
                    <cell id="4150">
                        <property name="colSpan">2</property>
                        <property name="rowSpan">1</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4166">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">TVA à déduire</text-property>
                        </label>
                    </cell>
                </row>
                <row id="4024">
                    <property name="borderBottomStyle">solid</property>
                    <property name="borderBottomWidth">thin</property>
                    <property name="borderTopStyle">solid</property>
                    <property name="borderTopWidth">thin</property>
                    <cell id="4025">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4026">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">N° de pièce</text-property>
                        </label>
                    </cell>
                    <cell id="4027">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4028">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Date</text-property>
                        </label>
                    </cell>
                    <cell id="4029">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4030">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Compte</text-property>
                        </label>
                    </cell>
                    <cell id="4031">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4032">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Libellé</text-property>
                        </label>
                    </cell>
                    <cell id="4033">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4167">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Taxe</text-property>
                        </label>
                    </cell>
                    <cell id="4057">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4168">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Base</text-property>
                        </label>
                    </cell>
                    <cell id="4061">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4169">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Montant</text-property>
                        </label>
                    </cell>
                    <cell id="4065">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4171">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Base</text-property>
                        </label>
                    </cell>
                    <cell id="4069">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <label id="4170">
                            <property name="fontWeight">bold</property>
                            <text-property name="text">Montant</text-property>
                        </label>
                    </cell>
                </row>
            </header>
            <detail>
                <row id="4035">
                    <property name="fontSize">8pt</property>
                    <cell id="4036">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4037">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <property name="resultSetColumn">movelinename</property>
                        </data>
                    </cell>
                    <cell id="4038">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4039">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <structure name="dateTimeFormat">
                                <property name="category">Short Date</property>
                                <property name="pattern">Short Date</property>
                            </structure>
                            <property name="textAlign">center</property>
                            <property name="resultSetColumn">movelinedate</property>
                        </data>
                    </cell>
                    <cell id="4040">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4041">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <property name="textAlign">left</property>
                            <property name="resultSetColumn">accountcode</property>
                        </data>
                    </cell>
                    <cell id="4042">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4043">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <property name="textAlign">left</property>
                            <property name="resultSetColumn">accountname</property>
                        </data>
                    </cell>
                    <cell id="4044">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4045">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <property name="textAlign">left</property>
                            <property name="resultSetColumn">taxcode</property>
                        </data>
                    </cell>
                    <cell id="4058">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4080">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["credit"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">credit</property>
                        </data>
                    </cell>
                    <cell id="4062">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4074">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["credittaxamount"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">credittaxamount</property>
                        </data>
                    </cell>
                    <cell id="4066">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4078">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["debit"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">debit</property>
                        </data>
                    </cell>
                    <cell id="4070">
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                        <data id="4076">
                            <property name="fontSize">8.5pt</property>
                            <property name="paddingTop">1pt</property>
                            <property name="paddingBottom">1pt</property>
                            <structure name="numberFormat">
                                <property name="category">Currency</property>
                                <property name="pattern">#,##0.00{RoundingMode=HALF_UP}</property>
                            </structure>
                            <property name="textAlign">right</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">!row["debittaxamount"]</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">debittaxamount</property>
                        </data>
                    </cell>
                </row>
            </detail>
            <footer>
                <row id="4046">
                    <cell id="4047">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4048">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4049">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4050">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4051">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4059">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4063">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4067">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                    <cell id="4071">
                        <property name="borderBottomStyle">solid</property>
                        <property name="borderBottomWidth">thin</property>
                        <property name="borderLeftStyle">solid</property>
                        <property name="borderLeftWidth">thin</property>
                        <property name="borderRightStyle">solid</property>
                        <property name="borderRightWidth">thin</property>
                    </cell>
                </row>
            </footer>
        </table>
    </body>
</report>
