Skip to main content

Company Information - Peru

Description

Retrieve comprehensive company information from Peru including RUC, business address, contact details, financial data, company size, and economic activity (CIIU).

HTTP method POST

Endpoint

https://apidev.msla-id.com/experience-companyinfo-api-v1/api/idv-govcheck/v1/company/search
info

This endpoint requires Bearer Token authentication. Contact IT support to get credentials.

Request header parameter

NAMEREQUIREDTYPEDESCRIPTION
Content-Typestringapplication/json
AuthorizationstringBearer JWT token

Request body parameters

NAMEREQUIREDTYPEDESCRIPTION
countrystringPER (Peru)
taxIDobjectTax identification object
taxID.identityNumberstringRUC number (e.g., "20100057876")
taxID.checkDigitstringNot applicable for Peru
companyNamestringCompany name (required if searchType=2)
searchTypenumber1 (by RUC) or 2 (by company name)

Request example

{
"country": "PER",
"taxID": {
"identityNumber": "20100057876",
"checkDigit": ""
},
"companyName": "",
"searchType": 1
}

Status code responses

CodeDescription
200OK
400Bad request
401Unauthorized
500Internal server error

Response 200 status code

{
"trackingId": "1289580121575923712",
"data": {
"result": 1,
"companyList": [
{
"ruc": "20514885398",
"company_name": "ITALCASE SAC",
"status": "ACTIVO",
"condition": "HABIDO",
"type": "SOCIEDAD ANONIMA CERRADA",
"main_economic_activity_rev3": "ACTIVIDADES DE ARQUITECTURA E INGENIERIA",
"secondary_economic_activity": "NO DISPONIBLE",
"main_economic_activity_rev4": "ACTIVIDADES DE ARQUITECTURA E INGENIERIA Y ACTIVIDADES CONEXAS DE CONSULTORIA TECNICA",
"number_of_employees": "NO DISPONIBLE",
"type_of_invoicing": "MANUAL/COMPUTARIZADO",
"type_of_accounting": "MANUAL/COMPUTARIZADO",
"foreign_trade": "IMPORTADOR/EXPORTADOR",
"ubigeo": "150141",
"department": "LIMA",
"province": "LIMA",
"district": "SURQUILLO",
"publication_period": "202601",
"trade_name": "-",
"phone_1": "4402253"
}
]
}
}

Response 400 status code

{
"traceId": "542fc743fffda052",
"timestamp": "2025-03-16 11:20:46",
"code": "IDV-4005",
"message": "Bad request - Invalid parameters provided",
"data": null
}

Response 401 status code

{
"timestamp": "2025-03-16T11:20:46.000Z",
"status": 401,
"error": "Unauthorized",
"message": "Bearer token is missing or invalid",
"path": "/api/companies"
}

Response 500 status code

{
"traceId": "43a20f33d4e8730d",
"timestamp": "2025-03-16 11:20:46",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}

Error codes

CodeMessageAdditional Info
E001Bearer token is missing or invalidCheck authorization header
E002Bearer token expired, contact with your administratorContact IT support
E101Field identityNumber is requiredRequired when searchType=1
E102Field companyName is required and length > 4 charactersRequired when searchType=2
E104You have exceeded the daily query limitLimit: 10000 requests/day