1. Add your Omie access
- In the Destinations tab, click on the “Add destination” button located on the top right of your screen. Then, select the Omie option from the list of connectors.
-
Click Next and you’ll be prompted to add your access:
- App Key: Your App Key for the Omie API.
- App Secret: Your App Secret for the Omie API.
- Endpoint: Select to which endpoint you want to send your data:
Upsert Clientes
,Upsert Contas a Receber
,Upsert Contas a Pagar
,Excluir Contas a Receber
,Excluir Contas a Pagar
,Upsert Projetos
orUpsert Vendedores
. Please pay attention to the available fields on theMap your data fields
section and whether they are mandatory or not. - Enable partial success: Whether the connector should continue trying to sync records after one fails.
If you don’t know where to find your App Key & Secret, check this doc. - Click Next.
2. Select your catalog data to send
-
The next step is letting us know which data you want to send. Select the layer and then the desired table.
Tip: The table can be found more easily by typing its name.
- Click Next.
3. Map your data fields
Configure how the fields from your source table should be mapped to the fields in the selected endpoint. Below you can find the supported fields for each endpoint.Clientes
Clientes
This endpoint creates or updates clients (customers). Below are the fields you can map your data to:
Field | Type | Description |
---|---|---|
codigo_cliente_omie | Integer | Unique identifier for the client in Omie. |
codigo_cliente_integracao | String(60) | External unique identifier for the client. |
razao_social | String(60) | The legal name of the company. |
cnpj_cpf | String(20) | The client’s tax identifier (CNPJ for companies, CPF for individuals). |
nome_fantasia | String(100) | The trade name of the company. |
telefone1_ddd | String(5) | The area code for the primary phone number. |
telefone1_numero | String(15) | The primary phone number. |
contato | String(100) | The name of the primary contact person. |
endereco | String(60) | The street name. |
endereco_numero | String(60) | The street number. |
bairro | String(60) | The neighborhood. |
complemento | String(60) | Additional address information. |
estado | String(2) | The state abbreviation (e.g., SP). |
cidade | String(40) | The city code. |
cep | String(10) | The postal code. |
codigo_pais | String(4) | The country code (e.g., 1058 for Brazil). |
separar_endereco | String(1) | Separate address (S or N ). |
pesquisar_cep | String(1) | Search for address by postal code (S or N ). |
telefone2_ddd | String(5) | The area code for the secondary phone number. |
telefone2_numero | String(15) | The secondary phone number. |
fax_ddd | String(5) | The area code for the fax number. |
fax_numero | String(15) | The fax number. |
email | String(500) | The client’s email address. |
homepage | String(100) | The client’s website URL. |
inscricao_estadual | String(20) | The state registration number. |
inscricao_municipal | String(20) | The municipal registration number. |
inscricao_suframa | String(20) | The SUFRAMA registration number. |
optante_simples_nacional | String(1) | Indicates if the client is part of the “Simples Nacional” tax regime (S or N ). |
tipo_atividade | String(1) | The type of activity. |
cnae | String(7) | The CNAE code (National Classification of Economic Activities). |
produtor_rural | String(1) | Indicates if the client is a rural producer (S or N ). |
contribuinte | String(1) | Indicates if the client is a taxpayer (S or N ). |
observacao | Text | Internal observations. |
obs_detalhadas | Text | Detailed observations. |
recomendacao_atraso | String(2) | The protest instruction code. |
tags | Array | An array of tags associated with the client. |
pessoa_fisica | String(1) | Indicates if the client is an individual (S ) or a company (N ). |
exterior | String(1) | Indicates if the client is located abroad (S or N ). |
cidade_ibge | String(7) | The IBGE city code. |
valor_limite_credito | Decimal | The total credit limit value. |
bloquear_faturamento | String(1) | Block invoicing for the client (S or N ). |
nif | String(100) | The NIF (Tax Identification Number). |
enviar_anexos | String(1) | Send attachments by email (S or N ). |
logradouro | String(6) | Deprecated. |
importado_api | String(1) | Indicates if the record was imported via API (S or N ). |
bloqueado | String(1) | Deprecated. |
recomendacoes | Object | An object containing client recommendations. |
enderecoEntrega | Object | An object containing the delivery address details. |
documento_exterior | String(20) | The client’s foreign document number. |
inativo | String(1) | Indicates if the client is inactive (S or N ). |
dadosBancarios | Object | An object containing the client’s bank details. |
caracteristicas | Array | An array of client characteristics. |
info | Object | An object containing metadata about the record (read-only). |
bloquear_exclusao | String(1) | Blocks the deletion of the record (S or N ). |
Contas a Pagar
Contas a Pagar
This endpoint creates or updates accounts payable records. Below are the fields you can map your data to:
Field | Type | Description |
---|---|---|
codigo_lancamento_omie | Integer | Unique identifier for the accounts payable entry in Omie. |
codigo_lancamento_integracao | String(60) | External unique identifier for the accounts payable entry. |
codigo_cliente_fornecedor | Integer | The supplier’s unique identifier. |
codigo_cliente_fornecedor_integracao | String(60) | The supplier’s external unique identifier. |
data_vencimento | String(10) | The due date of the bill (YYYY-MM-DD). |
valor_documento | Decimal | The total amount of the bill. |
codigo_categoria | String(20) | The category code. |
categorias | Array | An array for category allocation. |
data_previsao | String(10) | The expected payment date (YYYY-MM-DD). |
id_conta_corrente | Integer | The bank account ID. |
numero_documento_fiscal | String(20) | The fiscal document number (e.g., invoice number). |
data_emissao | String(10) | The emission date of the document (YYYY-MM-DD). |
data_entrada | String(10) | The registration date of the document (YYYY-MM-DD). |
codigo_projeto | Integer | The project code. |
observacao | Text | Observations for the payment entry. |
valor_pis | Decimal | The PIS tax amount. |
retem_pis | String(1) | Indicates if PIS tax should be withheld (S or N ). |
valor_cofins | Decimal | The COFINS tax amount. |
retem_cofins | String(1) | Indicates if COFINS tax should be withheld (S or N ). |
valor_csll | Decimal | The CSLL tax amount. |
retem_csll | String(1) | Indicates if CSLL tax should be withheld (S or N ). |
valor_ir | Decimal | The IR tax amount. |
retem_ir | String(1) | Indicates if IR tax should be withheld (S or N ). |
valor_iss | Decimal | The ISS tax amount. |
retem_iss | String(1) | Indicates if ISS tax should be withheld (S or N ). |
valor_inss | Decimal | The INSS tax amount. |
retem_inss | String(1) | Indicates if INSS tax should be withheld (S or N ). |
distribuicao | Array | An array for department allocation. |
numero_pedido | String(15) | The purchase order number. |
codigo_tipo_documento | String(5) | The document type code. |
numero_documento | String(20) | The document number. |
numero_parcela | String(7) | The installment number. |
chave_nfe | String(44) | The electronic invoice key (NF-e). |
codigo_barras_ficha_compensacao | String(70) | The barcode for the payment slip. |
codigo_vendedor | Integer | The salesperson code. |
id_origem | String(4) | The origin code. |
info | Object | An object containing metadata about the record (read-only). |
operacao | String(2) | The operation code. |
status_titulo | String(3) | The status of the bill. |
importado_api | String(1) | Indicates if the record was imported via API (S or N ). |
bloquear_exclusao | String(1) | Blocks the deletion of the record (S or N ). |
cnab_integracao_bancaria | Object | An object containing CNAB and bank integration data. |
servico_tomado | Object | An object with information from the “Serviço Tomado” tab of the Service Order. |
valor_pag | Decimal | The amount to be paid. |
aprendizado_rateio | String(1) | Department allocation learning (S or N ). |
baixar_documento | String(1) | Automatically settles the document (S or N ). |
conciliar_documento | String(1) | Automatically reconciles the document (S or N ). |
pagamento | Object | An object containing payment (settlement) details. |
Contas a Receber
Contas a Receber
This endpoint creates or updates accounts receivable records. Below are the fields you can map your data to:
Field | Type | Description |
---|---|---|
codigo_lancamento_omie | Integer | Unique identifier for the accounts receivable entry in Omie. |
codigo_lancamento_integracao | String(60) | External unique identifier for the accounts receivable entry. |
codigo_cliente_fornecedor | Integer | The client’s unique identifier. |
codigo_cliente_fornecedor_integracao | String(60) | The client’s external unique identifier. |
data_vencimento | String(10) | The due date of the invoice (YYYY-MM-DD). |
valor_documento | Decimal | The total amount of the invoice. |
codigo_categoria | String(20) | The category code. |
data_previsao | String(10) | The expected receipt date (YYYY-MM-DD). |
categorias | Array | An array for category allocation. |
id_conta_corrente | Integer | The bank account ID. |
numero_documento | String(20) | The document number. |
numero_parcela | String(7) | The installment number (e.g., “001/003”). |
codigo_tipo_documento | String(5) | The document type code. |
numero_documento_fiscal | String(20) | The fiscal document number (e.g., invoice number). |
numero_pedido | String(15) | The sales order number. |
chave_nfe | String(44) | The electronic invoice key (NF-e). |
observacao | Text | Observations for the receipt entry. |
codigo_barras_ficha_compensacao | String(70) | The barcode for the payment slip. |
codigo_cmc7_cheque | String(40) | The CMC7 code of the check. |
data_emissao | String(10) | The emission date of the document (YYYY-MM-DD). |
id_origem | String(4) | The origin code. |
operacao | String(2) | The operation code. |
valor_pis | Decimal | The PIS tax amount. |
retem_pis | String(1) | Indicates if PIS tax should be withheld (S or N ). |
valor_cofins | Decimal | The COFINS tax amount. |
retem_cofins | String(1) | Indicates if COFINS tax should be withheld (S or N ). |
valor_csll | Decimal | The CSLL tax amount. |
retem_csll | String(1) | Indicates if CSLL tax should be withheld (S or N ). |
valor_ir | Decimal | The IR tax amount. |
retem_ir | String(1) | Indicates if IR tax should be withheld (S or N ). |
valor_iss | Decimal | The ISS tax amount. |
retem_iss | String(1) | Indicates if ISS tax should be withheld (S or N ). |
valor_inss | Decimal | The INSS tax amount. |
retem_inss | String(1) | Indicates if INSS tax should be withheld (S or N ). |
bloqueado | String(1) | Blocks the entry (S or N ). |
bloquear_baixa | String(1) | Blocks the settlement of the entry (S or N ). |
importado_api | String(1) | Indicates if the record was imported via API (S or N ). |
baixar_documento | String(1) | Automatically settles the document (S or N ). |
conciliar_documento | String(1) | Automatically reconciles the document (S or N ). |
acao | Text | The action to be performed (A -Add, S -Subtract, L -Launch). |
lancamento_detalhe | Array | An array of objects with entry details. |
distribuicao | Array | An array for department allocation. |
status_titulo | String(100) | The status of the invoice. |
codigo_vendedor | Integer | The salesperson code. |
codigo_projeto | Integer | The project code. |
nsu | String(100) | The Unique Sequential Number (payment receipt). |
data_registro | String(10) | The registration date (YYYY-MM-DD). |
tipo_agrupamento | String(1) | The type of grouping (C -Consolidated, I -Individual). |
info | Object | An object containing metadata about the record (read-only). |
boleto | Object | An object containing bank slip (boleto) information. |
nCodPedido | Integer | The Sales Order ID. |
bloquear_exclusao | String(1) | Postpones the due date (S or N ). |
nCodOS | Integer | The Service Order ID. |
cPedidoCliente | String(30) | The customer’s purchase order number. |
cNumeroContrato | String(20) | The customer’s contract number. |
recebimento | Object | An object containing receipt (settlement) details. |
repeticao | Object | An object to configure recurring entries. |
aprendizado_rateio | String(1) | Department allocation learning (S or N ). |
Projetos
Projetos
This endpoint creates or updates projects. Below are the fields you can map your data to:
Field | Type | Description |
---|---|---|
codigo | Integer | Unique identifier for the project in Omie. |
codInt | String(20) | External unique identifier for the project. |
nome | String(70) | Name of the project. |
inativo | String(1) | Indicates if the project is inactive (S or N ). |
Vendedores
Vendedores
This endpoint creates or updates sellers. Below are the fields you can map your data to:
Field | Type | Description |
---|---|---|
codigo | Integer | Código do Vendedor |
codInt | String(30) | Código de Integração do Vendedor |
nome | String(70) | Nome do Vendedor |
inativo | String(1) | Indica se o vendedor está inativo [S/N] |
email | String(100) | E-mail do vendedor. |
fatura_pedido | String(1) | O vendedor pode faturar um pedido? |
visualiza_pedido | String(1) | Visualiza apenas os pedidos em que é o vendedor. Informar “S” ou “N”. |
comissao | Decimal | Percentual de Comissão. |
For the
Excluir
endpoints, you should pass the Omie unique key associated with the record:Contas a Pagar
->conta_pagar_cadastro_chave
Contas a Receber
->conta_receber_cadastro_chave
4. Configure your Omie data destination
- Describe your destination for easy identification within your organization. You can inform things like what data it brings, to which team it belongs, etc.
- To define your Trigger, consider how frequently you need to have the data updated on the destination (every day, once a week, only at specific times, etc.).
- Click Done.
Check your new destination!
- Once completed, you’ll receive confirmation that your new destination is set up!
- You can view your new destination on the Destinations page. Now, for you to be able to see it on Omie, you have to wait for the pipeline to run. You can monitor it on the Destinations page to see its execution and completion. If needed, manually trigger the pipeline by clicking on the refresh icon. Once executed, your data should be seen on Omie.
If you encounter any issues, reach out to us via Slack, and we’ll gladly assist you!