NOTA CREDITO DE LA FACTURA ELECTRONICA DE VENTA No

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

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

{{$user->name}}
@if(isset($request->establishment_name)) {{$request->establishment_name}}
@endif
@if(isset($request->ivaresponsable)) @if($request->ivaresponsable != $company->type_regime->name) NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}} - {{$request->ivaresponsable}} - {{$company->type_liability->name}}
@else NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}} - {{$company->type_liability->name}}
@endif @else NIT: {{$company->identification_number}} - {{$company->type_regime->name}} - {{$company->type_liability->name}}
@endif @if(isset($request->nombretipodocid)) Tipo Documento ID: {{$request->nombretipodocid}}
@endif @if(isset($request->tarifaica) && $request->tarifaica != '100') TARIFA ICA: {{$request->tarifaica}}% @endif @if(isset($request->tarifaica) && isset($request->actividadeconomica)) - @endif @if(isset($request->actividadeconomica)) ACTIVIDAD ECONOMICA: {{$request->actividadeconomica}}
@else
@endif REPRESENTACION GRAFICA DE NOTA CREDITO ELECTRONICA
{{$company->address}} - {{$company->municipality->name}} - {{$company->country->name}} Telefono - {{$company->phone}}
E-mail: {{$user->email}}
logo


CC o NIT: {{$customer->company->identification_number}}-{{$request->customer['dv'] ?? NULL}}
Cliente: {{$customer->name}}
Regimen: {{$customer->company->type_regime->name}}
Obligación: {{$customer->company->type_liability->name}}
Dirección: {{$customer->company->address}}
Ciudad: {{$customer->company->municipality->name}} - {{$customer->company->country->name}}
Telefono: {{$customer->company->phone}}
Email: {{$customer->email}}

Referencia: {{$billing_reference->number}} - Fecha: {{$billing_reference->issue_date}}
CUFE: {{$billing_reference->uuid}}

@foreach($request['credit_note_lines'] as $item) @inject('um', 'App\UnitMeasure') @if(isset($item['tax_totals'][0]['tax_amount'])) @else @endif @if(isset($item['allowance_charges'])) @else @endif @endforeach
# Código Descripcion Cantidad UM Val. Unit IVA/IC Dcto Val. Item
{{$ItemNro}} {{$item['code']}} {{$item['description']}} {{number_format($item['invoiced_quantity'], 2)}} {{$um->findOrFail($item['unit_measure_id'])['name']}} {{number_format($item['price_amount'], 2)}}{{number_format($item['tax_totals'][0]['tax_amount'], 2)}}{{number_format(0, 2)}}{{number_format($item['allowance_charges'][0]['amount'], 2)}}{{number_format("0", 2)}}{{number_format($item['invoiced_quantity'] * $item['price_amount'], 2)}}
Impuestos Retenciones Totales
@if(isset($request->tax_totals)) @foreach($request->tax_totals as $item) @inject('tax', 'App\Tax') @endforeach @else @endif
Tipo Base Porcentaje Valor
{{$tax->findOrFail($item['tax_id'])['name']}} {{number_format($item['taxable_amount'], 2)}} {{number_format($item['percent'], 2)}}% {{number_format($item['tax_amount'], 2)}}
@if(isset($withHoldingTaxTotal)) @foreach($withHoldingTaxTotal as $item) @inject('tax', 'App\Tax') @endforeach @endif
Tipo Base Porcentaje Valor
{{$tax->findOrFail($item['tax_id'])['name']}} {{number_format($item['taxable_amount'], 2)}} {{number_format($item['percent'], 2)}}% {{number_format($item['tax_amount'], 2)}}
Concepto Valor
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 Nota: {{number_format($request->legal_monetary_totals['payable_amount'] + $request->legal_monetary_totals['allowance_total_amount'], 2)}}
@inject('Varios', 'App\Custom\NumberSpellOut')

NOTAS:


{{$notes}}


SON: {{$Varios->convertir(round($request->legal_monetary_totals['payable_amount'] + $request->legal_monetary_totals['allowance_total_amount'], 2))}} M/CTE*********.

CUALQUIER INQUIETUD SOBRE ESTE DOCUMENTO AL TELEFONO {{$company->phone}} o al e-mail {{$user->email}}

FIRMA ACEPTACIÓN:


CC:


FECHA:



Nota Credito No: {{$resolution->prefix}} - {{$request->number}} - Fecha y Hora de Generacion: {{$date}} - {{$time}}
CUDE: {{$cufecude}}