ANTICIPO#
Grupo de campos destinados a informar sobre anticipos, entendidos como pagos realizados antes de la entrega del producto o la prestación del servicio. Esta información debe reportarse a nivel global en la factura.
Los anticipos se registran como valores informativos y no se incluyen en el cálculo del monto total a pagar (campo PayableAmount) del documento.
1. PaidDate (Anticipo)
Invoice.PrepaidPayments.PaidDate
/Invoice/cac:PrepaidPayment/cbc:PaidDate
Fecha en la cual el pago del anticipo fue realizado.
2. PaidAmount (Anticipo)
Invoice.PrepaidPayments.PaidAmount
/Invoice/cac:PrepaidPayment/cbc:PaidAmount
Valor del pago del anticipo NO puede ser superior al valor total de la factura.
3. PrePaidTotalAmount (Anticipo)
Invoice.Total.PrePaidTotalAmount
/Invoice/cac:LegalMonetaryTotal/cbc:PrepaidAmount
El Valor del Anticipo Total es igual a la suma de todos los anticipos o prepagos globales aplicados al total de la factura.
DTO ANTICIPOS#
JSON (DTO) - ANTICIPOS
{
"Currency": "COP",
"SeriePrefix": "SETP",
"SerieNumber": "990040011",
"IssueDate": "2023-11-27T12:12:12",
"DueDate": "2023-11-27T12:12:12",
"DeliveryDate": "2023-11-27T12:12:12",
"CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
"SerieExternalKey": "{{serieexternalkeyFV}}",
"IssuerParty": {
"Identification": {
"DocumentNumber": "{{nit}}",
"DocumentType": "NIT",
"CountryCode": "CO",
"CheckDigit": "{{digitoverificacion}}"
}
},
"OperationType": "10",
"PaymentMeans": [
{
"Code": "20",
"Mean": "1",
"DueDate": "2023-11-27"
}
],
"CustomerParty": {
"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"
}
},
"Lines": [
{
"Number": "1",
"Quantity": "1",
"QuantityUnitOfMeasure": "NAR",
"TaxSubTotals": [
{
"TaxCategory": "01",
"TaxPercentage": "19.00",
"TaxableAmount": "115000.00",
"TaxAmount": "21850.00"
}
],
"TaxTotals": [
{
"TaxCategory": "01",
"TaxAmount": "21850.00",
"RoundingAmount": "0.00"
}
],
"UnitPrice": "115000.00",
"GrossAmount": "115000.00",
"NetAmount": "115000.00",
"Item": {
"Gtin": "987654321",
"Description": "Descripcion del producto o servicio"
}
}
],
"TaxSubTotals": [
{
"TaxCategory": "01",
"TaxPercentage": "19.00",
"TaxableAmount": "115000.00",
"TaxAmount": "21850.00"
}
],
"TaxTotals": [
{
"TaxCategory": "01",
"TaxAmount": "21850.00",
"RoundingAmount": "0.00"
}
],
"Total": {
"GrossAmount": "115000.00",
"TotalBillableAmount": "136850.00",
"PayableAmount": "136850.00",
"TaxableAmount": "115000.00",
"PrePaidTotalAmount": "136850.00" /*Campo Anticipo*/
},
"PrepaidPayments": [
{ /*Sección para informar Anticipos*/
"PaidDate": "2023-11-27T12:12:12", /*Campo Anticipo*/
"PaidAmount": "136850.00" /*Campo Anticipo*/
}
]
}