
Configuring Fly ERP as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Fly ERP option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to provide the following credentials to connect to Fly ERP:- API URL: The base URL of your Fly ERP instance (e.g., https://empresa.fly erp.com.br)
- Auth Token: The bearer token to authenticate against the Fly ERP API service. Check this doc to understand how to generate the token.
- Start Date: The earliest record date to sync for
Vendas
andVendasItens
streams.
2. Select streams
Choose which data streams you want to sync - you can select all streams or pick specific ones that matter most to you.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 a name for each table (which will contain the fetched data) and the type of sync.- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix 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 determine when to execute a full sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while. 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
Below you’ll find all available data streams from Fly ERP and their corresponding fields:Clientes e Fornecedores
Clientes e Fornecedores
Stream for managing customer and supplier information.Primary key:
id
bairro
- Neighborhoodcep
- ZIP codecodigo
- Customer/Supplier codecodigo_cidade
- City codecontato_nome
- Contact namecontato_telefone
- Contact phonecontatos
- List of contacts (nome, telefone, email, vinculo_funcao)cpf_cnpj
- CPF/CNPJ (tax ID)data_cadastro
- Registration datedata_ultima_compra
- Last purchase dateemail
- Email addressendereco
- Addressenquadramento_pessoa
- Person classificationestado
- Stateid
- Customer/Supplier IDid_condicao_pagamento
- Payment condition IDid_forma_pagamento
- Payment method IDid_importacao
- Import IDid_operacao_saida
- Output operation IDid_vendedor
- Sales representative IDids_vendedores
- List of sales representative IDsie_rg
- State registration/IDnome_fantasia
- Trade nameramo_atividade
- Business activityrazao_social
- Company namesituacao
- Status (A=Active, I=Inactive)telefone
- Primary phonetelefone2
- Secondary phone
Contas a Pagar
Contas a Pagar
Stream for managing payable accounts.Primary key:
id
codigo_banco_conta
- Bank account codecodigo_categoria
- Category codecodigo_fornecedor
- Supplier codecodigo_plano_contas
- Chart of accounts codedata_emissao
- Issue datedata_ultimo_pagamento
- Last payment datedata_vencimento
- Due datedescricao_banco_conta
- Bank account descriptiondescricao_categoria
- Category descriptiondescricao_plano_contas
- Chart of accounts descriptionid
- Account IDid_filial
- Branch IDid_fornecedor
- Supplier IDnome_fornecedor
- Supplier namenumero
- Account numbernumero_nota
- Invoice numberobservacao
- Notesparcela
- Installment numbervalor
- Account valuevalor_aberto
- Open amountvalor_desconto_pago
- Paid discount amountvalor_juros_pago
- Paid interest amountvalor_pago
- Paid amount
Contas a Receber
Contas a Receber
Stream for managing receivable accounts.Primary key:
id
codigo_banco_conta
- Bank account codecodigo_categoria
- Category codecodigo_cliente
- Customer codecodigo_plano_contas
- Chart of accounts codecpf_cnpj_cliente
- Customer CPF/CNPJdata_emissao
- Issue datedata_ultimo_pagamento
- Last payment datedata_vencimento
- Due datedescricao_banco_conta
- Bank account descriptiondescricao_categoria
- Category descriptiondescricao_plano_contas
- Chart of accounts descriptionid
- Account IDid_cliente
- Customer IDid_filial
- Branch IDid_nota
- Invoice IDlink_boleto
- Bank slip linklink_fatura
- Invoice linknome_cliente
- Customer namenumero
- Account numbernumero_nota
- Invoice numberobservacao
- Notesparcela
- Installment numberurl_pagamento
- Payment URLvalor
- Account valuevalor_aberto
- Open amountvalor_desconto_pago
- Paid discount amountvalor_juros_calculado
- Calculated interestvalor_juros_pago
- Paid interest amountvalor_pago
- Paid amount
Movimentações Financeiras
Movimentações Financeiras
Stream for tracking financial movements.Primary key:
id
codigo
- Transaction codecodigo_banco_conta
- Bank account codecodigo_categoria
- Category codecodigo_cliente
- Customer codecodigo_plano_contas
- Chart of accounts codecomplemento
- Additional detailsdata
- Transaction datedata_emissao
- Issue datedata_ultimo_pagamento
- Last payment datedata_vencimento
- Due datedescricao_banco_conta
- Bank account descriptiondescricao_categoria
- Category descriptiondescricao_plano_contas
- Chart of accounts descriptionid
- Transaction IDid_cliente
- Customer IDid_contas_a_pagar
- Accounts payable IDid_contas_a_receber
- Accounts receivable IDid_filial
- Branch IDlink_boleto
- Bank slip linknome_cliente
- Customer namenome_filial
- Branch namenumero
- Transaction numbernumero_nota
- Invoice numberobservacao
- Notesparcela
- Installment numbervalor
- Transaction valuevalor_aberto
- Open amountvalor_desconto_pago
- Paid discount amountvalor_juros_calculado
- Calculated interestvalor_juros_pago
- Paid interest amountvalor_pago
- Paid amount
Produtos e Grupos
Produtos e Grupos
Stream for managing product groups and subgroups.Primary key:
id_grupo
codigo_grupo
- Group codedescricao_grupo
- Group descriptionid_grupo
- Group IDsubgrupos
- Array of subgroups containing:codigo_subgrupo
- Subgroup codedescricao_subgrupo
- Subgroup descriptionid_subgrupo
- Subgroup ID
Produtos e Serviços
Produtos e Serviços
Stream for managing products and services.Primary key:
id_produto
codigo_alfa_numerico
- Alphanumeric codecodigo_numerico
- Numeric codecusto_medio
- Average costcusto_ultima_compra
- Last purchase costestoque
- Stock quantityid_grupo
- Group IDid_marca
- Brand IDid_produto
- Product IDid_subgrupo
- Subgroup IDnome_grupo
- Group namenome_marca
- Brand namenome_produto
- Product namenome_subgrupo
- Subgroup namepreco_venda
- Sale pricequantidade_reservada
- Reserved quantityreferencia_principal
- Main referencetipo
- Type (product or service)unidade_medida
- Unit of measure
Vendas
Vendas
Stream for managing sales invoices.Primary key:
id_nota
codigo_cliente
- Customer codedata_emissao_nota
- Issue dateid_nota
- Invoice IDnumero_nota
- Invoice numbernumero_pedido_venda
- Sales order numberrazao_social_cliente
- Customer company nameserie_nota
- Invoice seriestipo_nota
- Invoice typevalor_nota
- Invoice total value
Vendas Itens
Vendas Itens
Stream for managing sales invoice items.Primary key:
id_item
codigo_cliente
- Customer codecodigo_produto_alfanumerico
- Product alphanumeric codecodigo_produto_numerico
- Product numeric codedata_emissao_nota
- Issue dateid_item
- Item IDid_nota
- Invoice IDid_produto
- Product IDnome_produto
- Product namenumero_nota
- Invoice numberquantidade_item
- Item quantityrazao_social_cliente
- Customer company nameserie_nota
- Invoice seriestipo_nota
- Invoice typevalor_desconto_item
- Item discount valuevalor_desconto_nota_item
- Invoice discount value for itemvalor_nota
- Invoice total valuevalor_total_item
- Item total valuevalor_unitario_item
- Item unit value
Vendedores
Vendedores
Stream for managing sales representatives.Primary key:
id
ativo
- Active statuscnpj_cpf
- CPF/CNPJcodigo
- Sales representative codecodigos_condicoes_pagamento
- List of payment condition codesemail
- Email addressid
- Sales representative IDnome
- Sales representative name