This service allows you to retrieve information about a company in Chile by providing its document type and number. The service response will contain the name of the company, its business category, subcategory, and activity. Additionally, this service will provide you with a list of services for which the company is authorized to work.
Parameters
Name |
Type |
¿Required? |
Description |
Example |
documentType |
String |
True |
Document type. Allowed parameter: RUT. |
RUT |
documentType |
String |
True |
RUT of the company that you want to consult, enter this parameter with periods and hyphens as established by the native documentation. |
33516727409 |
Implementation
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/cl/company>',
params: {documentType: 'RUT', documentNumber: '212957739'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Response 200 - (Successful response)
{
"data": {
"activities": "Contribuyente presenta Inicio de Actividades: SI",
"currentEconomicActivities": [
{
"activity": "ELABORACION DE PRODUCTOS DE PANADERIA Y PASTELERIA",
"code": "107100",
"category": "Primera",
"affectIVA": "Si",
"date": "05-09-2014"
},
{
"activity": "VENTA AL POR MENOR DE ALIMENTOS EN COMERCIOS ESPECIALIZADOS (ALMACENES",
"code": "472101",
"category": "Primera",
"affectIVA": "Si",
"date": "05-09-2014"
}
],
"documentNumber": "76409396",
"documentType": "RUT",
"fullRUT": "76409396-8",
"name": "PANADERIA R&M SPA",
"stampedDocuments": [],
"startDate": "05-09-2014"
},
"signature": {
"dateTime": "September 4, 2023 3:07 PM",
"message": "Certified by Verifik.co"
},
"id": "azbnj"
}
Other responses
|
Code |
Description |
Response Body |
404 |
Not Found |
Information not found. |
{ |
"code": "NotFound", |
|
|
|
"message": "No existe contribuyente asociado a la CUIT ingresada", |
|
|
|
"signature": { |
|
|
|
"dateTime": "February 21, 2024 7:52 PM", |
|
|
|
"message": "Certified by Verifik.co" |
|
|
|
} |
|
|
|
} |
|
|
|
409 |
Conflict |
Some parameters are missing. |
{ |
"code": "MissingParameter", |
|
|
|
"message": "missing documentType\n. missing documentNumber\n" |
|
|
|
} |
|
|
|
409 |
Conflict |
Invalid documentType for this query. |
{ |
"code": "MissingParameter", |
|
|
|
"message": "documentType must be one of: [RUT]" |
|
|
|
} |
|
|
|