RET 2.0 (CFDI De Retenciones e Información de Pagos) - tipos pago retencion
Los registros paginados
/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion
Este servicio proporciona un JSON que contiene TODOS los registros del catalogo
URL
bash
GET /api/v1/SAT/catalogs/ret-20-tipos-pago-retencion
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
Input | Type | Required | Values acceptable | Default |
---|---|---|---|---|
page | number | false |
Data Params
txt
None
Respuestas Posibles
Success
Code: 200 Response Aceptada
Content:
json
{
"data": [
{
"id": "01",
"texto": "Pago definitivo IVA",
"tipo_impuesto": "002",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "02",
"texto": "Pago definitivo IEPS",
"tipo_impuesto": "003",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "03",
"texto": "Pago definitivo ISR",
"tipo_impuesto": "001",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "04",
"texto": "Pago provisional ISR",
"tipo_impuesto": "001",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
}
],
"links": {
"first": "https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion?page=1",
"last": "https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion",
"per_page": 15,
"to": 4,
"total": 4
}
}
Unauthorized
Code: 401 Unauthorized
Content:
json
{
"message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'
El registro dado un identificador
/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion/
Este servicio proporciona un JSON que contiene UN la infomación de un registro del catalogo
URL
bash
GET api/v1/SAT/catalogs/ret-20-tipos-pago-retencion/{ret_20_tipos_pago_retencion}
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
Input | Type | Required | Values acceptable | Default |
---|---|---|---|---|
ret_20_tipos_pago_retencion | string | true |
Data Params
txt
None
Respuestas Posibles
Success
Code: 200 Response Aceptada
Content:
json
{
"data": {
"id": "01",
"texto": "Pago definitivo IVA",
"tipo_impuesto": "002",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
}
}
Unauthorized
Code: 401 Unauthorized
Content:
json
{
"message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SAT/catalogs/ret-20-tipos-pago-retencion/01' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'