|
{{ $empresa->razon_social }}
RIF: {{ $empresa->rif }}
{{ $empresa->direccion }}
Tel: {{ $empresa->telefono }}
@if ($empresa->actividad_economica)
Actividad economica: {{ $empresa->actividad_economica }} (Cod. {{ $empresa->actividad_economica_codigo }})
@endif
|
{{ match($documento->tipo) {
'factura' => 'Factura',
'nota_credito' => 'Nota de Credito',
'nota_debito' => 'Nota de Debito',
default => $documento->tipo,
} }}
N° {{ $documento->numero_documento }}
N° de Control: {{ $documento->numero_control }}
Fecha: {{ $documento->fecha->format('d/m/Y') }}
|
Motivo: {{ $documento->motivo_anulacion }}
@endif @if ($documento->documentoReferencia)Documento afectado: {{ ucfirst(str_replace('_',' ',$documento->documentoReferencia->tipo)) }} N° {{ $documento->documentoReferencia->numero_documento }} (Control {{ $documento->documentoReferencia->numero_control }}) del {{ $documento->documentoReferencia->fecha->format('d/m/Y') }}
@endif| Cliente: {{ $documento->cliente->razon_social }} | RIF/CI: {{ $documento->cliente->rif }} |
| Direccion: {{ $documento->cliente->direccion }} | Telefono: {{ $documento->cliente->telefono }} |
| Condicion de pago: {{ ucfirst($documento->condicion_pago) }}{{ $documento->condicion_pago === 'credito' ? " ({$documento->dias_credito} dias)" : '' }} | Moneda: {{ $documento->moneda_code }} (Tasa: {{ number_format($documento->tasa_cambio, 4) }}) |
| Descripcion | Cantidad | Precio Unit. | % IVA | Subtotal | Total |
|---|---|---|---|---|---|
| {{ $item->descripcion }} | {{ number_format($item->cantidad, 2) }} | {{ number_format($item->precio_unitario, 2) }} | {{ number_format($item->porcentaje_iva, 2) }} | {{ number_format($item->subtotal, 2) }} | {{ number_format($item->total_linea, 2) }} |
| Monto exento: | {{ number_format($documento->subtotal_exento, 2) }} |
| Base imponible general: | {{ number_format($documento->subtotal_gravado_general, 2) }} |
| Base imponible adicional ({{ number_format($documento->porcentaje_adicional, 2) }}%): | {{ number_format($documento->subtotal_gravado_adicional, 2) }} |
| IVA general (16%): | {{ number_format($documento->iva_general, 2) }} |
| IVA adicional: | {{ number_format($documento->iva_adicional, 2) }} |
| TOTAL {{ $documento->moneda_code }}: | {{ number_format($documento->total, 2) }} |
| Retencion IVA: | -{{ number_format($documento->retencion_iva_monto, 2) }} |
| Retencion ISLR: | -{{ number_format($documento->retencion_islr_monto, 2) }} |
| NETO A PAGAR: | {{ number_format($documento->total - $documento->retencion_iva_monto - $documento->retencion_islr_monto, 2) }} |