Good afternoon.
I am creating a code to access the Web Service of NFE of the City of São Paulo, calling the method of Request for Consultation of NF-e Issued.
I created all the integration code, including generating the XML signed by the digital certificate and apparently everything is correct with the code, but when I use it, I get a return XML with the 1402 O CPF/CNPJ da assinatura da mensagem XML não tem acesso ao Tomador de Serviços
informado.
error.
Does anyone know the cause of this error?