@php $_logoPath = public_path('img/logo1.png'); $logoSrc = file_exists($_logoPath) ? 'data:image/png;base64,' . base64_encode(file_get_contents($_logoPath)) : ''; @endphp
@if($factura->estado === 'anulada')|
@if($logoSrc) |
Sabores de Sol by MAYBELL S.A.C.
RUC: 20612998214 | Comercial
Carretera Panamericana Norte Km 56 - CP San Isidro - Motupe - Lambayeque
{{ $factura->tipo === 'factura' ? 'FACTURA ELECTRÓNICA' : 'BOLETA DE VENTA ELECTRÓNICA' }}
|
{{ $factura->tipo === 'factura' ? 'Serie F001' : 'Serie B001' }} {{ $factura->numero }} |
| Fecha de Emisión | {{ $factura->fecha_emision->format('d/m/Y') }} | Fecha de Vencimiento | {{ $factura->fecha_vencimiento?->format('d/m/Y') ?? '—' }} | ||
| Moneda | {{ $factura->moneda === 'PEN' ? 'SOLES (PEN)' : 'DÓLARES (USD)' }} | @if($factura->tipo_cambio)Tipo de Cambio | S/ {{ number_format($factura->tipo_cambio, 3) }} | @else@endif | |
| Pedido / Orden | {{ $factura->pedido->numero }} | ||||
| {{ \App\Models\FacturaVenta::$TIPO_DOC_SUNAT[$factura->cliente_tipo_doc] ?? 'Documento' }} | {{ $factura->cliente_num_doc }} | Razón Social / Nombre | {{ $factura->cliente_razon_social }} |
| Dirección | {{ $factura->cliente_direccion ?? '—' }} | ||
| # | Descripción | Unidad | Cantidad | P. Unit. (sin IGV) | Afectación | V. Venta | IGV | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $item->orden }} | {{ $item->descripcion }} | {{ $item->unidad }} | {{ number_format($item->cantidad, 3) }} | {{ number_format($item->precio_unitario, 4) }} | @php $afecLabel = ['10'=>'Gravado','20'=>'Exonerado','30'=>'Inafecto']; @endphp {{ $afecLabel[$item->tipo_afectacion] ?? $item->tipo_afectacion }} | {{ number_format($item->subtotal, 2) }} | {{ number_format($item->igv_item, 2) }} | {{ number_format($item->total_item, 2) }} |
| OP. GRAVADAS | {{ number_format($factura->subtotal, 2) }} | |||||||
| IGV (18%) | {{ number_format($factura->igv, 2) }} | |||||||
| IMPORTE TOTAL | {{ $factura->moneda == 'USD' ? 'US$' : 'S/' }} {{ number_format($factura->total, 2) }} | |||||||
Representación impresa de la {{ $factura->tipo === 'factura' ? 'FACTURA' : 'BOLETA DE VENTA' }} ELECTRÓNICA.
Emitida por SABORES MAYBELL S.A.C. | Sistema ERP MAYBELL v1.0
Documento electrónico generado conforme a la legislación tributaria peruana.
Consulte su comprobante en: www.sunat.gob.pe