{{-- UBLExtensions --}} @include('xml._ubl_extensions_eq_docs_pos') UBL 2.1 {{preg_replace("/[\r\n|\n|\r]+/", "", $typeoperation->code)}} DIAN 2.1: Documento Equivalente POS {{preg_replace("/[\r\n|\n|\r]+/", "", $company->eqdocs_type_environment->code)}} {{preg_replace("/[\r\n|\n|\r]+/", "", $resolution->next_consecutive)}} eqdocs_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 {{preg_replace("/[\r\n|\n|\r]+/", "", $request['due_date'] ?? Carbon\Carbon::now()->format('Y-m-d'))}} {{preg_replace("/[\r\n|\n|\r]+/", "", $typeDocument->code)}} @isset($notes) {{preg_replace("/[\r\n|\n|\r]+/", "", $notes)}} @endisset @if(isset($idcurrency)) {{preg_replace("/[\r\n|\n|\r]+/", "", $idcurrency->code)}} @else {{preg_replace("/[\r\n|\n|\r]+/", "", $company->type_currency->code)}} @endif {{preg_replace("/[\r\n|\n|\r]+/", "", $invoiceLines->count())}} {{-- OrderReference --}} @isset($orderreference) @include('xml._order_reference', ['node' => 'OrderReference']) @endisset {{-- AccountingSupplierParty --}} @include('xml._accounting', ['node' => 'AccountingSupplierParty', 'supplier' => true]) {{-- AccountingCustomerParty --}} @include('xml._accounting', ['node' => 'AccountingCustomerParty', 'user' => $customer]) {{-- Delivery --}} @isset($delivery) @include('xml._delivery') @endisset {{-- PaymentMeans --}} @include('xml._payment_means') {{-- PaymentTerms --}} @include('xml._payment_terms') {{-- PrepaidPayment --}} @isset($prepaidpayment) @include('xml._prepaid_payment', ['node' => 'PrepaidPayment']) @endisset {{-- AllowanceCharges --}} @include('xml._allowance_charges') {{-- PaymentExchangeRate --}} @if($idcurrency !== null && $calculationrate !== null && $calculationratedate !== null) @include('xml._payment_exchange_rate') @endif {{-- TaxTotals --}} @include('xml._tax_totals', ['generalView' => true]) {{-- HoldingTaxTotals --}} @include('xml._with_holding_tax_totals', ['generalView' => true]) {{-- LegalMonetaryTotal --}} @include('xml._legal_monetary_total', ['node' => 'LegalMonetaryTotal']) {{-- InvoiceLines --}} @include('xml._invoice_lines')