Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.


01. DADOS GERAIS

Produto:

TOTVS Varejo Gestão Fiscal

Linha de Produto:

Linha Fiscal Manager 

Segmento:

Varejo 

Módulo:

DOCUMENTO FISCAL

Função:FISCAL MANAGEREmissão de NFC-e
País:Brasil
Ticket:Ticket #17681705
Requisito/Story/Issue (informe o requisito relacionado) :DVTPF-258


02. SITUAÇÃO/REQUISITO

Cliente informa que está emitindo Na emissão de NFC-e com ao incluir a tag "vICMSMonoRet" no grupo CMSTOT, porem após a informação ser enviada para o FM não não consta nenhuma informação dessa tag e a XML é emitida sem elatotal (ICMSTot), Fiscal Manager não está gerando o XML com essa informação.

03. SOLUÇÃO

Inclusão da Efetuado ajuste incluidno a Tag vICMSMonoRet no grupo icmsTotal

Passo 1:

. Para emitir uma NFC-e com a tag 'vICMSMonoRet', é necessário fornecer as informações do grupo de ICMS61 e do ICMSTot.

Exemplo JsonUsuário informa uma classe de ICMS Ex. ICMS61:

Bloco de código
			...
"imposto": {
				"vTotTrib":0 2.078,
				"icms": {
					"icms61": {
						"orig": 0,
						"cst": "61",
						"qBCMonoRet":0 10.0,
						"adRemICMSRet":0 1.022,
						"vICMSMonoRet":3 1.022
					}
				}
			}

Retorno do Passo 1:

A tag vICMSMonoRet deverá constar no XML do arquivo gerado:

Bloco de código
<?xml version="1.0" encoding="UTF-8"?>
<nfeProc versao="4.00" xmlns="http://www.portalfiscal.inf.br/nfe">
	<NFe>
		<infNFe versao="4.00" Id="NFe13230982373077000171651480000082901136357164">
			<ide>
				<cUF>13</cUF>
				<cNF>13635716</cNF>
				<natOp>VENDA</natOp>
				<mod>65</mod>
				<serie>148</serie>
				<nNF>8290</nNF>
				<dhEmi>2023-09-11T16:24:07-03:00</dhEmi>
				<tpNF>1</tpNF>
				<idDest>1</idDest>
				<cMunFG>1303304</cMunFG>
				<tpImp>4</tpImp>
				<tpEmis>1</tpEmis>
				<cDV>4</cDV>
				<tpAmb>2</tpAmb>
				<finNFe>1</finNFe>
				<indFinal>1</indFinal>
				<indPres>1</indPres>
				<procEmi>0</procEmi>
				<verProc>1.0.0.0</verProc>
			</ide>
			<emit>
				<CNPJ>82373077000171</CNPJ>
				<xNome>BEMATECH S/A</xNome>
				<enderEmit>
					<xLgr>AV. COMENDADOR FRANCO</xLgr>
					<nro>1341</nro>
					<xBairro>JARDIM BOTANICO</xBairro>
					<cMun>1303304</cMun>
					<xMun>SÃO JOSE DOS PINHAIS</xMun>
					<UF>AM</UF>
					<CEP>69099000</CEP>
					<fone>44993657856</fone>
				</enderEmit>
				<IE>999999990</IE>
				<CRT>3</CRT>
			</emit>
			<det nItem="1">
				<prod>
					<cProd>5249</cProd>
					<cEAN>SEM GTIN</cEAN>
					<xProd>NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xProd>
					<NCM>33072090</NCM>
					<CEST>0000100</CEST>
					<CFOP>5405</CFOP>
					<uCom>UN</uCom>
					<qCom>1.0000</qCom>
					<vUnCom>10.0000</vUnCom>
					<vProd>10.00</vProd>
					<cEANTrib>SEM GTIN</cEANTrib>
					<uTrib>UN</uTrib>
					<qTrib>1.0000</qTrib>
					<vUnTrib>10.0000</vUnTrib>
					<indTot>1</indTot>
				</prod>
				<imposto>
					<vTotTrib>0.00</vTotTrib>
					<ICMS>
						<ICMS61>
							<orig>0</orig>
							<CST>61</CST>
							<qBCMonoRet>0.0000</qBCMonoRet>
							<adRemICMSRet>0.0000</adRemICMSRet>
							<vICMSMonoRet>3.00</vICMSMonoRet>
						</ICMS61>
					</ICMS>
				</imposto>
			</det>
			<total>
				<ICMSTot>
					<vBC>0.00</vBC>
					<vICMS>0.00</vICMS>
					<vICMSDeson>0.00</vICMSDeson>
					<vFCPUFDest>0.00</vFCPUFDest>
					<vICMSUFDest>0.00</vICMSUFDest>
					<vICMSUFRemet>0.00</vICMSUFRemet>
					<vFCP>0.00</vFCP>
					<vBCST>0.00</vBCST>
					<vST>0.00</vST>
					<vFCPST>0.00</vFCPST>
					<vFCPSTRet>0.00</vFCPSTRet>
					<vICMSMonoRet>3.00</vICMSMonoRet>
					<vProd>10.00</vProd>
					<vFrete>0.00</vFrete>
					<vSeg>0.00</vSeg>
					<vDesc>0.00</vDesc>
					<vII>0.00</vII>
					<vIPI>0.00</vIPI>
					<vIPIDevol>0.00</vIPIDevol>
					<vPIS>0.00</vPIS>
					<vCOFINS>0.00</vCOFINS>
					<vOutro>0.00</vOutro>
					<vNF>10.00</vNF>
					<vTotTrib>0.00</vTotTrib>
				</ICMSTot>
			</total>
			<transp>
				<modFrete>9</modFrete>
			</transp>
			<pag>
				<detPag>
					<indPag>0</indPag>
					<tPag>01</tPag>
					<vPag>5.00</vPag>
				</detPag>
				<detPag>
					<indPag>0</indPag>
					<tPag>01</tPag>
					<vPag>6.00</vPag>
				</detPag>
				<vTroco>1.00</vTroco>
			</pag>
			<infAdic>
				<infCpl>Venda com unico Json</infCpl>
			</infAdic>
		</infNFe>
		<infNFeSupl>
			<qrCode><![CDATA[https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp?p=13230982373077000171651480000082901136357164|2|2|1|042BD57B7E80463D21292428ED4A5C3759919745]]></qrCode>
			<urlChave>http://www.sefaz.am.gov.br/nfce/consulta</urlChave>
		</infNFeSupl>
		<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
			<SignedInfo>
				<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
				<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
				<Reference URI="#NFe13230982373077000171651480000082901136357164">
					<Transforms>
						<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
						<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
					</Transforms>
					<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
					<DigestValue>u4c23NDrsqrLE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signature>
	</NFe>
	<protNFe versao="4.00">
		<infProt>
			<tpAmb>2</tpAmb>
			<verAplic>AM3.10-4.00</verAplic>
			<chNFe>13230982373077000171651480000082901136357164</chNFe>
			<dhRecbto>2023-09-11T15:28:16-04:00</dhRecbto>
			<nProt>113230011146557</nProt>
			<digVal>u4c23NDrsqrLEl80YX++W1x4lkQ=</digVal>
			<cStat>100</cStat>
			<xMotivo>Autorizado o uso da NF-e</xMotivo>
		</infProt>
	</protNFe>
</nfeProc>

04. DEMAIS INFORMAÇÕES

...

"icmsTotal": {
...
	"qBCMonoRet": 10.0,
	"vICMSMonoRet": 1.22
}


XML Gerado:
Image Added




04. DEMAIS INFORMAÇÕES

Segue NT 2023.001V1.20

View file
nameNT2023.001v1.20-Tributação monofásica dos combustíveis.pdf
height250



05. ASSUNTOS RELACIONADOS

Não se aplica