Skip to content

Constancia de Situación Fiscal

Con CIEC

api/v1/SAT/CIEC/fiscal-status-certificate

Este servicio regresa en archivo de la Constancia de Situación Fiscal en formato base64

URL

bash
    POST /api/v1/SAT/CIEC/fiscal-status-certificate

Headers

Authorization: Bearer {token}

Accept: application/json

URL Params

txt
    None

Data Params

InputTypeRequiredValues acceptableDefault
rfcstringtrue
ciecstringtrue

Respuestas Posibles

Success

Code: 200 Response Aceptada

Content:

json
{
  "data": {
    "rfc": "RFC",
    "fileBase64": "JVBERi0xLj........."
  }
}

Unauthorized

Code: 401 Unauthorized

Content:

json
{
  "message": "Unauthenticated."
}

Unprocessable Content

Code: 422 Unprocessable Content

Content:

json
{
  "message": "The rfc field is required. (and 1 more error)",
  "errors": {
    "rfc": ["The rfc field is required."],
    "ciec": ["The ciec field is required."]
  }
}

Unprocessable Content

Code: 422 Unprocessable Content

Content:

json
{
    "errors": "The provided credentials are invalid."
}
Ejemplo con curl
bash
curl --location --request POST 'https://bridge.paladins.mx/api/v1/SAT/CIEC/fiscal-status-certificate' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer zbSSVOcamRzUmgx6OD8FS3N3XvB3vhhViqk3iuK6' \
--form 'rfc=""' \
--form 'ciec=""'

Con Fiel