{
"number": 990000519,
"type_document_id": 1,
"date": "2022-04-25",
"time": "04:08:12",
"resolution_number": "18760000001",
"prefix": "SETP",
"sendmail": true,
"customer": {
"identification_number": 900166483,
"dv": 1,
"name": "INVERSIONES DAVAL SAS",
"phone": 3103891693,
"address": "CLL 4 NRO 33-90",
"email": "alexanderobandolondono@gmail.com",
"merchant_registration": "0000000-00",
"type_document_identification_id": 6,
"type_organization_id": 1,
"municipality_id": 822,
"type_regime_id": 1
},
"payment_form": {
"payment_form_id": 2,
"payment_method_id": 30,
"payment_due_date": "2022-05-25",
"duration_measure": "30"
},
"allowance_charges": [
{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"legal_monetary_totals": {
"line_extension_amount": "1000000.00",
"tax_exclusive_amount": "0.00",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"payable_amount": "1000000.00"
},
"invoice_lines":
[
{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "1000000.00",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "1000000.00",
"base_quantity": "1"
}
]
}
{
"success": true,
"message": "AttachedDocument #SETP990001196 generada con éxito",
"send_email_success": true,
"send_email_date_time": true,
"urlinvoicexml": "FES-SETP990001196.xml",
"urlinvoicepdf": "FES-SETP990001196.pdf",
"urlinvoiceattached": "ad00075737720002500000152.xml",
"cufe": "9bfe029ef9a015ab60155a78be4f70ed6f88d532de4cc661cccc99b7e35dab3faf0a7e2ed55f0c9246362830ea258412",
"QRStr": "https://catalogo-vpfe-hab.dian.gov.co/document/searchqr?documentkey=9bfe029ef9a015ab60155a78be4f70ed6f88d532de4cc661cccc99b7e35dab3faf0a7e2ed55f0c9246362830ea258412",
"certificate_days_left": 310,
"resolution_days_left": 1621,
"ResponseDian": {
"Envelope": {
"Header": {
"Action": {
"_attributes": {
"mustUnderstand": "1"
},
"_value": "http://wcf.dian.colombia/IWcfDianCustomerServices/SendBillSyncResponse"
},
"Security": {
"_attributes": {
"mustUnderstand": "1"
},
"Timestamp": {
"_attributes": {
"Id": "_0"
},
"Created": "2025-08-12T18:01:07.516Z",
"Expires": "2025-08-12T18:06:07.516Z"
}
}
},
"Body": {
"SendBillSyncResponse": {
"SendBillSyncResult": {
"ErrorMessage": {
"string": "Regla: RUT01, Notificación: La validación del estado del RUT próximamente estará disponible."
},
"IsValid": "true",
"StatusCode": "00",
"StatusDescription": "Procesado Correctamente.",
"StatusMessage": "La Factura electrónica SETP990001196, ha sido autorizada.",
"XmlBase64Bytes": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5jOkRvY3VtZW50UmVzcG9uc2U+DQo8L0FwcGxpY2F0aW9uUmVzcG9uc2U+",
"XmlBytes": {
"_attributes": {
"nil": "true"
}
},
"XmlDocumentKey": "9bfe029ef9a015ab60155a78be4f70ed6f88d532de4cc661cccc99b7e35dab3faf0a7e2ed55f0c9246362830ea258412",
"XmlFileName": "fv00075737720002500000152"
}
}
}
}
},
"invoicexml": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjgogICAgPC9jYWM6UHJpY2U+CiAgPC9jYWM6SW52b2ljZUxpbmU+CjwvSW52b2ljZT4K",
"zipinvoicexml": "UEsDBBQAAgAIACOgDFs+2HRL0hYAAHtOAAAdAAAAZnYwMDA3NTczNzcyMDAwMjUwMDAwMDEAAAABAAEASwAAAA0XAAAAAA==",
"unsignedinvoicexml": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5XVhbnRpdHk+CiAgICA8L2NhYzpQcmljZT4KICA8L2NhYzpJbnZvaWNlTGluZT4KPC9JbnZvaWNlPgo=",
"reqfe": "PD94bWwgdmVyc2lvbj0iMS4wIj8+Cjxzb2FwOkVudmVsb3BlIHhtbG5zOnNvYXA9Imh0dHA6Ly93d3cudAgICAgPC93Y2Y6U2VuZEJpbGxTeW5jPgogICAgPC9zb2FwOkJvZHk+Cjwvc29hcDpFbnZlbG9wZT4K",
"rptafe": "PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMy8wNS9zb2FwLWVudmVsb3BlIiB4bWCaWxsU3luY1Jlc3BvbnNlPjwvczpCb2R5PjwvczpFbnZlbG9wZT4=",
"attacheddocument": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxBdHRhY2hlZERvY3VtZZWZlcmVuY2U+CjwvQXR0YWNoZWREb2N1bWVudD4K"
}
Campos | Descripción |
|---|
success | Indica si la api procesó la petición correctamente |
|---|
send_email_success | Indica si el correo electrónico se envio correctamente |
|---|
urlinvoicexml | Nombre del xml de la factura |
|---|
urlinvoicepdf | Nombre del pdf de la factura |
|---|
urlinvoiceattached | Nombre del xml de la factura firmado |
|---|
cufe | Cufe de la factura |
|---|
QRStr | Url del portal dian para generar el QR de la factura |
|---|
certificate_days_left | Dias restantes del certificado |
|---|
resolution_days_left | Dias restantes de la resolución |
|---|
ResponseDian | Respuesta del dian |
|---|
invoicexml | XML de la factura en formato base64 |
|---|
zipinvoicexml | ZIP de la factura en formato base64 |
|---|
unsignedinvoicexml | XML de la factura sin firmar en formato base64 |
|---|
reqfe | request de la petición en formato base64 |
|---|
reqrptafe | Respuesta de la petición en formato base64 |
|---|
attacheddocument | Documento adjuntado en formato base64 |
|---|
{
"message": "The given data was invalid.",
"errors": {
"customer.name": [
"El campo customer.name es obligatorio."
]
}
}
{
"success": true,
"message": "AttachedDocument #SETP990001192 generada con éxito",
"send_email_success": false,
"send_email_date_time": false,
"urlinvoicexml": "FES-SETP990001192.xml",
"urlinvoicepdf": "FES-SETP990001192.pdf",
"urlinvoiceattached": ".xml",
"cufe": "1393a88b14dfe70b1ec158cff51ecb86b3fed77e31c7a92281b36d8e1f317c1d2e16a95e8236f4f07c4ea2aae1e56f34",
"QRStr": "https://catalogo-vpfe-hab.dian.gov.co/document/searchqr?documentkey=1393a88b14dfe70b1ec158cff51ecb86b3fed77e31c7a92281b36d8e1f317c1d2e16a95e8236f4f07c4ea2aae1e56f34",
"certificate_days_left": 310,
"resolution_days_left": 1621,
"ResponseDian": {
"Envelope": {
"Header": {
"Action": {
"_attributes": {
"mustUnderstand": "1"
},
"_value": "http://wcf.dian.colombia/IWcfDianCustomerServices/SendBillSyncResponse"
},
"Security": {
"_attributes": {
"mustUnderstand": "1"
},
"Timestamp": {
"_attributes": {
"Id": "_0"
},
"Created": "2025-08-12T17:55:17.329Z",
"Expires": "2025-08-12T18:00:17.329Z"
}
}
},
"Body": {
"SendBillSyncResponse": {
"SendBillSyncResult": {
"ErrorMessage": {
"string": "Regla: 90, Rechazo: Documento procesado anteriormente."
},
"IsValid": "false",
"StatusCode": "99",
"StatusDescription": "Validación contiene errores en campos mandatorios.",
"StatusMessage": "Documento con errores en campos mandatorios.",
"XmlBase64Bytes": "PD94bWwgdmVyc2lvbj0iMS4c2U+DQogIDwvY2FjOkRvY3VtZW50UmVzcG9uc2U+DQo8L0FwcGxpY2F0aW9uUmVzcG9uc2U+",
"XmlBytes": {
"_attributes": {
"nil": "true"
}
},
"XmlDocumentKey": "318ac0a063b260ce9eacc78e4e311a40570ce517ec6465282d16d63da03b4207c56d9be92cefac7cd041db8084f2b195",
"XmlFileName": "fv00075737720002500000081"
}
}
}
}
},
"invoicexml": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiI2ljZT4K",
"zipinvoicexml": "UEsDBBQAAAAA=",
"unsignedinvoicexml": "PD94bWw2NhYzpQcmljZT4KICA8L2NhYzpJbnZvaWNlTGluZT4KPC9JbnZvaWNlPgo=",
"reqfe": "PD94bWwgdmVyc2lvbj0iMS4WxvcGU+Cg==",
"rptafe": "PHM6RW52ZWxvcGUgeG1sbnU+PC9zOkJvZHk+PC9zOkVudmVsb3BlPg==",
"attacheddocument": ""
}
{
"number": 990002227,
"type_document_id": 1,
"date": "2025-08-16",
"time": "07:26:25",
"resolution_number": "18760000001",
"prefix": "SETP",
"disable_confirmation_text": true,
"establishment_name": "TORRE SOFTWARE",
"establishment_address": "CLL 11 NRO 21-73",
"establishment_phone": "3103891693",
"establishment_municipality": 822,
"establishment_email": "alexanderobandolondono@gmail.com",
"sendmail": true,
"sendmailtome": false,
"send_customer_credentials": false,
"head_note": null,
"foot_note": "Sistema POS ManagerERP QUALITY COLOMBIA S.A NIT 900.174.087-1 - Documento Generado con Software Propio Nit: 901788781",
"customer": {
"identification_number": 41946692,
"dv": 6,
"name": "ELIZABETH CARDONA VILLADA",
"phone": "3103891693",
"address": "CLL 4 NRO 33-90",
"email": "jdbmberrocal@gmail.com",
"merchant_registration": "0000000-00",
"type_document_identification_id": 3,
"type_organization_id": 2,
"type_liability_id": 7,
"municipality_id": 822,
"type_regime_id": 1,
"tax_id": 1
},
"payment_form": {
"payment_form_id": 1,
"payment_method_id": 10,
"payment_due_date": "2025-08-16",
"duration_measure": "0"
},
"legal_monetary_totals": {
"line_extension_amount": "3128.74",
"tax_exclusive_amount": "3128.74",
"tax_inclusive_amount": "12200.00",
"payable_amount": "12200.00"
},
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "594.46",
"percent": "19",
"taxable_amount": "3128.74"
},
{
"tax_id": 2,
"unit_measure_id": "70",
"tax_amount": "8476.80",
"percent": "0",
"taxable_amount": "8476.80"
}
],
"invoice_lines": [
{
"unit_measure_id": 70,
"invoiced_quantity": "2.00",
"line_extension_amount": "3128.74",
"free_of_charge_indicator": false,
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "594.46",
"percent": "19",
"taxable_amount": "3128.74"
},
{
"tax_id": 2,
"unit_measure_id": "70",
"tax_amount": "8476.80",
"percent": "0",
"taxable_amount": "0",
"per_unit_amount": "4238.40",
"base_unit_measure": "2.00"
}
],
"description": "LYM ROJO 20",
"code": "601438",
"type_item_identification_id": "4",
"price_amount": "6100.00",
"base_quantity": "2"
}
]
}
{
"number": "990000932",
"prefix": "SETP",
"type_document_id": "1",
"date": "2024-01-03",
"time": "07:21:19",
"resolution_number": "18760000001",
"customer": {
"identification_number": 89008003,
"name": "ALEXANDER OBANDO LONDOÑO",
"phone": "3103891693",
"address": "VEREDA REGUEROS",
"email": "gerencia@torresoftware.com",
"merchant_registration": "0000-00",
"type_document_identification_id": 3,
"type_organization_id": 2,
"municipality_id": 629,
"type_regime_id": 2
},
"payment_form": {
"duration_measure": "30",
"payment_form_id": "2",
"payment_method_id": "1",
"payment_due_date": "2024-11-04"
},
"previous_balance": "0",
"legal_monetary_totals": {
"line_extension_amount": "89831.93",
"tax_exclusive_amount": "89831.93",
"tax_inclusive_amount": "105000.00",
"charge_total_amount": "0.00",
"payable_amount": "103000.00",
"allowance_total_amount": "2000.00"
},
"allowance_charges": [{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "Descuento General",
"amount": "2000.00",
"base_amount": "10000.00"
}
],
"tax_totals": [{
"tax_id": "1",
"tax_amount": "15168.06",
"taxable_amount": "79831.93",
"percent": "19.00"
}, {
"tax_id": "1",
"tax_amount": "0.00",
"taxable_amount": "10000.00",
"percent": "0.00"
}
],
"invoice_lines": [{
"unit_measure_id": 70,
"invoiced_quantity": 1,
"line_extension_amount": "79831.93",
"free_of_charge_indicator": false,
"tax_totals": [{
"tax_id": "1",
"tax_amount": "15168.06",
"taxable_amount": "79831.93",
"percent": "19.00"
}
],
"description": "Plan Int-RE-3M+: 3548K/800KPeríodo: 05/07/2022 al 04/08/2022Fecha de Corte : 09/08/2022",
"code": "SERVICIO",
"type_item_identification_id": 4,
"price_amount": "100000.00",
"base_quantity": 1,
"allowance_charges": [{
"discount_id": 12,
"charge_indicator": false,
"allowance_charge_reason": "Descuento General",
"amount": "5000.00",
"base_amount": "100000.00"
}
]
}, {
"unit_measure_id": 70,
"invoiced_quantity": 1,
"line_extension_amount": "10000.00",
"free_of_charge_indicator": false,
"tax_totals": [{
"tax_id": "1",
"tax_amount": "0.00",
"taxable_amount": "10000.00",
"percent": "0.00"
}
],
"description": "Reconexión del servicio por Corte (Comprobante vencido #00197020)",
"code": "RECONEXION",
"type_item_identification_id": 4,
"price_amount": "10000.00",
"base_quantity": 1
}
]
}
{
"number": 990000356,
"type_document_id": 1,
"date": "2021-08-17",
"time": "04:08:12",
"resolution_number": "18760000001",
"prefix": "SETP",
"sendmail": true,
"customer": {
"identification_number": 900166483,
"dv": 1,
"name": "INVERSIONES DAVAL SAS",
"phone": 3103891693,
"address": "CLL 4 NRO 33-90",
"email": "alexanderobandolondono@gmail.com",
"merchant_registration": "0000000-00",
"type_document_identification_id": 6,
"type_organization_id": 1,
"municipality_id": 822,
"type_regime_id": 1
},
"order_reference": {
"id_order": "A23061977FBC",
"issue_date_order": "2020-10-01"
},
"payment_form": {
"payment_form_id": 2,
"payment_method_id": 30,
"payment_due_date": "2021-09-17",
"duration_measure": "30"
},
"allowance_charges": [
{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "840336.13"
}
],
"legal_monetary_totals": {
"line_extension_amount": "840336.13",
"tax_exclusive_amount": "840336.13",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"payable_amount": "1000000.00"
},
"tax_totals":
[
{
"tax_id": 1,
"tax_amount": "159663.86",
"percent": "19",
"taxable_amount": "840336.13"
}
],
"invoice_lines":
[
{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "840336.13",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "159663.86",
"taxable_amount": "840336.13",
"percent": "19.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "840336.13",
"base_quantity": "1"
}
]
}
{
"number": 990000358,
"type_document_id": 1,
"resolution_number": "18760000001",
"date": "2021-08-17",
"time": "04:08:12",
"sendmail": true,
"customer": {
"identification_number": 900166483,
"dv": 1,
"name": "INVERSIONES DAVAL SAS",
"phone": 3103891693,
"address": "CLL 4 NRO 33-90",
"email": "alexanderobandolondono@gmail.com",
"merchant_registration": "0000000-00",
"type_document_identification_id": 6,
"type_organization_id": 1,
"municipality_id": 822,
"type_regime_id": 1
},
"delivery": {
"languaje_id": 79,
"country_id": 46,
"municipality_id": 822,
"address": "CLL 4 NRO 33-90",
"actual_delivery_date": "2020-07-30"
},
"deliveryparty": {
"identification_number": 890050452,
"dv": 9,
"name": "INVERSIONES DAVAL SAS",
"phone": 3103891693,
"address": "CLL 4 NRO 33-90",
"email": "alexanderobandolondono@gmail.com",
"merchant_registration": "0000000-00",
"type_document_identification_id": 6,
"type_organization_id": 1,
"municipality_id": 822,
"type_regime_id": 1
},
"payment_form": {
"payment_form_id": 2,
"payment_method_id": 30,
"payment_due_date": "2021-09-17",
"duration_measure": "30"
},
"allowance_charges": [{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "840336.13"
}
],
"legal_monetary_totals": {
"line_extension_amount": "840336.13",
"tax_exclusive_amount": "840336.13",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"payable_amount": "1000000.00"
},
"tax_totals":
[{
"tax_id": 1,
"tax_amount": "159663.86",
"percent": "19",
"taxable_amount": "840336.13"
}
],
"invoice_lines":
[{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "840336.13",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000000.00"
}
],
"tax_totals": [{
"tax_id": 1,
"tax_amount": "159663.86",
"taxable_amount": "840336.13",
"percent": "19.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "840336.13",
"base_quantity": "1"
}
]
}
{
"number": 990001185,
"dv":2,
"type_document_id": 1,
"date": "2024-12-18",
"time": "06:08:12",
"resolution_number": "18760000001",
"prefix": "SETP",
"customer": {
"identification_number": 89008003,
"name": "ALEXANDER OBANDO LONDONO",
"phone": "3103891693",
"address": "BRR LIMONAR MZ 6 CS 3 ET 1",
"email": "alexander_obando@hotmail.com",
"merchant_registration": "0000-00",
"type_document_identification_id": 3,
"type_organization_id": 2,
"municipality_id": 149,
"type_regime_id": 2
},
"payment_form": {
"payment_form_id": 1,
"payment_method_id": 10,
"payment_due_date": "2024-12-18",
"duration_measure": "0"
},
"prepaid_payment": {
"idpayment": "A3123856",
"paidamount": "100000.00",
"receiveddate": "2020-03-01",
"paiddate": "2020-03-05",
"instructionid": "PRUEBA DE PREPAGO RECIBIDO"
},
"allowance_charges": [
{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "840336.13"
}
],
"legal_monetary_totals": {
"line_extension_amount": "840336.13",
"tax_exclusive_amount": "840336.13",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"pre_paid_amount": "100000.00",
"payable_amount": "1000000.00"
},
"tax_totals":
[
{
"tax_id": 1,
"tax_amount": "159663.86",
"percent": "19",
"taxable_amount": "840336.13"
}
],
"invoice_lines":
[
{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "840336.13",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "159663.86",
"taxable_amount": "840336.13",
"percent": "19.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "840336.13",
"base_quantity": "1"
}
]
}
{
"number": 990000371,
"type_document_id": 1,
"resolution_number": "18760000001",
"prefix": "SETP",
"date": "2021-08-17",
"time": "06:08:12",
"sendmail": true,
"email_pos_customer": "alexander_obando@hotmail.com",
"customer": {
"identification_number": 222222222222,
"name": "CONSUMIDOR FINAL",
"merchant_registration": "0000000-00"
},
"payment_form": {
"payment_form_id": 1,
"payment_method_id": 10,
"payment_due_date": "2021-08-17",
"duration_measure": "0"
},
"allowance_charges": [
{
"discount_id": 1,
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "840336.13"
}
],
"legal_monetary_totals": {
"line_extension_amount": "840336.13",
"tax_exclusive_amount": "840336.13",
"tax_inclusive_amount": "1000000.00",
"allowance_total_amount": "0.00",
"charge_total_amount": "0.00",
"payable_amount": "1000000.00"
},
"tax_totals":
[
{
"tax_id": 1,
"tax_amount": "159663.86",
"percent": "19",
"taxable_amount": "840336.13"
}
],
"invoice_lines":
[
{
"unit_measure_id": 70,
"invoiced_quantity": "1",
"line_extension_amount": "840336.13",
"free_of_charge_indicator": false,
"allowance_charges": [{
"charge_indicator": false,
"allowance_charge_reason": "DESCUENTO GENERAL",
"amount": "0.00",
"base_amount": "1000000.00"
}
],
"tax_totals": [
{
"tax_id": 1,
"tax_amount": "159663.86",
"taxable_amount": "840336.13",
"percent": "19.00"
}
],
"description": "COMISION POR SERVICIOS",
"code": "COMISION",
"type_item_identification_id": 4,
"price_amount": "840336.13",
"base_quantity": "1"
}
]
}