GET api/Relatorio/ObterRelatorioVendaDevolucoesDetalhado?token={token}&empresasId={empresasId}&dtInicial={dtInicial}&dtFinal={dtFinal}&IncluirPecaOrdemServicoInterna={IncluirPecaOrdemServicoInterna}

Método responsável por buscar dados do Relatório: Venda/Devoluções Detalhado Faturamento >> Relatórios >> Vendas >> Venda/Devoluções Detalhado

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

empresasId

Ids separados por virgula ex: 1,2,3

string

Required

dtInicial

date

Required

dtFinal

date

Required

IncluirPecaOrdemServicoInterna

Incluir Peça Ordem Servico Interna, o padrão esta 'false'

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of RelatorioVendaDevolucoesDetalhadoDto
NameDescriptionTypeAdditional information
DSAPELIDO

string

None.

CDEMPRESA

integer

None.

CDNOTAFISCAL

integer

None.

NRNOTAFISCAL

integer

None.

DSSERIE

string

None.

DTMOVIMENTACAO

date

None.

DSOPERACAOINTERNA

string

None.

TPOPERACAO

integer

None.

TPCATEGORIAVENDA

integer

None.

TPORIGEMOPERACAO

integer

None.

CDINSUMO

integer

None.

CDINSUMOFABRICANTE

string

None.

DSINSUMO

string

None.

VLTOTAL

decimal number

None.

VLDESCONTO

decimal number

None.

VLTOTALDESCONTO

decimal number

None.

VLMOVIMENTACAO

decimal number

None.

VLICMS

decimal number

None.

VLPIS

decimal number

None.

VLCOFINS

decimal number

None.

VLISS

decimal number

None.

VLMARGEM

decimal number

None.

VLBRINDE

decimal number

None.

VLJUROPROPRIO

decimal number

None.

VLCUSTOBRINDE

decimal number

None.

IDVENDAPRAZO

boolean

None.

IDPAGO

boolean

None.

CDVENDEDOR

integer

None.

NMVENDEDOR

string

None.

NMMECANICO

string

None.

DSGRUPOINSUMO

string

None.

DSSUBGRUPOINSUMO

string

None.

VLVENDAGERENCIAL

decimal number

None.

VLDIMINUIRENTABILIDADE

decimal number

None.

VLDIMINUIRENTABILIDADEGERENCIAL

decimal number

None.

VLAUMENTARENTABILIDADE

decimal number

None.

VLDESPESAOFICINA

decimal number

None.

VLDESPESAFINANCEIRA

decimal number

None.

VLICMSDIFAL

decimal number

None.

DSEMPRESAFUNCIONARIO

string

None.

VLSERVICO

decimal number

None.

VLPRODUTO

decimal number

None.

TPORDEMSERVICO

integer

None.

NMCONSULTORTECNICO

string

None.

NMCONSULTORENTREGA

string

None.

NRORDEMSERVICO

string

None.

NMRECEPCIONISTA

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DSAPELIDO": "sample string 1",
    "CDEMPRESA": 2,
    "CDNOTAFISCAL": 3,
    "NRNOTAFISCAL": 1,
    "DSSERIE": "sample string 4",
    "DTMOVIMENTACAO": "2025-04-26T16:58:24.9299954-03:00",
    "DSOPERACAOINTERNA": "sample string 6",
    "TPOPERACAO": 7,
    "TPCATEGORIAVENDA": 1,
    "TPORIGEMOPERACAO": 8,
    "CDINSUMO": 9,
    "CDINSUMOFABRICANTE": "sample string 10",
    "DSINSUMO": "sample string 11",
    "VLTOTAL": 1.0,
    "VLDESCONTO": 1.0,
    "VLTOTALDESCONTO": 1.0,
    "VLMOVIMENTACAO": 1.0,
    "VLICMS": 1.0,
    "VLPIS": 1.0,
    "VLCOFINS": 1.0,
    "VLISS": 12.0,
    "VLMARGEM": 1.0,
    "VLBRINDE": 1.0,
    "VLJUROPROPRIO": 1.0,
    "VLCUSTOBRINDE": 1.0,
    "IDVENDAPRAZO": true,
    "IDPAGO": true,
    "CDVENDEDOR": 1,
    "NMVENDEDOR": "sample string 15",
    "NMMECANICO": "sample string 16",
    "DSGRUPOINSUMO": "sample string 17",
    "DSSUBGRUPOINSUMO": "sample string 18",
    "VLVENDAGERENCIAL": 1.0,
    "VLDIMINUIRENTABILIDADE": 1.0,
    "VLDIMINUIRENTABILIDADEGERENCIAL": 1.0,
    "VLAUMENTARENTABILIDADE": 1.0,
    "VLDESPESAOFICINA": 1.0,
    "VLDESPESAFINANCEIRA": 1.0,
    "VLICMSDIFAL": 1.0,
    "DSEMPRESAFUNCIONARIO": "sample string 19",
    "VLSERVICO": 1.0,
    "VLPRODUTO": 1.0,
    "TPORDEMSERVICO": 1,
    "NMCONSULTORTECNICO": "sample string 20",
    "NMCONSULTORENTREGA": "sample string 21",
    "NRORDEMSERVICO": "sample string 22",
    "NMRECEPCIONISTA": "sample string 23"
  },
  {
    "DSAPELIDO": "sample string 1",
    "CDEMPRESA": 2,
    "CDNOTAFISCAL": 3,
    "NRNOTAFISCAL": 1,
    "DSSERIE": "sample string 4",
    "DTMOVIMENTACAO": "2025-04-26T16:58:24.9299954-03:00",
    "DSOPERACAOINTERNA": "sample string 6",
    "TPOPERACAO": 7,
    "TPCATEGORIAVENDA": 1,
    "TPORIGEMOPERACAO": 8,
    "CDINSUMO": 9,
    "CDINSUMOFABRICANTE": "sample string 10",
    "DSINSUMO": "sample string 11",
    "VLTOTAL": 1.0,
    "VLDESCONTO": 1.0,
    "VLTOTALDESCONTO": 1.0,
    "VLMOVIMENTACAO": 1.0,
    "VLICMS": 1.0,
    "VLPIS": 1.0,
    "VLCOFINS": 1.0,
    "VLISS": 12.0,
    "VLMARGEM": 1.0,
    "VLBRINDE": 1.0,
    "VLJUROPROPRIO": 1.0,
    "VLCUSTOBRINDE": 1.0,
    "IDVENDAPRAZO": true,
    "IDPAGO": true,
    "CDVENDEDOR": 1,
    "NMVENDEDOR": "sample string 15",
    "NMMECANICO": "sample string 16",
    "DSGRUPOINSUMO": "sample string 17",
    "DSSUBGRUPOINSUMO": "sample string 18",
    "VLVENDAGERENCIAL": 1.0,
    "VLDIMINUIRENTABILIDADE": 1.0,
    "VLDIMINUIRENTABILIDADEGERENCIAL": 1.0,
    "VLAUMENTARENTABILIDADE": 1.0,
    "VLDESPESAOFICINA": 1.0,
    "VLDESPESAFINANCEIRA": 1.0,
    "VLICMSDIFAL": 1.0,
    "DSEMPRESAFUNCIONARIO": "sample string 19",
    "VLSERVICO": 1.0,
    "VLPRODUTO": 1.0,
    "TPORDEMSERVICO": 1,
    "NMCONSULTORTECNICO": "sample string 20",
    "NMCONSULTORENTREGA": "sample string 21",
    "NRORDEMSERVICO": "sample string 22",
    "NMRECEPCIONISTA": "sample string 23"
  }
]