GET
/
taxpayers
/
{id}
/
tax-compliance-checks
curl --request GET \
  --url https://api.syntage.com/taxpayers/{id}/tax-compliance-checks \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "/taxpayers/PEIC211118IS0/tax-compliance-checks",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@id": "/tax-compliance-checks/91106968-1abd-4d64-85c1-4e73d96fb997",
      "@type": "TaxComplianceCheck",
      "id": "91106968-1abd-4d64-85c1-4e73d96fb997",
      "file": {
        "type": "tax_compliance_check.pdf",
        "resource": "/tax-compliance-check/91106968-1abd-4d64-85c1-4e73d96fb997",
        "mimeType": "application/pdf",
        "extension": "pdf",
        "filename": "PEIC211118IS0_20RD1174999.pdf"
      },
      "internalIdentifier": "20NE1234567",
      "taxpayer": {
        "rfc": "PEIC211118IS0",
        "name": "Pedro Infante Cruz"
      },
      "result": "no_obligations",
      "checkedAt": "2020-01-01T12:15:00.000Z",
      "createdAt": "2020-01-01T12:15:00.000Z"
    }
  ],
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:next": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[lt]=9b8e5365-0b36-45f5-9c76-fbe439632367",
    "hydra:last": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[gt]=9b8e5365-0b36-45f5-9c76-fbe439632367"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "<string>",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "<string>",
        "variable": "<string>",
        "property": "<string>",
        "required": true
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

id
string
required

RFC (Registro Federal de Contribuyentes)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

Query Parameters

internalIdentifier
string

The internal identifier (folio) generated by the SAT

Example:

"20NE1234567"

taxpayer.rfc
string

RFC (Registro Federal de Contribuyentes)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

taxpayer.name
string

Taxpayer name

Required string length: 1 - 254
Example:

"Pedro Infante Cruz"

result
enum<string>
Available options:
positive,
negative,
no_obligations,
activity_suspended
Example:

"no_obligations"

checkedAt[before]
string

Filter by check date (less than or equal <=)

Example:

"2020-01-01T12:15:00.000Z"

checkedAt[strictly_before]
string

Filter by check date (less than <)

Example:

"2020-01-01T12:15:00.000Z"

checkedAt[after]
string

Filter by check date (greater than or equal >=)

Example:

"2020-01-01T12:15:00.000Z"

checkedAt[strictly_after]
string

Filter by check date (greater than >)

Example:

"2020-01-01T12:15:00.000Z"

createdAt[before]
string

Filter by creation date (less than or equal <=)

Example:

"2020-01-01T12:15:00.000Z"

createdAt[strictly_before]
string

Filter by creation date (less than <)

Example:

"2020-01-01T12:15:00.000Z"

createdAt[after]
string

Filter by creation date (greater than or equal >=)

Example:

"2020-01-01T12:15:00.000Z"

createdAt[strictly_after]
string

Filter by creation date (greater than >)

Example:

"2020-01-01T12:15:00.000Z"

order[checkedAt]
enum<string>

Order by check date

Available options:
asc,
desc
Example:

"asc"

order[createdAt]
enum<string>

Order by creation date

Available options:
asc,
desc
Example:

"asc"

id[lt]
string

The collection cursor pointer to the next page

id[gt]
string

The collection cursor pointer to the previous page

itemsPerPage
integer
default:20

The number of items per page

Required range: 1 <= x <= 1000

Response

200
application/ld+json

Taxpayer tax compliance check collection response

The response is of type object.