NOTA DEBITO ELECTRONICA No

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

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

{{$user->name}}
@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 REPRESENTACION GRAFICA DE NOTA DEBITO ELECTRONICA
{{$company->address}} - {{$company->municipality->name}} - {{$company->country->name}} Telefono - {{$company->phone}}
E-mail: {{$user->email}}
logo


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}}



@foreach($request['debit_note_lines'] as $item) @inject('um', 'App\UnitMeasure') @if(isset($item['allowance_charges'])) @else @endif @endforeach
Código Descripcion Cantidad UM Val. Unit IVA/IC Dcto Val. Item
{{$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($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 @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
Base: {{number_format($request->requested_monetary_totals['line_extension_amount'], 2)}}
Impuestos: {{number_format($request->requested_monetary_totals['tax_inclusive_amount'] - $request->requested_monetary_totals['tax_exclusive_amount'], 2)}}
Retenciones: {{number_format($TotalRetenciones, 2)}}
Descuentos: {{number_format($request->requested_monetary_totals['allowance_total_amount'], 2)}}
Total Factura: {{number_format($request->requested_monetary_totals['payable_amount'] + $request->requested_monetary_totals['allowance_total_amount'], 2)}}
@inject('Varios', 'App\Custom\Conversor')

NOTAS:


{{$notes}}


SON: {{$Varios->convertir($request->requested_monetary_totals['payable_amount'])}} M/CTE*********.

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

FIRMA ACEPTACIÓN:


CC:


FECHA:



Nota Debito No: {{$request->number}} - Fecha: {{$date}}
CUDE: {{$cufecude}}