curl --request GET \
--url https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"identifier": "76111111-6",
"updatedAt": "2026-11-10T03:00:00.000Z",
"fines": [
{
"origin": "Inspección del Trabajo",
"fine": "Multa por no otorgar descanso",
"units": "60",
"unitType": "UTM",
"status": "Ejecutoriada",
"date": "2026-04-20T00:00:00.000Z"
}
]
}Obtener multas laborales
Devuelve las multas por infracciones a la legislación laboral que Pruff tiene registradas para la empresa, de la última actualización disponible. updatedAt indica cuándo se actualizó esa información. El monto se entrega como la cantidad de unidades de la multa (units), como texto y tal como está registrada, junto al tipo de unidad (unitType: UF, UTM o IMM). No es un monto en pesos. Si Pruff no tiene información de la empresa, responde 200 con fines vacío y updatedAt en null. La empresa debe existir en Pruff y estar relacionada con tu empresa.
curl --request GET \
--url https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/datahub/{identifier}/laborLawFines")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"identifier": "76111111-6",
"updatedAt": "2026-11-10T03:00:00.000Z",
"fines": [
{
"origin": "Inspección del Trabajo",
"fine": "Multa por no otorgar descanso",
"units": "60",
"unitType": "UTM",
"status": "Ejecutoriada",
"date": "2026-04-20T00:00:00.000Z"
}
]
}Parámetros de ruta
RUT de la empresa, sin puntos, con guion y con la K del dígito verificador en mayúscula (por ejemplo 76111111-6). También se acepta un NIT colombiano con el formato XXXXXXXXX-Y. Un identificador que no es un RUT ni un NIT válido responde 400. La empresa debe existir en Pruff y estar relacionada con tu empresa; si no, responde 404.
^(\d{1,8}-[\dK]|\d{1,15}-\d)$"76111111-6"
Respuesta
Multas laborales de la empresa.