gerar_danfe
Generate a DANFE PDF from an NF-e XML string. Supports model 55 and requires only the XML content, no digital certificate, returning the PDF as base64.
Instructions
Gera o DANFE (Documento Auxiliar da Nota Fiscal Eletronica) em PDF a partir do XML de NF-e. Suporta apenas NF-e modelo 55. O PDF e retornado em base64. ATENCAO: o XML deve conter o namespace do portal fiscal (xmlns='http://www.portalfiscal.inf.br/nfe'). Nao e necessario certificado digital - funciona apenas com o XML.
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": {
"xml_content": "<xml_content>"
},
"name": "gerar_danfe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes | XML completo da NF-e como string. Deve conter o namespace do portal fiscal. Aceita XML com ou sem involucro <nfeProc>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||