Verification code of the NFS-e (codigoVerificacao from the issuance response, codigo_verificacao in the list); for NFS-e of the national system, the 50-digit access key (chave in the issuance response and the list) is also accepted
dpsXml: Link to the XML that was sent: the signed DPS for the national system, the RPS request for São Paulo. nfseXml: Link to the NFS-e XML: the NFS-e returned by the national system, or the complete NFS-e for São Paulo (obtained from the municipality on the first call). The XMLs are uploaded to file storage on the first request and the links are cached; a field is an empty string when there is no corresponding content.
Common errors
Message
Cause
O campo chave (codigo de verificacao) e obrigatorio
chave not provided
NFS-e nao encontrada
No NFS-e with this verification code or access key under the company of the token
Detalhes da NFS-e nao encontrados
The detail record of the NFS-e does not exist
Nao foi possivel obter o XML completo na prefeitura: ...
São Paulo: the query for the complete XML at the municipality failed
Examples
# sign = md5(token + path + body + timestamp)
# Template generated from the endpoint path; replace the placeholders
curl -X POST "https://api.tffiscal.com/api/nfse/get_xml" \
-H "Content-Type: application/json" \
-H "token: $TOKEN" \
-H "timestamp: $TIMESTAMP" \
-H "sign: $SIGN" \
-d @body.json