Pessoal tive um problema ao emitir um CTE de substituição abaixo. Estou trocando o tomador, mas o mesmo não foi mencionado no CTE origem.
O problema é que a mensagem de erro é que estou trocando o CNPJ do destinatário.
Anexo o XML.
Abaixo o log do ACBRMOnitor:
Log do ultimo envio
14/03/2024 15:20:36 - cte.CriarEnviarCte(
"[ide]
cCT=252480
CFOP=6932
natOp=6932 - Transporte de Cargas Interestadual
forPag=0
mod=57
serie=1
nCT=252480
dhEmi=08/03/2024
tpAmb=1
tpImp=1
tpemis=1
procEmi=0
verProc=1.0.0.1
cMunEnv=3509205
xMunEnv=CAJAMAR
UFEnv=SP
modal=01
tpServ=0
cMunIni=3509205
xMunIni=CAJAMAR
UFIni=SP
cMunFim=3304557
xMunFim=RIO DE JANEIRO
UFFim=RJ
retira=0
xDetRetira=
cUF=SP
indGlobalizado=0
tpCTe=3
[infCteSub]
chCte=33240309059609000100570010002514431002514431
indAlteraToma=1
[toma3]
Toma=4
[toma4]
Toma=4
CNPJCPF=01438784005832
IE=241065312110
xNome=LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM
xFant=LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM
xLgr=RUA VEREADOR REINALDO LEAL DE SOUZA
nro=1140
xCpl=
xBairro=ROSEIRA (JORDANESIA)
cMun=3509205
xMun=CAJAMAR
CEP=07784500
UF=SP
PaisCod=1058
Pais=BRASIL
[Compl]
xEmi=
TipoData=0
TipoHora=0
origCalc=CAJAMAR
destCalc=RIO DE JANEIRO
xObs="Este documento substitui o CT-e “248723” e “05/02/2024” em virtude de tomador informado erroneamente.
[ObsCont001]
xCampo=Lei da Transparencia
xTexto=O valor aproximado de tributos incidentes sobre o preco deste servico e de R$8,72.
[Emit]
CNPJ=09059609000100
IE=78373571
xNome=MM TRANSPORTES LOGISTICA E ARMAZENS
xFant=MM TRANSPORTES LOGISTICA E ARMAZENS
xLgr=RODOVIA PRESIDENTE DUTRA
nro=2671
xCpl=
xBairro=PAVUNA
cMun=3304557
xMun=RIO DE JANEIRO
CEP=21535000
UF=RJ
PaisCod=1058
Pais=BRASIL
Email=
CRT=3
[Rem]
CNPJCPF=01438784006995
IE=241125662119
xNome=LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM
xFant=LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM
xLgr=RUA VEREADOR REINALDO LEAL DE SOUZA
nro=1140
xCpl=
xBairro=ROSEIRA (JORDANESIA)
cMun=3509205
xMun=CAJAMAR
CEP=07784500
UF=SP
PaisCod=1058
Pais=BRASIL
Email=
[infNFe001]
chave=35240201438784005832550060006033461182922060
PIN=
[Dest]
CNPJCPF=15496017769
IE=
xNome=VULGO TELES
fone=
xLgr=Rua Iere Casa vila 650
nro=0
xCpl=
xBairro=VICENTE DE CARVALHO
cMun=3304557
xMun=RIO DE JANEIRO
CEP=21370590
UF=RJ
cPais=1058
xPais=BRASIL
[vPrest]
vTPrest=72,64
vRec=72,64
[Comp001]
xNome=Peso
vComp=63,92
[Comp002]
xNome=A EMBUTIR
vComp=8,72
[ICMS00]
CST=00
vBC=72,64
pICMS=12
vICMS=8,72
[infCarga]
vCarga=119,19
proPred=DIVERSOS
xOutCat=Fardos
[infQ001]
cUnid=01
tpMed=PESO BRUTO
qCarga=29,32
[infQ002]
cUnid=03
tpMed=VOLUMES
qCarga=1
[infSeg001]
respSeg=4
xSeg=TOKIO MARINE SEGURADORA
nApol=2035690
nAver=
vCarga=119,19
[Rodo]
RNTRC=46037700
dPrev=05/02/2024
Lota= 0",284554,0,1,0,1,1,1,1,1,1,1,1,1)
chDFe=33240209059609000100570010002487231002487238
14/03/2024 15:20:36 - OK: C:\ARQUIVOS\FNC\ACBrMonitorPLUS\Logs\33240309059609000100570010002524801002524800-cte.xml
Rejeição: CNPJ/CPF do destinatário do CT-e substituto deve ser igual ao informado no CT-e substituído
[Envio]
CStat=512
CUF=33
DhRecbto=
Msg=Rejeição: CNPJ/CPF do destinatário do CT-e substituto deve ser igual ao informado no CT-e substituído
NProt=
NRec=
TMed=0
VerAplic=RS20230912134128
Versao=RS20230912134128
XMotivo=Rejeição: CNPJ/CPF do destinatário do CT-e substituto deve ser igual ao informado no CT-e substituído
Xml=<?xml version="1.0" encoding="UTF-8"?><CTe xmlns="http://www.portalfiscal.inf.br/cte"><infCte versao="4.00" Id="CTe33240309059609000100570010002524801002524800"><ide><cUF>33</cUF><cCT>00252480</cCT><CFOP>6932</CFOP><natOp>6932 - Transporte de Cargas Interestadual</natOp><mod>57</mod><serie>1</serie><nCT>252480</nCT><dhEmi>2024-03-08T00:00:00-03:00</dhEmi><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>0</cDV><tpAmb>1</tpAmb><tpCTe>3</tpCTe><procEmi>0</procEmi><verProc>1.0.0.1</verProc><cMunEnv>3509205</cMunEnv><xMunEnv>CAJAMAR</xMunEnv><UFEnv>SP</UFEnv><modal>01</modal><tpServ>0</tpServ><cMunIni>3509205</cMunIni><xMunIni>CAJAMAR</xMunIni><UFIni>SP</UFIni><cMunFim>3304557</cMunFim><xMunFim>RIO DE JANEIRO</xMunFim><UFFim>RJ</UFFim><retira>0</retira><indIEToma>1</indIEToma><toma4><toma>4</toma><CNPJ>01438784005832</CNPJ><IE>241065312110</IE><xNome>LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM</xNome><xFant>LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM</xFant><enderToma><xLgr>RUA VEREADOR REINALDO LEAL DE SOUZA</xLgr><nro>1140</nro><xBairro>ROSEIRA (JORDANESIA)</xBairro><cMun>3509205</cMun><xMun>CAJAMAR</xMun><CEP>07784500</CEP><UF>SP</UF><cPais>1058</cPais></enderToma></toma4></ide><compl><Entrega><semData><tpPer>0</tpPer></semData><semHora><tpHor>0</tpHor></semHora></Entrega><origCalc>CAJAMAR</origCalc><destCalc>RIO DE JANEIRO</destCalc><xObs>"Este documento substitui o CT-e 248723 e 05/02/2024 em virtude de tomador informado erroneamente.</xObs><ObsCont xCampo="Lei da Transparencia"><xTexto>O valor aproximado de tributos incidentes sobre o preco deste servico e de R$8,72.</xTexto></ObsCont></compl><emit><CNPJ>09059609000100</CNPJ><IE>78373571</IE><xNome>MM TRANSPORTES LOGISTICA E ARMAZENS</xNome><xFant>MM TRANSPORTES LOGISTICA E ARMAZENS</xFant><enderEmit><xLgr>RODOVIA PRESIDENTE DUTRA</xLgr><nro>2671</nro><xBairro>PAVUNA</xBairro><cMun>3304557</cMun><xMun>RIO DE JANEIRO</xMun><CEP>21535000</CEP><UF>RJ</UF></enderEmit><CRT>3</CRT></emit><rem><CNPJ>01438784006995</CNPJ><IE>241125662119</IE><xNome>LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM</xNome><xFant>LEROY MERLIN CIA BRASILEIRA DE BRICOLAGEM</xFant><enderReme><xLgr>RUA VEREADOR REINALDO LEAL DE SOUZA</xLgr><nro>1140</nro><xBairro>ROSEIRA (JORDANESIA)</xBairro><cMun>3509205</cMun><xMun>CAJAMAR</xMun><CEP>07784500</CEP><UF>SP</UF><cPais>1058</cPais><xPais>BRASIL</xPais></enderReme></rem><dest><CPF>15496017769</CPF><xNome>VULGO TELES</xNome><enderDest><xLgr>Rua Iere Casa vila 650</xLgr><nro>0</nro><xBairro>VICENTE DE CARVALHO</xBairro><cMun>3304557</cMun><xMun>RIO DE JANEIRO</xMun><CEP>21370590</CEP><UF>RJ</UF><cPais>1058</cPais><xPais>BRASIL</xPais></enderDest></dest><vPrest><vTPrest>72.64</vTPrest><vRec>72.64</vRec><Comp><xNome>Peso</xNome><vComp>63.92</vComp></Comp><Comp><xNome>A EMBUTIR</xNome><vComp>8.72</vComp></Comp></vPrest><imp><ICMS><ICMS00><CST>00</CST><vBC>72.64</vBC><pICMS>12.00</pICMS><vICMS>8.72</vICMS></ICMS00></ICMS></imp><infCTeNorm><infCarga><vCarga>119.19</vCarga><proPred>DIVERSOS</proPred><xOutCat>Fardos</xOutCat><infQ><cUnid>01</cUnid><tpMed>PESO BRUTO</tpMed><qCarga>29.3200</qCarga></infQ><infQ><cUnid>03</cUnid><tpMed>VOLUMES</tpMed><qCarga>1.0000</qCarga></infQ></infCarga><infDoc><infNFe><chave>35240201438784005832550060006033461182922060</chave></infNFe></infDoc><infModal versaoModal="4.00"><rodo><RNTRC>46037700</RNTRC></rodo></infModal><infCteSub><chCte>33240309059609000100570010002514431002514431</chCte><indAlteraToma>1</indAlteraToma></infCteSub></infCTeNorm></infCte><infCTeSupl><qrCodCTe>https://dfe-portal.svrs.rs.gov.br/cte/qrCode?chCTe=33240309059609000100570010002524801002524800&tpAmb=1</qrCodCTe></infCTeSupl><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="#CTe33240309059609000100570010002524801002524800"><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>xT/5xyv5lE63xhCTOPwXrNuEvIQ=</DigestValue></Reference></SignedInfo><SignatureValue>uDl52aMHvOzVYc4s23zZT6i8vKH5FJtr3zJpgd04wL/reRylWVYt7+aNi7BIl+HqBzv2CLhJsmFhUzZWwdzl4EC71TZyBmZ6nsnKrQGiuJv2nAuFCSM1fy8hE4Sp77KP90VQc/BVBL54wPkYEnR6wZ9oazYIWRv9omnq1jvNh2Le36WmoJohcTwvhLez8O0ew/sdcXgUGErU3aCTg6o0yoxLd/GFFqrYobnNqAjPixVKcmilkiv7GCA4H3y+DNA5vuMjg1q9TqlVPRc6IJs9P/+6X73BpRP9tDfuZo3yig5yi/iBmlruAdiphQxZzaQfMup3wK3wYKg3Dn3KnblmfQ==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIIKjCCBhKgAwIBAgIIT4uoo9MBpocwD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STHCQV0sOj1Y8KvGqoR5PCiSBPSuy7zON7WTg0ByzS8QvKVx+FVJg8FYThTZL9F7mH0HgR9iBIO/mLhfFVZIUuLUy00XTsVRLyR65hGykrcUATcy4kZLiImsw1+dYxuJStQJfkHcsW7G1AY9WM/LpP3mhbxmPZgkSLT7yrbKDmwTkqUkdqAbo7YJjGE7+z+WXIWD296ueuiE11gttHIUufucwEFxAPy2TAMGKl0samlSo3/eIxD1fW3AOW/qP0ZU7jUWMafjlV48MbRCafGPdBIGEEqVRQ0kVatZemzOiWqk9imBA1RfW32PvqOcGjplhFp2jS+IdHu223WnEcMpDFFFuoSPwKmSfwVdmksZlLpBHsadOgE5cxy+/r71Z6gZf+cP51G7hjgwboXJqrok+9SXyaMDa68guGLWQpXYQe9ZS7FiS/8BM5+ZPuY/ewE666XBwHYYkv7G36xB4ZQD8tU7S/tbxwEFLhJXQAYHWJJkriOMVfqZnNoFS8LlhLf4/9mhqrmy/Vd1cwDazk4HBXehwQFddPj8VGmdcx2jOvNpYFsbwR8EE/R/EGNtTrVKOTrsuAL5qwk/amcFsP8IprvctWD4whbkylQaLdzaliG/mzTQDQWc6zbemmGjF8Obkc4A</X509Certificate></X509Data></KeyInfo></Signature></CTe>
tpAmb=1
[CTe]
Id=
XML=
cStat=0
chDFe=
dhRecbto=
digVal=
nProt=
tpAmb=1
verAplic=
xMotivo=
33240309059609000100570010002524801002524800-cte.xml