{{-- UBLExtensions --}}
@include('xml._ubl_extensions_appresponse')
UBL 2.1
1
DIAN 2.1: ApplicationResponse de la Factura Electrónica de Venta
{{preg_replace("/[\r\n|\n|\r]+/", "", $company->type_environment->code)}}
@if(isset($request->resend_consecutive) && ($request->resend_consecutive == true))
{{preg_replace("/[\r\n|\n|\r]+/", "", $user->company->identification_number)}}{{preg_replace("/[\r\n|\n|\r]+/", "", $documentReference->number)}}{{preg_replace("/[\r\n|\n|\r]+/", "", $event->code)}}-{{rand(0, 9)}}
@else
{{preg_replace("/[\r\n|\n|\r]+/", "", $user->company->identification_number)}}{{preg_replace("/[\r\n|\n|\r]+/", "", $documentReference->number)}}{{preg_replace("/[\r\n|\n|\r]+/", "", $event->code)}}
@endif
type_environment->code)}}" schemeName="{{preg_replace("/[\r\n|\n|\r]+/", "", $typeDocument->cufe_algorithm)}}"/>
{{preg_replace("/[\r\n|\n|\r]+/", "", $date ?? Carbon\Carbon::now()->format('Y-m-d'))}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $time ?? Carbon\Carbon::now()->format('H:i:s'))}}-05:00
@if(isset($notes))
{{preg_replace("/[\r\n|\n|\r]+/", "", $notes)}}
@endif
{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->name)}}
{{-- company->dv)}}" schemeVersionID="{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->type_organization->code)}}" schemeName="{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->type_document_identification->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->identification_number)}} --}}
company->dv)}}" schemeVersionID="{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->type_organization->code)}}" schemeName="31">{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->identification_number)}}
company->type_regime->code)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->type_liability->code)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->tax->code)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $sender->company->tax->name)}}
@include('xml._customer_attached', ['user' => $user])
@if(isset($typerejection))
code)}}" name="{{preg_replace("/[\r\n|\n|\r]+/", "", $typerejection->name)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $event->code)}}
@else
{{preg_replace("/[\r\n|\n|\r]+/", "", $event->code)}}
@endif
{{preg_replace("/[\r\n|\n|\r]+/", "", $event->name)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $documentReference->number)}}
scheme_name)}}">{{preg_replace("/[\r\n|\n|\r]+/", "", $documentReference->uuid)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $typeDocumentReference->code)}}
@include('xml._issuer_party')