<?xml version="1.0"?>
<t t-name="purchase_edi_ubl_bis3.bis3_LineItemType">
        <t xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
            <cbc:ID t-out="vals.get('id')"/>
            <cbc:Quantity t-att-unitCode="vals.get('quantity_unit_code')" t-out="vals.get('quantity')"/>
            <cbc:LineExtensionAmount t-att-currencyID="vals.get('currency_id')" t-out="vals.get('line_extension_amount')"/>
            <cac:AllowanceCharge t-if="vals.get('allowance_charge_vals')">
                <t t-call="purchase_edi_ubl_bis3.bis3_AllowanceChargeType">
                    <t t-set="vals" t-value="vals.get('allowance_charge_vals')"/>
                </t>
            </cac:AllowanceCharge>
            <cac:Price>
                <t t-set="price_vals" t-value="vals.get('price')"/>
                <cbc:PriceAmount t-att-currencyID="price_vals.get('currency_id')" t-out="price_vals.get('price_amount')"/>
                <cbc:BaseQuantity t-att-unitCode="price_vals.get('base_quantity_unit_code')" t-out="price_vals.get('base_quantity')"/>
            </cac:Price>
            <cac:Item>
                <t t-call="purchase_edi_ubl_bis3.bis3_ItemType">
                    <t t-set="vals" t-value="vals.get('item')"/>
                </t>
            </cac:Item>
        </t>
    </t>


    