GET
/
insights
/
{id}
/
trial-balance
curl --request GET \
  --url https://api.syntage.com/insights/{id}/trial-balance \
  --header 'X-API-Key: <api-key>'
[
  {
    "data": {
      "periods": {
        "2020-12": {
          "year": 2020,
          "month": 12
        }
      },
      "accounts": {
        "100": {
          "code": "100",
          "description": "Bancos",
          "trialBalance": {
            "2020-12": {
              "initialBalance": 431147.87,
              "credits": 5081813.59,
              "debits": 3339130.2,
              "endingBalance": 2173831.27
            }
          },
          "children": {
            "102": {
              "code": "102",
              "description": "Bancos nacionales",
              "trialBalance": {
                "2020-12": {
                  "initialBalance": 431147.87,
                  "credits": 5081813.59,
                  "debits": 3339130.2,
                  "endingBalance": 2173831.27
                }
              }
            }
          }
        }
      }
    }
  }
]

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[from]
string

Filter by invoice issuing date (greater than)

options[to]
string

Filter by invoice issuing date (less than)

options[periodicity]
enum<string>

Filter by periodicity (yearly as default)

Available options:
yearly,
monthly

Response

200
application/json

Taxpayer trial balance

The response is of type object[].