|
|
|
{{$user->name}} @if(isset($request->establishment_name) && $request->establishment_name != 'Oficina Principal') {{$request->establishment_name}} @endif NIT: {{$company->identification_number}}-{{$company->dv}} - Dirección: {{$company->address}} Tel: {{$company->phone}} - Correo: {{$user->email}} |
|
Resolución de Facturación Electrónica No. {{$resolution->resolution}} de {{$resolution->resolution_date}} Prefijo: {{$resolution->prefix}}, Rango {{$resolution->from}} al {{$resolution->to}} Vigencia Desde: {{$resolution->date_from}} Hasta: {{$resolution->date_to}} |
|
FACTURA ELECTRONICA DE VENTA {{$resolution->prefix}} - {{$request->number}} Fecha Emisión: {{$date}} Hora: {{$time}} |
|
CC o NIT: {{$customer->company->identification_number}}-{{$request->customer['dv'] ?? NULL}} Cliente: {{$customer->name}} Régimen: {{$customer->company->type_regime->name}} Obligación: {{$customer->company->type_liability->name}} Dirección: {{$customer->company->address}} Ciudad: @if($customer->company->country->id == 46) {{$customer->company->municipality->name}} - {{$customer->company->country->name}} @else {{$customer->company->municipality_name}} - {{$customer->company->state_name}} - {{$customer->company->country->name}} @endif Teléfono: {{$customer->company->phone}} Email: {{$customer->email}} |
|
Forma de Pago: {{$paymentForm[0]->name}}
Plazo: {{$paymentForm[0]->duration_measure}} Días Fecha Vencimiento: {{$paymentForm[0]->payment_due_date}} |
| Descripción | Cantidad | Val. Unit | IVA | Subtotal |
|---|---|---|---|---|
| @inject('um', 'App\Models\UnitMeasure') {{$ItemNro}} | {{$item['description']}} @if(isset($item['notes'])) | {{$item['notes']}} @endif @if($item['description'] != 'Administración' && $item['description'] != 'Imprevisto' && $item['description'] != 'Utilidad') | {{ $um->findOrFail($item['unit_measure_id'])['name'] }}: {{ number_format($item['invoiced_quantity'], 2) }} @endif | @if($item['description'] != 'Administración' && $item['description'] != 'Imprevisto' && $item['description'] != 'Utilidad') {{ number_format($item['invoiced_quantity'], 2) }} @else - @endif | @if($item['description'] == 'Administración' || $item['description'] == 'Imprevisto' || $item['description'] == 'Utilidad') {{ number_format($item['price_amount'], 2) }} @else @if(isset($item['allowance_charges'])) {{ number_format(($item['line_extension_amount'] + $item['allowance_charges'][0]['amount']) / $item['invoiced_quantity'], 2) }} @else {{ number_format($item['line_extension_amount'] / $item['invoiced_quantity'], 2) }} @endif @endif | @if(isset($item['tax_totals'])) @if(isset($item['tax_totals'][0]['tax_amount'])) {{ number_format($item['tax_totals'][0]['tax_amount'] / ($item['invoiced_quantity'] ?: 1), 2) }} @else 0.00 @endif @else - @endif | @if($item['description'] == 'Administración' || $item['description'] == 'Imprevisto' || $item['description'] == 'Utilidad') {{ number_format($item['invoiced_quantity'] * $item['price_amount'], 2) }} @else @if(isset($item['tax_totals'])) {{ number_format($item['line_extension_amount'] + $item['tax_totals'][0]['tax_amount'], 2) }} @else {{ number_format($item['line_extension_amount'], 2) }} @endif @endif |
| Nro Lineas: | {{$ItemNro}} |
| Base: | {{ number_format($request->legal_monetary_totals['line_extension_amount'], 2) }} |
| Impuestos: | {{ number_format($TotalImpuestos, 2) }} |
| Retenciones: | {{ number_format($TotalRetenciones, 2) }} |
| Descuentos: | {{ number_format($request->legal_monetary_totals['allowance_total_amount'], 2) }} |
| Total a Pagar: | {{ number_format($request->legal_monetary_totals['payable_amount'] - $TotalRetenciones, 2) }} |
SON: {{$Varios->convertir($totalAmount, $idcurrency)}} M/CTE*********.
NOTAS:
{{$notes}}
Factura No: {{$resolution->prefix}} - {{$request->number}}
Fecha y Hora de Generación: {{$date}} - {{$time}}
CUFE: {{$cufecude}}
{{$request->foot_note}}
@endisset