Sankhya API: connecting the ERP and using it with AI agents
Sankhya is a Brazilian ERP. It offers integration services that let other systems read and write ERP data, such as partners, products, orders and finance. Mid-sized and large companies use it to connect e-commerce, field sales and BI. Access is usually granted by Sankhya or by an implementation partner, with the company's credentials.
What the Sankhya API offers
Partners
Query and register customers and suppliers.
Products and stock
Read the catalog, prices and stock balances.
Orders and invoices
Enter sales orders and query invoices and their statuses.
Finance
Query payable and receivable titles and their settlements.
Entity queries
Read data from ERP tables and entities according to permissions.
How to access the Sankhya API
- For partners and customersAuthentication with credentials and keys supplied by Sankhya to the company or partner, normally with an access token per session. The details depend on the version and the contract.
- Use a staging database before writing to production.
- Create an integration user with minimum permissions in the ERP.
- Tax and financial writes should have human approval.
Official documentation: developer.sankhya.com.br
What an iTeam agent does with the Sankhya API
E-commerce orders into the ERP
The agent validates customer, price and stock and enters the order in Sankhya, asking for approval when a discount is outside policy.
Stock lookup for sales reps
The rep asks on WhatsApp and the agent answers with the balance and the forecast, with no direct access to the ERP.
Collecting overdue titles
The agent lists overdue titles by customer and prepares the collection sequence for finance to approve.
Management reports on demand
The manager asks in Teams and the agent queries the ERP and returns sales by region and margin.
From the credential to the agent at work, with approval
Release the integration access
Ask Sankhya or the implementation partner for the integration credentials and a user with minimum permissions.
Vault and permissions per agent
Store the credential in the iTeam vault and separate the agents that only query from those that write orders or titles.
Validate before production
Test on a staging database, when one exists, and run writes with human approval at the start.
Ready-made AI teams that use Sankhya
Questions about the Sankhya API
Is the Sankhya API free?
It depends on the contract. Access to the integration services may involve a license or a specific module, so ask Sankhya or your partner.
Do I need to code to use the Sankhya API with iTeam?
Not necessarily. iTeam's HTTP tool reads the API documentation and learns the endpoints, and the deployment team sets up credentials, permissions and tests with you.
Does Sankhya have a REST API?
Sankhya offers integration services over HTTP to read and write data. Formats and features vary by version, so the best step is to confirm in the official documentation and with the partner.