Boa tarde, pessoal!
Estamos recebendo o erro abaixo ao transmitir notas com a tag CSTAT diferente de 100 (apenas a 100 passa):
Falha Schema Xml
The 'http://www.sped.fazenda.gov.br/nfse:cStat' element is invalid - The value '101' is invalid according to its datatype 'http://www.sped.fazenda.gov.br/nfse:TStat' - The Enumeration constraint failed.
Segue o XSD:
<xs:simpleType name="TStat">
<xs:annotation>
<xs:documentation>
Situações possíveis:
100 - NFS-e Gerada;
101 - NFS-e de Substituição Gerada;
102 - NFS-e de Decisão Judicial;
103 - NFS-e Avulsa;
107 - NFS-e MEI;
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="100"/>
<xs:enumeration value="101"/>
<xs:enumeration value="102"/>
<xs:enumeration value="103"/>
<xs:enumeration value="107"/>
</xs:restriction>
</xs:simpleType>
Alguém passou pelo problema?
Desde já, obrigado!