Skip to content

Importar Documentos Extra Contables

Información General

Parámetros de la Solicitud

CampoCampo AnidadoTipoValor - LímiteDescripción
id_connection-String (obligatorio)-ID único de conexión a Siigo Connector V2
execution_type-String (obligatorio)importImportar datos desde Siigo Pyme
resource-String (obligatorio)extra_accounting_documentsDocumentos extra contables
params-Object (obligatorio)-Filtros de consulta
yearparamsNumberAño actual por defectoAño a consultar
day_initialparamsStringMin. 2 caracteresDía inicial
day_finalparamsStringMin. 2 caracteresDía final
month_initialparamsStringMin. 2 caracteresMes inicial
month_finalparamsStringMin. 2 caracteresMes final
voucher_typeparamsString (obligatorio)Max. 1 carácter (Mayúscula)Tipo de comprobante
voucher_code_initialparamsNumber (obligatorio)Max. 999, Min. 1Código de comprobante inicial
voucher_code_finalparamsNumber (obligatorio)Max. 999, Min. 1Código de comprobante final
number_initialparamsNumber (obligatorio)Max. 999999999999, Min. 1Número de comprobante inicial
number_finalparamsNumber (obligatorio)Max. 999999999999, Min. 1Número de comprobante final
request_config-Object-Parámetros avanzados de petición
timeoutrequest_configNumberMax. 60 min, Min. 2 minTiempo de espera por petición
attemptsrequest_configNumberMax. 3 intentos, Min. 1Reintentos en caso de fallo
backoffrequest_configNumberMax. 30 min, Min. 0.5 minTiempo de espera entre cada reintento

Request JSON

{
"id_connection": "OBai6kmwKH",
"execution_type": "import",
"resource": "extra_accounting_documents",
"params": {
"year": 2024,
"day_initial": "16",
"day_final": "16",
"month_initial": "10",
"month_final": "10",
"voucher_type": "S",
"voucher_code_initial": 1,
"voucher_code_final": 999,
"number_initial": 1,
"number_final": 999999999999
}
}

Response DATA

CampoReferencia
TIPO DE DOCUMENTO (OBLIGATORIO)document_type
CÓDIGO DOCUMENTO (OBLIGATORIO)document_code
NÚMERO DE DOCUMENTO (OBLIGATORIO)document_number
AÑO DEL DOCUMENTOdocument_year
MES DEL DOCUMENTOdocument_month
DÍA DEL DOCUMENTOdocument_day
AÑO PACTADO DE ENTREGAdelivery_year
MES PACTADO DE ENTREGAdelivery_month
DÍA PACTADO DE ENTREGAdelivery_day
CÓDIGO DEL VENDEDORseller_code
CÓDIGO DE LA CIUDADcity_code
CÓDIGO DE LA ZONAzone_code
SECUENCIAsequence
CENTRO DE COSTOcost_center
SUBCENTRO DE COSTOsub_cost_center
NITnit
SUCURSALbranch
DESCRIPCIÓN DE LA SECUENCIAsequence_description
FORMA DE PAGOpayment
PORCENTAJE DEL IMPOCONSUMOconsumption_tax_percentage
VALOR DEL IMPOCONSUMOconsumption_tax_value
PORCENTAJE DEL IMPODEPORTEsport_tax_percentage
VALOR DEL IMPODEPORTEsport_tax_value
PORCENTAJE DESCUENTO 1discount_percentage_1
VALOR DESCUENTO 1discount_value_1
PORCENTAJE DESCUENTO 2discount_percentage_2
VALOR DESCUENTO 2discount_value_2
PORCENTAJE DESCUENTO 3discount_percentage_3
VALOR DESCUENTO 3discount_value_3
PORCENTAJE CARGO 1charge_percentage_1
VALOR CARGO 1charge_value_1
PORCENTAJE CARGO 2charge_percentage_2
VALOR CARGO 2charge_value_2
PORCENTAJE CARGO 3charge_percentage_3
VALOR CARGO 3charge_value_3
LÍNEA PRODUCTOproduct_line
GRUPO PRODUCTOproduct_group
CÓDIGO PRODUCTOproduct_code
CANTIDADquantity
VALOR DE LA SECUENCIAsequence_value
CÓDIGO DE LA BODEGAwarehouse_code
CÓDIGO DE LA UBICACIÓNlocation_code
CANTIDAD DE FACTOR DE CONVERSIÓNconversion_factor_quantity
OPERADOR DE FACTOR DE CONVERSIÓNconversion_factor_operator
VALOR DEL FACTOR DE CONVERSIÓNconversion_factor_value
SEGUNDA CANTIDADsecondary_quantity
CANTIDAD ENTREGADAdelivered_quantity
VALOR DE CANTIDAD ENTREGADAdelivered_quantity_value
DESCRIPCIÓN DE COMENTARIOScomments_description
DESCRIPCIÓN LARGAlong_description

Response JSON

{
"statusCode": 200,
"status": "success",
"data": [
{
"document_type": "EXTRA",
"document_code": "EXT001",
"document_number": "000123",
"document_year": 2025,
"document_month": 3,
"document_day": 3,
"delivery_year": 2025,
"delivery_month": 3,
"delivery_day": 5,
"seller_code": "S001",
"city_code": "C100",
"zone_code": "Z50",
"sequence": 1,
"cost_center": "CC200",
"sub_cost_center": "SCC10",
"nit": "900123456",
"branch": "B001",
"sequence_description": "Entrega de mercancía especial",
"payment": "Transferencia",
"consumption_tax_percentage": 5.0,
"consumption_tax_value": 1500.0,
"sport_tax_percentage": 2.0,
"sport_tax_value": 600.0,
"discount_percentage_1": 10.0,
"discount_value_1": 5000.0,
"discount_percentage_2": 5.0,
"discount_value_2": 2500.0,
"discount_percentage_3": 0.0,
"discount_value_3": 0.0,
"charge_percentage_1": 3.0,
"charge_value_1": 1500.0,
"charge_percentage_2": 1.5,
"charge_value_2": 750.0,
"charge_percentage_3": 0.0,
"charge_value_3": 0.0,
"product_line": "Electrónica",
"product_group": "Accesorios",
"product_code": "PXT1001",
"quantity": 10,
"sequence_value": 50000.0,
"warehouse_code": "W001",
"location_code": "L002",
"conversion_factor_quantity": 1,
"conversion_factor_operator": "Multiplicar",
"conversion_factor_value": 1.0,
"secondary_quantity": 10,
"delivered_quantity": 10,
"delivered_quantity_value": 50000.0,
"comments_description": "Entrega parcial de pedido según disponibilidad",
"long_description": "Se realiza la entrega de 10 unidades del producto PXT1001 perteneciente a la línea de Electrónica."
}
]
}