API para la consulta de datos fiscales y financieros de contribuyentes.
https://solutions-docs.moffin.mx/_mock/apis/
https://solutions-api.moffin.mx/api/
https://solutions-docs.moffin.mx/_mock/apis/query/sat/profile
https://solutions-api.moffin.mx/api/query/sat/profile
curl -i -X POST \
https://solutions-docs.moffin.mx/_mock/apis/query/sat/profile \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rfc": "MOCKRFC123456",
"ciec": "12345678"
}'{ "message": "Perfil creado satisfactoriamente", "rfc": "MOCKRFC123456", "profileId": 27287 }
https://solutions-docs.moffin.mx/_mock/apis/query/sat/csf
https://solutions-api.moffin.mx/api/query/sat/csf
curl -i -X POST \
https://solutions-docs.moffin.mx/_mock/apis/query/sat/csf \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rfc": "MOCKRFC123456"
}'{ "_id": "6791bc81d68f4ff2b76493d2", "service": "CSF", "status": "SUCCESS", "authentication": "MOFFIN", "metadata": { "clientType": "PM", "query": { … } }, "query": { "rfc": "MOCKRFC123456" }, "response": { "claveMensaje": 0, "pdf": "https://deorp2zq6pc3v.cloudfront.net/csf/ac7b0db2-5fcc-4fcf-9075-8b1395643c90-MOCKRFC123456-CSF.pdf", "datosSat": { … }, "codigoValidacion": "cs1737604226.9306736" }, "organizationId": 1, "organizationSlug": "moffin", "profileId": 27287, "createdAt": "2025-01-23T03:50:25.858Z", "updatedAt": "2025-01-23T03:52:11.224Z" }
Permite obtener la Opinión de Cumplimiento (32D) de un contribuyente a partir de su RFC.
Nota: Antes de realizar esta consulta, es necesario crear un perfil SAT con el RFC y la CIEC.
Importante: La respuesta inicial confirmará el procesamiento de la consulta y los datos detallados se enviarán posteriormente mediante un webhook configurado.
Respuesta inicial:
{
"message": "Solicitud de 32D procesada exitosamente",
"queryId": "6791b7b4ddf6a1c971a08625"
}https://solutions-docs.moffin.mx/_mock/apis/query/sat/compliance-opinion
https://solutions-api.moffin.mx/api/query/sat/compliance-opinion
curl -i -X POST \
https://solutions-docs.moffin.mx/_mock/apis/query/sat/compliance-opinion \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rfc": "MOCKRFC123456"
}'{ "_id": "6791c34927ad40b9491c3455", "service": "32D", "status": "SUCCESS", "authentication": "MOFFIN", "metadata": { "clientType": "PM", "query": { … } }, "query": { "rfc": "MOCKRFC123456" }, "response": { "opinion": "POSITIVA", "pdf": "https://deorp2zq6pc3v.cloudfront.net/32D/9b8a94bb-fc55-46db-afcf-f475d9020ae7-MOCKRFC123456-32D.pdf" }, "state": { "validationCode": "gf1737605987.659957", "retry": 1 }, "organizationId": 1, "organizationSlug": "moffin", "profileId": 27287, "createdAt": "2025-01-23T04:19:21.953Z", "updatedAt": "2025-01-23T04:19:47.691Z" }
Permite obtener las facturas de un contribuyente a partir de su RFC y un período de consulta.
Nota: Antes de realizar esta consulta, es necesario crear un perfil SAT con el RFC y la CIEC.
Importante: La respuesta inicial confirmará el procesamiento de la consulta y los datos detallados se enviarán posteriormente mediante un webhook configurado.
Respuesta inicial:
{
"message": "Solicitud de facturas procesada exitosamente",
"results": [
{
"queryId": "6791c6756a250515924f140f",
"period": "2025-1",
"status": "PENDING"
},
{
"queryId": "6791c6796a250515924f1411",
"period": "2024-12",
"status": "PENDING"
}
]
}https://solutions-docs.moffin.mx/_mock/apis/query/sat/invoice
https://solutions-api.moffin.mx/api/query/sat/invoice
curl -i -X POST \
https://solutions-docs.moffin.mx/_mock/apis/query/sat/invoice \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rfc": "MOCKRFC123456",
"period": "1Y"
}'{ "_id": "1234567890abcdef12345678", "service": "invoices", "status": "SUCCESS", "authentication": "MOCK_AUTH", "metadata": { "clientType": "PM", "query": { … } }, "query": { "rfc": "ABC123456T89" }, "response": { "periodo": "2025-01", "totalEmitidas": "$100,000.00", "totalRecibidas": "$50,000.00", "totalDiferencia": "$50,000.00", "facturasEmitidas": [ … ], "facturasRecibidas": [ … ], "codigoValidacion": "mock123456789", "message": null }, "state": { "invoices": { … } }, "organizationId": 99, "organizationSlug": "mock-organization", "profileId": 55555, "createdAt": "2025-01-23T10:00:00.000Z", "updatedAt": "2025-01-23T10:05:00.000Z" }