Skip to content

Factura Electrónica

{
"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"
	}
]
}

Factura con impuesto al consumo y IVA en la misma linea de producto

Section titled “Factura con impuesto al consumo y IVA en la misma linea de producto”
{
  "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"
      }
  ]
}

Factura con dos lineas, descuento global, por linea y dos tarifas de IVA

Section titled “Factura con dos lineas, descuento global, por linea y dos tarifas de IVA”
{
  "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"
	}
	
]
}

Factura con cliente consumidor final 222222222222

Section titled “Factura con cliente consumidor final 222222222222”
{
"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"
	}
	
]
}