Overview
REST API with OAuth2, a secure gateway and connections to the shop floor, banks, tax authorities and BI.
The Integrations & API module covers everything that connects GTI ERP to other systems. On one side are the native integrations of the ERP: receipt of tax document XML, communication with SEFAZ (the Brazilian state tax authorities), CNAB files for banks, layout-based imports and monitored automatic services. On the other is the GTI ERP web layer: a modern, documented and secure REST API built on the ERP's own data catalog.
The API uses OAuth2 with Authorization Code and mandatory PKCE, short-lived tokens with rotating refresh and separate read and write scopes. Each request is resolved to the customer's tenant by the access address and limited to the companies authorized for that person, and filters follow an OData-inspired syntax with field selection, sorting, pagination and counting. Per-module OpenAPI documentation, Swagger and the field catalog are available in Portuguese, English, Spanish and Italian, and the public developer portal is the starting point for anyone who will integrate.
Today the API is read-only against customer databases. Writing stays in the ERP, where the business rules live, and writing through the API is only enabled flow by flow, after validation, with idempotency, concurrency control and auditing. Sensitive fields are documented but not delivered, and no SQL, host or credential is ever accepted from the request.
To reach the customer's SQL Server, the GTI ERP gateway runs on a workstation with access to the database network and keeps a single encrypted, persistent connection to the server. It only transports: it does not run SQL, does not receive database passwords and does not run scripts, and every rule stays on the server. GTi iT Solutions installs the gateway, publishes each customer's data resources, connects GTI IoT to the ERP on the shop floor and designs integrations with banks, BI and partner systems.