curl --request GET \
--url https://api.factiliza.com/v1/ruc/info/{ruc} \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"success": true,
"message": "Exito",
"data": {
"numero": "20552103816",
"nombre_o_razon_social": "AGROLIGHT PERU S.A.C.",
"tipo_contribuyente": "SOCIEDAD ANONIMA CERRADA",
"estado": "SUSPENSION TEMPORAL",
"condicion": "HABIDO",
"departamento": "LIMA",
"provincia": "LIMA",
"distrito": "SANTA ANITA",
"direccion": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET.",
"direccion_completa": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET., LIMA - LIMA - SANTA ANITA",
"ubigeo_sunat": "150137",
"ubigeo": [
"15",
"1501",
"150137"
]
}
}
Retorna datos segun el RUC
curl --request GET \
--url https://api.factiliza.com/v1/ruc/info/{ruc} \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"success": true,
"message": "Exito",
"data": {
"numero": "20552103816",
"nombre_o_razon_social": "AGROLIGHT PERU S.A.C.",
"tipo_contribuyente": "SOCIEDAD ANONIMA CERRADA",
"estado": "SUSPENSION TEMPORAL",
"condicion": "HABIDO",
"departamento": "LIMA",
"provincia": "LIMA",
"distrito": "SANTA ANITA",
"direccion": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET.",
"direccion_completa": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET., LIMA - LIMA - SANTA ANITA",
"ubigeo_sunat": "150137",
"ubigeo": [
"15",
"1501",
"150137"
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
El RUC a consultar
ruc response
The response is of type object
.