br__validate_nfse_xml
Validate Brazilian DPS or NFSe XML documents against official XSD v1.01 schema. Automatically selects correct schema and reports structural errors.
Instructions
Validar um DPS ou NFSe contra o XSD v1.01 do ADN.
Seleciona automaticamente o schema com base no elemento raiz:
<DPS>→ valida contraDPS_v1.01.xsd(<ds:Signature>opcional)<NFSe>→ valida contraNFSe_v1.01.xsd(<ds:Signature>obrigatória)
Returns a dict with valid, errors, warnings, and schema_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | No | XML DPS ou NFSe como string. Informe xml_content ou xml_base64. | |
| xml_base64 | No | XML DPS ou NFSe codificado em base64. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||