{{ $dte['emisor']['razon_social'] ?? 'Emisor' }}

RUT: {{ $dte['emisor']['rut'] ?? '-' }}
{{ $dte['emisor']['giro'] ?? '' }}
{{ $dte['emisor']['direccion'] ?? '' }}
{{ trim(($dte['emisor']['comuna'] ?? '') . ' ' . ($dte['emisor']['ciudad'] ?? '')) }}
@if (!empty($dte['sucursal_sii']))
S.I.I. - {{ $dte['sucursal_sii'] }}
@endif
COPIA {{ strtoupper($copyLabel) }}

{{ strtoupper($dte['tipo_dte_nombre']) }}

FOLIO {{ $dte['folio'] }}
Estado: {{ strtoupper($dte['estado_sii'] ?? 'pendiente') }}
@if (!empty($dte['muestra_receptor'])) @endif @if (!empty($dte['id_doc']['ind_traslado_glosa']) || !empty($dte['id_doc']['tipo_despacho_glosa'])) @endif @if (!empty($dte['transporte']['direccion_destino']) || !empty($dte['transporte']['patente']) || !empty($dte['transporte']['chofer']['nombre'])) @endif
Fecha emision {{ $dte['fecha_emision'] }} Documento {{ $dte['tipo_dte_nombre'] }}
Receptor {{ $dte['receptor']['razon_social'] ?? 'Consumidor final' }} RUT receptor {{ $dte['receptor']['rut'] ?? '66666666-6' }}
Giro receptor {{ $dte['receptor']['giro'] ?? '' }} Direccion receptor {{ trim(($dte['receptor']['direccion'] ?? '') . ' ' . ($dte['receptor']['comuna'] ?? '') . ' ' . ($dte['receptor']['ciudad'] ?? '')) }}
Tipo operacion {{ $dte['id_doc']['ind_traslado_glosa'] ?? '' }} Tipo despacho {{ $dte['id_doc']['tipo_despacho_glosa'] ?? '' }}
Destino {{ trim(($dte['transporte']['direccion_destino'] ?? '') . ' ' . ($dte['transporte']['comuna_destino'] ?? '') . ' ' . ($dte['transporte']['ciudad_destino'] ?? '')) }} Transporte {{ $dte['transporte']['rut_transporte'] ?? '' }} @if (!empty($dte['transporte']['patente'])) / {{ $dte['transporte']['patente'] }} @endif @if (!empty($dte['transporte']['chofer']['nombre'])) / {{ $dte['transporte']['chofer']['nombre'] }} @endif

Detalle

@foreach ($dte['items'] as $index => $item) @php $cantidad = (float) ($item['cantidad'] ?? 1); $precio = (float) ($item['precio'] ?? 0); $monto = (int) round($cantidad * $precio); @endphp @endforeach
# Item Cant. Precio Monto
{{ $index + 1 }} {{ $item['nombre'] ?? 'ITEM' }} @if (!empty($item['descripcion']))
{{ $item['descripcion'] }}
@endif
{{ rtrim(rtrim(number_format($cantidad, 2, '.', ''), '0'), '.') }} {{ number_format($precio, 0, ',', '.') }} {{ number_format($monto, 0, ',', '.') }}
@if (!empty($dte['referencias']))

Referencias

@foreach ($dte['referencias'] as $referencia) @endforeach
Tipo Folio Fecha CodRef Razon
{{ $referencia['tipo_doc_ref'] ?? '' }} {{ $referencia['folio_ref'] ?? '' }} {{ $referencia['fecha_ref'] ?? '' }} {{ $referencia['cod_ref'] ?? '' }} {{ $referencia['razon_ref'] ?? '' }}
@endif
Timbre Electronico S.I.I.
Representacion grafica generada desde el TED real del DTE emitido.
@if (!empty($tedBarcodeDataUri)) Timbre Electronico TED en formato PDF417 @endif
Verifique documento en: www.sii.cl
@if (!empty($showAcuseRecibo))
Acuse de recibo
Nombre:
RUT:
Fecha:
Recinto:
Firma:
El acuse de recibo acredita la recepcion de mercaderias o servicios segun la Ley 19.983.
@endif
@if (!empty($dte['desglosa_iva'])) @endif @if (!empty($dte['desglosa_iva'])) @endif
Neto {{ number_format((int) ($dte['totales']['neto'] ?? 0), 0, ',', '.') }}
Exento {{ number_format((int) ($dte['totales']['exento'] ?? 0), 0, ',', '.') }}
IVA {{ number_format((int) ($dte['totales']['iva'] ?? 0), 0, ',', '.') }}
Total {{ number_format((int) ($dte['totales']['total'] ?? 0), 0, ',', '.') }}
TED en texto
{{ $dte['ted_texto'] ?? 'TED no disponible' }}
@if (!empty($dte['cedible_label']))
{{ $dte['cedible_label'] }}
@endif