<?xml version="1.0"?>
<t t-name="account_edi_ubl_cii.ubl_20_AddressType">
        <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:AddressTypeCode t-out="vals.get('address_type_code')"/>
            <cbc:AddressFormatCode t-att="vals.get('address_format_code_attrs', {})" t-out="vals.get('address_format_code')"/>
            <cbc:StreetName t-out="vals.get('street_name')"/>
            <cbc:BuildingNumber t-out="vals.get('building_number')"/>
            <cbc:PlotIdentification t-out="vals.get('plot_identification')"/>
            <cbc:CitySubdivisionName t-out="vals.get('city_subdivision_name ')"/>
            <cbc:AdditionalStreetName t-out="vals.get('additional_street_name')"/>
            <cbc:CityName t-out="vals.get('city_name')"/>
            <cbc:PostalZone t-out="vals.get('postal_zone')"/>
            <cbc:CountrySubentity t-out="vals.get('country_subentity')"/>
            <cbc:CountrySubentityCode t-out="vals.get('country_subentity_code')"/>
            <cac:Country>
                <t t-set="country_vals" t-value="vals.get('country_vals', {})"/>
                <cbc:IdentificationCode t-att="country_vals.get('identification_code_attrs', {})" t-out="country_vals.get('identification_code')"/>
                <cbc:Name t-att="country_vals.get('name_attrs')" t-out="country_vals.get('name')"/>
            </cac:Country>
        </t>
    </t>

    