nfse_get_package_url
Generate a temporary download link for the month package of one company: a ZIP with the XML and PDF of every authorized or cancelled NFS-e whose competence is in the month, plus resumo.csv for the accountant. The link opens without login and expires in 7 days. Fails when the month has no notes or more than 500.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tax_id": "<tax_id>",
"month": "<month>"
},
"name": "nfse_get_package_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | Yes | Competence month, YYYY-MM | |
| tax_id | Yes | CNPJ of the company (punctuation optional) |