{{-- --}} Document
{{--

{{@$liquidacion}} **

--}}
{{ $documento['razon_social'] }}
Razon Social: {{ $documento['razon_social'] }}
RUC: {{ $documento['ruc'] }}
Dir. Matriz: {{ $documento['direccion_matriz'] }}
{{--
Dir Sucursal: {{ $sucursal->direccion }}
--}} @if ($documento['contribuyenteEspecial'] and $documento['contribuyenteEspecial'] != 'null')
Contribuyente Especial Resolución Nro. NAC-{{ $documento['contribuyenteEspecial'] }}
@endif
OBLIGADO A LLEVAR CONTABILIDAD: {{ $documento['obligado_contabilidad'] }}
@if ($documento['agenteRetencion'] && $documento['agenteRetencion'] != 'null')
Agente Retención Resolución No. {{ $documento['agenteRetencion'] }}
@endif
{{ $documento['regimen'] }}
@if ($documento['codigoArtesano'] and $documento['codigoArtesano'] != 'null')
Codigo de Artesano: {{ $documento['codigoArtesano'] }}
@endif @if (@$documento['telefono'] and $documento['telefono'] != 'null')
Teléfono: {{ $documento['telefono'] }}
@endif
Correo: @if (@$documento['email'] and $documento['email'] != 'null' and $documento['email'] != 'undefined') {{ $documento['email'] }} @endif
@if ($logo != null && $logo != 'null')
@elseif($logo != null && $logo != 'null')
@else
@endif

RETENCIÓN: {{ $documento['numero_factura'] }}

Número de autorizacion:
{{ $documento['clave_acceso'] }}
FECHA Y HORA DE AUTORIZACIÓN:
@if ($documento['status'] == 'AUTORIZADO')
{{ $documento['fecha_autorizacion'] }}
@endif
AMBIENTE: {{ $documento['ambiente'] }}
EMISIÓN: {{ $documento['emision'] }}
CLAVE ACCESO
{{ $documento['clave_acceso'] }}
{{--
CLAVE DE ACCESO:
{{ $retencion->claveAcceso }}
--}}
@if ($documento['razon_social_cliente'])
Razon Social: {{ $documento['razon_social_cliente'] }}
Identificación: {{ $documento['ruc_cliente'] }}
Dirección: {{ $documento['direccion_cliente'] }}
Teléfono: {{ @$documento['contacto_cliente'] }}
Correo: {{ @$documento['email_cliente'] }}
Fecha de emisión: {{ @$documento['fecha_emision'] }}
@else
Razon Social: Consumidor Final
Identificación: 9999999999999
@endif
@foreach ($detalle as $r) @endforeach
Comprobante Número F. emisión Periodo Fiscal Código Base imp. Impuesto % Valor
@if (@$r['comprobante'] == 'Factura') Factura @else Liquidación @endif {{ $r['numero_comprobante'] }} {{ \carbon\carbon::parse($r['fecha_emision'])->format('d/m/Y') }} {{ \Carbon\Carbon::parse($r['fecha_emision'])->format('m/Y') }} {{ $r['codigo'] }} {{ number_format($r['base_imponible'], 2) }} {{ $r['impuesto'] }} {{ $r['porcentaje'] }} {{ $r['valor_retenido'] }}