CO
{{ProviderID}}
{{SoftwareID}}
{{SoftwareSecurityCode}}
800197268
NumFac: {{ID}}
FecFac: {{IssueDate}}
HorFac: {{IssueTime}}
NitFac: {{NitFac}}
DocAdq: {{DocAdq}}
ValFac: {{LineExtensionAmount}}
ValIva: {{ValIva}}
ValOtroIm: {{ValOtroIm}}
ValTolFac: {{PayableAmount}}
CUDE: {{UUID}}
{{QRCodeURL}}
UBL 2.1
{{CustomizationID}}
DIAN 2.1: Nota Débito de Factura Electrónica de Venta
{{ProfileExecutionID}}
{{ID}}
{{UUID}}
{{IssueDate}}
{{IssueTime}}
{{Note}}
{{DocumentCurrencyCode}}
{{LineCountNumeric}}
{{DiscrepancyReferenceID}}
{{DiscrepancyResponseCode}}
{{DiscrepancyDescription}}
{% if BillingReference.ID %}
{{BillingReference.ID}}
{{BillingReference.UUID}}
{{BillingReference.IssueDate}}
{% endif %}
{{AccountingSupplierParty.AdditionalAccountID}}
{% if IndustryClassificationCode %}
{{IndustryClassificationCode}}
{% endif %}
{% if AccountingSupplierParty.PartyName %}
{{AccountingSupplierParty.PartyName}}
{% endif %}
{{AccountingSupplierParty.AddressID}}
{{AccountingSupplierParty.AddressCityName}}
{% if AccountingSupplierParty.AddressPostalZone %}
{{AccountingSupplierParty.AddressPostalZone}}
{% endif %}
{{AccountingSupplierParty.AddressCountrySubentity}}
{{AccountingSupplierParty.AddressCountrySubentityCode}}
{{AccountingSupplierParty.AddressLine}}
{{AccountingSupplierParty.CountryIdentificationCode}}
{{AccountingSupplierParty.CountryName}}
{{AccountingSupplierParty.Name}}
{{AccountingSupplierParty.CompanyID}}
{{AccountingSupplierParty.TaxLevelCode}}
{{AccountingSupplierParty.AddressID}}
{{AccountingSupplierParty.AddressCityName}}
{% if AccountingSupplierParty.AddressPostalZone %}
{{AccountingSupplierParty.AddressPostalZone}}
{% endif %}
{{AccountingSupplierParty.AddressCountrySubentity}}
{{AccountingSupplierParty.AddressCountrySubentityCode}}
{{AccountingSupplierParty.AddressLine}}
{{AccountingSupplierParty.CountryIdentificationCode}}
{{AccountingCustomerParty.CountryName}}
{{AccountingSupplierParty.TaxSchemeID}}
{{AccountingSupplierParty.TaxSchemeName}}
{{AccountingSupplierParty.Name}}
{{AccountingSupplierParty.CompanyID}}
{% if AccountingSupplierParty.CorporateRegistrationSchemeName %}
{{AccountingSupplierParty.CorporateRegistrationSchemeName}}
{% endif %}
{% if AccountingSupplierParty.Telephone or AccountingSupplierParty.Telefax or AccountingSupplierParty.ElectronicMail %}
{% if AccountingSupplierParty.Telephone %}
{{AccountingSupplierParty.Telephone}}
{% endif %}
{% if AccountingSupplierParty.Telefax %}
{{AccountingSupplierParty.Telefax}}
{% endif %}
{% if AccountingSupplierParty.ElectronicMail %}
{{AccountingSupplierParty.ElectronicMail}}
{% endif %}
{% endif %}
{{AccountingCustomerParty.AdditionalAccountID}}
{{AccountingCustomerParty.CompanyID}}
{% if AccountingCustomerParty.PartyName%}
{{AccountingCustomerParty.PartyName}}
{% endif %}
{% if AccountingCustomerParty.CompanyID != '222222222222' %}
{{AccountingCustomerParty.AddressID}}
{{AccountingCustomerParty.AddressCityName}}
{% if AccountingCustomerParty.AddressPostalZone %}
{{AccountingCustomerParty.AddressPostalZone}}
{% endif %}
{{AccountingCustomerParty.AddressCountrySubentity}}
{{AccountingCustomerParty.AddressCountrySubentityCode}}
{{AccountingCustomerParty.AddressLine}}
{{AccountingCustomerParty.CountryIdentificationCode}}
{{AccountingCustomerParty.CountryName}}
{% endif %}
{{AccountingCustomerParty.Name}}
{{AccountingCustomerParty.CompanyID}}
{{AccountingCustomerParty.TaxLevelCode}}
{% if AccountingCustomerParty.CompanyID != '222222222222' %}
{{AccountingCustomerParty.AddressID}}
{{AccountingCustomerParty.AddressCityName}}
{% if AccountingCustomerParty.AddressPostalZone %}
{{AccountingCustomerParty.AddressPostalZone}}
{% endif %}
{{AccountingCustomerParty.AddressCountrySubentity}}
{{AccountingCustomerParty.AddressCountrySubentityCode}}
{{AccountingCustomerParty.AddressLine}}
{{AccountingCustomerParty.CountryIdentificationCode}}
{{AccountingCustomerParty.CountryName}}
{% endif %}
{{AccountingCustomerParty.TaxSchemeID}}
{{AccountingCustomerParty.TaxSchemeName}}
{{AccountingCustomerParty.Name}}
{{AccountingCustomerParty.CompanyID}}
{% if AccountingCustomerParty.CorporateRegistrationSchemeName %}
{{AccountingCustomerParty.CorporateRegistrationSchemeName}}
{% endif %}
{% if AccountingCustomerParty.CompanyID != '222222222222' and (AccountingCustomerParty.Telephone or AccountingCustomerParty.Telefax or AccountingCustomerParty.ElectronicMail) %}
{% if AccountingCustomerParty.Telephone %}
{{AccountingCustomerParty.Telephone}}
{% endif %}
{% if AccountingCustomerParty.Telefax %}
{{AccountingCustomerParty.Telefax}}
{% endif %}
{% if AccountingCustomerParty.ElectronicMail %}
{{AccountingCustomerParty.ElectronicMail}}
{% endif %}
{% endif %}
{{ActualDeliveryDate}}
{{ActualDeliveryTime}}
{% if AccountingCustomerParty.CompanyID != '222222222222' %}
{{Delivery.AddressID}}
{{Delivery.AddressCityName}}
{% if Delivery.AddressPostalZone %}
{{Delivery.AddressPostalZone}}
{% endif %}
{{Delivery.AddressCountrySubentity}}
{{Delivery.AddressCountrySubentityCode}}
{{Delivery.AddressLine}}
{{Delivery.CountryIdentificationCode}}
{{Delivery.CountryName}}
{% endif %}
{% if DeliveryTerms.LossRiskResponsibilityCode %}
1
{{DeliveryTerms.LossRiskResponsibilityCode}}
{{DeliveryTerms.LossRisk}}
{% endif %}
{{PaymentMeansID}}
{{PaymentMeansCode}}
{{PaymentDueDate}}
{% if DocumentCurrencyCode != 'COP' %}
{{PaymentExchangeRate.SourceCurrencyCode}}
1.00
{{PaymentExchangeRate.TargetCurrencyCode}}
1.00
{{'{:.2f}'.format(PaymentExchangeRate.CalculationRate)}}
{{PaymentExchangeRate.Date}}
{% endif %}
{% for TaxTotalID, TaxTotal in TaxesTotal.items() %}
{% if TaxTotal.total != 0 %}
{{'{:.2f}'.format(TaxTotal.total)}}
0.00
{% for Percent, TaxSubtotal in TaxTotal.taxes.items() %}
{{'{:.2f}'.format(TaxSubtotal.base)}}
{{'{:.2f}'.format(TaxSubtotal.amount)}}
{{Percent}}
{{TaxTotalID}}
{{TaxTotal.name}}
{% endfor %}
{% endif %}
{% endfor %}
{% for WithholdingTaxTotalID, WithholdingTaxTotal in WithholdingTaxesTotal.items() %}
{{'{:.2f}'.format(WithholdingTaxTotal.total)}}
{% for Percent, TaxSubtotal in WithholdingTaxTotal.taxes.items() %}
{{'{:.2f}'.format(TaxSubtotal.base)}}
{{'{:.2f}'.format(TaxSubtotal.amount)}}
{{Percent}}
{{WithholdingTaxTotalID}}
{{WithholdingTaxTotal.name}}
{% endfor %}
{% endfor %}
{{LineExtensionAmount}}
{{TaxExclusiveAmount}}
{{TaxInclusiveAmount}}
0.00
0.00
0.00
{{PayableAmount}}
{% for DebitNoteLineID, DebitNoteLine in DebitNoteLines.items() %}
{{DebitNoteLineID}}
{% if BillingReference.CustomizationID == '09' %}
Contrato de servicios AIU por concepto de: {{DebitNoteLine.ItemDescription}}
{% endif %}
{{DebitNoteLine.Quantity}}
{{DebitNoteLine.LineExtensionAmount}}
{% if DebitNoteLine.LineExtensionAmount == '0.00' %}
{{DebitNoteLine.PricingReferencePriceAmount}}
01
{% endif %}
{% for TaxTotalID, TaxTotal in DebitNoteLine.TaxesTotal.items() %}
{% if TaxTotal.total != 0 %}
{{'{:.2f}'.format(TaxTotal.total)}}
0.00
{% for Percent, TaxSubtotal in TaxTotal.taxes.items() %}
{{'{:.2f}'.format(TaxSubtotal.base)}}
{{'{:.2f}'.format(TaxSubtotal.amount)}}
{{Percent}}
{{TaxTotalID}}
{{TaxTotal.name}}
{% endfor %}
{% endif %}
{% endfor %}
{% for WithholdingTaxTotalID, WithholdingTaxTotal in DebitNoteLine.WithholdingTaxesTotal.items() %}
{{'{:.2f}'.format(WithholdingTaxTotal.total)}}
{% for Percent, TaxSubtotal in WithholdingTaxTotal.taxes.items() %}
{{'{:.2f}'.format(TaxSubtotal.base)}}
{{'{:.2f}'.format(TaxSubtotal.amount)}}
{{Percent}}
{{WithholdingTaxTotalID}}
{{WithholdingTaxTotal.name}}
{% endfor %}
{% endfor %}
1
false
Descuento
{{DebitNoteLine.MultiplierFactorNumeric}}
{{DebitNoteLine.AllowanceChargeAmount}}
{{DebitNoteLine.AllowanceChargeBaseAmount}}
{{DebitNoteLine.ItemDescription}}
{% if DebitNoteLine.BrandName %}
{{DebitNoteLine.BrandName}}
{% endif %}
{% if DebitNoteLine.ModelName %}
{{DebitNoteLine.ModelName}}
{% endif %}
{{DebitNoteLine.StandardItemIdentification}}
{% if BillingReference.CustomizationID == '11' %}
{{DebitNoteLine.InformationContentProviderParty.ID}}
{% endif %}
{{DebitNoteLine.PriceAmount}}
{{DebitNoteLine.Quantity}}
{% endfor %}