{"en_US": "<t t-name=\"account_edi_ubl_cii.ubl_20_InvoiceLineType\">\n        <t xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n            <cbc:ID t-out=\"vals.get('id')\"/>\n            <cbc:Note t-out=\"vals.get('note')\"/>\n            <cbc:InvoicedQuantity t-if=\"invoice.move_type == 'out_invoice'\" t-att=\"vals.get('invoiced_quantity_attrs', {})\" t-out=\"vals.get('invoiced_quantity')\"/>\n            <cbc:CreditedQuantity t-if=\"invoice.move_type == 'out_refund'\" t-att=\"vals.get('invoiced_quantity_attrs', {})\" t-out=\"vals.get('invoiced_quantity')\"/>\n            <cbc:LineExtensionAmount t-att-currencyID=\"vals['currency'].name\" t-out=\"format_float(vals.get('line_extension_amount'), vals.get('currency_dp'))\"/>\n            <!-- AllowanceCharge is only present for InvoiceLine, not for CreditNoteLine in UBL 2.0\n            (they are both present in UBL 2.1 and next)\n             http://www.datypic.com/sc/ubl20/e-cac_CreditNoteLine.html\n             http://www.datypic.com/sc/ubl20/e-cac_InvoiceLine.html\n             -->\n            <t t-if=\"invoice.move_type == 'out_invoice'\">\n                <t t-foreach=\"vals.get('allowance_charge_vals', [])\" t-as=\"foreach_vals\">\n                    <cac:AllowanceCharge>\n                        <t t-call=\"{{AllowanceChargeType_template}}\">\n                            <t t-set=\"vals\" t-value=\"foreach_vals\"/>\n                        </t>\n                    </cac:AllowanceCharge>\n                </t>\n            </t>\n            <t t-foreach=\"vals.get('tax_total_vals', [])\" t-as=\"foreach_vals\">\n                <cac:TaxTotal>\n                    <t t-call=\"{{TaxTotalType_template}}\">\n                        <t t-set=\"vals\" t-value=\"foreach_vals\"/>\n                    </t>\n                </cac:TaxTotal>\n            </t>\n            <cac:Item>\n                <t t-set=\"item_vals\" t-value=\"vals.get('item_vals', {})\"/>\n                <cbc:Description t-out=\"item_vals.get('description')\"/>\n                <cbc:Name t-out=\"item_vals.get('name')\"/>\n                <cac:SellersItemIdentification>\n                    <cbc:ID t-out=\"item_vals.get('sellers_item_identification_vals', {}).get('id')\"/>\n                </cac:SellersItemIdentification>\n                <t t-foreach=\"item_vals.get('classified_tax_category_vals', [])\" t-as=\"foreach_vals\">\n                    <cac:ClassifiedTaxCategory>\n                        <t t-call=\"{{TaxCategoryType_template}}\">\n                            <t t-set=\"vals\" t-value=\"foreach_vals\"/>\n                        </t>\n                    </cac:ClassifiedTaxCategory>\n                </t>\n            </cac:Item>\n            <cac:Price>\n                <t t-set=\"vals\" t-value=\"vals.get('price_vals', {})\"/>\n                <cbc:PriceAmount t-att-currencyID=\"vals['currency'].name\" t-out=\"vals.get('price_amount')\"/>\n                <!-- nbr of item units to which the price applies), i.e.: 1 Dozen = 12 units, not mandatory -->\n                <cbc:BaseQuantity t-att=\"vals.get('base_quantity_attrs', {})\" t-out=\"vals.get('base_quantity')\"/>\n            </cac:Price>\n        </t>\n    </t>"}