Configuring VHSYS as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the VHSYS option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
The API is enabled through the Integração via API app of your VHSYS account. If you don’t have it yet: open the Loja de Integração inside VHSYS, search for “API”, subscribe to the app, then click Abrir aplicativo to view your keys. The following configurations are required:- Access Token: The access token shown in the Integração via API app.
- Secret Access Token: The secret access token paired with the access token.
- Start Date: The earliest date from which records will be synced for incremental streams. When omitted, the first sync fetches the full history.
- Account Timezone: IANA timezone used to render date filters in store-local time (defaults to America/Sao_Paulo).
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). Once you are ready, click Next to finalize the setup.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.Streams and Fields
Below you’ll find all available data streams from VHSYS and their corresponding fields. Most streams sync incrementally, filtered by the records’ last-change date; reference streams (finance categories, service list and service invoices) are extracted as full tables. Order and invoice items/installments are fetched per parent record processed in the current run.Clientes (Customers)
Clientes (Customers)
id_cliente- Unique ID of the customertipo_pessoa- Person type (PJ = company, PF = individual)cnpj_cliente- CNPJ/CPF tax ID of the customerrazao_cliente- Legal name of the customerfantasia_cliente- Trade name of the customeremail_cliente- Email address of the customercidade_cliente/uf_cliente- City and state of the customersituacao_cliente- Status of the customervendedor_cliente_id- ID of the linked salespersonlimite_credito- Credit limitdata_cad_cliente/data_mod_cliente- Registration and last-modification datesveiculos- Vehicles of the customer (JSON)
Categorias de Clientes (Customer Categories)
Categorias de Clientes (Customer Categories)
id_categoria- Unique ID of the categorynome_categoria- Name of the categorystatus_categoria- Status of the categorydata_cad_categoria/data_mod_categoria- Registration and last-modification dates
Vendedores (Salespeople)
Vendedores (Salespeople)
id_vendedor- Unique ID of the salespersoncnpj_vendedor- CNPJ/CPF tax IDrazao_vendedor- Legal name or full nameemail_vendedor- Email addresscomissao_usuario/comissao_regra- Commission value and rulesituacao_vendedor- Status of the salesperson
Transportadoras (Carriers)
Transportadoras (Carriers)
id_transportadora- Unique ID of the carrierdesc_transportadora- Name of the carriercnpj_transportadora- CNPJ/CPF tax IDcidade_transportadora/estado_transportadora- City and staterntc_transportadora- RNTC registry number
Produtos (Products)
Produtos (Products)
id_produto- Unique ID of the productcod_produto- Code (SKU) of the productdesc_produto- Description (name) of the productid_categoria- ID of the product categoryvalor_produto/valor_custo_produto- Sale and cost pricesestoque_produto- Current stock quantityncm_produto/cest_produto- Tax classification codescodigo_barra_produto- Barcode (EAN)status_produto- Status of the productgrades/variacoes/imagens- Grids, variations and images (JSON)
Categorias de Produtos (Product Categories)
Categorias de Produtos (Product Categories)
id_categoria- Unique ID of the categorynome_categoria- Name of the categorystatus_categoria- Status of the categorysubcategorias- Subcategories of the category (JSON)
Subcategorias de Produtos (Product Subcategories)
Subcategorias de Produtos (Product Subcategories)
id_subcategoria- Unique ID of the subcategoryid_categoria- ID of the parent categorynome_subcategoria- Name of the subcategorystatus_subcategoria- Status of the subcategory
Pedidos (Sales Orders)
Pedidos (Sales Orders)
id_ped- Unique ID of the orderid_cliente/nome_cliente- Customer of the ordervendedor_pedido_id- ID of the salespersonvalor_total_produtos- Total product amountdesconto_pedido/frete_pedido- Discount and freight amountsvalor_total_nota- Total order amountstatus_pedido- Status of the orderdata_pedido- Date of the orderdata_cad_pedido/data_mod_pedido- Registration and last-modification dates
Produtos dos Pedidos (Order Items)
Produtos dos Pedidos (Order Items)
id_ped_produto- Unique ID of the line itemid_pedido- ID of the sales orderid_produto/desc_produto- Product of the line itemqtde_produto- Quantityvalor_unit_produto/valor_total_produto- Unit and total amountsdesconto_produto- Discount amount
Parcelas dos Pedidos (Order Installments)
Parcelas dos Pedidos (Order Installments)
id_parcela- Unique ID of the installmentid_pedido- ID of the sales orderdata_parcela- Due date of the installmentvalor_parcela- Amount of the installmentforma_pagamento- Payment method
Orçamentos (Quotes)
Orçamentos (Quotes)
id_orcamento- Unique ID of the quoteid_cliente/nome_cliente- Customer of the quotevalor_total_nota- Total quote amountvalidade_orcamento- Validity datestatus_pedido- Status of the quotepedido_emitido/nota_emitida- Whether an order/invoice was generated from the quote
Vendas Balcão (POS Sales)
Vendas Balcão (POS Sales)
id_frente- Unique ID of the counter saleid_cliente/nome_cliente- Customer of the salevalor_total_nota- Total sale amountforma_pagamento- Payment methodvalor_recebido/troco_pedido- Amount received and changenfce_emitido- Whether an NFC-e was issued
Notas Fiscais (Product Invoices - NF-e)
Notas Fiscais (Product Invoices - NF-e)
id_venda- Unique ID of the invoiceid_cliente/nome_cliente- Customer of the invoicevalor_total_produtos/valor_total_nota- Product and total amountsvalor_icms/valor_ipi/valor_st- Tax amountsnatureza_pedido- Nature of the operationnota_chave- Access key of the NF-enota_data_autorizacao- Authorization datestatus_pedido- Status of the invoicedata_emissao- Issue date
Produtos das Notas Fiscais (Invoice Items)
Produtos das Notas Fiscais (Invoice Items)
id_ped_produto- Unique ID of the line itemid_venda- ID of the invoiceid_produto/desc_produto- Product of the line itemqtde_produto- Quantityvalor_unit_produto/valor_total_produto- Unit and total amountscfop_produto/ncm_produto- Tax classification codesv_bc_produto/v_icms_produto/v_ipi_produto- Tax base and tax amounts
Notas de Consumidor (Consumer Receipts - NFC-e)
Notas de Consumidor (Consumer Receipts - NFC-e)
id_nfc- Unique ID of the receiptid_cliente/nome_cliente- Customer of the receiptvalor_total_nota- Total amountvalor_icms- ICMS tax amountnota_chave- Access key of the NFC-eurl_qr_code- QR code URLstatus_pedido- Status of the receipt
Notas de Serviço (Service Invoices - NFS-e)
Notas de Serviço (Service Invoices - NFS-e)
id_servico- Unique ID of the service invoiceid_cliente/nome_cliente- Customer of the invoicedesc_servicos- Description of the servicevalor_total_servicos/valor_total_nota- Service and total amountsvalor_imposto- Tax amountnota_numero_nfse- Number of the NFS-estatus_pedido- Status of the invoicelista_servico- Economic activity of the service (JSON)
Ordens de Serviço (Service Orders)
Ordens de Serviço (Service Orders)
id_ordem- Unique ID of the service orderid_cliente/nome_cliente- Customer of the orderid_tecnico/nome_tecnico- Technician assignedvalor_total_servicos/valor_total_pecas/valor_total_os- Services, parts and total amountsdata_pedido/data_realizacao- Order and execution datesequipamento_ordem/problema_ordem/laudo_ordem- Equipment, problem and report detailsstatus_pedido- Status of the service order
Lista de Serviços (Service List)
Lista de Serviços (Service List)
id_lista- Unique ID of the servicecodigo- Service codedescricao- Description of the serviceimposto_nacional/imposto_municipal- Tax rates
Ordens de Compra (Purchase Orders)
Ordens de Compra (Purchase Orders)
id_ordem- Unique ID of the purchase orderid_cliente/nome_cliente- Supplier of the ordervalor_total_produtos/valor_total_nota- Product and total amountsdata_pedido- Date of the purchase orderstatus_pedido- Status of the purchase orderentrada_emitida- Whether a goods receipt was issued
Entradas de Mercadoria (Goods Receipts)
Entradas de Mercadoria (Goods Receipts)
id_entrada- Unique ID of the goods receiptid_cliente/nome_cliente- Supplier of the receiptvalor_total_produtos/valor_total_nota- Product and total amountsnota_numero/nota_chave- Supplier invoice number and access keydata_pedido- Date of the receiptstatus_pedido- Status of the receipt
Contas a Pagar (Accounts Payable)
Contas a Pagar (Accounts Payable)
id_conta_pag- Unique ID of the payablenome_conta- Name of the payableid_fornecedor/nome_fornecedor- Supplier of the payablecategoria_pag/centro_custos_pag- Finance category and cost centervencimento_pag- Due datevalor_pag/valor_pago- Amount and amount paidliquidado_pag- Whether the payable is settleddata_pagamento- Payment dateparciais- Partial payments (JSON)
Contas a Receber (Accounts Receivable)
Contas a Receber (Accounts Receivable)
id_conta_rec- Unique ID of the receivablenome_conta- Name of the receivableid_cliente/nome_cliente- Customer of the receivablecategoria_rec/centro_custos_rec- Finance category and cost centervencimento_rec- Due datevalor_rec/valor_pago- Amount and amount receivedliquidado_rec- Whether the receivable is settledlink_boleto/brcode- Boleto URL and Pix BR Code
Extratos (Bank Statements)
Extratos (Bank Statements)
id_fluxo- Unique ID of the entryid_banco/nome_conta- Bank account of the entrydata_fluxo- Date of the entryvalor_fluxo- Amount of the entrytipo_fluxo- Type of the entry (income or expense)categoria_fluxo/centro_custos_fluxo- Finance category and cost center
Contas Bancárias (Bank Accounts)
Contas Bancárias (Bank Accounts)
id_banco_cad- Unique ID of the bank accountnome_banco_cad- Name of the accountnumero_banco- Bank number (e.g. 001 = Banco do Brasil, 341 = Itaú)agencia_banco/conta_banco- Branch and account numberssaldo_atual- Current balancestatus_banco- Status of the account
Centros de Custo (Cost Centers)
Centros de Custo (Cost Centers)
id_centro_custos- Unique ID of the cost centerdesc_centro_custos- Name of the cost centerstatus_centro_custos- Status of the cost center
Categorias Financeiras (Finance Categories)
Categorias Financeiras (Finance Categories)
id_categoria- Unique ID of the categorytipo_categoria- Type of the category (income or expense)desc_categoria- Description of the categorygrupo_financeiro- Finance groupvisivel_dre- Whether the category is visible in the DRE (income statement)
What can you do with VHSYS data?
- Sales analytics: track orders, POS sales, quotes conversion and salesperson performance across time.
- Revenue and tax reporting: combine NF-e, NFC-e and NFS-e invoices with their line items for detailed revenue and tax analysis.
- Cash-flow management: monitor accounts payable, accounts receivable and bank statements to understand your financial position.
- Inventory and purchasing: cross product stock levels with purchase orders and goods receipts to optimize replenishment.