<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <template id="report_invoice_document" inherit_id="account.report_invoice_document">
        <xpath expr="//div[@t-if='o.partner_id.vat']" position="after">
            <div
                t-if="not o.partner_id.vat and o.partner_id.aeat_identification_type"
                class="mt16"
            >
                <t><span t-field="o.partner_id.aeat_identification_type" /></t>: <span
                    t-field="o.partner_id.aeat_identification"
                />
            </div>
        </xpath>
    </template>
</odoo>
