Estado Financiero
POST
https://apicorporativo.curbe.com.ec/api/cuenta/estado_financiero/empresa/tipo
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://apicorporativo.curbe.com.ec/api/cuenta/estado_financiero/empresa/tipo?{empresa}=token.empresa&{tipo}=1&tipo_instruccion=D&periodo=2021&desde=1&hasta=12' \
--header 'Content-Type: application/json' \
--data-raw '{
"empresa": "5df22597868a8a73031900cd17bcd",
"tipo": 1,
"tipo_instruccion": "D",
"periodo": 2021,
"desde": 1,
"hasta": 12,
"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_almacen": "001"
}'
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
Query Params
{empresa}
string
optional
Example:
token.empresa
{tipo}
string
optional
Example:
1
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 16:48:27