gerar_danfe
Generate DANFE PDF from NF-e XML (model 55) without requiring a digital certificate. Accepts XML content and returns the document as base64-encoded PDF.
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.
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 | |||