curl --request GET \
--url https://api.syntage.com/tax-returns/{id} \
--header 'X-API-Key: <api-key>'
{
"@context": "/contexts/TaxReturn",
"@id": "/tax-returns/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "TaxReturn",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"taxpayer": {
"@id": "/taxpayers/PEIC211118IS0",
"@type": "Taxpayer",
"id": "PEIC211118IS0",
"personType": "physical",
"registrationDate": "2023-12-25",
"name": "Pedro Infante Cruz"
},
"operationNumber": 200100172932,
"intervalUnit": "Mensual",
"period": "Diciembre",
"fiscalYear": 2019,
"type": "Complementaria",
"complementary": "Modificación de Obligaciones",
"presentedAt": "2023-11-07T05:31:56Z",
"captureLine": "042007HZ795527888246",
"files": [
{
"@id": "/files/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "File",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"type": "<string>",
"resource": "<string>",
"mimeType": "<string>",
"extension": "<string>",
"size": 40544,
"filename": "<string>",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"payment": {
"dueAmount": 53249.8,
"dueDate": "2019-01-03T21:10:40.000Z",
"code": "0777555544443332222",
"bank": "BBVA Bancomer, S.A.",
"paidAmount": 123,
"date": "2023-11-07T05:31:56Z",
"operationNumber": "123456"
},
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
curl --request GET \
--url https://api.syntage.com/tax-returns/{id} \
--header 'X-API-Key: <api-key>'
{
"@context": "/contexts/TaxReturn",
"@id": "/tax-returns/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "TaxReturn",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"taxpayer": {
"@id": "/taxpayers/PEIC211118IS0",
"@type": "Taxpayer",
"id": "PEIC211118IS0",
"personType": "physical",
"registrationDate": "2023-12-25",
"name": "Pedro Infante Cruz"
},
"operationNumber": 200100172932,
"intervalUnit": "Mensual",
"period": "Diciembre",
"fiscalYear": 2019,
"type": "Complementaria",
"complementary": "Modificación de Obligaciones",
"presentedAt": "2023-11-07T05:31:56Z",
"captureLine": "042007HZ795527888246",
"files": [
{
"@id": "/files/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "File",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"type": "<string>",
"resource": "<string>",
"mimeType": "<string>",
"extension": "<string>",
"size": 40544,
"filename": "<string>",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"payment": {
"dueAmount": 53249.8,
"dueDate": "2019-01-03T21:10:40.000Z",
"code": "0777555544443332222",
"bank": "BBVA Bancomer, S.A.",
"paidAmount": 123,
"date": "2023-11-07T05:31:56Z",
"operationNumber": "123456"
},
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
Your API key is available in the Production and Sandbox dashboards.
Tax Return ID
"91106968-1abd-4d64-85c1-4e73d96fb997"
Tax return resource response
The response is of type object
.