{{-- UBLExtensions --}}
{{-- UBLExtensions --}}
@include('xml._ubl_extensions')
UBL 2.1
{{preg_replace("/[\r\n|\n|\r]+/", "", $typeoperation->code)}}
DIAN 2.1: Nota de ajuste al documento soporte en adquisiciones efectuadas a sujetos no obligados a expedir factura o documento equivalente
{{preg_replace("/[\r\n|\n|\r]+/", "", $company->type_environment->code)}}
{{preg_replace("/[\r\n|\n|\r]+/", "", $resolution->next_consecutive)}}
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]+/", "", $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]+/", "", $creditNoteLines->count())}}
{{-- DiscrepancyResponse --}}
@isset($discrepancycode)
@include('xml._discrepancy_response')
@endisset
{{-- BillingReference --}}
@include('xml._billing_reference')
{{-- AccountingSupplierParty --}}
@include('xml._accounting', ['node' => 'AccountingSupplierParty', 'user' => $seller])
{{-- AccountingCustomerParty --}}
@include('xml._accounting', ['node' => 'AccountingCustomerParty', 'supplier' => true])
{{-- PaymentMeans --}}
@include('xml._payment_means')
{{-- PaymentExchangeRate --}}
@if($idcurrency !== null && $calculationrate !== null && $calculationratedate !== null)
@include('xml._payment_exchange_rate')
@endif
{{-- AllowanceCharges --}}
@include('xml._allowance_charges')
{{-- TaxTotals --}}
@include('xml._tax_totals', ['generalView' => true])
{{-- HoldingTaxTotals --}}
@include('xml._with_holding_tax_totals', ['generalView' => true])
{{-- LegalMonetaryTotal --}}
@include('xml._legal_monetary_total', ['node' => 'LegalMonetaryTotal'])
{{-- CreditNoteLine --}}
@include('xml._credit_note_lines')