br__validate_nfse_xml
Validates DPS or NFSe XML against ADN XSD v1.01, automatically selecting the schema based on the root element. Returns validity, errors, warnings, and schema version.
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_base64 | No | XML DPS ou NFSe codificado em base64. | |
| xml_content | No | XML DPS ou NFSe como string. Informe xml_content ou xml_base64. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||