Moffin Solutions API (1.0.0)

API para la consulta de datos fiscales y financieros de contribuyentes.

Download OpenAPI description
Overview
Soporte Moffin Solutions

hola@moffin.mx

Languages
Servers
Mock server

https://solutions-docs.moffin.mx/_mock/apis/

Servidor de producción

https://solutions-api.moffin.mx/api/

Authentication

Operations

Consultas Empresariales

Operations

Consultas Fiscales

Operations

Consultas de Historial Laboral

Operations

Consulta de Historial Laboral

Request

Permite obtener el historial laboral de un contribuyente a partir de su CURP. La respuesta inicial confirmará el procesamiento de la consulta, y los datos detallados se enviarán posteriormente mediante un webhook configurado.

Respuesta inicial:

{
    "message": "Consulta de historial laboral procesada exitosamente.",
    "queryId": "6791b7b4ddf6a1c971a08626"
}
Bodyapplication/jsonrequired
curpstringrequired

CURP del contribuyente a consultar

Example: "AICA888888HMNJRC08"
curl -i -X POST \
  https://solutions-docs.moffin.mx/_mock/apis/query/job-history \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "curp": "AICA888888HMNJRC08"
  }'

Responses

Consulta exitosa de historial laboral

Bodyapplication/json
_idstring
Example: "6791b9d091fa0dfcd7e8fe67"
servicestring
Example: "JOB_HISTORY"
statusstring
Example: "SUCCESS"
authenticationstring
Example: "MOFFIN"
metadataobject
queryobject
responseobject
stateobject
organizationIdinteger
Example: 1
organizationSlugstring
Example: "moffin"
profileIdinteger
Example: 1209967
createdAtstring(date-time)
Example: "2025-01-23T03:38:56.954Z"
updatedAtstring(date-time)
Example: "2025-01-23T03:39:01.671Z"
Response
application/json
{ "_id": "6791b9d091fa0dfcd7e8fe67", "service": "JOB_HISTORY", "status": "SUCCESS", "authentication": "MOFFIN", "metadata": { "clientType": "PF", "query": {} }, "query": { "curp": "AICA888888HMNJRC08" }, "response": { "nss": "19999999999", "curp": "AICA888888HMNJRC08", "fechaEmision": "22/01/2025", "semanasCotizadas": 52, "semanasDescontadas": 0, "semanasReintegradas": 0, "empleos": [] }, "state": { "JOB_HISTORY": {} }, "organizationId": 1, "organizationSlug": "moffin", "profileId": 1209967, "createdAt": "2025-01-23T03:38:56.954Z", "updatedAt": "2025-01-23T03:39:01.671Z" }

Consultas al SAT

Operations

Query Retrieval

Operations