DESCUENTOS A NIVEL GLOBAL#
Grupo de campos que contienen información sobre descuentos comerciales concedidos en el momento de la emisión. Por esta razón, siempre se incluyen en el documento soporte, pero no se consideran para efectos contables ni tributarios, ya que el valor a considerar es el valor facturado, es decir, el valor neto después de aplicar el descuento.
Descuentos que se reportan a nivel global del Documento Soporte (Condicionado)#
1. ChargeIndicator (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.ChargeIndicator
/Invoice/cac:AllowanceCharge/cbc:ChargeIndicator
Para indicar que el elemento es un Descuento se debe enviar el valor False, el descuento es un crédito descuenta el valor de la factura y se debe reportar en el AllowancesTotalAmount.
2. BaseAmount (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.BaseAmount
/Invoice/cac:AllowanceCharge/cbc:BaseAmount
Valor base para calcular el Descuento, debe ser positivo mayor que cero y no puede ser superior al valor total de la factura.
3. Reason (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.Reason
/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReason
Razón (texto): Texto libre y Opcional para informar de la razón del Descuento.
4. ReasonCode (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.ReasonCode
/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode
Los códigos de los descuentos ReasonCode están disponibles en el método del WEB API de Saphety: AllowanceChargeCodeTypes.
5. Amount (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.Amount
/Invoice/cac:AllowanceCharge/cbc:Amount
Formula:
Valor total del Descuento global (Amount) = Valor Base global (BaseAmount) * Porcentaje del cargo(Percentage)
6. Percentage (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.Percentage
/Invoice/cac:AllowanceCharge/cbc:MultiplierFactorNumeric
Porcentaje del Descuento a aplicar.
7. SequenceIndicator (DESCUENTOS A NIVEL GLOBAL)
Invoice.AllowanceCharges.SequenceIndicator
/Invoice/cac:AllowanceCharge/cbc:ID
Empieza con “1”, los números utilizados en los diferentes grupos deben ser consecutivos.
8. AllowancesTotalAmount (DESCUENTOS A NIVEL GLOBAL)
Invoice.Total.AllowancesTotalAmount
/Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount
El Valor del Descuento Total es igual a la suma de todos los descuentos globales aplicados al total de la factura.
Formula:
Descuentos Totales (AllowancesTotalAmount) = ∑ Valor total del descuento global (Amount).
8. PayableAmount (DESCUENTOS A NIVEL GLOBAL)
Invoice.Total.PayableAmount
/Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount/
Formula:
Valor a pagar Total (PayableAmount) = GrossAmount Global + TaxableAmout Global + Valor total del cargo Global - Valor total del descuento Global.
DTO DESCUENTOS A NIVEL GLOBAL#
JSON (DTO) - DESCUENTOS GLOBALES
{
"DeliveryDate": "2023-11-27T12:12:12",
"SeriePrefix": "SEDS",
"SerieNumber": "984000001",
"CustomerParty": {
"Identification": {
"DocumentNumber": "{{nit}}",
"DocumentType": "NIT",
"CountryCode": "CO",
"CheckDigit": "{{digitoverificacion}}"
}
},
"Notes": [
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
],
"Currency": "COP",
"Lines": [
{
"Number": "1",
"Quantity": "1",
"QuantityUnitOfMeasure": "NAR",
"ExcludeVat": "true",
"UnitPrice": "3000000",
"GrossAmount": "3000000", ///Quantity * UnitPrice
"NetAmount": "3000000", //GrossAmount + cargos - descuentos
"Item": {
"BuyerItemIdentification": "6185",
"Description": "DSCG0430 SERVICIO PROFESIONAL ASESORIA JURIDICA MES DE MAYO-ASESORIA JURIDICA",
"IncomePurposeCode": "0"
},
"InvoicePeriod": {
"From": "2023-11-27",
"DescriptionCode": "2",
"Description": "DSCG0430 SERVICIO PROFESIONAL ASESORIA JURIDICA MES DE MAYO-ASESORIA JURIDICA"
}
}
],
"Total": {
"GrossAmount": "3000000",
"TotalBillableAmount": "3000000", //GrossAmount + Sum impuestos
"PayableAmount": "2280000", //TotalBillableAmount + cargos - descuentos
"TaxableAmount": "0",
"AllowancesTotalAmount": "720000.00",
"ChargesTotalAmount": "0.00"
},
"IssueDate": "2023-11-27T12:12:12",
"DueDate": "2023-11-27T12:12:12",
"CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
"SerieExternalKey": "{{serieexternalkeyDS}}",
"PaymentMeans": [
{
"Code": "42",
"Mean": "1"
}
],
"AllowanceCharges": [
{
"ChargeIndicator": "false",
"BaseAmount": "3000000.00", //base para calcular el impuesto
"ReasonCode": "01",
"Reason": "DESCUENTO",
"Amount": "510000.00", // total del descuento BaseAmount* Percentage
"Percentage": "17", // porcentaje aplicado
"SequenceIndicator": "1"
},
{
"ChargeIndicator": "false",
"BaseAmount": "3000000", //base para calcular el impuesto
"ReasonCode": "01",
"Reason": "DESCUENTO",
"Amount": "210000.00", // total del descuento BaseAmount* Percentage
"Percentage": "7", // porcentaje aplicado
"SequenceIndicator": "2"
}
],
"OperationType": "10",
"SupplierParty": {
"LegalType": "Legal",
"Email": "correo@sovos.com",
"TaxScheme": "ZZ",
"ResponsabilityTypes": [
"R-99-PN"
],
"Identification": {
"DocumentNumber": "{{nit}}",
"DocumentType": "NIT",
"CountryCode": "CO",
"CheckDigit": "{{digitoverificacion}}"
},
"Name": "Saphety Transacciones Electrónicas S.A.S",
"Address": {
"DepartmentCode": "11",
"CityCode": "11001",
"AddressLine": "Calle 97a No. 9 - 45",
"Country": "CO",
"PostalCode": "000000"
}
}
}