The connector only reads data. It never creates, changes or deletes anything in Eccosys.
Configuring Eccosys as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Eccosys option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
The connector uses your Eccosys environment name and an API token:1
Find your environment name
It is the part before
.eccosys.com.br in the address you use to open Eccosys. For https://minhaloja.eccosys.com.br, the environment is minhaloja.2
Get an API token
Eccosys gives API keys according to your plan, and more can be added from its add-ons store. Use a key only for Nekt: the request limit of your plan is counted per key and shared by every tool that uses it. Eccosys explains how to get the credentials in the authentication section of its API documentation.
- Environment: The name of your Eccosys environment (you can also paste the full address).
- API Token: The Eccosys API key.
- Start Date: Earliest date read on the first sync and on full syncs: orders by order date, invoices by emission date, accounts by due and settlement date, stock movements and cash entries by date. Products, customers, suppliers, stock levels and the reference lists are always read in full.
- Lookback Days (advanced, default 30): Days before the previous sync that every sync reads again, so orders, invoices and accounts that changed (status, payment, cancellation) are updated. Eccosys does not tell which records changed, so this is how changes reach your tables.
- Items Lookback Days (advanced, default 3): Order and invoice item lines take one request per order or invoice, so a regular sync reads them only for orders and invoices of these last days. The first sync and full syncs read all of them.
- Requests per Minute (advanced, default 55): How many requests per minute the connector makes. Your plan allows 60 (Essencial/Básico), 80 (Profissional/Avançado), 120 (Performance/Master) or 200 (Enterprise/PRO) per key. The default 55 leaves some room on the smallest plan; keep room if other tools use the same key.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data, which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data, which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while. For Eccosys we recommend a monthly full sync: it updates orders, invoices and accounts that changed after Lookback Days (for example, an old installment that was cancelled, or an account entered late with an old due date that is still open), stock movements and cash entries posted with an older date, and the items of closed orders edited later.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.The first sync reads the whole history since the start date and the item lines of every order and invoice, one request each. On the Essencial/Básico plan (60 requests per minute), 10,000 orders take about three hours for their items alone. Choose a recent start date for the first sync, or raise Requests per Minute if your plan allows more. Regular syncs read only the last days.
If the token cannot read some data in Eccosys (access denied), the tables that need it are skipped with a message and the other tables keep syncing. A refused token or a wrong environment name stops the sync with a message saying what to check. If only the item lines are refused, the orders and invoices still sync and the next sync reads the lines it missed.
Fields by stream
Nested data (addresses, installments, attributes, shipping methods, financial documents) arrives as JSON text in one column. Every table also has an
extra_fields column with any field Eccosys sends that has no column of its own. Dates without a time are kept as dates; dates with a time are converted from Brasília time to UTC. sync_window_end is a technical column used by incremental syncs, not an Eccosys field.Sales
Orders
Orders
Sales orders with customer, totals, shipping, logistics and status. Read by order date; every sync reads the last Lookback Days again to update status and payment changes, plus every order created in Eccosys since the previous sync whatever its order date (imported or backdated orders). Delivery address, installments and event history come as JSON when Eccosys sends them.Table:
orders · Primary key: id · Sync: Incremental (sync_window_end)Order items
Order items
Item lines of the orders. Eccosys needs one request per order, so a regular sync reads the lines of the orders dated in the Items Lookback Days before the last sync that read lines and of every order still open (awaiting payment, open, ready for picking, payment under review) dated within Lookback Days; the first sync and a full sync read them for every order. Lines removed from an order stay in the table with an older
sync_window_end: the current lines of an order are those with the greatest sync_window_end among the lines with its id_venda. An order left with no lines at all keeps its old lines; compare their sum with total_produtos in orders when that matters.Table: order_items · Primary key: id · Sync: Incremental (sync_window_end)Order statuses
Order statuses
The current status of every order of the account, whatever its age, read in one request on every sync. Join it with
orders on id for the latest status of orders older than the lookback.Table: order_statuses · Primary key: id · Sync: Full tableProducts and stock
Products
Products
Products and SKUs with prices, costs, dimensions, tax codes and attributes. The first sync and a full sync read every product; regular syncs read the products changed since the previous sync.Table:
products · Primary key: id · Sync: Incremental (sync_window_end)Stock levels
Stock levels
Physical and available stock of every product, all warehouses together, as of the sync.Table:
stock_levels · Primary key: id_produto · Sync: Full tableStock levels by warehouse
Stock levels by warehouse
Physical and available stock of every product in each warehouse, as of the sync.Table:
stock_levels_by_warehouse · Primary key: id_deposito, id_produto · Sync: Full tableStock movements
Stock movements
Every stock entry (in, out, balance) with quantity, price and cost: the stock ledger, read by entry date; every sync reads the last Lookback Days again.Table:
stock_movements · Primary key: id · Sync: Incremental (sync_window_end)Invoices (NF-e)
Invoices
Invoices
Outgoing and incoming product invoices (NF-e) of the main company and of every business unit, with recipient, totals and taxes. Read by emission date; every sync reads the last Lookback Days again to update status changes such as authorization and cancellation, plus the incoming invoices entered since the previous sync whatever their emission date.Table:
invoices · Primary key: id · Sync: Incremental (sync_window_end)Invoice items
Invoice items
Item lines of the invoices, with taxes. One request per invoice, so a regular sync reads the lines of the invoices issued in the Items Lookback Days before the last sync that read lines and of every invoice not final yet (pending, awaiting receipt or protocol, rejected) issued within Lookback Days; the current lines of an invoice are those with the greatest
sync_window_end among the lines with its id_nota_fiscal; the first sync and a full sync read them for every invoice.Table: invoice_items · Primary key: id · Sync: Incremental (sync_window_end)Finance
Accounts receivable
Accounts receivable
Installments to receive with due date, settlement date, open balance and status. Every sync reads the installments due from Lookback Days before the previous sync up to five years ahead, plus those settled since then, so open installments always show their current status.Table:
accounts_receivable · Primary key: id · Sync: Incremental (sync_window_end)Accounts payable
Accounts payable
Installments to pay, read the same way as accounts receivable.Table:
accounts_payable · Primary key: id · Sync: Incremental (sync_window_end)Cash entries
Cash entries
Cash and bank entries (credits and debits) with their financial document.Table:
cash_entries · Primary key: id · Sync: Incremental (sync_window_end)Financial categories
Financial categories
Income and expense categories.Table:
financial_categories · Primary key: id · Sync: Full tableCustomers, suppliers and lists
Customers
Customers
Customers with documents, contact details and addresses, read in full on every sync.Table:
customers · Primary key: id · Sync: Full tableSuppliers
Suppliers
Suppliers, read in full on every sync.Table:
suppliers · Primary key: id · Sync: Full tableWarehouses
Warehouses
Warehouses (depósitos), active and deleted.Table:
warehouses · Primary key: id · Sync: Full tableBusiness units
Business units
Business units (unidades de negócio). The main company is unit
0 and is not in this list.Table: business_units · Primary key: id · Sync: Full tableSales channels
Sales channels
Sales channels (online store and marketplaces) with their integration platform.Table:
sales_channels · Primary key: id · Sync: Full tableBrands
Brands
Product brands.Table:
brands · Primary key: id · Sync: Full tableDepartments
Departments
Product departments, with their categories and subcategories as JSON.Table:
departments · Primary key: id · Sync: Full tableProduct categories
Product categories
Product categories, with their subcategories as JSON.Table:
product_categories · Primary key: id · Sync: Full tableProduct subcategories
Product subcategories
Product subcategories.Table:
product_subcategories · Primary key: id · Sync: Full tableCarriers
Carriers
Carriers (transportadoras) with their shipping methods as JSON.Table:
carriers · Primary key: id · Sync: Full table