<?xml version="1.0"?>
<t t-name="purchase_edi_ubl_bis3.bis3_AllowanceChargeType">
        <t xmlns="urn:oasis:names:specification:ubl:schema:xsd:Order-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
            <cbc:ChargeIndicator t-out="vals.get('charge_indicator')"/>
            <cbc:AllowanceChargeReasonCode t-out="vals.get('allowance_charge_reason_code')"/>
            <cbc:AllowanceChargeReason t-out="vals.get('allowance_charge_reason')"/>
            <cbc:MultiplierFactorNumeric t-out="vals.get('multiplier_factor')"/>
            <cbc:Amount t-att-currencyID="vals.get('currency_id')" t-out="format_float(vals.get('amount'), vals.get('currency_dp'))"/>
            <cbc:BaseAmount t-att-currencyID="vals.get('currency_id')" t-out="format_float(vals.get('base_amount'), vals.get('currency_dp'))"/>
        </t>
    </t>

    