logo

@if(isset($request->ivaresponsable)) @if($request->ivaresponsable != $company->type_regime->name) NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}} - {{$request->ivaresponsable}}
@else NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}}
@endif @else NIT: {{$company->identification_number}} - {{$company->type_regime->name}}
@endif @if(isset($request->nombretipodocid)) Tipo Documento ID: {{$request->nombretipodocid}}
@endif @if(isset($request->tarifaica)) TARIFA ICA: {{$request->tarifaica}}% @endif @if(isset($request->tarifaica) && isset($request->actividadeconomica)) - @endif @if(isset($request->actividadeconomica)) ACTIVIDAD ECONOMICA: {{$request->actividadeconomica}}
@else
@endif Resolucion de Facturación Electronica No. {{$resolution->resolution}}
de {{$resolution->resolution_date}}, Rango {{$resolution->from}} Al {{$resolution->to}} - Vigencia Desde: {{$resolution->date_from}} Hasta: {{$resolution->date_to}}
REPRESENTACION GRAFICA DE FACTURA ELECTRONICA
{{$company->address}} - {{$company->municipality->name}} - {{$company->country->name}} Telefono - {{$company->phone}}
E-mail: {{$user->email}}

FACTURA ELECTRONICA DE VENTA No

{{$resolution->prefix}}{{$request->number}}

Fecha Validacion DIAN: {{$date}}
Hora Validacion DIAN: {{$time}}


CC o NIT:
Cliente:
Regimen:
Dirección:
Ciudad:
Telefono:
E-mail:

{{$customer->company->identification_number}}-{{$request->customer['dv'] ?? NULL}}
{{$customer->name}}
{{$customer->company->type_regime->name}}
{{$customer->company->address}}
{{$customer->company->municipality->name}} - {{$customer->company->country->name}}
{{$customer->company->phone}}
{{$customer->email}}

Forma de Pago:
Medio de Pago:
Plazo Para Pagar:
Fecha Vencimiento:

{{$paymentForm->name}}
{{$paymentForm->nameMethod}}
{{$paymentForm->duration_measure}} Dias
{{$paymentForm->payment_due_date}}

@foreach($request['invoice_lines'] as $item) @inject('um', 'App\UnitMeasure') @if($item['description'] == 'Administración' or $item['description'] == 'Imprevisto' or $item['description'] == 'Utilidad') @else @endif @endforeach
Código Descripcion Cantidad Val. Unit Val. Item
{{$item['code']}} {{$item['description']}} {{number_format($item['price_amount'], 0)}} {{number_format($item['invoiced_quantity'] * $item['price_amount'], 0)}}{{$item['code']}} {{$item['description']}} {{number_format($item['invoiced_quantity'], 0)}} {{number_format($item['price_amount'], 0)}} {{number_format($item['invoiced_quantity'] * $item['price_amount'], 0)}}
Discriminación de IVA Totales
@if(isset($request->tax_totals)) @foreach($request->tax_totals as $item) @inject('tax', 'App\Tax') @endforeach @endif
Tipo Base Porcentaje Valor
{{$tax->findOrFail($item['tax_id'])['name']}} {{number_format($item['taxable_amount'], 0)}} {{number_format($item['percent'], 0)}}% {{number_format($item['tax_amount'], 0)}}
Base: {{number_format($request->legal_monetary_totals['line_extension_amount'], 0)}}
Impuestos: {{number_format($request->legal_monetary_totals['tax_inclusive_amount'] - $request->legal_monetary_totals['tax_exclusive_amount'], 0)}}
Retenciones: {{number_format($TotalRetenciones, 0)}}
Total Factura: {{number_format($request->legal_monetary_totals['payable_amount'] + $request->legal_monetary_totals['allowance_total_amount'], 0)}}
@inject('Varios', 'App\Custom\Conversor') SON: {{$Varios->convertir($request->legal_monetary_totals['payable_amount'])}}*********.

INFORME EL PAGO AL TELEFONO {{$company->phone}} o al e-mail {{$user->email}}
Esta factura se asimila en todos sus efectos legales a un titulo valor según art. 1285 del código de comercio.
Generado e impreso por: SIFE Nit: {{$company->identification_number}}-{{$company->dv}}


FIRMA ACEPTACIÓN:

CC:

FECHA:

Factura No: {{$request->number}} - Fecha: {{$date}}
CUFE: {{$cufecude}}