NFS-e signature problem - Shipment tampered after signing

Asked

Viewed 374 times

1

I am developing the issuance of NFS-e to the city of Gaspar-SC via web service, in which uses the company Thema for banknote processing.

I’m having trouble signing the NFS-e where is returning the error:
E515 - Signature validation error. - Shipment tampered after signature.

I’ve developed NFS-e subscription for other cities using the same subscription method and it’s working perfectly.

I would like to know the procedure used to generate the signature. Which String(XML) should I use to sign RPS and BATCH RPS.

I’m currently signing Rps with the tag <InfRps id="XXX">...</InfRps> and Loterps with tag content <LoteRps id="XXX">...</LoteRps>.

When I sign the LoteRps is already included in the String all signed RPS’s.

Follow the XML I’m trying to sign in to (it’s already separate and commenting on each signature step):

envio_rps.xml

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.