{% from '_macros.html' import td_eur, td_source, td_source_short, copy_btn, verify_btn, casilla_badge, pluralize, cell_amount, casilla_warnings_block, note_block, section_h2, empty_state %} {{ section_h2(casilla, 'Retenciones en el extranjero') }} {{ note_block(casilla) }} {{ casilla_warnings_block(casilla) }}
| Activo | Rentas incluidas en la base del ahorro (datos de {{ casilla_badge(29) }}) |
Impuesto satisfecho en el extranjero |
|---|---|---|
| {{ grupo.ticker }} | {% set rba = grupo.get('rentas_base_ahorro_eur') %}{% if rba is not none %} {{ rba | format_num }} €{{ copy_btn(rba) }} {% else %}—{% endif %} | {% if grupo.total_eur is not none %} {{ grupo.total_eur | format_num }} €{{ copy_btn(grupo.total_eur) }} {% else %}—{% endif %} |
| Total | {% set t = casilla.extras.get('total_rentas_base_ahorro') %} {% if t is not none %}{{ cell_amount(t, button='verify') }}{% else %}—{% endif %} | {% if casilla.valor is not none %}{{ cell_amount(casilla.valor, casilla=588, button='verify') }}{% else %}—{% endif %} |
| # | Fecha | Tipo | Importe USD | Tipo de Cambio | Importe EUR | Origen |
|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ e.get('fecha', '') }} | {{ e.get('tipo', '') }} | {{ e.get('importe_usd', '') }} | — | {{ item.error }} | {{ td_source_short(item.fuente, multi=not single_src) }}|
| {{ loop.index }} | {{ e.get('fecha', '') }} | {{ e.get('tipo', '') }} | {{ e.get('importe_usd', '') }} | — | {{ item.aviso }} | {{ td_source_short(item.fuente, multi=not single_src) }}|
| {{ loop.index }} | {{ e.get('fecha', '') }} | {{ e.get('tipo', '') }} | {{ e.get('importe_usd', '') }} | {{ e.get('tipo_cambio', '') }} | {{ td_eur(item.importe_eur, color=True) }} {{ td_source_short(item.fuente, multi=not single_src) }}