@php $rate = $retention->conversion ?: 1; $invoiceTotal = $retention->invoice_total * $rate; $exemptAmount = $retention->exempt_amount * $rate; $taxableBase = $retention->taxable_base * $rate; $islrAmount = $retention->islr_amount * $rate; $sustraendo = ($retention->sustraendo ?: 0) * $rate; @endphp
@if($retention->admin && $retention->admin->logo) @php $path = public_path('storage/logos/'.$retention->admin->logo); $base64 = ''; if (file_exists($path)) { $type = pathinfo($path, PATHINFO_EXTENSION); $data = file_get_contents($path); $base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); } @endphp @if($base64) Logo @endif @endif
{{ $retention->admin->name ?? '' }}
{{ $retention->admin->address ?? '' }}
Rif: {{ $retention->admin->document ?? '' }}
FECHA
{{ \Carbon\Carbon::parse($retention->issued_at ?? $retention->created_at)->format('d/m/Y') }}
N° RETENCION
{{ $retention->number_format }}
COMPROBANTE DE RETENCION DE IMPUESTO SOBRE LA RENTA
Según Decreto 1.808 de 12/05/1997
NOMBRE O RAZON SOCIAL DEL SUJETO RETENIDO {{ $retention->client->name ?? '' }}
RIF. SUJETO RETENIDO {{ $retention->client->document ?? '' }}
DIRECCION FISCAL DEL SUJETO RETENIDO {{ $retention->client->address ?? '' }}
Fecha de Factura Factura Numero Numero de Control Concepto de abonado en cuenta Cantidad Pagada Cantidad Excenta Cantidad Obj. de ret. Porcentaje % Sustraendo Impuesto retenido
{{ \Carbon\Carbon::parse($retention->bill_date ?? $retention->created_at)->format('d/m/Y') }} {{ $retention->bill_number }} {{ $retention->control_number ?? '-' }} {{ $retention->concept == 1 ? 'PRODUCTOS' : 'SERVICIOS' }} {{ number_format($invoiceTotal, 2, ',', '.') }} {{ number_format($exemptAmount, 2, ',', '.') }} {{ number_format($taxableBase, 2, ',', '.') }} {{ number_format($retention->islr_rate, 2, ',', '') }}% {{ number_format($sustraendo, 2, ',', '.') }} {{ number_format($islrAmount, 2, ',', '.') }}
TOTAL IMPUESTO RETENIDO {{ number_format($islrAmount, 2, ',', '.') }}

Firma y Sello del
Agente de Retención

RECIBIDO POR:




Firma y Sello

R.I.F: