CFDI 4.0 - meses
Los registros paginados
/api/v1/SAT/catalogs/cfdi-40-meses
Este servicio proporciona un JSON que contiene TODOS los registros del catalogo
URL
bash
GET /api/v1/SAT/catalogs/cfdi-40-meses
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": "Enero",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "02",
"texto": "Febrero",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "03",
"texto": "Marzo",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "04",
"texto": "Abril",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "05",
"texto": "Mayo",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "06",
"texto": "Junio",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "07",
"texto": "Julio",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "08",
"texto": "Agosto",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "09",
"texto": "Septiembre",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "10",
"texto": "Octubre",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "11",
"texto": "Noviembre",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "12",
"texto": "Diciembre",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "13",
"texto": "Enero-Febrero",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "14",
"texto": "Marzo-Abril",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
},
{
"id": "15",
"texto": "Mayo-Junio",
"vigencia_desde": "2022-01-01",
"vigencia_hasta": ""
}
],
"links": {
"first": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=1",
"last": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=2",
"prev": null,
"next": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=1",
"label": "1",
"active": true
},
{
"url": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=2",
"label": "2",
"active": false
},
{
"url": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses?page=2",
"label": "Next »",
"active": false
}
],
"path": "https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses",
"per_page": 15,
"to": 15,
"total": 18
}
}
Unauthorized
Code: 401 Unauthorized
Content:
json
{
"message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SAT/catalogs/cfdi-40-meses' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'
El registro dado un identificador
/api/v1/SAT/catalogs/cfdi-40-meses/
Este servicio proporciona un JSON que contiene UN la infomación de un registro del catalogo
URL
bash
GET api/v1/SAT/catalogs/cfdi-40-meses/{cfdi_40_mese}
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
Input | Type | Required | Values acceptable | Default |
---|---|---|---|---|
cfdi_40_mese | string | true |
Data Params
txt
None
Respuestas Posibles
Success
Code: 200 Response Aceptada
Content:
json
{
"data": {
"id": "01",
"texto": "Enero",
"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/cfdi-40-meses/01' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'