ELECTRONIC SALES INVOICE


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


Issue Date: {{$date}}


DIAN Validation Date: {{$date}}
DIAN Validation Time: {{$time}}

{{$user->name}}
@if(isset($request->establishment_name) && $request->establishment_name != 'Oficina Principal') {{$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}} - Liability: {{$company->type_liability->name}} @else NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}} - Liability: {{$company->type_liability->name}} @endif @else NIT: {{$company->identification_number}}-{{$company->dv}} - {{$company->type_regime->name}} - Liability: {{$company->type_liability->name}} @endif @if(isset($request->nombretipodocid)) Document ID Type: {{$request->nombretipodocid}}
@endif @if(isset($request->tarifaica) && $request->tarifaica != '100') ICA RATE: {{$request->tarifaica}}‰ @endif @if(isset($request->tarifaica) && isset($request->actividadeconomica)) - @endif @if(isset($request->actividadeconomica)) ECONOMIC ACTIVITY: {{$request->actividadeconomica}}
@else
@endif @if(isset($request->seze)) ZESE Regime Year: {{$aseze}} Company Constitution Year: {{$asociedad}}
@endif Electronic Billing Resolution No. {{$resolution->resolution}}
of {{$resolution->resolution_date}}, Prefix: {{$resolution->prefix}}, Range {{$resolution->from}} To {{$resolution->to}} - Valid From: {{$resolution->date_from}} To: {{$resolution->date_to}}
GRAPHIC REPRESENTATION OF ELECTRONIC INVOICE
@if(isset($request->establishment_address)) {{$request->establishment_address}} - @else {{$company->address}} - @endif @inject('municipality', 'App\Municipality') @if(isset($request->establishment_municipality)) {{$municipality->findOrFail($request->establishment_municipality)['name']}} - {{$municipality->findOrFail($request->establishment_municipality)['department']['name']}} - @else {{$company->municipality->name}} - {{$municipality->findOrFail($company->municipality->id)['department']['name']}} - @endif {{$company->country->name}} @if(isset($request->establishment_phone)) Phone - {{$request->establishment_phone}}
@else Phone - {{$company->phone}}
@endif @if(isset($request->establishment_email)) E-mail: {{$request->establishment_email}}
@else E-mail: {{$user->email}}
@endif @if (isset($request->seze)) PLEASE REFRAIN FROM WITHHOLDING AT SOURCE SPECIAL REGIME DECREE 2112 OF 2019 @endif
@if(!empty($imgLogo))
logo
@endif