Estado Financiero V2
POST
https://apicorporativo.curbe.com.ec/api/cuenta/estado_financiero/{empresa}/{tipo}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apicorporativo.curbe.com.ec/api/cuenta/estado_financiero//?tipo_instruccion=D&periodo=2021&desde=1&hasta=12' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"ref_movimiento": 1,
"ref_id_cuenta": "311",
"ref_nombre_cuenta": "Cuenta 1",
"ref_nivel": 2,
"ref_periodo": 2021,
"ref_mes": 6,
"ref_valor_mensual": 100.2222,
"ref_acumulado": 100.2222,
"ref_centro": "001",
"ref_centro_nombre": "centro1",
"ref_almacen": "001",
"ref_almacen_nombre": "Almacen1"
},
{
"ref_movimiento": 1,
"ref_id_cuenta": "3112",
"ref_nombre_cuenta": "Cuenta 12",
"ref_nivel": 2,
"ref_periodo": 2021,
"ref_mes": 7,
"ref_valor_mensual": 1100.2222,
"ref_acumulado": 1100.2222,
"ref_centro": "",
"ref_centro_nombre": "",
"ref_almacen": "",
"ref_almacen_nombre": ""
}
]'
Response Response Example
{
"total_enviados": 50,
"suma_valor": 150.256,
"suma_acumulado": 250.36,
"registrados_correcto": 49,
"registrados_incorrecto": 1,
"ref_periodo": 2021,
"ref_mesInicial": 1,
"ref_mesFinal": 2,
"errores": [
{
"ref_movimiento": 1,
"ref_id_cuenta": "311",
"ref_nombre_cuenta": "Cuenta 1",
"ref_nivel": 2,
"ref_periodo": 2021,
"ref_mes": 6,
"ref_valor_mensual": 66,
"ref_acumulado": 1000,
"ref_centro": "001",
"ref_almacen": "001",
"ref_error": true,
"ref_mensaje_error": "Campo ref_id_cuenta invalido"
}
]
}
Request
Path Params
empresa
string
required
tipo
string
required
Query Params
tipo_instruccion
string
required
Example:
D
periodo
string
required
Example:
2021
desde
string
required
Example:
1
hasta
string
required
Example:
12
Body Params application/json
Responses
Modified at 2025-05-29 20:24:44