GET api/Relatorio/ObterRelatorioPecasdetalhado?token={token}&empresasId={empresasId}&dtInicial={dtInicial}&dtFinal={dtFinal}
Método responsável por buscar dados do Relatório: Peças detalhado Faturamento -> Relatórios -> Vendas -> Peças detalhado
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
|
| empresasId |
Ids separados por virgula ex: 1,2,3 |
string |
Required |
| dtInicial | date |
Required |
|
| dtFinal | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RelatorioPecasDetalhadoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CDEMPRESA | integer |
None. |
|
| DSAPELIDO | string |
None. |
|
| NMPESSOA | string |
None. |
|
| NRCPFCNPJCLIENTE | string |
None. |
|
| CDCLIENTE | integer |
None. |
|
| NMCLIENTE | string |
None. |
|
| NRNOTAFISCAL | integer |
None. |
|
| DTMOVIMENTACAO | date |
None. |
|
| DSOPERACAOINTERNA | string |
None. |
|
| CDINSUMOFABRICANTE | string |
None. |
|
| DSINSUMO | string |
None. |
|
| QTVENDA | decimal number |
None. |
|
| VLVENDA | decimal number |
None. |
|
| VLDESCONTO | decimal number |
None. |
|
| VLDEVOLUCAO | decimal number |
None. |
|
| VLCUSTO | decimal number |
None. |
|
| VLICMS | decimal number |
None. |
|
| VLPISCOFINS | decimal number |
None. |
|
| IDORIGINAL | boolean |
None. |
|
| VLMARGEM | decimal number |
None. |
|
| PCMARGEM | decimal number |
None. |
|
| IDATACADISTA | boolean |
None. |
|
| TPORIGEMOPERACAO | integer |
None. |
|
| TPOPERACAO | integer |
None. |
|
| VLTOTALDESCONTO | decimal number |
None. |
|
| DSGRUPOINSUMO | string |
None. |
|
| DSSUBGRUPOINSUMO | string |
None. |
|
| DSGRUPOTRIBUTACAO | string |
None. |
|
| DSGRUPOCONTABIL | string |
None. |
|
| PCDESCONTO | decimal number |
None. |
|
| DSMUNICIPIO | string |
None. |
|
| VLTAXAADMINISTRADORA | decimal number |
None. |
|
| VLMARGEMTAXA | decimal number |
None. |
|
| PCMARGEMTAXA | decimal number |
None. |
|
| CDPESSOA1 | integer |
None. |
|
| NMPESSOA1 | string |
None. |
|
| CDPESSOA2 | integer |
None. |
|
| NMPESSOA2 | string |
None. |
|
| DSGRUPOPESSOA | string |
None. |
|
| IDPROMOCAO | boolean |
None. |
|
| CDCURVA | string |
None. |
|
| NRFAIXA | string |
None. |
|
| VLICMSDIFAL | decimal number |
None. |
|
| VLIMPOSTOIPI | decimal number |
None. |
|
| IDNAOCONSIDERADEMANDA | boolean |
None. |
|
| VLICMSSUBST | decimal number |
None. |
|
| VLTOTALITEM | decimal number |
None. |
|
| DSMARCA | string |
None. |
|
| TPCATEGORIAVENDA | integer |
None. |
|
| TPPRODUTORMA | integer |
None. |
|
| TPORDEMSERVICO | integer |
None. |
|
| IDEXPRESSA | boolean |
None. |
|
| DSEQUIPEVENDA | string |
None. |
|
| TPPESSOA | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CDEMPRESA": 1,
"DSAPELIDO": "sample string 2",
"NMPESSOA": "sample string 3",
"NRCPFCNPJCLIENTE": "sample string 4",
"CDCLIENTE": 5,
"NMCLIENTE": "sample string 6",
"NRNOTAFISCAL": 1,
"DTMOVIMENTACAO": "2025-12-14T03:23:34.91349-03:00",
"DSOPERACAOINTERNA": "sample string 8",
"CDINSUMOFABRICANTE": "sample string 9",
"DSINSUMO": "sample string 10",
"QTVENDA": 11.0,
"VLVENDA": 1.0,
"VLDESCONTO": 1.0,
"VLDEVOLUCAO": 1.0,
"VLCUSTO": 12.0,
"VLICMS": 1.0,
"VLPISCOFINS": 1.0,
"IDORIGINAL": true,
"VLMARGEM": 1.0,
"PCMARGEM": 1.0,
"IDATACADISTA": true,
"TPORIGEMOPERACAO": 15,
"TPOPERACAO": 16,
"VLTOTALDESCONTO": 1.0,
"DSGRUPOINSUMO": "sample string 17",
"DSSUBGRUPOINSUMO": "sample string 18",
"DSGRUPOTRIBUTACAO": "sample string 19",
"DSGRUPOCONTABIL": "sample string 20",
"PCDESCONTO": 1.0,
"DSMUNICIPIO": "sample string 21",
"VLTAXAADMINISTRADORA": 1.0,
"VLMARGEMTAXA": 1.0,
"PCMARGEMTAXA": 1.0,
"CDPESSOA1": 1,
"NMPESSOA1": "sample string 22",
"CDPESSOA2": 1,
"NMPESSOA2": "sample string 23",
"DSGRUPOPESSOA": "sample string 24",
"IDPROMOCAO": true,
"CDCURVA": "sample string 26",
"NRFAIXA": "sample string 27",
"VLICMSDIFAL": 28.0,
"VLIMPOSTOIPI": 1.0,
"IDNAOCONSIDERADEMANDA": true,
"VLICMSSUBST": 1.0,
"VLTOTALITEM": 1.0,
"DSMARCA": "sample string 30",
"TPCATEGORIAVENDA": 1,
"TPPRODUTORMA": 31,
"TPORDEMSERVICO": 1,
"IDEXPRESSA": true,
"DSEQUIPEVENDA": "sample string 33",
"TPPESSOA": 34
},
{
"CDEMPRESA": 1,
"DSAPELIDO": "sample string 2",
"NMPESSOA": "sample string 3",
"NRCPFCNPJCLIENTE": "sample string 4",
"CDCLIENTE": 5,
"NMCLIENTE": "sample string 6",
"NRNOTAFISCAL": 1,
"DTMOVIMENTACAO": "2025-12-14T03:23:34.91349-03:00",
"DSOPERACAOINTERNA": "sample string 8",
"CDINSUMOFABRICANTE": "sample string 9",
"DSINSUMO": "sample string 10",
"QTVENDA": 11.0,
"VLVENDA": 1.0,
"VLDESCONTO": 1.0,
"VLDEVOLUCAO": 1.0,
"VLCUSTO": 12.0,
"VLICMS": 1.0,
"VLPISCOFINS": 1.0,
"IDORIGINAL": true,
"VLMARGEM": 1.0,
"PCMARGEM": 1.0,
"IDATACADISTA": true,
"TPORIGEMOPERACAO": 15,
"TPOPERACAO": 16,
"VLTOTALDESCONTO": 1.0,
"DSGRUPOINSUMO": "sample string 17",
"DSSUBGRUPOINSUMO": "sample string 18",
"DSGRUPOTRIBUTACAO": "sample string 19",
"DSGRUPOCONTABIL": "sample string 20",
"PCDESCONTO": 1.0,
"DSMUNICIPIO": "sample string 21",
"VLTAXAADMINISTRADORA": 1.0,
"VLMARGEMTAXA": 1.0,
"PCMARGEMTAXA": 1.0,
"CDPESSOA1": 1,
"NMPESSOA1": "sample string 22",
"CDPESSOA2": 1,
"NMPESSOA2": "sample string 23",
"DSGRUPOPESSOA": "sample string 24",
"IDPROMOCAO": true,
"CDCURVA": "sample string 26",
"NRFAIXA": "sample string 27",
"VLICMSDIFAL": 28.0,
"VLIMPOSTOIPI": 1.0,
"IDNAOCONSIDERADEMANDA": true,
"VLICMSSUBST": 1.0,
"VLTOTALITEM": 1.0,
"DSMARCA": "sample string 30",
"TPCATEGORIAVENDA": 1,
"TPPRODUTORMA": 31,
"TPORDEMSERVICO": 1,
"IDEXPRESSA": true,
"DSEQUIPEVENDA": "sample string 33",
"TPPESSOA": 34
}
]