POST
/api/invoice/cce/download_xmlDownload CC-e XML
Returns the URL of the signed CC-e XML (already stored in the platform file storage after submission to the tax authority).
Required headers
tokenstring | string | Issuing company token |
signstring | string | MD5 signature |
timestampstring | string | Unix timestamp in seconds |
Body
cce_*string | string | CC-e ID (ObjectId) returned by /api/invoice/cce/get_list in the id field |
* 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/invoice/cce/download_xml" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN" \ -d @body.json
{
"cce_id": "65fa1b2c3d4e5f6a7b8c9d0e"
}
{
"success": true,
"data": {
"url": "https://oss.example.com/.../cce.xml"
}
}