<?xml version="1.0"?>
<data inherit_id="account_edi_ubl_cii.ubl_20_InvoiceType" primary="True">
        <xpath expr="//*[local-name()='ProfileID']" position="after">
            <cbc:ProfileExecutionID xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" t-out="vals.get('profile_execution_id')"/>
        </xpath>
        <xpath expr="//*[local-name()='IssueTime']" position="after">
            <t xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
                <cbc:DueDate t-out="vals.get('due_date')"/>
            </t>
        </xpath>
        <xpath expr="//*[local-name()='TaxCurrencyCode']" position="after">
            <t xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
                <cbc:BuyerReference t-out="vals.get('buyer_reference')"/>
            </t>
        </xpath>
        <xpath expr="//*[local-name()='LegalMonetaryTotal']" position="before">
            <t xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
                <cac:WithholdingTaxTotal t-foreach="vals.get('withholding_tax_total_vals_list', [])" t-as="foreach_vals">
                    <t t-call="{{TaxTotalType_template}}">
                        <t t-set="vals" t-value="foreach_vals"/>
                    </t>
                </cac:WithholdingTaxTotal>
            </t>
        </xpath>
    <xpath expr="." position="attributes"><attribute name="t-name">account_edi_ubl_cii.ubl_21_InvoiceType</attribute></xpath></data>

    