Serviços ·
ResumoServicosResumos dos serviços
1consulta
0alterações
Claude · MCPpelos assistentes de IA
JSON · XMLformato
Obtem o resumos dos serviços.
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: OrdemServico->faturarHoje ContratoServico->faturarHoje Quando false retornará todas as estruturas. Default = true |
Retorno 6O que volta numa chamada bem-sucedida
| Campo | Tipo | Descrição |
|---|---|---|
contratoServico | objeto | Exibe os totais de Contratos de Serviço não faturados. |
contratoServico.cCor | texto | |
contratoServico.cCorCanc | texto | |
contratoServico.cCorFat | texto | |
contratoServico.cCorHoje | texto | |
contratoServico.cCorPed | texto | |
contratoServico.cCorPend | texto | |
contratoServico.cCorRej | texto | |
contratoServico.cIcone | texto | |
contratoServico.cIconeCanc | texto | |
contratoServico.cIconeFat | texto | |
contratoServico.cIconeHoje | texto | |
contratoServico.cIconePed | texto | |
contratoServico.cIconePend | texto | |
contratoServico.cIconeRej | texto | |
contratoServico.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
contratoServico.emAberto | objeto | Estrutura contendo os valores em aberto. |
contratoServico.emAberto.nTotal | decimal | Quantidade total. |
contratoServico.emAberto.vTotal | decimal | Valor total. |
contratoServico.faturarHoje | objeto | Exibe os totais com o faturamento previsto para hoje. |
contratoServico.faturarHoje.nTotal | decimal | Quantidade total. |
contratoServico.faturarHoje.vTotal | decimal | Valor total. |
contratoServico.nCanceladas | decimal | Quantidade cancelada. |
contratoServico.nFaturadas | decimal | Quantidade faturada. |
contratoServico.nPendentes | decimal | Quantidade pendente. |
contratoServico.nRejeitadas | decimal | Quantidade rejeitada. |
contratoServico.vCanceladas | decimal | Valor cancelado. |
contratoServico.vFaturadas | decimal | Valor faturado. |
contratoServico.vPendentes | decimal | Valor pendente. |
contratoServico.vRejeitadas | decimal | Valor rejeitado. |
dDataFim | texto | Data final de Consulta. |
dDataInicio | texto | Data Inicial de Consulta. |
ordemServico | objeto | Exibe os totais de Ordens de Serviço não faturadas. |
ordemServico.cCor | texto | |
ordemServico.cCorHoje | texto | |
ordemServico.cCorPed | texto | |
ordemServico.cIcone | texto | |
ordemServico.cIconeHoje | texto | |
ordemServico.cIconePed | texto | |
ordemServico.cNome | texto | Descrição da operação ( ordem de serviço / Proposta ). |
ordemServico.cNomePlural | texto | Descrição da operação no plural ( ordem de serviço / Proposta ). |
ordemServico.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
ordemServico.emAberto | objeto | Estrutura contendo os valores em aberto. |
ordemServico.emAberto.nTotal | decimal | Quantidade total. |
ordemServico.emAberto.vTotal | decimal | Valor total. |
ordemServico.faturarHoje | objeto | Exibe os totais com o faturamento previsto para hoje. |
ordemServico.faturarHoje.nTotal | decimal | Quantidade total. |
ordemServico.faturarHoje.vTotal | decimal | Valor total. |
ordemServico.nCanceladas | decimal | Quantidade cancelada. |
ordemServico.nFaturadas | decimal | Quantidade faturada. |
ordemServico.nRejeitadas | decimal | Quantidade rejeitada. |
ordemServico.vCanceladas | decimal | Valor cancelado. |
ordemServico.vFaturadas | decimal | Valor faturado. |
ordemServico.vRejeitadas | decimal | Valor rejeitado. |
painel | objeto | Exibe os totais de faturamento de serviços. |
painel.faturamentoNFSe | objeto | Exibe os totais de faturamentos de notas de serviço (NFS-e). |
painel.faturamentoNFSe.cCor | texto | |
painel.faturamentoNFSe.cCorCanc | texto | |
painel.faturamentoNFSe.cCorFat | texto | |
painel.faturamentoNFSe.cCorPend | texto | |
painel.faturamentoNFSe.cCorRej | texto | |
painel.faturamentoNFSe.cIcone | texto | |
painel.faturamentoNFSe.cIconeCanc | texto | |
painel.faturamentoNFSe.cIconeFat | texto | |
painel.faturamentoNFSe.cIconePend | texto | |
painel.faturamentoNFSe.cIconeRej | texto | |
painel.faturamentoNFSe.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
painel.faturamentoNFSe.nCanceladas | decimal | Quantidade cancelada. |
painel.faturamentoNFSe.nFaturadas | decimal | Quantidade faturada. |
painel.faturamentoNFSe.nPendentes | decimal | Quantidade pendente. |
painel.faturamentoNFSe.nRejeitadas | decimal | Quantidade rejeitada. |
painel.faturamentoNFSe.nTotal | decimal | Quantidade total. |
painel.faturamentoNFSe.vCanceladas | decimal | Valor cancelado. |
painel.faturamentoNFSe.vFaturadas | decimal | Valor faturado. |
painel.faturamentoNFSe.vPendentes | decimal | Valor pendente. |
painel.faturamentoNFSe.vRejeitadas | decimal | Valor rejeitado. |
painel.faturamentoNFSe.vTotal | decimal | Valor total. |
painel.faturamentoRecibo | objeto | Exibe os totais de faturamentos de Recibos. |
painel.faturamentoRecibo.cCor | texto | |
painel.faturamentoRecibo.cCorCanc | texto | |
painel.faturamentoRecibo.cCorFat | texto | |
painel.faturamentoRecibo.cIcone | texto | |
painel.faturamentoRecibo.cIconeCanc | texto | |
painel.faturamentoRecibo.cIconeFat | texto | |
painel.faturamentoRecibo.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
painel.faturamentoRecibo.nCanceladas | decimal | Quantidade cancelada. |
painel.faturamentoRecibo.nFaturadas | decimal | Quantidade faturada. |
painel.faturamentoRecibo.nTotal | decimal | Quantidade total. |
painel.faturamentoRecibo.vCanceladas | decimal | Valor cancelado. |
painel.faturamentoRecibo.vFaturadas | decimal | Valor faturado. |
painel.faturamentoRecibo.vTotal | decimal | Valor total. |
painel.faturamentoResumo | objeto | Exibe os totais de faturamentos (NFS-e + Recibos). |
painel.faturamentoResumo.cCor | texto | |
painel.faturamentoResumo.cCorCanc | texto | |
painel.faturamentoResumo.cCorFat | texto | |
painel.faturamentoResumo.cCorPend | texto | |
painel.faturamentoResumo.cCorRej | texto | |
painel.faturamentoResumo.cIcone | texto | |
painel.faturamentoResumo.cIconeCanc | texto | |
painel.faturamentoResumo.cIconeFat | texto | |
painel.faturamentoResumo.cIconePend | texto | |
painel.faturamentoResumo.cIconeRej | texto | |
painel.faturamentoResumo.nCanceladas | decimal | Quantidade cancelada. |
painel.faturamentoResumo.nFaturadas | decimal | Quantidade faturada. |
painel.faturamentoResumo.nPendentes | decimal | Quantidade pendente. |
painel.faturamentoResumo.nRejeitadas | decimal | Quantidade rejeitada. |
painel.faturamentoResumo.nTotal | decimal | Quantidade total. |
painel.faturamentoResumo.vCanceladas | decimal | Valor cancelado. |
painel.faturamentoResumo.vFaturadas | decimal | Valor faturado. |
painel.faturamentoResumo.vPendentes | decimal | Valor pendente. |
painel.faturamentoResumo.vRejeitadas | decimal | Valor rejeitado. |
painel.faturamentoResumo.vTotal | decimal | Valor total. |
painel.faturamentoViaUnica | objeto | Exibe os totais de faturamentos de notas Via Única. |
painel.faturamentoViaUnica.cCor | texto | |
painel.faturamentoViaUnica.cCorCanc | texto | |
painel.faturamentoViaUnica.cCorFat | texto | |
painel.faturamentoViaUnica.cCorPend | texto | |
painel.faturamentoViaUnica.cCorRej | texto | |
painel.faturamentoViaUnica.cIcone | texto | |
painel.faturamentoViaUnica.cIconeCanc | texto | |
painel.faturamentoViaUnica.cIconeFat | texto | |
painel.faturamentoViaUnica.cIconePend | texto | |
painel.faturamentoViaUnica.cIconeRej | texto | |
painel.faturamentoViaUnica.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
painel.faturamentoViaUnica.nCanceladas | decimal | Quantidade cancelada. |
painel.faturamentoViaUnica.nFaturadas | decimal | Quantidade faturada. |
painel.faturamentoViaUnica.nPendentes | decimal | Quantidade pendente. |
painel.faturamentoViaUnica.nRejeitadas | decimal | Quantidade rejeitada. |
painel.faturamentoViaUnica.nTotal | decimal | Quantidade total. |
painel.faturamentoViaUnica.vCanceladas | decimal | Valor cancelado. |
painel.faturamentoViaUnica.vFaturadas | decimal | Valor faturado. |
painel.faturamentoViaUnica.vPendentes | decimal | Valor pendente. |
painel.faturamentoViaUnica.vRejeitadas | decimal | Valor rejeitado. |
painel.faturamentoViaUnica.vTotal | decimal | Valor total. |
propostaServico | objeto | Exibe os totais das Propostas de Ordens de Serviço. |
propostaServico.cCor | texto | |
propostaServico.cIcone | texto | |
propostaServico.cNome | texto | Descrição da operação ( ordem de serviço / Proposta ). |
propostaServico.cNomePlural | texto | Descrição da operação no plural ( ordem de serviço / Proposta ). |
propostaServico.cVisualizar | texto | Indica se o aplicativo possuí a configuração desse tipo de documento. Pode ser: S N |
propostaServico.emAberto | objeto | Estrutura contendo os valores em aberto. |
propostaServico.emAberto.nTotal | decimal | Quantidade total. |
propostaServico.emAberto.vTotal | decimal | Valor total. |
POST /api/v1/servicos/resumo/
curl -s https://app.omie.com.br/api/v1/servicos/resumo/ \
-H "Authorization: Bearer $TOKEN_DO_APLICATIVO" \
-H 'Content-Type: application/json' \
-d '{"call": "ObterResumoServicos", "param": [{"dDataInicio": "30/09/2026", "dDataFim": "30/09/2026", "lApenasResumo": true}]}'import os
import requests
corpo = {'call': 'ObterResumoServicos',
'param': [{'dDataInicio': '30/09/2026',
'dDataFim': '30/09/2026',
'lApenasResumo': True}]}
resp = requests.post(
"https://app.omie.com.br/api/v1/servicos/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/servicos/resumo/", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.TOKEN_DO_APLICATIVO}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"call": "ObterResumoServicos",
"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/servicos/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": "ObterResumoServicos",
"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/servicos/resumo/")
corpo = <<~'JSON'
{
"call": "ObterResumoServicos",
"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": "ObterResumoServicos",
"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/servicos/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/servicos/resumo/",
[
Headers = [Authorization = "Bearer " & TokenDoAplicativo, #"Content-Type" = "application/json"],
Content = Text.ToBinary("{""call"": ""ObterResumoServicos"", ""param"": [{""dDataInicio"": ""30/09/2026"", ""dDataFim"": ""30/09/2026"", ""lApenasResumo"": true}]}")
]
),
Dados = Json.Document(Resposta)
in
Dados