Opinión del cumplimiento de obligaciones fiscales
Con CIEC
api/v1/SAT/CIEC/contributing-opinion
Este servicio regresa en archivo de la opinión del cumplimiento de obligaciones fiscales en formato base64
URL
bash
POST /api/v1/SAT/CIEC/contributing-opinion
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
txt
None
Data Params
Input | Type | Required | Values acceptable | Default |
---|---|---|---|---|
rfc | string | true | ||
ciec | string | true |
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."]
}
}
Ejemplo con curl
bash
curl --location --request POST 'https://bridge.paladins.mx/api/v1/SAT/CIEC/contributing-opinion' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer zbSSVOcamRzUmgx6OD8FS3N3XvB3vhhViqk3iuK5' \
--header 'Content-Type: application/json' \
--form 'rfc=""' \
--form 'ciec=""'