TF Fiscal

NFCom Telecom

POST/api/nfcom/pdf

Get NFCom PDF

Returns the URL of the DANFE-COM — the PDF representation of the NFCom (subscriber bill), per MOC Annex II. The PDF is generated automatically at authorization; when it does not yet exist in storage, it is generated on demand from the XML.

Required headers

tokenstringstringToken of the issuing company
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

chNFCom*stringstringAccess key of the NFCom (44 digits)

 * Required field.

Examples

# sign = md5(token + path + body + timestamp)
# Template generated from the endpoint path; replace the placeholders
curl -X POST "https://api.tffiscal.com/api/nfcom/pdf" \
  -H "Content-Type: application/json" \
  -H "token: $TOKEN" \
  -H "timestamp: $TIMESTAMP" \
  -H "sign: $SIGN" \
  -d @body.json