Skip to main content
HubSoft is an ERP for internet service providers and telecom companies. This connector reads your HubSoft installation through its official integration API and brings your subscribers and the services they contract, support tickets and work orders, invoices, one-off charges, renegotiations and accounts payable, the fiscal notes you issue (NFS-e, telecom models 21/22, NFCom and NF-e) and receive, your stock (products, locations, suppliers and movements), prospects, and HubSoft’s registers (plans, packages, companies, ticket and work order types, and others).
The connector only reads data. It never creates, changes or deletes anything in HubSoft.

Configuring HubSoft as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the HubSoft option from the list of connectors. Click Next and you’ll be prompted to add your access.

1. Add account access

The connector signs in with HubSoft’s API credentials, the same ones any integration uses. A HubSoft administrator creates them:
  • an API user (user and password), under Configuração > Geral > Usuários, allowed to use the API;
  • the integration’s client id and client secret.
You also need the address of your HubSoft API. Each provider has its own (for example https://api.yourprovider.com.br); ask your HubSoft administrator or HubSoft support if you do not know it. If your HubSoft only accepts API calls from known IP addresses, ask Nekt support for Nekt’s addresses and allow them.
The connector reads only what the API user may see. If the user has no access to an area (for example, Financeiro), the tables of that area are skipped with a message naming the area, and the other tables keep syncing. Give the user access to the area, or deselect those tables.
The following configurations are available:
  • API URL: The address of your HubSoft API, starting with https://.
  • Client ID and Client Secret: The client of the API integration.
  • API Username and API Password: The HubSoft API user.
  • Start Date: Documents (invoices, one-off charges, tickets, work orders, fiscal notes, stock movements, renegotiations and accounts payable) created from this date on are read on the first sync. Registers such as subscribers, services, products and plans are read in full on the first sync, whatever their date.
  • Time Zone (advanced, default America/Sao_Paulo): The time zone of your HubSoft installation. HubSoft’s dates carry no time zone, so the connector uses this one to read them.
  • Lookback Days (advanced, default 2): Each incremental sync reads again this many days before the previous sync, to pick up late changes.
  • Payment Lookback Days (advanced, default 35): How far back each incremental sync looks for payments of invoices and one-off charges. HubSoft records a payment when the bank return file is processed, often days after the payment date.
Once you’re done, click Next.

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: clientes, atendimentos, ordens_servico, faturas, cobrancas_avulsas, the four notas_fiscais_* streams and movimentos_estoque support INCREMENTAL; the other streams are FULL_TABLE.
    • Incremental: every time the extraction happens, we’ll get only the new and changed data.
    • Full table: every time the extraction happens, we’ll get the current state of the data.
Once you are done configuring, click Next.

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.
HubSoft’s API has no “last changed” date for work orders and no cancellation date for one-off charges, and payments are recorded late. Incremental syncs catch changes through the dates HubSoft does filter by (scheduling, start and finish of a work order; creation, payment and cancellation of an invoice; creation and update of a subscriber). A weekly Additional Full Sync brings the rest, such as a charge cancelled weeks after it was created, an invoice whose due date was changed, or a payment recorded more than Payment Lookback Days after its date. clientes_servicos is always read in full, because a service’s status (for example, a suspension for debt) can change without HubSoft marking the service as updated.
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.
For you to be able to see it on your Catalog, you need at least one successful source run.

Streams and Fields

Available streams

A few things to know about the data:
  • Dates and times are converted from your installation’s time zone and stored with their offset. Money is stored as decimal numbers.
  • Nested values (addresses, packages, the charges of an invoice, the items of a fiscal note) are stored as JSON text.
  • Fields HubSoft returns that have no column of their own are kept in campos_extras (JSON). Connection and equipment passwords are never stored.
  • The incremental streams carry sincronizado_em, the start of the sync that loaded each version of a row.
  • Fiscal notes are read for each company listed by HubSoft (active companies only).
  • renegociacoes, contas_pagar and notas_entrada hold the records created since the Start Date.

Fields by stream

Subscribers and services

Primary key: id_cliente. Sync: INCREMENTAL.
  • id_cliente - Unique identifier of the subscriber in HubSoft
  • uuid_cliente - UUID of the subscriber
  • codigo_cliente - Subscriber code shown in HubSoft
  • nome_razaosocial - Name (individual) or legal name (company) of the subscriber
  • nome_fantasia - Trade name of the subscriber, for companies
  • tipo_pessoa - pf for an individual, pj for a company
  • cpf_cnpj - CPF or CNPJ of the subscriber, digits only
  • telefone_primario - Main phone number
  • telefone_secundario - Secondary phone number
  • telefone_terciario - Third phone number
  • email_principal - Main e-mail address
  • email_secundario - Secondary e-mail address
  • rg - RG (identity document) number
  • rg_emissao - Issuing body of the RG
  • inscricao_municipal - Municipal registration, for companies
  • inscricao_estadual - State registration, for companies
  • data_nascimento - Date of birth (individuals)
  • data_cadastro - When the subscriber was registered in HubSoft
  • data_atualizacao - When the subscriber’s registration last changed, when HubSoft returns it
  • ativo - Whether the subscriber is active, when HubSoft returns it
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_cliente_servico. Sync: FULL_TABLE.
  • id_cliente_servico - Unique identifier of the subscriber’s service (contract)
  • id_cliente - Subscriber this service belongs to (clientes.id_cliente)
  • codigo_cliente - Subscriber code shown in HubSoft
  • id_servico - Plan contracted (planos.id_servico)
  • numero_plano - Sequence number of this service among the subscriber’s services
  • nome - Name of the plan
  • valor - Monthly price of the service
  • status - Status of the service, as shown in HubSoft (e.g. Serviço Habilitado, Suspenso por Débito, Cancelado)
  • status_prefixo - Status code of the service (e.g. servico_habilitado, suspenso_debito, cancelado)
  • tecnologia - Access technology of the service (e.g. FIBRA, WIRELESS)
  • velocidade_download - Download speed of the plan
  • velocidade_upload - Upload speed of the plan
  • login - Connection login (PPPoE/hotspot) of the service
  • referencia - Free-text reference of the service
  • ipv4 - Fixed IPv4 address, when assigned
  • ipv6 - Fixed IPv6 prefix, when assigned
  • mac_addr - MAC address of the subscriber’s equipment
  • phy_addr - Layer 2 address (ONU serial/MAC) of the subscriber’s equipment
  • motivo_cancelamento - Reason the service was cancelled
  • motivo_cancelamento_prefixo - Code of the cancellation reason
  • anotacoes - Notes on the service
  • carne - Whether the service is billed by payment booklet (Sim/Não)
  • tipo_cobranca - Billing method code of the service
  • tipo_cobranca_formatada - Billing method of the service, as shown in HubSoft
  • data_cadastro - When the service was registered, when HubSoft returns it
  • data_venda - When the service was sold, when HubSoft returns it
  • data_habilitacao - When the service was enabled, when HubSoft returns it
  • data_cancelamento - When the service was cancelled, when HubSoft returns it
  • data_atualizacao - When the service last changed, when HubSoft returns it
  • endereco_instalacao - Installation address of the service, with coordinates (JSON)
  • pacotes - Add-on packages of the service, with price and date (JSON)
  • grupos - Service groups the service belongs to (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)

Support and field service

Primary key: id_atendimento. Sync: INCREMENTAL.
  • id_atendimento - Unique identifier of the ticket
  • protocolo - Protocol number given to the subscriber
  • id_atendimento_status - Current status of the ticket (status_atendimento.id_atendimento_status)
  • status_prefixo - Code of the current status (e.g. pendente, aguardando_analise)
  • status_descricao - Current status, as shown in HubSoft
  • id_tipo_atendimento - Type of the ticket (tipos_atendimento.id_tipo_atendimento)
  • tipo_atendimento_descricao - Type of the ticket, as shown in HubSoft
  • id_cliente_servico - Subscriber service the ticket is about (clientes_servicos.id_cliente_servico)
  • id_usuario_responsavel - HubSoft user responsible for the ticket
  • id_usuario_abertura - HubSoft user who opened the ticket
  • data_cadastro - When the ticket was opened
  • data_fechamento - When the ticket was closed (empty while open)
  • data_alteracao_status - When the ticket’s status last changed
  • data_ultima_alteracao - When anything in the ticket’s history last changed
  • rascunho - Whether the ticket is a draft
  • descricao_abertura - Description written when the ticket was opened
  • status_fechamento - How the ticket was closed (concluido or sem_conclusao)
  • descricao_fechamento - Description written when the ticket was closed
  • id_motivo_fechamento_atendimento - Closing reason (motivos_fechamento_atendimento.id_motivo_fechamento_atendimento)
  • avaliacao - Rating the subscriber gave the ticket
  • comentario_avaliacao - Comment that came with the rating
  • deleted_at - When the ticket was deleted, if it was
  • ingressado - Whether the API user is among the ticket’s responsible users
  • ordem_servico_count - Number of work orders of the ticket
  • ordem_servico_aberta - Number of work orders of the ticket not finished yet
  • ordem_servico_fechada - Number of finished work orders of the ticket
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_ordem_servico. Sync: INCREMENTAL.
  • id_ordem_servico - Unique identifier of the work order
  • numero - Number of the work order shown in HubSoft
  • tipo - Type of the work order (e.g. ATIVAÇÃO FIBRA)
  • status - Status of the work order (e.g. Pendente, Finalizado, Aguardando Agendamento)
  • data_cadastro - When the work order was opened
  • data_inicio_programado - Scheduled start
  • data_termino_programado - Scheduled end
  • data_inicio_executado - When the work actually started
  • data_termino_executado - When the work actually finished
  • descricao_abertura - Description written when the work order was opened
  • descricao_servico - Description of the work to be done
  • descricao_fechamento - Description written when the work order was closed
  • disponibilidade - Period of the day the subscriber is available (Manhã, Tarde, Noite)
  • cliente - Subscriber of the work order, as ‘(code) name’
  • servico - Service of the work order, as ‘(number) plan’
  • endereco_instalacao - Installation address of the service
  • tecnicos - Technicians assigned to the work order (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key

Billing

Primary key: id_fatura. Sync: INCREMENTAL.
  • id_fatura - Unique identifier of the invoice
  • uuid_fatura - UUID of the invoice
  • id_carne - Payment booklet the invoice belongs to, if any
  • id_cliente_servico - Subscriber service billed (clientes_servicos.id_cliente_servico)
  • nosso_numero - Bank slip number (nosso número)
  • data_vencimento - Due date
  • data_pagamento - Payment date (empty while unpaid)
  • data_credito - Date the payment was credited
  • data_cadastro - When the invoice was created
  • data_cancelamento - When the invoice was cancelled (empty if it was not)
  • valor_original - Original amount of the invoice
  • valor - Current amount of the invoice
  • valor_pago - Amount paid
  • valor_juros_pago - Interest and fines paid
  • valor_desconto - Discount granted
  • fatura_ativa - Whether the invoice is active (cancelled invoices are inactive)
  • linha_digitavel - Typeable line of the bank slip
  • codigo_barras - Barcode of the bank slip
  • tipo_cobranca - Billing type (e.g. boleto_bancario, pix, cartao)
  • link - Link to the invoice PDF
  • id_cliente - Subscriber billed (clientes.id_cliente)
  • codigo_cliente - Code of the subscriber billed
  • cpf_cnpj_cliente - CPF or CNPJ of the subscriber billed
  • nome_cliente - Name of the subscriber billed
  • documento_empresa - CNPJ of the provider company that issued the charge
  • id_forma_cobranca - Billing method (formas_cobranca.id_forma_cobranca)
  • numero_plano - Sequence number of the subscriber’s service billed
  • cliente - Subscriber billed, as HubSoft returns it (JSON)
  • empresa - Provider company that issued the charge (JSON)
  • servico - Subscriber service billed, with its installation address (JSON)
  • forma_cobranca - Billing method (bank, agreement, interest and fine rules) (JSON)
  • cobrancas - Charges that make up the invoice, with status, fiscal note and composition (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_cobranca. Sync: INCREMENTAL.
  • id_cobranca - Unique identifier of the charge
  • uuid_cobranca - UUID of the charge
  • descricao - Description of the charge
  • status - Status of the charge (e.g. Aguardando, Pago)
  • cobranca_ativa - Whether the charge is active (cancelled charges are inactive)
  • data_vencimento - Due date
  • data_pagamento - Payment date (empty while unpaid)
  • data_credito - Date the payment was credited
  • data_cadastro - When the charge was created
  • valor_original - Original amount
  • valor - Current amount
  • valor_pago - Amount paid
  • valor_desconto - Discount granted
  • tipo_cobranca - Billing type (e.g. boleto_bancario, pix)
  • id_cliente_servico - Subscriber service charged (clientes_servicos.id_cliente_servico)
  • id_nota_fiscal - Fiscal note issued for the charge, if any
  • modelo_nota_fiscal - Model of that fiscal note
  • id_cliente - Subscriber billed (clientes.id_cliente)
  • codigo_cliente - Code of the subscriber billed
  • cpf_cnpj_cliente - CPF or CNPJ of the subscriber billed
  • nome_cliente - Name of the subscriber billed
  • documento_empresa - CNPJ of the provider company that issued the charge
  • id_forma_cobranca - Billing method (formas_cobranca.id_forma_cobranca)
  • numero_plano - Sequence number of the subscriber’s service billed
  • cliente - Subscriber billed, as HubSoft returns it (JSON)
  • empresa - Provider company that issued the charge (JSON)
  • servico - Subscriber service billed, with its installation address (JSON)
  • forma_cobranca - Billing method (bank, agreement, interest and fine rules) (JSON)
  • nota_fiscal - Fiscal note of the charge (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_renegociacao. Sync: FULL_TABLE.
  • id_renegociacao - Unique identifier of the renegotiation
  • codigo - Code of the renegotiation
  • tipo - Kind of renegotiation (e.g. avista, parcelado)
  • parcelas - Number of instalments
  • valor_total - Total of the renegotiated debt
  • valor_descontos - Discounts granted
  • valor_encargos - Charges added
  • valor_final - Final amount agreed
  • status - Status of the renegotiation (aguardando, vencido, pago, cancelado)
  • valor_pago - Amount paid so far
  • valor_vencido - Amount overdue
  • valor_aguardando - Amount still to be paid
  • data_cadastro - When the renegotiation was made
  • observacao - Notes
  • id_empresa - Provider company of the renegotiation
  • id_usuario - HubSoft user who made the renegotiation
  • id_cliente - Subscriber (clientes.id_cliente)
  • codigo_cliente - Code of the subscriber
  • empresa - Provider company (JSON)
  • usuario - HubSoft user who made the renegotiation (JSON)
  • cliente - Subscriber (JSON)
  • faturas_antigas - Invoices the renegotiation replaced (JSON)
  • faturas_novas - Invoices the renegotiation created (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_conta_pagar. Sync: FULL_TABLE.
  • id_conta_pagar - Unique identifier of the account payable
  • ativo - Whether it is active (false when cancelled)
  • descricao - Description
  • status - Payment status code (pago, nao_pago, quitado_parcial)
  • status_formatado - Payment status, as shown in HubSoft
  • data_vencimento - Due date
  • data_pagamento - Payment date
  • data_cadastro - When it was registered
  • data_emissao - Issue date of the document
  • valor - Amount
  • valor_pago - Amount paid
  • valor_acrescimo - Additions (interest, fines)
  • valor_desconto - Discount
  • id_empresa - Provider company that owes it
  • id_fornecedor - Supplier (fornecedores.id_fornecedor)
  • empresa - Provider company that owes it (JSON)
  • fornecedor - Supplier (JSON)
  • plano_conta - Chart-of-accounts split, with amount and percentage (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)

Fiscal notes

Primary key: id_nfse. Sync: INCREMENTAL.
  • id_nfse - Unique identifier of the NFS-e in HubSoft
  • id_externo - Identifier of the NFS-e at the issuing service
  • hash - Hash of the NFS-e
  • numero - Number of the NFS-e
  • serie - Series
  • lote_rps - RPS batch
  • status - Status of the NFS-e (e.g. emitido, cancelado, pendente)
  • data_emissao - When it was issued
  • data_cadastro - When it was created in HubSoft, when HubSoft returns it
  • data_cancelamento - When it was cancelled
  • protocolo_cancelamento - Cancellation protocol
  • codigo_verificacao - Verification code
  • link_pdf - Link to the PDF
  • link_xml - Link to the XML
  • link_prefeitura - Link at the city hall’s site
  • informacao_complementar - Additional information printed on the note
  • iss_retido - Whether ISS was withheld
  • codigo_lista_servico - Service list code (LC 116)
  • codigo_tributacao_municipio - Municipal taxation code
  • cnae - CNAE of the service
  • aliquota_iss - ISS rate
  • aliquota_pis - PIS rate
  • aliquota_cofins - COFINS rate
  • aliquota_csll - CSLL rate
  • aliquota_inss - INSS rate
  • aliquota_irrf - IRRF rate
  • valor - Total amount of the note
  • valor_iss - ISS amount
  • valor_pis - PIS amount
  • valor_cofins - COFINS amount
  • valor_csll - CSLL amount
  • valor_inss - INSS amount
  • valor_irrf - IRRF amount
  • valor_iss_retido - ISS withheld
  • valor_desconto_condicionado - Conditional discount
  • valor_desconto_incondicionado - Unconditional discount
  • valor_deducoes - Deductions
  • documento_prestador - CNPJ of the provider company that issued the note
  • documento_tomador - CPF or CNPJ of the subscriber (taker)
  • codigo_cliente_tomador - Code of the subscriber (taker)
  • tipo_tributacao - Taxation type (JSON)
  • exigibilidade - ISS enforceability (JSON)
  • prestador - Issuing company (JSON)
  • tomador - Subscriber (taker), with address (JSON)
  • itens - Items of the note, with the service and the charge they came from (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_nota_fiscal. Sync: INCREMENTAL.
  • id_nota_fiscal - Unique identifier of the note in HubSoft
  • numero - Number of the note
  • serie - Series
  • modelo - Model of the note (21, 22 or 0)
  • cfop - CFOP of the operation
  • data_emissao - Issue date
  • data_cadastro - When it was created in HubSoft, when HubSoft returns it
  • data_cancelamento - When it was cancelled
  • situacao - Situation of the note (N normal, S cancelled…)
  • competencia_fechada - Whether the note’s accounting period is closed
  • codigo_tipo_utilizacao - Usage type code
  • codigo_autenticacao - Authentication code of the note
  • informacao_complementar - Additional information printed on the note
  • valor - Total amount
  • valor_bc_icms - ICMS calculation base
  • valor_bc_pis - PIS calculation base
  • valor_bc_cofins - COFINS calculation base
  • valor_icms - ICMS amount
  • valor_pis - PIS amount
  • valor_cofins - COFINS amount
  • valor_operacao_isenta - Exempt amount
  • valor_fust - FUST amount
  • valor_funttel - FUNTTEL amount
  • valor_irrf - IRRF amount
  • valor_csll - CSLL amount
  • valor_outros - Other amounts
  • aliquota_icms - ICMS rate
  • aliquota_pis - PIS rate
  • aliquota_cofins - COFINS rate
  • documento_prestador - CNPJ of the provider company that issued the note
  • documento_tomador - CPF or CNPJ of the subscriber (taker)
  • codigo_cliente_tomador - Code of the subscriber (taker)
  • prestador - Issuing company (JSON)
  • tomador - Subscriber (taker), with address (JSON)
  • itens - Items of the note, with amounts, taxes and the charge they came from (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_nfcom. Sync: INCREMENTAL.
  • id_nfcom - Unique identifier of the NFCom in HubSoft
  • id_externo - External identifier
  • status - Status (e.g. efetivada, cancelada, rejeitada)
  • status_codigo - SEFAZ status code
  • status_mensagem - SEFAZ status message
  • chave - Access key of the NFCom
  • numero_nf - Number of the note
  • serie - Series
  • modelo - Model (62)
  • versao - Layout version
  • ambiente - SEFAZ environment (Produção or Homologação)
  • data_emissao - When it was issued
  • data_autorizacao - When SEFAZ authorised it
  • data_cadastro - When it was created in HubSoft
  • data_atualizacao - When it last changed in HubSoft
  • data_cancelamento - When it was cancelled
  • justificativa_cancelamento - Reason given for the cancellation
  • protocolo_autorizacao - Authorisation protocol
  • informacao_complementar - Additional information printed on the note
  • valor_base_calculo_icms - ICMS calculation base
  • valor_icms - ICMS amount
  • valor_icms_desonado - Relieved ICMS amount
  • valor_fundo_combate_pobreza - FCP amount
  • valor_pis - PIS amount
  • valor_cofins - COFINS amount
  • valor_fust - FUST amount
  • valor_funttel - FUNTTEL amount
  • valor_retido_pis - PIS withheld
  • valor_retido_cofins - COFINS withheld
  • valor_retido_csll - CSLL withheld
  • valor_retido_irrf - IRRF withheld
  • valor_desconto - Discount
  • valor_outro - Other amounts
  • valor_isento - Exempt amount
  • valor_nota - Total amount of the note
  • documento_emitente - CNPJ of the issuing company
  • documento_destinatario - CPF or CNPJ of the recipient
  • codigo_assinante - Subscriber code on the note
  • competencia - Billing period of the note (YYYYMM)
  • uf - State of issue (JSON)
  • tipo_emissao - Emission type (JSON)
  • nfcom_emitente - Issuing company (JSON)
  • nfcom_destinatario - Recipient, with address (JSON)
  • nfcom_assinante - Subscriber and contract data (JSON)
  • nfcom_gfat - Billing group data (period, due date) (JSON)
  • nfcom_responsavel_tecnico - Technical responsible for the issuing software (JSON)
  • nfcom_item - Items of the note, with amounts and taxes (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_nfe. Sync: INCREMENTAL.
  • id_nfe - Unique identifier of the NF-e in HubSoft
  • numero_nf - Number of the note
  • serie - Series
  • modelo - Model (55)
  • status - Status (e.g. efetivada, cancelada, rejeitada)
  • valor - Total amount
  • natureza_operacao - Nature of the operation
  • destino - Recipient kind (cliente, fornecedor…)
  • data_emissao - When it was issued
  • data_cadastro - When it was created in HubSoft, when HubSoft returns it
  • chave - Access key
  • recibo - SEFAZ receipt number
  • informacao_complementar - Additional information
  • informacao_ibpt - Approximate taxes (IBPT) text
  • informacao_ad_fisco - Information for the tax authority
  • documento_emitente - CNPJ of the issuing company
  • documento_destinatario - CPF or CNPJ of the recipient
  • tipo_nota - Note type (entrada/saída) (JSON)
  • consumidor_final - Final consumer indicator (JSON)
  • finalidade - Purpose of the note (JSON)
  • emitente - Issuing company (JSON)
  • destinatario - Recipient (JSON)
  • frete - Freight (JSON)
  • transportadora - Carrier (JSON)
  • volume - Volumes (JSON)
  • produtos - Products of the note (JSON)
  • pagamento - Payment (JSON)
  • fatura - Invoice data of the note (JSON)
  • duplicata - Instalments (duplicatas) (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key
Primary key: id_nota_entrada. Sync: FULL_TABLE.
  • id_nota_entrada - Unique identifier of the received note
  • id_empresa - Provider company that received it
  • cnpj_empresa - CNPJ of the provider company that received it
  • id_fornecedor - Supplier (fornecedores.id_fornecedor)
  • nome_fornecedor - Name of the supplier
  • id_usuario - HubSoft user who registered it
  • id_movimento_estoque - Stock movement created from the note, if any
  • tipo - Kind of note (produto, servico…)
  • numero_nota - Number of the note
  • serie - Series
  • modelo - Model
  • cfop - CFOP
  • chave - Access key
  • situacao - Situation (e.g. normal, cancelada)
  • tipo_nota - Entry or exit note
  • valor_total - Total amount
  • valor_icms - ICMS amount
  • bc_icms - ICMS calculation base
  • aliquota_icms - ICMS rate
  • valor_isento - Exempt amount
  • valor_outros - Other amounts
  • valor_frete - Freight amount
  • valor_seguro - Insurance amount
  • valor_ipi - IPI amount
  • frete - Freight mode
  • data_emissao - Issue date
  • data_entrada - Entry date
  • data_cadastro - When it was registered in HubSoft
  • id_xml_importado - Imported XML the note came from
  • id_estado - State of the note
  • sped_sintegra - Whether it goes to SPED/Sintegra
  • id_situacao_documento_fiscal - Fiscal document situation
  • fornecedor - Supplier (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)

Stock

Primary key: id_produto. Sync: FULL_TABLE.
  • id_produto - Unique identifier of the product
  • nome - Name of the product
  • descricao - Description
  • valor_compra - Purchase price
  • valor_venda - Sale price
  • codigo_ean - EAN barcode
  • codigo_ean_trib - Taxable-unit EAN barcode
  • data_cadastro - When the product was registered
  • codigo_ncm - NCM code
  • codigo_cest - CEST code
  • unidade_medida - Unit of measure (abbreviation)
  • cst_origem - CST origin of the product (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_local_estoque. Sync: FULL_TABLE.
  • id_local_estoque - Unique identifier of the stock location
  • descricao - Name of the stock location
  • data_cadastro - When it was registered
  • id_empresa - Provider company the location belongs to
  • empresa - Provider company the location belongs to (JSON)
  • endereco - Address of the location (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_fornecedor. Sync: FULL_TABLE.
  • id_fornecedor - Unique identifier of the supplier
  • nome_razaosocial - Legal name
  • nome_fantasia - Trade name
  • cpf_cnpj - CPF or CNPJ
  • tipo_pessoa - pf or pj
  • tipo - Kind of register (fornecedor…)
  • ativo - Whether the supplier is active
  • telefone_primario - Main phone
  • telefone_secundario - Secondary phone
  • email_primario - Main e-mail
  • inscricao_estadual - State registration
  • inscricao_municipal - Municipal registration
  • uf_ie - State of the state registration
  • observacao - Notes
  • enderecos - Addresses (JSON)
  • contatos - Contacts (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_movimento_estoque. Sync: INCREMENTAL.
  • id_movimento_estoque - Unique identifier of the movement
  • codigo_movimento - Code (UUID) of the movement
  • tipo - Direction of the movement (entrada, saida…)
  • id_ordem_servico - Work order the movement belongs to, if any
  • local_estoque - Stock location
  • origem - Origin, as shown in HubSoft
  • destino - Destination, as shown in HubSoft
  • data_movimento - When the movement happened
  • data_cadastro - When it was registered
  • data_atualizacao - When it last changed
  • valor_total - Total value of the movement
  • observacao - Notes
  • id_tipo_movimento_estoque - Kind of movement
  • tipo_movimento_estoque_nome - Kind of movement (e.g. Compra)
  • id_usuario_cadastro - HubSoft user who registered it
  • vinculo_origem - What the products came from (user, location, service…) (JSON)
  • vinculo_destino - What the products went to (JSON)
  • produtos - Products moved, with quantity, value and asset numbers (JSON)
  • tipo_movimento_estoque - Kind of movement (JSON)
  • usuario_cadastro - HubSoft user who registered it (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
  • sincronizado_em - When the Nekt run that loaded this version of the row started (UTC); the incremental replication key

Sales and registers

Primary key: id_prospecto. Sync: FULL_TABLE.
  • id_prospecto - Unique identifier of the prospect
  • nome_razaosocial - Name or legal name
  • tipo_pessoa - pf or pj
  • cpf_cnpj - CPF or CNPJ
  • rg - RG number
  • email - E-mail
  • telefone - Phone
  • telefone_secundario - Secondary phone
  • observacao - Notes
  • origem - Where the prospect came from (web, app, api…)
  • id_cliente - Subscriber the prospect became, when converted (clientes.id_cliente)
  • id_endereco_numero - Address of the prospect
  • id_usuario - HubSoft user who registered it
  • id_vendedor - Salesperson (vendedores.id)
  • id_vencimento - Due day chosen (vencimentos.id_vencimento)
  • data_nascimento - Date of birth
  • nome_pai - Father’s name
  • nome_mae - Mother’s name
  • estado_civil - Marital status
  • genero - Gender
  • nacionalidade - Nationality
  • profissao - Occupation
  • created_at - When the prospect was registered
  • updated_at - When the prospect last changed
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_empresa. Sync: FULL_TABLE.
  • id_empresa - Unique identifier of the company
  • nome_razaosocial - Legal name
  • cnpj - CNPJ
  • display - Name and CNPJ, as shown in HubSoft
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_servico. Sync: FULL_TABLE.
  • id_servico - Unique identifier of the plan
  • descricao - Name of the plan
  • nome_exibicao - Display name of the plan, when HubSoft returns it
  • valor - Price of the plan, when HubSoft returns it
  • id_servico_tecnologia - Technology of the plan (tecnologias_servico.id_servico_tecnologia)
  • tecnologia - Technology of the plan (e.g. FIBRA)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_pacote. Sync: FULL_TABLE.
  • id_pacote - Unique identifier of the package
  • codigo - Code of the package
  • descricao - Name of the package
  • valor - Price of the package
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)

Configuration lists

Primary key: id_caixa_financeiro. Sync: FULL_TABLE.
  • id_caixa_financeiro - Unique identifier of the cash account
  • descricao - Cash account
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_cidade. Sync: FULL_TABLE.
  • id_cidade - Unique identifier of the city
  • nome - City name
  • uf - State
  • ibge - IBGE code of the city
  • bairros - Neighbourhoods of the city (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_crm. Sync: FULL_TABLE.
  • id_crm - Unique identifier of the CRM funnel
  • nome - Name of the CRM funnel
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_forma_cobranca. Sync: FULL_TABLE.
  • id_forma_cobranca - Unique identifier of the billing method
  • descricao - Billing method
  • tipo_cobranca - Kind of billing method (boleto_bancario, debito_conta_corrente, carne…)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_grupo_cliente. Sync: FULL_TABLE.
  • id_grupo_cliente - Unique identifier of the subscriber group
  • display - Subscriber group
  • ativo - Whether the group is active
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id. Sync: FULL_TABLE.
  • id - Unique identifier of the service group
  • display - Service group
  • ativo - Whether the group is active
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: prefixo. Sync: FULL_TABLE.
  • prefixo - Code of the payment means
  • descricao - Payment means (e.g. Boleto, Pix)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_motivo_contratacao. Sync: FULL_TABLE.
  • id_motivo_contratacao - Unique identifier of the reason for contracting
  • descricao - Reason for contracting (e.g. Indicação)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_motivo_fechamento_atendimento. Sync: FULL_TABLE.
  • id_motivo_fechamento_atendimento - Unique identifier of the ticket closing reason
  • descricao - Ticket closing reason
  • motivos_fechamento_tipo_atendimento - Ticket types the reason applies to (empty: all) (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_motivo_fechamento. Sync: FULL_TABLE.
  • id_motivo_fechamento - Unique identifier of the work order closing reason
  • descricao - Work order closing reason
  • ignora_parametros_obrigatorios - Whether closing with this reason skips the mandatory fields
  • motivos_fechamento_tipo_ordem_servico - Work order types the reason applies to (empty: all) (JSON)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_origem_cliente. Sync: FULL_TABLE.
  • id_origem_cliente - Unique identifier of the subscriber origin
  • descricao - Where subscribers came from (e.g. Instagram)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_atendimento_status. Sync: FULL_TABLE.
  • id_atendimento_status - Unique identifier of the ticket status
  • descricao - Ticket status
  • prefixo - Code of the ticket status
  • abrir_ordem_servico - Whether this status opens a work order
  • display - Ticket status, as shown in HubSoft
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_servico_status. Sync: FULL_TABLE.
  • id_servico_status - Unique identifier of the service status
  • descricao - Service status, as shown in HubSoft
  • prefixo - Code of the service status (e.g. servico_habilitado)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id. Sync: FULL_TABLE.
  • id - Unique identifier of the technician (HubSoft user)
  • name - Name of the technician
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_servico_tecnologia. Sync: FULL_TABLE.
  • id_servico_tecnologia - Unique identifier of the technology
  • descricao - Technology (e.g. FIBRA, Cabo UTP)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_tipo_atendimento. Sync: FULL_TABLE.
  • id_tipo_atendimento - Unique identifier of the ticket type
  • descricao - Ticket type
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_tipo_ordem_servico. Sync: FULL_TABLE.
  • id_tipo_ordem_servico - Unique identifier of the work order type
  • descricao - Work order type
  • destino - What the work order type is for (cliente_servico, pop, prospecto)
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_tipo_servico. Sync: FULL_TABLE.
  • id_tipo_servico - Unique identifier of the service type
  • descricao - Service type (e.g. Taxa de Instalação)
  • bloquear - Whether the service type blocks
  • display - Service type, as shown in HubSoft
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id_vencimento. Sync: FULL_TABLE.
  • id_vencimento - Unique identifier of the due day
  • dia_vencimento - Day of the month invoices fall due
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)
Primary key: id. Sync: FULL_TABLE.
  • id - Unique identifier of the salesperson (HubSoft user)
  • name - Name of the salesperson
  • campos_extras - Fields HubSoft returned that have no column of their own (JSON object; NULL when there are none)