Skip to main content

Accounts Report

Account master data with client, provider, location, and service balance details. No date range required.

GET/apidev/v1/reports/gt/accounts
PermissionAPICLI_RPTGT_CUENTAS
Rate Limit10 req/min
Cache300s

Overview​

Returns account master data as a current snapshot (no date range required) — full identity, tax and document details, contacts, location with coordinates, the linked client and provider, service balances (initial, used, remaining), and associated vehicle. Filter by client, provider, account type, geography, or status, or run a free-text search.


Request​

Request Headers​

Every request to a protected endpoint requires these headers:

HeaderRequiredDescription
AuthorizationYesBearer token obtained from the Login endpoint. Format: Bearer <token>
X-API-KeyYesCompany integration key provided during onboarding. Format: gtk_xxx...
tenantYesYour assigned tenant domain (default: geotareas.com) — always send your assigned tenant
Content-TypeConditionalapplication/json — required for POST and PUT requests

Query Parameters​

ParameterTypeRequiredDefaultDescription
client_idstringNo—Filter by client ID.
provider_idstringNo—Filter by provider ID.
account_typestringNo—Filter by account type.
country_idstringNo—Filter by country ID.
department_idstringNo—Filter by department ID.
city_idstringNo—Filter by city ID.
statusenumNo—Account status: active, inactive.
searchstringNo—Free text search. Max 200 chars.
limitintegerNo25Number of records per page (1–100).
offsetintegerNo0Number of records to skip for pagination.
No date range required

This is a snapshot report. The startdate and enddate parameters are not used.


Code Examples​

curl -s -H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT" \
"https://$TENANT/apidev/v1/reports/gt/accounts?status=active&limit=25"

Response​

Response Fields​

FieldTypeDescription
account_idstring | nullAccount identifier.
account_namestringAccount name.
account_notesstringAccount notes.
account_external_codestringAccount unique/external code.
task_countnumber | nullTasks for the account in the period. Only returned when account_type selects task-bearing accounts (conTareas / ambas); otherwise null.
last_successful_taskobject | nullLast task closed with a successful completion code (task_number, completion_code, status, created_at, finished_at). Only returned when the underlying report is asked for it; otherwise null.
productsstringOrigin / product (and coverage) configured on the account, in one line.
routesstringFixed routes the account belongs to, with their status, in one line.
start_datestring | nullAccount start date.
end_datestring | nullAccount end date.
account_typestringAccount type.
tax_idstringTax identification number.
legal_namestringLegal name.
doc_typestringDocument type.
documentstringDocument number.
phonestringPhone number.
mobilestringMobile number.
emailstringEmail address.
client_idstring | nullClient identifier.
client_namestringClient name.
provider_idstring | nullProvider identifier.
provider_namestringProvider name.
coverage_areastringCoverage area.
countrystringCountry name.
departmentstringDepartment/state name.
citystringCity name.
addressstringStreet address.
postal_codestringPostal code.
latitudenumber | nullLatitude.
longitudenumber | nullLongitude.
initial_services_balancenumberInitial services balance.
services_usednumberServices consumed.
services_remainingnumberServices remaining.
vehicle_makestringVehicle make.
vehicle_modelstringVehicle model.
vehicle_yearstringVehicle year.

Example Response​

{
"success": true,
"data": [
{
"account_id": "104820579501",
"account_name": "Sucursal Centro",
"account_notes": "Main downtown branch",
"account_external_code": "EXT-9912",
"task_count": 14,
"last_successful_task": {
"task_number": "55012",
"completion_code": "Resuelto en el lugar",
"status": "FIN",
"created_at": "2026-03-05T08:15:00",
"finished_at": "2026-03-05T10:30:00"
},
"products": "Asistencia - Mecanica (AMBA) | Asistencia - Grua (AMBA)",
"routes": "Ruta Norte (A) Estado (A)",
"start_date": "2025-01-15",
"end_date": null,
"account_type": "Commercial",
"tax_id": "30-71234567-9",
"legal_name": "Distribuidora Norte S.A.",
"doc_type": "CUIT",
"document": "30712345679",
"phone": "+54 11 4555-1234",
"mobile": "+54 9 11 5678-9012",
"email": "centro@distribuidoranorte.com",
"client_id": "104820579601",
"client_name": "Distribuidora Norte",
"provider_id": "104820579701",
"provider_name": "LogiServ",
"coverage_area": "AMBA",
"country": "Argentina",
"department": "Buenos Aires",
"city": "CABA",
"address": "Av. Reforma 1234, Col. Centro",
"postal_code": "C1043",
"latitude": -34.6037,
"longitude": -58.3816,
"initial_services_balance": 100,
"services_used": 78,
"services_remaining": 22,
"vehicle_make": "Toyota",
"vehicle_model": "Hilux",
"vehicle_year": "2024"
},
{
"account_id": "104820579502",
"account_name": "Bodega Sur",
"account_notes": "",
"account_external_code": "",
"task_count": null,
"last_successful_task": null,
"products": "Sin Configurar",
"routes": "Sin Ruta",
"start_date": "2025-06-01",
"end_date": "2026-06-01",
"account_type": "Industrial",
"tax_id": "",
"legal_name": "Logistica Express S.R.L.",
"doc_type": "",
"document": "",
"phone": "",
"mobile": "+54 9 11 3456-7890",
"email": "bodega@logisticaexpress.com",
"client_id": "104820579602",
"client_name": "Logistica Express",
"provider_id": null,
"provider_name": "",
"coverage_area": "",
"country": "Argentina",
"department": "Buenos Aires",
"city": "Avellaneda",
"address": "Calle 5 de Mayo 567",
"postal_code": "1870",
"latitude": -34.6633,
"longitude": -58.3653,
"initial_services_balance": 50,
"services_used": 50,
"services_remaining": 0,
"vehicle_make": "",
"vehicle_model": "",
"vehicle_year": ""
}
],
"meta": {
"total": 2,
"limit": 25,
"offset": 0
}
}

Errors​

CodeHTTPDescription
VALIDATION_ERROR400Invalid params: invalid enum values.
UNAUTHORIZED401Missing, invalid, or expired tenant / Authorization / X-API-Key
FORBIDDEN403User lacks required permission.
RATE_LIMITED429Exceeded 10 req/min.
INTERNAL_ERROR500Unexpected server error.