GET
/
insights
/
{id}
/
cash-flow
curl --request GET \
  --url https://api.syntage.com/insights/{id}/cash-flow \
  --header 'X-API-Key: <api-key>'
[
  {
    "type": "inflow",
    "date": "<any>",
    "currency": "<any>",
    "transactions": "6",
    "amount": 5938.88,
    "mxnAmount": 114638.76
  }
]

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

options[periodicity]
enum<string>
default:monthly

The data set is grouped by this field

Available options:
daily,
weekly,
monthly,
quarterly,
yearly
options[type]
enum<string>
default:total

Group series by type

Available options:
total,
payment-method,
currency,
invoice-type
options[from]
string
default:2014-01-01T00:00:00.000Z

Filter by issuing date (greater than)

options[to]
string
default:now

Filter by issuing date (less than)

Response

200
application/ld+json

Taxpayer cash flow

The response is of type object[].