br__generate_nfse
Generates an unsigned DPS XML for Brazilian NFS-e Nacional (ADN, schema v1.01). Sign the result with br__sign_nfse and submit via br__submit_nfse.
Instructions
Gerar um DPS não assinado para NFS-e Nacional (ADN), schema v1.01.
O DPS (Declaração de Prestação de Serviços) gerado não contém
<ds:Signature> — assine-o com br__sign_nfse antes de submeter
ao ADN via br__submit_nfse.
Returns a dict with:
xml: the generated unsigned DPS XML stringdps_id: the 45-character DPS Id (infDPS Idattribute)warnings: list of non-fatal notices
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dps | Yes | DPS data matching the NFSeDocument schema (NFS-e Nacional, ADN, schema v1.01) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||