Produtos ·
ResumoProdutosVendasResumo de vendas de produtos
1consulta
0alterações
Claude · MCPpelos assistentes de IA
JSON · XMLformato
Obtem o resumo das vendas de produtos.
Obrigatórios 0
Nenhum campo obrigatório.
Opcionais 3Campos e estruturas que você pode enviar
| Campo | Tipo | Descrição |
|---|---|---|
dDataFim | texto · até 10 | Data final de Consulta. |
dDataInicio | texto · até 10 | Data Inicial de Consulta. |
lApenasResumo | sim/não | Exibir apenas o resumo. Quando true será retornado as estruturas: FaturamentoResumo pedidoVenda->faturarHoje propostaVenda->faturarHoje Quando false retornará todas as estruturas. Default = true. |
Retorno 11O que volta numa chamada bem-sucedida
| Campo | Tipo | Descrição |
|---|---|---|
dDataFim | texto | Data final de Consulta. |
dDataInicio | texto | Data Inicial de Consulta. |
faturamentoCupomResumo | objeto | Resumo do faturamento de cupons (ECF + SAT + NFC-e). |
faturamentoCupomResumo.cCorCanc | texto | |
faturamentoCupomResumo.cCorCont | texto | |
faturamentoCupomResumo.cCorFat | texto | |
faturamentoCupomResumo.cCorPend | texto | |
faturamentoCupomResumo.cIconeCanc | texto | |
faturamentoCupomResumo.cIconeCont | texto | |
faturamentoCupomResumo.cIconeFat | texto | |
faturamentoCupomResumo.cIconePend | texto | |
faturamentoCupomResumo.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N. |
faturamentoCupomResumo.nCanceladas | decimal | Quantidade cancelada. |
faturamentoCupomResumo.nContingencia | decimal | Quantidade em contigência. |
faturamentoCupomResumo.nFaturadas | decimal | Quantidade faturada. |
faturamentoCupomResumo.nPendentes | decimal | Quantidade pendente. |
faturamentoCupomResumo.nTotal | decimal | Quantidade total. |
faturamentoCupomResumo.vCanceladas | decimal | Valor cancelado. |
faturamentoCupomResumo.vContingencia | decimal | Valor em contigência. |
faturamentoCupomResumo.vFaturadas | decimal | Valor faturado. |
faturamentoCupomResumo.vPendentes | decimal | Valor pendente. |
faturamentoCupomResumo.vTotal | decimal | Valor total. |
faturamentoResumo | objeto | Exibe os totais de faturamentos (NF-e + NFC-e + CF-e-SAT + ECF + CT-e). |
faturamentoResumo.cCor | texto | |
faturamentoResumo.cCorCanc | texto | |
faturamentoResumo.cCorFat | texto | |
faturamentoResumo.cCorPend | texto | |
faturamentoResumo.cCorRej | texto | |
faturamentoResumo.cIcone | texto | |
faturamentoResumo.cIconeCanc | texto | |
faturamentoResumo.cIconeFat | texto | |
faturamentoResumo.cIconePend | texto | |
faturamentoResumo.cIconeRej | texto | |
faturamentoResumo.nCanceladas | decimal | Quantidade cancelada. |
faturamentoResumo.nFaturadas | decimal | Quantidade faturada. |
faturamentoResumo.nPendentes | decimal | Quantidade pendente. |
faturamentoResumo.nRejeitadas | decimal | Quantidade rejeitada. |
faturamentoResumo.nTotal | decimal | Quantidade total. |
faturamentoResumo.vCanceladas | decimal | Valor cancelado. |
faturamentoResumo.vFaturadas | decimal | Valor faturado. |
faturamentoResumo.vPendentes | decimal | Valor pendente. |
faturamentoResumo.vRejeitadas | decimal | Valor rejeitado. |
faturamentoResumo.vTotal | decimal | Valor total. |
painelCfeSat | objeto | Exibe os totais de faturamentos de Cupons Fiscais Eletrônicos. (CFe-SAT). |
painelCfeSat.cCor | texto | |
painelCfeSat.cIcone | texto | |
painelCfeSat.nCanceladas | decimal | Quantidade cancelada. |
painelCfeSat.nFaturadas | decimal | Quantidade faturada. |
painelCfeSat.nTotal | decimal | Quantidade total. |
painelCfeSat.pagamentos | objeto | |
painelCfeSat.pagamentos.vAprazo | decimal | Total faturado a Prazo. |
painelCfeSat.pagamentos.vCartao | decimal | Total faturado em Cartão. |
painelCfeSat.pagamentos.vCheque | decimal | Total faturado em Cheque. |
painelCfeSat.pagamentos.vDinheiro | decimal | Total faturado em Dinheiro. |
painelCfeSat.pagamentos.vOutros | decimal | Total faturado Outras formas de pagamento. |
painelCfeSat.vCanceladas | decimal | Valor cancelado. |
painelCfeSat.vFaturadas | decimal | Valor faturado. |
painelCfeSat.vTotal | decimal | Valor total. |
painelCteVenda | objeto | Exibe os totais de faturamentos de Conhecimentos de Transporte de saída. (CT-e). |
painelCteVenda.emitidasEmpresaCte | objeto | Exibe os totais de faturamentos dos Conhecimentos de Transporte (CT-e) emitidos pela própria empresa. |
painelCteVenda.emitidasEmpresaCte.cCor | texto | |
painelCteVenda.emitidasEmpresaCte.cCorCanc | texto | |
painelCteVenda.emitidasEmpresaCte.cCorFat | texto | |
painelCteVenda.emitidasEmpresaCte.cCorPend | texto | |
painelCteVenda.emitidasEmpresaCte.cIcone | texto | |
painelCteVenda.emitidasEmpresaCte.cIconeCanc | texto | |
painelCteVenda.emitidasEmpresaCte.cIconeFat | texto | |
painelCteVenda.emitidasEmpresaCte.cIconePend | texto | |
painelCteVenda.emitidasEmpresaCte.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N. |
painelCteVenda.emitidasEmpresaCte.saidaCte | objeto | Exibe os totais de faturamentos dos Conhecimentos de Transporte (CT-e) de saída. |
painelCteVenda.emitidasEmpresaCte.saidaCte.nCanceladas | decimal | Quantidade cancelada. |
painelCteVenda.emitidasEmpresaCte.saidaCte.nFaturadas | decimal | Quantidade faturada. |
painelCteVenda.emitidasEmpresaCte.saidaCte.nPendentes | decimal | Quantidade pendente. |
painelCteVenda.emitidasEmpresaCte.saidaCte.nTotal | decimal | Quantidade total. |
painelCteVenda.emitidasEmpresaCte.saidaCte.vCanceladas | decimal | Valor cancelado. |
painelCteVenda.emitidasEmpresaCte.saidaCte.vFaturadas | decimal | Valor faturado. |
painelCteVenda.emitidasEmpresaCte.saidaCte.vPendentes | decimal | Valor pendente. |
painelCteVenda.emitidasEmpresaCte.saidaCte.vTotal | decimal | Valor total. |
painelCupom | objeto | Exibe os totais de faturamentos de Cupons Fiscais. (ECF). |
painelCupom.cCor | texto | |
painelCupom.cIcone | texto | |
painelCupom.nCanceladas | decimal | Quantidade cancelada. |
painelCupom.nFaturadas | decimal | Quantidade faturada. |
painelCupom.nTotal | decimal | Quantidade total. |
painelCupom.pagamentos | objeto | |
painelCupom.pagamentos.vAprazo | decimal | Total faturado a Prazo. |
painelCupom.pagamentos.vCartao | decimal | Total faturado em Cartão. |
painelCupom.pagamentos.vCheque | decimal | Total faturado em Cheque. |
painelCupom.pagamentos.vDinheiro | decimal | Total faturado em Dinheiro. |
painelCupom.pagamentos.vOutros | decimal | Total faturado Outras formas de pagamento. |
painelCupom.vCanceladas | decimal | Valor cancelado. |
painelCupom.vFaturadas | decimal | Valor faturado. |
painelCupom.vTotal | decimal | Valor total. |
painelNfce | objeto | Exibe os totais de faturamentos de Notas Fiscais de Consumidor Eletrônica. (NFC-e). |
painelNfce.cCor | texto | |
painelNfce.cIcone | texto | |
painelNfce.nCanceladas | decimal | Quantidade cancelada. |
painelNfce.nFaturadas | decimal | Quantidade faturada. |
painelNfce.nTotal | decimal | Quantidade total. |
painelNfce.pagamentos | objeto | |
painelNfce.pagamentos.vAprazo | decimal | Total faturado a Prazo. |
painelNfce.pagamentos.vCartao | decimal | Total faturado em Cartão. |
painelNfce.pagamentos.vCheque | decimal | Total faturado em Cheque. |
painelNfce.pagamentos.vDinheiro | decimal | Total faturado em Dinheiro. |
painelNfce.pagamentos.vOutros | decimal | Total faturado Outras formas de pagamento. |
painelNfce.vCanceladas | decimal | Valor cancelado. |
painelNfce.vFaturadas | decimal | Valor faturado. |
painelNfce.vTotal | decimal | Valor total. |
painelNfeVenda | objeto | Exibe os totais de faturamentos de Notas Fiscais. (NF-e). |
painelNfeVenda.emitidasEmpresaNfe | objeto | Exibe os totais de faturamentos das Notas Fiscais (NF-e) emitidas pela própria empresa. |
painelNfeVenda.emitidasEmpresaNfe.cCor | texto | |
painelNfeVenda.emitidasEmpresaNfe.cCorCanc | texto | |
painelNfeVenda.emitidasEmpresaNfe.cCorFat | texto | |
painelNfeVenda.emitidasEmpresaNfe.cCorPend | texto | |
painelNfeVenda.emitidasEmpresaNfe.cCorRej | texto | |
painelNfeVenda.emitidasEmpresaNfe.cIcone | texto | |
painelNfeVenda.emitidasEmpresaNfe.cIconeCanc | texto | |
painelNfeVenda.emitidasEmpresaNfe.cIconeFat | texto | |
painelNfeVenda.emitidasEmpresaNfe.cIconePend | texto | |
painelNfeVenda.emitidasEmpresaNfe.cIconeRej | texto | |
painelNfeVenda.emitidasEmpresaNfe.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe | objeto | Exibe os totais de faturamentos das Notas Fiscais (NF-e) de saída. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.nCanceladas | decimal | Quantidade cancelada. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.nFaturadas | decimal | Quantidade faturada. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.nPendentes | decimal | Quantidade pendente. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.nRejeitadas | decimal | Quantidade rejeitada. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.nTotal | decimal | Quantidade total. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.vCanceladas | decimal | Valor cancelado. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.vFaturadas | decimal | Valor faturado. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.vPendentes | decimal | Valor pendente. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.vRejeitadas | decimal | Valor rejeitado. |
painelNfeVenda.emitidasEmpresaNfe.saidaNfe.vTotal | decimal | Valor total. |
pedidoVenda | objeto | Exibe os totais de venda de produtos. |
pedidoVenda.cCor | texto | |
pedidoVenda.cCorHoje | texto | |
pedidoVenda.cCorPed | texto | |
pedidoVenda.cIcone | texto | |
pedidoVenda.cIconeHoje | texto | |
pedidoVenda.cIconePed | texto | |
pedidoVenda.cNome | texto | Descrição da operação (Proposta / Pedido de venda). |
pedidoVenda.cNomePlural | texto | Descrição da operação no plural (Proposta / Pedido de venda). |
pedidoVenda.emAberto | objeto | Estrutura contendo os valores em aberto. |
pedidoVenda.emAberto.nTotal | decimal | Quantidade total. |
pedidoVenda.emAberto.vTotal | decimal | Valor total. |
pedidoVenda.faturarHoje | objeto | Exibe os totais com o faturamento previsto para hoje. |
pedidoVenda.faturarHoje.nTotal | decimal | Quantidade total. |
pedidoVenda.faturarHoje.vTotal | decimal | Valor total. |
pedidoVenda.nCanceladas | decimal | Quantidade cancelada. |
pedidoVenda.nFaturadas | decimal | Quantidade faturada. |
pedidoVenda.nRejeitadas | decimal | Quantidade rejeitada. |
pedidoVenda.vCanceladas | decimal | Valor cancelado. |
pedidoVenda.vFaturadas | decimal | Valor faturado. |
pedidoVenda.vRejeitadas | decimal | Valor rejeitado. |
propostaVenda | objeto | Exibe os totais das propostas de venda de produtos. |
propostaVenda.cCor | texto | |
propostaVenda.cIcone | texto | |
propostaVenda.cNome | texto | Descrição da operação (Proposta / Pedido de venda). |
propostaVenda.cNomePlural | texto | Descrição da operação no plural (Proposta / Pedido de venda). |
propostaVenda.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N. |
propostaVenda.emAberto | objeto | Estrutura contendo os valores em aberto. |
propostaVenda.emAberto.nTotal | decimal | Quantidade total. |
propostaVenda.emAberto.vTotal | decimal | Valor total. |
POST /api/v1/produtos/vendas-resumo/
curl -s https://app.omie.com.br/api/v1/produtos/vendas-resumo/ \
-H "Authorization: Bearer $TOKEN_DO_APLICATIVO" \
-H 'Content-Type: application/json' \
-d '{"call": "ObterResumoProdutos", "param": [{"dDataInicio": "30/09/2026", "dDataFim": "30/09/2026", "lApenasResumo": true}]}'import os
import requests
corpo = {'call': 'ObterResumoProdutos',
'param': [{'dDataInicio': '30/09/2026',
'dDataFim': '30/09/2026',
'lApenasResumo': True}]}
resp = requests.post(
"https://app.omie.com.br/api/v1/produtos/vendas-resumo/",
headers={"Authorization": f"Bearer {os.environ['TOKEN_DO_APLICATIVO']}"},
json=corpo,
timeout=60,
)
print(resp.json())const resp = await fetch("https://app.omie.com.br/api/v1/produtos/vendas-resumo/", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.TOKEN_DO_APLICATIVO}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"call": "ObterResumoProdutos",
"param": [
{
"dDataInicio": "30/09/2026",
"dDataFim": "30/09/2026",
"lApenasResumo": true
}
]
}),
});
console.log(await resp.json());<?php
$ch = curl_init("https://app.omie.com.br/api/v1/produtos/vendas-resumo/");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("TOKEN_DO_APLICATIVO"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"call": "ObterResumoProdutos",
"param": [
{
"dDataInicio": "30/09/2026",
"dDataFim": "30/09/2026",
"lApenasResumo": true
}
]
}
JSON,
]);
echo curl_exec($ch);require "net/http"
uri = URI("https://app.omie.com.br/api/v1/produtos/vendas-resumo/")
corpo = <<~'JSON'
{
"call": "ObterResumoProdutos",
"param": [
{
"dDataInicio": "30/09/2026",
"dDataFim": "30/09/2026",
"lApenasResumo": true
}
]
}
JSON
resp = Net::HTTP.post(uri, corpo,
"Authorization" => "Bearer #{ENV.fetch('TOKEN_DO_APLICATIVO')}",
"Content-Type" => "application/json")
puts resp.bodyimport java.net.URI;
import java.net.http.*;
var corpo = """
{
"call": "ObterResumoProdutos",
"param": [
{
"dDataInicio": "30/09/2026",
"dDataFim": "30/09/2026",
"lApenasResumo": true
}
]
}
""";
var pedido = HttpRequest.newBuilder()
.uri(URI.create("https://app.omie.com.br/api/v1/produtos/vendas-resumo/"))
.header("Authorization", "Bearer " + System.getenv("TOKEN_DO_APLICATIVO"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(corpo))
.build();
var resp = HttpClient.newHttpClient().send(pedido, HttpResponse.BodyHandlers.ofString());
System.out.println(resp.body());// TokenDoAplicativo: parâmetro do Power BI (Página Inicial > Gerenciar parâmetros)
let
Resposta = Web.Contents(
"https://app.omie.com.br/api/v1/produtos/vendas-resumo/",
[
Headers = [Authorization = "Bearer " & TokenDoAplicativo, #"Content-Type" = "application/json"],
Content = Text.ToBinary("{""call"": ""ObterResumoProdutos"", ""param"": [{""dDataInicio"": ""30/09/2026"", ""dDataFim"": ""30/09/2026"", ""lApenasResumo"": true}]}")
]
),
Dados = Json.Document(Resposta)
in
Dados