@include("XML.$modulo.Template._ubl_extensions",["if_resolucion"=>true,"QRCode"=>"https://catalogo-vpfe.dian.gov.co/document/searchqr?documentkey=-----CUFECUDE-----"])
UBL 2.1
05
DIAN 2.1: Factura Electrónica de Venta
{{trim($json['Ambiente'])}}
{{trim($json['Factura'])}}
{{trim($json['Fecha'])}}
{{trim($json['Hora'])}}
01
@isset($json['Observacion'])
{{preg_replace("/[\r\n|\n|\r]+/", "", $json['Observacion'])}}
@endisset
@include("XML.$modulo.Template._document_currency")
{{preg_replace("/[\r\n|\n|\r]+/", "", $json['CantidadArticulos'])}}
{{--? AccountingSupplierParty --}}
@include("XML.$modulo.Template._accounting", ['node' => 'AccountingSupplierParty',"info" => $data_empresa, "resolucion"=>$json["Resolucion"]])
{{--? AccountingCustomerParty --}}
@include("XML.$modulo.Template._accounting", ['node' => 'AccountingCustomerParty',"info" => $json["Cliente"],"resolucion"=>[]])
{{--? PaymentMeans --}}
@include("XML.$modulo.Template._payment_means")
{{-- PaymentTerms --}}
{{-- AllowanceCharges
@include('xml._allowance_charges')--}}
{{--? TaxTotals --}}
@include("XML.$modulo.Template._tax_totals", ['Impuestos' => $json['Impuestos']])
{{-- HoldingTaxTotals
@include('xml._with_holding_tax_totals', ['generalView' => true]) --}}
{{--? LegalMonetaryTotal --}}
@include("XML.$modulo.Template._legal_monetary_total", ['node' => 'LegalMonetaryTotal'])
{{--? InvoiceLines --}}
@include("XML.$modulo.Template._invoice_lines",["node"=>"InvoiceLine","quantity"=>"InvoicedQuantity"])