br_nfe 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/br_nfe/active_model_base.rb +0 -5
- data/lib/br_nfe/base.rb +116 -7
- data/lib/br_nfe/helper/values_ts/service_v1.rb +15 -11
- data/lib/br_nfe/response/service/build_response.rb +230 -53
- data/lib/br_nfe/response/service/nota_fiscal.rb +9 -0
- data/lib/br_nfe/response/service/paths/base.rb +93 -59
- data/lib/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta.rb +2 -2
- data/lib/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta.rb +2 -2
- data/lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta.rb +2 -2
- data/lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta.rb +2 -2
- data/lib/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta.rb +4 -4
- data/lib/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta.rb +8 -8
- data/lib/br_nfe/response/service/paths/v1/tc_nfse.rb +201 -57
- data/lib/br_nfe/service/base.rb +104 -5
- data/lib/br_nfe/service/betha/base.rb +5 -0
- data/lib/br_nfe/service/betha/v1/cancelamento_nfs.rb +1 -4
- data/lib/br_nfe/service/betha/v1/consulta_lote_rps.rb +1 -4
- data/lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb +1 -4
- data/lib/br_nfe/service/betha/v1/consulta_nfse.rb +1 -4
- data/lib/br_nfe/service/betha/v1/consulta_situacao_lote_rps.rb +1 -3
- data/lib/br_nfe/service/betha/v1/gateway.rb +1 -1
- data/lib/br_nfe/service/betha/v1/recepcao_lote_rps.rb +1 -3
- data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta.rb +5 -1
- data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta.rb +5 -1
- data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta.rb +5 -1
- data/lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb +5 -0
- data/lib/br_nfe/service/rps.rb +13 -4
- data/lib/br_nfe/service/simpliss/v1/base.rb +79 -0
- data/lib/br_nfe/service/simpliss/v1/cancela_nfse.rb +30 -0
- data/lib/br_nfe/service/simpliss/v1/consulta_lote_rps.rb +38 -0
- data/lib/br_nfe/service/simpliss/v1/consulta_nfs_por_rps.rb +31 -0
- data/lib/br_nfe/service/simpliss/v1/consulta_nfse.rb +30 -0
- data/lib/br_nfe/service/simpliss/v1/consulta_situacao_lote_rps.rb +29 -0
- data/lib/br_nfe/service/simpliss/v1/recepcao_lote_rps.rb +35 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_cancelar_nfse_resposta.rb +22 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_lote_rps_resposta.rb +25 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_nfse_resposta.rb +25 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_nfse_rps_resposta.rb +25 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_consultar_situacao_lote_rps_resposta.rb +31 -0
- data/lib/br_nfe/service/simpliss/v1/response_paths/servico_enviar_lote_rps_resposta.rb +36 -0
- data/lib/br_nfe/service/simpliss/v1/xml/_login.xml.slim +3 -0
- data/lib/br_nfe/service/simpliss/v1/xml/_tc_dados_servico.xml.slim +18 -0
- data/lib/br_nfe/service/simpliss/v1/xml/_tc_item_servico.xml.slim +3 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_cancelar_nfse_envio.xml.slim +11 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_consultar_lote_rps_envio.xml.slim +7 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_consultar_nfse_envio.xml.slim +22 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_consultar_nfse_rps_envio.xml.slim +8 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_consultar_situacao_lote_rps_envio.xml.slim +7 -0
- data/lib/br_nfe/service/simpliss/v1/xml/servico_enviar_lote_rps_envio.xml.slim +11 -0
- data/lib/br_nfe/service/thema/v1/base.rb +48 -2
- data/lib/br_nfe/service/thema/v1/cancela_nfse.rb +14 -5
- data/lib/br_nfe/service/thema/v1/consulta_lote_rps.rb +5 -4
- data/lib/br_nfe/service/thema/v1/consulta_nfs_por_rps.rb +5 -4
- data/lib/br_nfe/service/thema/v1/consulta_nfse.rb +5 -4
- data/lib/br_nfe/service/thema/v1/consulta_situacao_lote_rps.rb +1 -4
- data/lib/br_nfe/service/thema/v1/recepcao_lote_rps.rb +19 -5
- data/lib/br_nfe/service/thema/v1/recepcao_lote_rps_limitado.rb +1 -1
- data/lib/br_nfe/service/thema/v1/response_paths/servico_cancelar_nfse_resposta.rb +17 -0
- data/lib/br_nfe/service/thema/v1/response_paths/servico_consultar_nfse_rps_resposta.rb +19 -0
- data/lib/br_nfe/service/xml/v1/_tc_contato.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_cpf_cnpj.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_dados_construcao_civil.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_dados_prestador.xml.slim +5 -5
- data/lib/br_nfe/service/xml/v1/_tc_dados_servico.xml.slim +6 -6
- data/lib/br_nfe/service/xml/v1/_tc_dados_tomador.xml.slim +4 -4
- data/lib/br_nfe/service/xml/v1/_tc_endereco.xml.slim +7 -7
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_intermediario_servico.xml.slim +3 -3
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_nfse.xml.slim +4 -4
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_orgao_gerador.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_prestador.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_rps.xml.slim +3 -3
- data/lib/br_nfe/service/xml/v1/_tc_identificacao_tomador.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_inf_pedido_cancelamento.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_inf_rps.xml.slim +13 -13
- data/lib/br_nfe/service/xml/v1/_tc_lote_rps.xml.slim +6 -6
- data/lib/br_nfe/service/xml/v1/_tc_pedido_cancelamento.xml.slim +1 -1
- data/lib/br_nfe/service/xml/v1/_tc_rps.xml.slim +2 -2
- data/lib/br_nfe/service/xml/v1/_tc_valores.xml.slim +16 -17
- data/lib/br_nfe/service/xml/v1/servico_cancelar_nfse_envio.xml.slim +3 -4
- data/lib/br_nfe/service/xml/v1/servico_consultar_lote_rps_envio.xml.slim +3 -3
- data/lib/br_nfe/service/xml/v1/servico_consultar_nfse_envio.xml.slim +8 -8
- data/lib/br_nfe/service/xml/v1/servico_consultar_nfse_rps_envio.xml.slim +3 -3
- data/lib/br_nfe/service/xml/v1/servico_consultar_situacao_lote_rps_envio.xml.slim +3 -3
- data/lib/br_nfe/service/xml/v1/servico_enviar_lote_rps_envio.xml.slim +3 -3
- data/lib/br_nfe/version.rb +1 -1
- data/lib/br_nfe/xml/_signed_info_sh1.xml.slim +9 -9
- data/lib/br_nfe/xml/signature_sh1.xml.slim +5 -5
- data/lib/br_nfe.rb +26 -10
- data/test/br_nfe/base_test.rb +5 -5
- data/test/br_nfe/helper/values_ts/service_v1_test.rb +376 -0
- data/test/br_nfe/response/service/build_response_test.rb +1 -173
- data/test/br_nfe/response/service/paths/base_test.rb +61 -64
- data/test/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta_test.rb +2 -2
- data/test/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta_test.rb +2 -2
- data/test/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta_test.rb +2 -2
- data/test/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta_test.rb +2 -2
- data/test/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta_test.rb +3 -3
- data/test/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta_test.rb +4 -4
- data/test/br_nfe/response/service/paths/v1/tc_nfse_test.rb +27 -31
- data/test/br_nfe/service/base_test.rb +206 -11
- data/test/br_nfe/service/betha/base_test.rb +9 -0
- data/test/br_nfe/service/betha/v1/cancelamento_nfs_test.rb +0 -6
- data/test/br_nfe/service/betha/v1/consulta_lote_rps_test.rb +0 -6
- data/test/br_nfe/service/betha/v1/consulta_nfs_por_rps_test.rb +0 -4
- data/test/br_nfe/service/betha/v1/consulta_nfse_test.rb +0 -4
- data/test/br_nfe/service/betha/v1/consulta_situacao_lote_rps_test.rb +1 -5
- data/test/br_nfe/service/betha/v1/gateway_test.rb +4 -2
- data/test/br_nfe/service/betha/v1/recepcao_lote_rps_test.rb +0 -4
- data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta_test.rb +1 -1
- data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta_test.rb +1 -1
- data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta_test.rb +1 -1
- data/test/br_nfe/service/rps_test.rb +39 -6
- data/test/br_nfe/service/simpliss/v1/base_test.rb +102 -0
- data/test/br_nfe/service/simpliss/v1/cancela_nfse_test.rb +97 -0
- data/test/br_nfe/service/simpliss/v1/consulta_lote_rps_test.rb +241 -0
- data/test/br_nfe/service/simpliss/v1/consulta_nfs_por_rps_test.rb +239 -0
- data/test/br_nfe/service/simpliss/v1/consulta_nfse_test.rb +226 -0
- data/test/br_nfe/service/simpliss/v1/consulta_situacao_lote_rps_test.rb +122 -0
- data/test/br_nfe/service/simpliss/v1/recepcao_lote_rps_test.rb +105 -0
- data/test/br_nfe/service/simpliss/v1/xsd/nfse_3.xsd +735 -0
- data/test/br_nfe/service/simpliss/v1/xsd/xmldsig-core-schema20020212.xsd +318 -0
- data/test/br_nfe/service/thema/v1/base_test.rb +23 -2
- data/test/br_nfe/service/thema/v1/cancela_nfse_test.rb +69 -3
- data/test/br_nfe/service/thema/v1/consulta_lote_rps_test.rb +134 -4
- data/test/br_nfe/service/thema/v1/consulta_nfs_por_rps_test.rb +131 -4
- data/test/br_nfe/service/thema/v1/consulta_nfse_test.rb +214 -4
- data/test/br_nfe/service/thema/v1/consulta_situacao_lote_rps_test.rb +97 -4
- data/test/br_nfe/service/thema/v1/recepcao_lote_rps_limitado_test.rb +109 -0
- data/test/br_nfe/service/thema/v1/recepcao_lote_rps_test.rb +72 -4
- data/test/factories/service/rps.rb +17 -16
- data/test/factories/service/{sc/gaspar/recepcao_lote_rps_limitado.rb → simpliss/v1/base.rb} +1 -3
- data/test/factories/service/{sc/gaspar → simpliss/v1}/cancela_nfse.rb +2 -2
- data/test/factories/service/simpliss/v1/consulta_lote_rps.rb +7 -0
- data/test/factories/service/{sc/gaspar → simpliss/v1}/consulta_nfs_por_rps.rb +1 -1
- data/test/factories/service/{sc/gaspar → simpliss/v1}/consulta_nfse.rb +1 -1
- data/test/factories/service/simpliss/v1/consulta_situacao_lote_rps.rb +6 -0
- data/test/factories/service/{sc/gaspar → simpliss/v1}/recepcao_lote_rps.rb +1 -1
- data/test/fixtures/service/response/simpliss/v1/cancela_nfse/fault.xml +21 -0
- data/test/fixtures/service/response/simpliss/v1/cancela_nfse/success.xml +26 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_lote_rps/fault.xml +21 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_lote_rps/nfse_complete.xml +134 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_lote_rps/nfse_simple.xml +100 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse/fault.xml +16 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse/nfs_empty.xml +10 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse/nfse_complete.xml +134 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse/nfse_simple.xml +100 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse_por_rps/fault.xml +16 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse_por_rps/nfse_complete.xml +132 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_nfse_por_rps/nfse_simple.xml +98 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_situacao_lote_rps/error.xml +11 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_situacao_lote_rps/fault.xml +16 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_situacao_lote_rps/success.xml +11 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_situacao_lote_rps/unprocessed.xml +11 -0
- data/test/fixtures/service/response/simpliss/v1/consulta_situacao_lote_rps/unreceived.xml +11 -0
- data/test/fixtures/service/response/simpliss/v1/recepcao_lote_rps/error.xml +16 -0
- data/test/fixtures/service/response/simpliss/v1/recepcao_lote_rps/success.xml +12 -0
- data/test/fixtures/service/response/thema/v1/cancela_nfse/fault.xml +33 -0
- data/test/fixtures/service/response/thema/v1/cancela_nfse/success.xml +30 -0
- data/test/fixtures/service/response/thema/v1/consulta_lote_rps/fault.xml +19 -0
- data/test/fixtures/service/response/thema/v1/consulta_lote_rps/nfse_complete.xml +109 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse/fault.xml +20 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse/nfs_empty.xml +14 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse/nfse_complete.xml +111 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse/nfse_simple.xml +111 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse_por_rps/fault.xml +23 -0
- data/test/fixtures/service/response/thema/v1/consulta_nfse_por_rps/nfse_complete.xml +110 -0
- data/test/fixtures/service/response/thema/v1/consulta_situacao_lote_rps/error.xml +14 -0
- data/test/fixtures/service/response/thema/v1/consulta_situacao_lote_rps/fault.xml +15 -0
- data/test/fixtures/service/response/thema/v1/consulta_situacao_lote_rps/success.xml +14 -0
- data/test/fixtures/service/response/thema/v1/consulta_situacao_lote_rps/unprocessed.xml +14 -0
- data/test/fixtures/service/response/thema/v1/consulta_situacao_lote_rps/unreceived.xml +19 -0
- data/test/fixtures/service/response/thema/v1/recepcao_lote_rps/error.xml +17 -0
- data/test/fixtures/service/response/thema/v1/recepcao_lote_rps/success.xml +15 -0
- data/test/fixtures/service/response/thema/v1/recepcao_lote_rps_limitado/error.xml +19 -0
- data/test/fixtures/service/response/thema/v1/recepcao_lote_rps_limitado/success.xml +15 -0
- data/test/fixtures/service/thema/v1/cancelar_nfse_envio.xml +1 -0
- data/test/fixtures/service/thema/v1/cancelar_nfse_envio_signed.xml +2 -0
- data/test/fixtures/service/thema/v1/enviar_lote_rps.xml +1 -0
- data/test/fixtures/service/thema/v1/enviar_lote_rps_signed.xml +2 -0
- data/test/test_helper.rb +5 -0
- metadata +146 -37
- data/lib/br_nfe/service/sc/gaspar/cancela_nfse.rb +0 -13
- data/lib/br_nfe/service/sc/gaspar/consulta_lote_rps.rb +0 -13
- data/lib/br_nfe/service/sc/gaspar/consulta_nfs_por_rps.rb +0 -13
- data/lib/br_nfe/service/sc/gaspar/consulta_nfse.rb +0 -17
- data/lib/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps.rb +0 -13
- data/lib/br_nfe/service/sc/gaspar/recepcao_lote_rps.rb +0 -13
- data/lib/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado.rb +0 -13
- data/test/br_nfe/service/sc/gaspar/cancela_nfse_test.rb +0 -21
- data/test/br_nfe/service/sc/gaspar/consulta_nfs_por_rps_test.rb +0 -21
- data/test/br_nfe/service/sc/gaspar/consulta_nfse_test.rb +0 -21
- data/test/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps_test.rb +0 -21
- data/test/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado_test.rb +0 -22
- data/test/br_nfe/service/sc/gaspar/recepcao_lote_rps_test.rb +0 -22
- data/test/br_nfe/service/thema/v1/recepcao_lote_rps_test_limitado.rb +0 -50
- data/test/factories/service/sc/gaspar/consulta_lote_rps.rb +0 -7
- data/test/factories/service/sc/gaspar/consulta_situacao_lote_rps.rb +0 -6
|
@@ -0,0 +1,735 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!--Created with Liquid XML Studio Developer Edition (Trial) 9.0.11.3078 (http://www.liquid-technologies.com)-->
|
|
3
|
+
<xsd:schema xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.sistema.com.br/Nfse/arquivos/nfse_3.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sistema.com.br/Nfse/arquivos/nfse_3.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
4
|
+
<xsd:import schemaLocation="xmldsig-core-schema20020212.xsd" namespace="http://www.w3.org/2000/09/xmldsig#" />
|
|
5
|
+
<xsd:simpleType name="tsCodigoVerificacao">
|
|
6
|
+
<xsd:restriction base="xsd:string">
|
|
7
|
+
<xsd:maxLength value="9" />
|
|
8
|
+
<xsd:minLength value="1" />
|
|
9
|
+
<xsd:whiteSpace value="collapse" />
|
|
10
|
+
</xsd:restriction>
|
|
11
|
+
</xsd:simpleType>
|
|
12
|
+
<xsd:simpleType name="tsStatusRps">
|
|
13
|
+
<xsd:restriction base="xsd:byte">
|
|
14
|
+
<xsd:pattern value="1|2" />
|
|
15
|
+
</xsd:restriction>
|
|
16
|
+
</xsd:simpleType>
|
|
17
|
+
<xsd:simpleType name="tsStatusNfse">
|
|
18
|
+
<xsd:restriction base="xsd:byte">
|
|
19
|
+
<xsd:pattern value="1|2" />
|
|
20
|
+
</xsd:restriction>
|
|
21
|
+
</xsd:simpleType>
|
|
22
|
+
<xsd:simpleType name="tsNaturezaOperacao">
|
|
23
|
+
<xsd:restriction base="xsd:byte">
|
|
24
|
+
<xsd:pattern value="1|2|3|4|5|6" />
|
|
25
|
+
</xsd:restriction>
|
|
26
|
+
</xsd:simpleType>
|
|
27
|
+
<xsd:simpleType name="tsRegimeEspecialTributacao">
|
|
28
|
+
<xsd:restriction base="xsd:byte">
|
|
29
|
+
<xsd:pattern value="1|2|3|4|5|6" />
|
|
30
|
+
</xsd:restriction>
|
|
31
|
+
</xsd:simpleType>
|
|
32
|
+
<xsd:simpleType name="tsSimNao">
|
|
33
|
+
<xsd:restriction base="xsd:byte">
|
|
34
|
+
<xsd:pattern value="1|2" />
|
|
35
|
+
</xsd:restriction>
|
|
36
|
+
</xsd:simpleType>
|
|
37
|
+
<xsd:simpleType name="tsNumeroRps">
|
|
38
|
+
<xsd:restriction base="xsd:nonNegativeInteger">
|
|
39
|
+
<xsd:totalDigits value="15" />
|
|
40
|
+
</xsd:restriction>
|
|
41
|
+
</xsd:simpleType>
|
|
42
|
+
<xsd:simpleType name="tsSerieRps">
|
|
43
|
+
<xsd:restriction base="xsd:string">
|
|
44
|
+
<xsd:maxLength value="5" />
|
|
45
|
+
<xsd:minLength value="1" />
|
|
46
|
+
<xsd:whiteSpace value="collapse" />
|
|
47
|
+
</xsd:restriction>
|
|
48
|
+
</xsd:simpleType>
|
|
49
|
+
<xsd:simpleType name="tsSerieNfse">
|
|
50
|
+
<xsd:restriction base="xsd:string">
|
|
51
|
+
<xsd:maxLength value="5" />
|
|
52
|
+
<xsd:minLength value="1" />
|
|
53
|
+
<xsd:whiteSpace value="collapse" />
|
|
54
|
+
</xsd:restriction>
|
|
55
|
+
</xsd:simpleType>
|
|
56
|
+
<xsd:simpleType name="tsTipoRps">
|
|
57
|
+
<xsd:restriction base="xsd:byte">
|
|
58
|
+
<xsd:pattern value="1|2|3" />
|
|
59
|
+
</xsd:restriction>
|
|
60
|
+
</xsd:simpleType>
|
|
61
|
+
<xsd:simpleType name="tsOutrasInformacoes">
|
|
62
|
+
<xsd:restriction base="xsd:string">
|
|
63
|
+
<xsd:maxLength value="255" />
|
|
64
|
+
<xsd:minLength value="1" />
|
|
65
|
+
<xsd:whiteSpace value="collapse" />
|
|
66
|
+
</xsd:restriction>
|
|
67
|
+
</xsd:simpleType>
|
|
68
|
+
<xsd:simpleType name="tsValor">
|
|
69
|
+
<xsd:restriction base="xsd:decimal">
|
|
70
|
+
<xsd:totalDigits value="15" />
|
|
71
|
+
<xsd:fractionDigits value="2" fixed="true" />
|
|
72
|
+
<xsd:minInclusive value="0" />
|
|
73
|
+
</xsd:restriction>
|
|
74
|
+
</xsd:simpleType>
|
|
75
|
+
<xsd:simpleType name="tsItemListaServico">
|
|
76
|
+
<xsd:restriction base="xsd:string">
|
|
77
|
+
<xsd:maxLength value="5" />
|
|
78
|
+
<xsd:minLength value="1" />
|
|
79
|
+
<xsd:whiteSpace value="collapse" />
|
|
80
|
+
</xsd:restriction>
|
|
81
|
+
</xsd:simpleType>
|
|
82
|
+
<xsd:simpleType name="tsCodigoCnae">
|
|
83
|
+
<xsd:restriction base="xsd:int">
|
|
84
|
+
<xsd:totalDigits value="7" />
|
|
85
|
+
</xsd:restriction>
|
|
86
|
+
</xsd:simpleType>
|
|
87
|
+
<xsd:simpleType name="tsCodigoTributacao">
|
|
88
|
+
<xsd:restriction base="xsd:string">
|
|
89
|
+
<xsd:maxLength value="20" />
|
|
90
|
+
<xsd:minLength value="1" />
|
|
91
|
+
<xsd:whiteSpace value="collapse" />
|
|
92
|
+
</xsd:restriction>
|
|
93
|
+
</xsd:simpleType>
|
|
94
|
+
<xsd:simpleType name="tsAliquota">
|
|
95
|
+
<xsd:restriction base="xsd:decimal">
|
|
96
|
+
<xsd:totalDigits value="5" />
|
|
97
|
+
<xsd:fractionDigits value="4" />
|
|
98
|
+
<xsd:minInclusive value="0" />
|
|
99
|
+
</xsd:restriction>
|
|
100
|
+
</xsd:simpleType>
|
|
101
|
+
<xsd:simpleType name="tsDiscriminacao">
|
|
102
|
+
<xsd:restriction base="xsd:string">
|
|
103
|
+
<xsd:maxLength value="2000" />
|
|
104
|
+
<xsd:minLength value="1" />
|
|
105
|
+
<xsd:whiteSpace value="collapse" />
|
|
106
|
+
</xsd:restriction>
|
|
107
|
+
</xsd:simpleType>
|
|
108
|
+
<xsd:simpleType name="tsCodigoMunicipioIbge">
|
|
109
|
+
<xsd:restriction base="xsd:int">
|
|
110
|
+
<xsd:totalDigits value="7" />
|
|
111
|
+
</xsd:restriction>
|
|
112
|
+
</xsd:simpleType>
|
|
113
|
+
<xsd:simpleType name="tsInscricaoMunicipal">
|
|
114
|
+
<xsd:restriction base="xsd:string">
|
|
115
|
+
<xsd:maxLength value="15" />
|
|
116
|
+
<xsd:minLength value="1" />
|
|
117
|
+
<xsd:whiteSpace value="collapse" />
|
|
118
|
+
</xsd:restriction>
|
|
119
|
+
</xsd:simpleType>
|
|
120
|
+
<xsd:simpleType name="tsInscricaoEstadual">
|
|
121
|
+
<xsd:restriction base="xsd:string">
|
|
122
|
+
<xsd:maxLength value="20" />
|
|
123
|
+
<xsd:minLength value="1" />
|
|
124
|
+
<xsd:whiteSpace value="collapse" />
|
|
125
|
+
</xsd:restriction>
|
|
126
|
+
</xsd:simpleType>
|
|
127
|
+
<xsd:simpleType name="tsRazaoSocial">
|
|
128
|
+
<xsd:restriction base="xsd:string">
|
|
129
|
+
<xsd:maxLength value="115" />
|
|
130
|
+
<xsd:minLength value="1" />
|
|
131
|
+
<xsd:whiteSpace value="collapse" />
|
|
132
|
+
</xsd:restriction>
|
|
133
|
+
</xsd:simpleType>
|
|
134
|
+
<xsd:simpleType name="tsNomeFantasia">
|
|
135
|
+
<xsd:restriction base="xsd:string">
|
|
136
|
+
<xsd:maxLength value="60" />
|
|
137
|
+
<xsd:minLength value="1" />
|
|
138
|
+
<xsd:whiteSpace value="collapse" />
|
|
139
|
+
</xsd:restriction>
|
|
140
|
+
</xsd:simpleType>
|
|
141
|
+
<xsd:simpleType name="tsCnpj">
|
|
142
|
+
<xsd:restriction base="xsd:string">
|
|
143
|
+
<xsd:length value="14" fixed="true" />
|
|
144
|
+
<xsd:whiteSpace value="collapse" />
|
|
145
|
+
</xsd:restriction>
|
|
146
|
+
</xsd:simpleType>
|
|
147
|
+
<xsd:simpleType name="tsEndereco">
|
|
148
|
+
<xsd:restriction base="xsd:string">
|
|
149
|
+
<xsd:maxLength value="125" />
|
|
150
|
+
<xsd:minLength value="1" />
|
|
151
|
+
<xsd:whiteSpace value="collapse" />
|
|
152
|
+
</xsd:restriction>
|
|
153
|
+
</xsd:simpleType>
|
|
154
|
+
<xsd:simpleType name="tsNumeroEndereco">
|
|
155
|
+
<xsd:restriction base="xsd:string">
|
|
156
|
+
<xsd:maxLength value="10" />
|
|
157
|
+
<xsd:minLength value="1" />
|
|
158
|
+
<xsd:whiteSpace value="collapse" />
|
|
159
|
+
</xsd:restriction>
|
|
160
|
+
</xsd:simpleType>
|
|
161
|
+
<xsd:simpleType name="tsComplementoEndereco">
|
|
162
|
+
<xsd:restriction base="xsd:string">
|
|
163
|
+
<xsd:maxLength value="60" />
|
|
164
|
+
<xsd:minLength value="1" />
|
|
165
|
+
<xsd:whiteSpace value="collapse" />
|
|
166
|
+
</xsd:restriction>
|
|
167
|
+
</xsd:simpleType>
|
|
168
|
+
<xsd:simpleType name="tsBairro">
|
|
169
|
+
<xsd:restriction base="xsd:string">
|
|
170
|
+
<xsd:maxLength value="60" />
|
|
171
|
+
<xsd:minLength value="1" />
|
|
172
|
+
<xsd:whiteSpace value="collapse" />
|
|
173
|
+
</xsd:restriction>
|
|
174
|
+
</xsd:simpleType>
|
|
175
|
+
<xsd:simpleType name="tsUf">
|
|
176
|
+
<xsd:restriction base="xsd:string">
|
|
177
|
+
<xsd:length value="2" fixed="true" />
|
|
178
|
+
</xsd:restriction>
|
|
179
|
+
</xsd:simpleType>
|
|
180
|
+
<xsd:simpleType name="tsCep">
|
|
181
|
+
<xsd:restriction base="xsd:int">
|
|
182
|
+
<xsd:totalDigits value="8" fixed="true" />
|
|
183
|
+
</xsd:restriction>
|
|
184
|
+
</xsd:simpleType>
|
|
185
|
+
<xsd:simpleType name="tsEmail">
|
|
186
|
+
<xsd:restriction base="xsd:string">
|
|
187
|
+
<xsd:maxLength value="80" />
|
|
188
|
+
<xsd:minLength value="1" />
|
|
189
|
+
<xsd:whiteSpace value="collapse" />
|
|
190
|
+
</xsd:restriction>
|
|
191
|
+
</xsd:simpleType>
|
|
192
|
+
<xsd:simpleType name="tsTelefone">
|
|
193
|
+
<xsd:restriction base="xsd:string">
|
|
194
|
+
<xsd:maxLength value="11" />
|
|
195
|
+
<xsd:minLength value="1" />
|
|
196
|
+
<xsd:whiteSpace value="collapse" />
|
|
197
|
+
</xsd:restriction>
|
|
198
|
+
</xsd:simpleType>
|
|
199
|
+
<xsd:simpleType name="tsCpf">
|
|
200
|
+
<xsd:restriction base="xsd:string">
|
|
201
|
+
<xsd:length value="11" fixed="true" />
|
|
202
|
+
</xsd:restriction>
|
|
203
|
+
</xsd:simpleType>
|
|
204
|
+
<xsd:simpleType name="tsIndicacaoCpfCnpj">
|
|
205
|
+
<xsd:restriction base="xsd:byte">
|
|
206
|
+
<xsd:pattern value="1|2|3" />
|
|
207
|
+
</xsd:restriction>
|
|
208
|
+
</xsd:simpleType>
|
|
209
|
+
<xsd:simpleType name="tsCodigoObra">
|
|
210
|
+
<xsd:restriction base="xsd:string">
|
|
211
|
+
<xsd:maxLength value="15" />
|
|
212
|
+
<xsd:minLength value="1" />
|
|
213
|
+
<xsd:whiteSpace value="collapse" />
|
|
214
|
+
</xsd:restriction>
|
|
215
|
+
</xsd:simpleType>
|
|
216
|
+
<xsd:simpleType name="tsArt">
|
|
217
|
+
<xsd:restriction base="xsd:string">
|
|
218
|
+
<xsd:maxLength value="15" />
|
|
219
|
+
<xsd:minLength value="1" />
|
|
220
|
+
<xsd:whiteSpace value="collapse" />
|
|
221
|
+
</xsd:restriction>
|
|
222
|
+
</xsd:simpleType>
|
|
223
|
+
<xsd:simpleType name="tsNumeroLote">
|
|
224
|
+
<xsd:restriction base="xsd:nonNegativeInteger">
|
|
225
|
+
<xsd:totalDigits value="15" />
|
|
226
|
+
</xsd:restriction>
|
|
227
|
+
</xsd:simpleType>
|
|
228
|
+
<xsd:simpleType name="tsNumeroProtocolo">
|
|
229
|
+
<xsd:restriction base="xsd:string">
|
|
230
|
+
<xsd:maxLength value="50" />
|
|
231
|
+
</xsd:restriction>
|
|
232
|
+
</xsd:simpleType>
|
|
233
|
+
<xsd:simpleType name="tsSituacaoLoteRps">
|
|
234
|
+
<xsd:restriction base="xsd:byte">
|
|
235
|
+
<xsd:pattern value="1|2|3|4" />
|
|
236
|
+
</xsd:restriction>
|
|
237
|
+
</xsd:simpleType>
|
|
238
|
+
<xsd:simpleType name="tsQuantidadeRps">
|
|
239
|
+
<xsd:restriction base="xsd:int" />
|
|
240
|
+
</xsd:simpleType>
|
|
241
|
+
<xsd:simpleType name="tsCodigoMensagemAlerta">
|
|
242
|
+
<xsd:restriction base="xsd:string">
|
|
243
|
+
<xsd:maxLength value="4" />
|
|
244
|
+
<xsd:minLength value="1" />
|
|
245
|
+
<xsd:whiteSpace value="collapse" />
|
|
246
|
+
</xsd:restriction>
|
|
247
|
+
</xsd:simpleType>
|
|
248
|
+
<xsd:simpleType name="tsDescricaoMensagemAlerta">
|
|
249
|
+
<xsd:restriction base="xsd:string">
|
|
250
|
+
<xsd:maxLength value="200" />
|
|
251
|
+
<xsd:minLength value="1" />
|
|
252
|
+
<xsd:whiteSpace value="collapse" />
|
|
253
|
+
</xsd:restriction>
|
|
254
|
+
</xsd:simpleType>
|
|
255
|
+
<xsd:simpleType name="tsCodigoCancelamentoNfse">
|
|
256
|
+
<xsd:restriction base="xsd:string">
|
|
257
|
+
<xsd:maxLength value="4" />
|
|
258
|
+
<xsd:minLength value="1" />
|
|
259
|
+
<xsd:whiteSpace value="collapse" />
|
|
260
|
+
</xsd:restriction>
|
|
261
|
+
</xsd:simpleType>
|
|
262
|
+
<xsd:simpleType name="tsIdTag">
|
|
263
|
+
<xsd:restriction base="xsd:string">
|
|
264
|
+
<xsd:maxLength value="255" />
|
|
265
|
+
</xsd:restriction>
|
|
266
|
+
</xsd:simpleType>
|
|
267
|
+
<xsd:simpleType name="tsLink">
|
|
268
|
+
<xsd:restriction base="xsd:string">
|
|
269
|
+
<xsd:maxLength value="200" />
|
|
270
|
+
<xsd:minLength value="1" />
|
|
271
|
+
<xsd:whiteSpace value="collapse" />
|
|
272
|
+
</xsd:restriction>
|
|
273
|
+
</xsd:simpleType>
|
|
274
|
+
<!-- definition of complex elements -->
|
|
275
|
+
<xsd:complexType name="tcCpfCnpj">
|
|
276
|
+
<xsd:choice>
|
|
277
|
+
<xsd:element name="Cpf" type="tsCpf" minOccurs="1" maxOccurs="1" />
|
|
278
|
+
<xsd:element name="Cnpj" type="tsCnpj" minOccurs="1" maxOccurs="1" />
|
|
279
|
+
</xsd:choice>
|
|
280
|
+
</xsd:complexType>
|
|
281
|
+
<xsd:complexType name="tcEndereco">
|
|
282
|
+
<xsd:sequence>
|
|
283
|
+
<xsd:element name="Endereco" type="tsEndereco" minOccurs="0" maxOccurs="1" />
|
|
284
|
+
<xsd:element name="Numero" type="tsNumeroEndereco" minOccurs="0" maxOccurs="1" />
|
|
285
|
+
<xsd:element name="Complemento" type="tsComplementoEndereco" minOccurs="0" maxOccurs="1" />
|
|
286
|
+
<xsd:element name="Bairro" type="tsBairro" minOccurs="0" maxOccurs="1" />
|
|
287
|
+
<xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" minOccurs="0" maxOccurs="1" />
|
|
288
|
+
<xsd:element name="Uf" type="tsUf" minOccurs="0" maxOccurs="1" />
|
|
289
|
+
<xsd:element name="Cep" type="tsCep" minOccurs="0" maxOccurs="1" />
|
|
290
|
+
</xsd:sequence>
|
|
291
|
+
</xsd:complexType>
|
|
292
|
+
<xsd:complexType name="tcContato">
|
|
293
|
+
<xsd:sequence>
|
|
294
|
+
<xsd:element name="Telefone" type="tsTelefone" minOccurs="0" maxOccurs="1" />
|
|
295
|
+
<xsd:element name="Email" type="tsEmail" minOccurs="0" maxOccurs="1" />
|
|
296
|
+
</xsd:sequence>
|
|
297
|
+
</xsd:complexType>
|
|
298
|
+
<xsd:complexType name="tcIdentificacaoOrgaoGerador">
|
|
299
|
+
<xsd:sequence>
|
|
300
|
+
<xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" minOccurs="1" maxOccurs="1" />
|
|
301
|
+
<xsd:element name="Uf" type="tsUf" minOccurs="1" maxOccurs="1" />
|
|
302
|
+
</xsd:sequence>
|
|
303
|
+
</xsd:complexType>
|
|
304
|
+
<xsd:complexType name="tcIdentificacaoRps">
|
|
305
|
+
<xsd:sequence>
|
|
306
|
+
<xsd:element name="Numero" type="tsNumeroRps" minOccurs="1" maxOccurs="1" />
|
|
307
|
+
<xsd:element name="Serie" type="tsSerieRps" minOccurs="1" maxOccurs="1" />
|
|
308
|
+
<xsd:element name="Tipo" type="tsTipoRps" minOccurs="1" maxOccurs="1" />
|
|
309
|
+
</xsd:sequence>
|
|
310
|
+
</xsd:complexType>
|
|
311
|
+
<xsd:complexType name="tcIdentificacaoPrestador">
|
|
312
|
+
<xsd:sequence>
|
|
313
|
+
<xsd:element name="Cnpj" type="tsCnpj" minOccurs="1" maxOccurs="1" />
|
|
314
|
+
<xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" maxOccurs="1" />
|
|
315
|
+
</xsd:sequence>
|
|
316
|
+
</xsd:complexType>
|
|
317
|
+
<xsd:complexType name="tcIdentificacaoTomador">
|
|
318
|
+
<xsd:sequence>
|
|
319
|
+
<xsd:element name="CpfCnpj" type="tcCpfCnpj" minOccurs="0" maxOccurs="1" />
|
|
320
|
+
<xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" maxOccurs="1" />
|
|
321
|
+
<xsd:element name="InscricaoEstadual" type="tsInscricaoEstadual" minOccurs="0" maxOccurs="1" />
|
|
322
|
+
</xsd:sequence>
|
|
323
|
+
</xsd:complexType>
|
|
324
|
+
<xsd:complexType name="tcDadosTomador">
|
|
325
|
+
<xsd:sequence>
|
|
326
|
+
<xsd:element name="IdentificacaoTomador" type="tcIdentificacaoTomador" minOccurs="0" maxOccurs="1" />
|
|
327
|
+
<xsd:element name="RazaoSocial" type="tsRazaoSocial" minOccurs="0" maxOccurs="1" />
|
|
328
|
+
<xsd:element name="Endereco" type="tcEndereco" minOccurs="0" maxOccurs="1" />
|
|
329
|
+
<xsd:element name="Contato" type="tcContato" minOccurs="0" maxOccurs="1" />
|
|
330
|
+
</xsd:sequence>
|
|
331
|
+
</xsd:complexType>
|
|
332
|
+
<xsd:complexType name="tcIdentificacaoIntermediarioServico">
|
|
333
|
+
<xsd:sequence>
|
|
334
|
+
<xsd:element name="RazaoSocial" type="tsRazaoSocial" minOccurs="1" maxOccurs="1" />
|
|
335
|
+
<xsd:element name="CpfCnpj" type="tcCpfCnpj" minOccurs="1" maxOccurs="1" />
|
|
336
|
+
<xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" maxOccurs="1" />
|
|
337
|
+
</xsd:sequence>
|
|
338
|
+
</xsd:complexType>
|
|
339
|
+
<xsd:complexType name="tcValores">
|
|
340
|
+
<xsd:sequence>
|
|
341
|
+
<xsd:element name="ValorServicos" type="tsValor" minOccurs="1" maxOccurs="1" />
|
|
342
|
+
<xsd:element name="ValorDeducoes" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
343
|
+
<xsd:element name="ValorPis" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
344
|
+
<xsd:element name="ValorCofins" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
345
|
+
<xsd:element name="ValorInss" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
346
|
+
<xsd:element name="ValorIr" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
347
|
+
<xsd:element name="ValorCsll" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
348
|
+
<xsd:element name="IssRetido" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
349
|
+
<xsd:element name="ValorIss" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
350
|
+
<xsd:element name="ValorIssRetido" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
351
|
+
<xsd:element name="OutrasRetencoes" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
352
|
+
<xsd:element name="BaseCalculo" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
353
|
+
<xsd:element name="Aliquota" type="tsAliquota" minOccurs="0" maxOccurs="1" />
|
|
354
|
+
<xsd:element name="ValorLiquidoNfse" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
355
|
+
<xsd:element name="DescontoIncondicionado" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
356
|
+
<xsd:element name="DescontoCondicionado" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
357
|
+
</xsd:sequence>
|
|
358
|
+
</xsd:complexType>
|
|
359
|
+
<xsd:complexType name="tcDadosServico">
|
|
360
|
+
<xsd:sequence>
|
|
361
|
+
<xsd:element name="Valores" type="tcValores" minOccurs="1" maxOccurs="1" />
|
|
362
|
+
<xsd:element name="ItemListaServico" type="tsItemListaServico" minOccurs="1" maxOccurs="1" />
|
|
363
|
+
<xsd:element name="CodigoCnae" type="tsCodigoCnae" minOccurs="0" maxOccurs="1" />
|
|
364
|
+
<xsd:element name="CodigoTributacaoMunicipio" type="tsCodigoTributacao" minOccurs="0" maxOccurs="1" />
|
|
365
|
+
<xsd:element name="Discriminacao" type="tsDiscriminacao" minOccurs="1" maxOccurs="1" />
|
|
366
|
+
<xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" minOccurs="1" maxOccurs="1" />
|
|
367
|
+
<xsd:element name="ItensServico" type="tcItemServico" minOccurs="1" maxOccurs="unbounded" />
|
|
368
|
+
</xsd:sequence>
|
|
369
|
+
</xsd:complexType>
|
|
370
|
+
<xsd:complexType name="tcDadosConstrucaoCivil">
|
|
371
|
+
<xsd:sequence>
|
|
372
|
+
<xsd:element name="CodigoObra" type="tsCodigoObra" minOccurs="1" maxOccurs="1" />
|
|
373
|
+
<xsd:element name="Art" type="tsArt" minOccurs="1" maxOccurs="1" />
|
|
374
|
+
</xsd:sequence>
|
|
375
|
+
</xsd:complexType>
|
|
376
|
+
<xsd:complexType name="tcDadosPrestador">
|
|
377
|
+
<xsd:sequence>
|
|
378
|
+
<xsd:element name="IdentificacaoPrestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
379
|
+
<xsd:element name="RazaoSocial" type="tsRazaoSocial" minOccurs="1" maxOccurs="1" />
|
|
380
|
+
<xsd:element name="NomeFantasia" type="tsNomeFantasia" minOccurs="0" maxOccurs="1" />
|
|
381
|
+
<xsd:element name="Endereco" type="tcEndereco" minOccurs="1" maxOccurs="1" />
|
|
382
|
+
<xsd:element name="Contato" type="tcContato" minOccurs="0" maxOccurs="1" />
|
|
383
|
+
</xsd:sequence>
|
|
384
|
+
</xsd:complexType>
|
|
385
|
+
<xsd:complexType name="tcInfRps">
|
|
386
|
+
<xsd:sequence>
|
|
387
|
+
<xsd:element name="IdentificacaoRps" type="tcIdentificacaoRps" minOccurs="1" maxOccurs="1" />
|
|
388
|
+
<xsd:element name="DataEmissao" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
389
|
+
<xsd:element name="NaturezaOperacao" type="tsNaturezaOperacao" minOccurs="1" maxOccurs="1" />
|
|
390
|
+
<xsd:element name="RegimeEspecialTributacao" type="tsRegimeEspecialTributacao" minOccurs="0" maxOccurs="1" />
|
|
391
|
+
<xsd:element name="OptanteSimplesNacional" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
392
|
+
<xsd:element name="IncentivadorCultural" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
393
|
+
<xsd:element name="Status" type="tsStatusRps" minOccurs="1" maxOccurs="1" />
|
|
394
|
+
<xsd:element name="RpsSubstituido" type="tcIdentificacaoRps" minOccurs="0" maxOccurs="1" />
|
|
395
|
+
<xsd:element name="OutrasInformacoes" type="tsOutrasInformacoes" minOccurs="0" maxOccurs="1" />
|
|
396
|
+
<xsd:element name="Servico" type="tcDadosServico" minOccurs="1" maxOccurs="1" />
|
|
397
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
398
|
+
<xsd:element name="Tomador" type="tcDadosTomador" minOccurs="0" maxOccurs="1" />
|
|
399
|
+
<xsd:element name="IntermediarioServico" type="tcIdentificacaoIntermediarioServico" minOccurs="0" maxOccurs="1" />
|
|
400
|
+
<xsd:element name="ConstrucaoCivil" type="tcDadosConstrucaoCivil" minOccurs="0" maxOccurs="1" />
|
|
401
|
+
</xsd:sequence>
|
|
402
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
403
|
+
</xsd:complexType>
|
|
404
|
+
<xsd:complexType name="tcRps">
|
|
405
|
+
<xsd:sequence>
|
|
406
|
+
<xsd:element name="InfRps" type="tcInfRps" minOccurs="1" maxOccurs="1" />
|
|
407
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
408
|
+
</xsd:sequence>
|
|
409
|
+
</xsd:complexType>
|
|
410
|
+
<xsd:complexType name="tcIdentificacaoNfse">
|
|
411
|
+
<xsd:sequence>
|
|
412
|
+
<xsd:element name="Numero" type="tsNumeroNfse" minOccurs="1" maxOccurs="1" />
|
|
413
|
+
<xsd:element name="Cnpj" type="tsCnpj" minOccurs="1" maxOccurs="1" />
|
|
414
|
+
<xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" maxOccurs="1" />
|
|
415
|
+
<xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" minOccurs="1" maxOccurs="1" />
|
|
416
|
+
</xsd:sequence>
|
|
417
|
+
</xsd:complexType>
|
|
418
|
+
<xsd:complexType name="tcInfNfse">
|
|
419
|
+
<xsd:sequence>
|
|
420
|
+
<xsd:element name="Numero" type="tsNumeroNfse" minOccurs="1" maxOccurs="1" />
|
|
421
|
+
<xsd:element name="CodigoVerificacao" type="tsCodigoVerificacao" minOccurs="1" maxOccurs="1" />
|
|
422
|
+
<xsd:element name="DataEmissao" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
423
|
+
<xsd:element name="IdentificacaoRps" type="tcIdentificacaoRps" minOccurs="0" maxOccurs="1" />
|
|
424
|
+
<xsd:element name="DataEmissaoRps" type="xsd:date" minOccurs="0" maxOccurs="1" />
|
|
425
|
+
<xsd:element name="NaturezaOperacao" type="tsNaturezaOperacao" minOccurs="1" maxOccurs="1" />
|
|
426
|
+
<xsd:element name="RegimeEspecialTributacao" type="tsRegimeEspecialTributacao" minOccurs="0" maxOccurs="1" />
|
|
427
|
+
<xsd:element name="OptanteSimplesNacional" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
428
|
+
<xsd:element name="IncentivadorCultural" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
429
|
+
<xsd:element name="Competencia" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
430
|
+
<xsd:element name="NfseSubstituida" type="tsNumeroNfse" minOccurs="0" maxOccurs="1" />
|
|
431
|
+
<xsd:element name="OutrasInformacoes" type="tsOutrasInformacoes" minOccurs="0" maxOccurs="1" />
|
|
432
|
+
<xsd:element name="Servico" type="tcDadosServico" minOccurs="1" maxOccurs="1" />
|
|
433
|
+
<xsd:element name="ValorCredito" type="tsValor" minOccurs="0" maxOccurs="1" />
|
|
434
|
+
<xsd:element name="PrestadorServico" type="tcDadosPrestador" minOccurs="1" maxOccurs="1" />
|
|
435
|
+
<xsd:element name="TomadorServico" type="tcDadosTomador" minOccurs="0" maxOccurs="1" />
|
|
436
|
+
<xsd:element name="IntermediarioServico" type="tcIdentificacaoIntermediarioServico" minOccurs="0" maxOccurs="1" />
|
|
437
|
+
<xsd:element name="OrgaoGerador" type="tcIdentificacaoOrgaoGerador" minOccurs="1" maxOccurs="1" />
|
|
438
|
+
<xsd:element name="ContrucaoCivil" type="tcDadosConstrucaoCivil" minOccurs="0" maxOccurs="1" />
|
|
439
|
+
</xsd:sequence>
|
|
440
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
441
|
+
</xsd:complexType>
|
|
442
|
+
<xsd:complexType name="tcNfse">
|
|
443
|
+
<xsd:sequence>
|
|
444
|
+
<xsd:element name="InfNfse" type="tcInfNfse" minOccurs="1" maxOccurs="1" />
|
|
445
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="2" />
|
|
446
|
+
</xsd:sequence>
|
|
447
|
+
</xsd:complexType>
|
|
448
|
+
<xsd:complexType name="tcInfPedidoCancelamento">
|
|
449
|
+
<xsd:sequence>
|
|
450
|
+
<xsd:element name="IdentificacaoNfse" type="tcIdentificacaoNfse" minOccurs="1" maxOccurs="1" />
|
|
451
|
+
<xsd:element name="CodigoCancelamento" type="tsCodigoCancelamentoNfse" minOccurs="1" maxOccurs="1" />
|
|
452
|
+
</xsd:sequence>
|
|
453
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
454
|
+
</xsd:complexType>
|
|
455
|
+
<xsd:complexType name="tcPedidoCancelamento">
|
|
456
|
+
<xsd:sequence>
|
|
457
|
+
<xsd:element name="InfPedidoCancelamento" type="tcInfPedidoCancelamento" minOccurs="1" maxOccurs="1" />
|
|
458
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
459
|
+
</xsd:sequence>
|
|
460
|
+
</xsd:complexType>
|
|
461
|
+
<xsd:complexType name="tcConfirmacaoCancelamento">
|
|
462
|
+
<xsd:sequence>
|
|
463
|
+
<xsd:element name="Pedido" type="tcPedidoCancelamento" minOccurs="1" maxOccurs="1" />
|
|
464
|
+
<xsd:element name="DataHoraCancelamento" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
465
|
+
</xsd:sequence>
|
|
466
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
467
|
+
</xsd:complexType>
|
|
468
|
+
<xsd:complexType name="tcCancelamentoNfse">
|
|
469
|
+
<xsd:sequence>
|
|
470
|
+
<xsd:element name="Confirmacao" type="tcConfirmacaoCancelamento" minOccurs="1" maxOccurs="1" />
|
|
471
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
472
|
+
</xsd:sequence>
|
|
473
|
+
</xsd:complexType>
|
|
474
|
+
<xsd:complexType name="tcInfSubstituicaoNfse">
|
|
475
|
+
<xsd:sequence>
|
|
476
|
+
<xsd:element name="NfseSubstituidora" type="tsNumeroNfse" minOccurs="1" maxOccurs="1" />
|
|
477
|
+
</xsd:sequence>
|
|
478
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
479
|
+
</xsd:complexType>
|
|
480
|
+
<xsd:complexType name="tcSubstituicaoNfse">
|
|
481
|
+
<xsd:sequence>
|
|
482
|
+
<xsd:element name="SubstituicaoNfse" type="tcInfSubstituicaoNfse" minOccurs="1" maxOccurs="1" />
|
|
483
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="2" />
|
|
484
|
+
</xsd:sequence>
|
|
485
|
+
</xsd:complexType>
|
|
486
|
+
<xsd:complexType name="tcCompNfse">
|
|
487
|
+
<xsd:sequence>
|
|
488
|
+
<xsd:element name="Nfse" type="tcNfse" minOccurs="1" maxOccurs="1" />
|
|
489
|
+
<xsd:element name="NfseCancelamento" type="tcCancelamentoNfse" minOccurs="0" maxOccurs="1" />
|
|
490
|
+
<xsd:element name="NfseSubstituicao" type="tcSubstituicaoNfse" minOccurs="0" maxOccurs="1" />
|
|
491
|
+
</xsd:sequence>
|
|
492
|
+
</xsd:complexType>
|
|
493
|
+
<xsd:element name="CompNfse" type="tcCompNfse" />
|
|
494
|
+
<xsd:element name="ListaMensagemRetorno">
|
|
495
|
+
<xsd:complexType>
|
|
496
|
+
<xsd:sequence>
|
|
497
|
+
<xsd:element name="MensagemRetorno" type="tcMensagemRetorno" minOccurs="1" maxOccurs="unbounded" />
|
|
498
|
+
</xsd:sequence>
|
|
499
|
+
</xsd:complexType>
|
|
500
|
+
</xsd:element>
|
|
501
|
+
<xsd:complexType name="tcMensagemRetorno">
|
|
502
|
+
<xsd:sequence>
|
|
503
|
+
<xsd:element name="Codigo" type="tsCodigoMensagemAlerta" minOccurs="1" maxOccurs="1" />
|
|
504
|
+
<xsd:element name="Mensagem" type="tsDescricaoMensagemAlerta" minOccurs="1" maxOccurs="1" />
|
|
505
|
+
<xsd:element name="Correcao" type="tsDescricaoMensagemAlerta" minOccurs="0" />
|
|
506
|
+
</xsd:sequence>
|
|
507
|
+
</xsd:complexType>
|
|
508
|
+
<xsd:complexType name="tcMensagemRetornoLote">
|
|
509
|
+
<xsd:sequence>
|
|
510
|
+
<xsd:element name="IdentificacaoRps" type="tcIdentificacaoRps" minOccurs="1" maxOccurs="1" />
|
|
511
|
+
<xsd:element name="Codigo" type="tsCodigoMensagemAlerta" minOccurs="1" maxOccurs="1" />
|
|
512
|
+
<xsd:element name="Mensagem" type="tsDescricaoMensagemAlerta" minOccurs="1" maxOccurs="1" />
|
|
513
|
+
</xsd:sequence>
|
|
514
|
+
</xsd:complexType>
|
|
515
|
+
<xsd:complexType name="tcLoteRps">
|
|
516
|
+
<xsd:sequence>
|
|
517
|
+
<xsd:element name="NumeroLote" type="tsNumeroLote" minOccurs="1" maxOccurs="1" />
|
|
518
|
+
<xsd:element name="Cnpj" type="tsCnpj" minOccurs="1" maxOccurs="1" />
|
|
519
|
+
<xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="1" maxOccurs="1" />
|
|
520
|
+
<xsd:element name="QuantidadeRps" type="tsQuantidadeRps" minOccurs="1" maxOccurs="1" />
|
|
521
|
+
<xsd:element name="ListaRps" minOccurs="1" maxOccurs="1">
|
|
522
|
+
<xsd:complexType>
|
|
523
|
+
<xsd:sequence>
|
|
524
|
+
<xsd:element name="Rps" type="tcRps" minOccurs="1" maxOccurs="unbounded" />
|
|
525
|
+
</xsd:sequence>
|
|
526
|
+
</xsd:complexType>
|
|
527
|
+
</xsd:element>
|
|
528
|
+
</xsd:sequence>
|
|
529
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
530
|
+
</xsd:complexType>
|
|
531
|
+
<xsd:element name="EnviarLoteRpsResposta">
|
|
532
|
+
<xsd:complexType>
|
|
533
|
+
<xsd:choice>
|
|
534
|
+
<xsd:sequence>
|
|
535
|
+
<xsd:element name="NumeroLote" type="tsNumeroLote" minOccurs="1" maxOccurs="1" />
|
|
536
|
+
<xsd:element name="DataRecebimento" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
537
|
+
<xsd:element name="Protocolo" type="tsNumeroProtocolo" minOccurs="1" maxOccurs="1" />
|
|
538
|
+
</xsd:sequence>
|
|
539
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
540
|
+
</xsd:choice>
|
|
541
|
+
</xsd:complexType>
|
|
542
|
+
</xsd:element>
|
|
543
|
+
<!-- definition of simple elements -->
|
|
544
|
+
<xsd:simpleType name="tsItemServicoDescricao">
|
|
545
|
+
<xsd:restriction base="xsd:string">
|
|
546
|
+
<xsd:minLength value="1" />
|
|
547
|
+
<xsd:maxLength value="100" />
|
|
548
|
+
<xsd:whiteSpace value="collapse" />
|
|
549
|
+
</xsd:restriction>
|
|
550
|
+
</xsd:simpleType>
|
|
551
|
+
<xsd:simpleType name="tsItemServicoQuantidade">
|
|
552
|
+
<xsd:restriction base="tsValor" />
|
|
553
|
+
</xsd:simpleType>
|
|
554
|
+
<xsd:simpleType name="tsItemServicoIssTributavel">
|
|
555
|
+
<xsd:restriction base="xsd:byte">
|
|
556
|
+
<xsd:pattern value="1|2" />
|
|
557
|
+
</xsd:restriction>
|
|
558
|
+
</xsd:simpleType>
|
|
559
|
+
<xsd:simpleType name="tsNumeroNfse">
|
|
560
|
+
<xsd:restriction base="xsd:nonNegativeInteger">
|
|
561
|
+
<xsd:totalDigits value="15" />
|
|
562
|
+
</xsd:restriction>
|
|
563
|
+
</xsd:simpleType>
|
|
564
|
+
<xsd:complexType name="tcItemServico">
|
|
565
|
+
<xsd:sequence>
|
|
566
|
+
<xsd:element name="Descricao" type="tsItemServicoDescricao" minOccurs="1" maxOccurs="1" />
|
|
567
|
+
<xsd:element name="Quantidade" type="tsItemServicoQuantidade" minOccurs="1" maxOccurs="1" />
|
|
568
|
+
<xsd:element name="ValorUnitario" type="tsValor" minOccurs="1" maxOccurs="1" />
|
|
569
|
+
<xsd:element name="IssTributavel" type="tsItemServicoIssTributavel" minOccurs="0" maxOccurs="1" />
|
|
570
|
+
</xsd:sequence>
|
|
571
|
+
</xsd:complexType>
|
|
572
|
+
<xsd:element name="EnviarLoteRpsEnvio">
|
|
573
|
+
<xsd:complexType>
|
|
574
|
+
<xsd:sequence>
|
|
575
|
+
<xsd:element name="LoteRps" type="tcLoteRps" />
|
|
576
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
577
|
+
</xsd:sequence>
|
|
578
|
+
</xsd:complexType>
|
|
579
|
+
</xsd:element>
|
|
580
|
+
<xsd:element name="ConsultarSituacaoLoteRpsResposta">
|
|
581
|
+
<xsd:complexType>
|
|
582
|
+
<xsd:choice>
|
|
583
|
+
<xsd:sequence>
|
|
584
|
+
<xsd:element name="NumeroLote" type="tsNumeroLote" minOccurs="1" maxOccurs="1" />
|
|
585
|
+
<xsd:element name="Situacao" type="tsSituacaoLoteRps" minOccurs="1" maxOccurs="1" />
|
|
586
|
+
</xsd:sequence>
|
|
587
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
588
|
+
</xsd:choice>
|
|
589
|
+
</xsd:complexType>
|
|
590
|
+
</xsd:element>
|
|
591
|
+
<xsd:element name="ConsultarSituacaoLoteRpsEnvio">
|
|
592
|
+
<xsd:complexType>
|
|
593
|
+
<xsd:sequence>
|
|
594
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
595
|
+
<xsd:element name="Protocolo" type="tsNumeroProtocolo" minOccurs="1" maxOccurs="1" />
|
|
596
|
+
</xsd:sequence>
|
|
597
|
+
</xsd:complexType>
|
|
598
|
+
</xsd:element>
|
|
599
|
+
<xsd:element name="ConsultarNfseRpsResposta">
|
|
600
|
+
<xsd:complexType>
|
|
601
|
+
<xsd:choice>
|
|
602
|
+
<xsd:element name="CompNfse" type="tcCompNfse" minOccurs="1" maxOccurs="1" />
|
|
603
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
604
|
+
</xsd:choice>
|
|
605
|
+
</xsd:complexType>
|
|
606
|
+
</xsd:element>
|
|
607
|
+
<xsd:element name="ConsultarNfseRpsEnvio">
|
|
608
|
+
<xsd:complexType>
|
|
609
|
+
<xsd:sequence>
|
|
610
|
+
<xsd:element name="IdentificacaoRps" type="tcIdentificacaoRps" minOccurs="1" maxOccurs="1" />
|
|
611
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
612
|
+
</xsd:sequence>
|
|
613
|
+
</xsd:complexType>
|
|
614
|
+
</xsd:element>
|
|
615
|
+
<xsd:element name="ConsultarNfseResposta">
|
|
616
|
+
<xsd:complexType>
|
|
617
|
+
<xsd:choice>
|
|
618
|
+
<xsd:element name="ListaNfse" minOccurs="1" maxOccurs="1">
|
|
619
|
+
<xsd:complexType>
|
|
620
|
+
<xsd:sequence>
|
|
621
|
+
<xsd:element name="CompNfse" type="tcCompNfse" minOccurs="0" maxOccurs="unbounded" />
|
|
622
|
+
</xsd:sequence>
|
|
623
|
+
</xsd:complexType>
|
|
624
|
+
</xsd:element>
|
|
625
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
626
|
+
</xsd:choice>
|
|
627
|
+
</xsd:complexType>
|
|
628
|
+
</xsd:element>
|
|
629
|
+
<xsd:element name="ConsultarNfseEnvio">
|
|
630
|
+
<xsd:complexType>
|
|
631
|
+
<xsd:sequence>
|
|
632
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
633
|
+
<xsd:element name="NumeroNfse" type="tsNumeroNfse" minOccurs="0" maxOccurs="1" />
|
|
634
|
+
<xsd:element name="PeriodoEmissao" minOccurs="0" maxOccurs="1">
|
|
635
|
+
<xsd:complexType>
|
|
636
|
+
<xsd:sequence>
|
|
637
|
+
<xsd:element name="DataInicial" type="xsd:date" minOccurs="1" maxOccurs="1" />
|
|
638
|
+
<xsd:element name="DataFinal" type="xsd:date" minOccurs="1" maxOccurs="1" />
|
|
639
|
+
</xsd:sequence>
|
|
640
|
+
</xsd:complexType>
|
|
641
|
+
</xsd:element>
|
|
642
|
+
<xsd:element name="Tomador" type="tcIdentificacaoTomador" minOccurs="0" maxOccurs="1" />
|
|
643
|
+
<xsd:element name="IntermediarioServico" type="tcIdentificacaoIntermediarioServico" minOccurs="0" maxOccurs="1" />
|
|
644
|
+
</xsd:sequence>
|
|
645
|
+
</xsd:complexType>
|
|
646
|
+
</xsd:element>
|
|
647
|
+
<xsd:element name="ConsultarLoteRpsResposta">
|
|
648
|
+
<xsd:complexType>
|
|
649
|
+
<xsd:choice>
|
|
650
|
+
<xsd:element name="ListaNfse" minOccurs="1" maxOccurs="1">
|
|
651
|
+
<xsd:complexType>
|
|
652
|
+
<xsd:sequence>
|
|
653
|
+
<xsd:element name="CompNfse" type="tcCompNfse" minOccurs="1" maxOccurs="unbounded" />
|
|
654
|
+
</xsd:sequence>
|
|
655
|
+
</xsd:complexType>
|
|
656
|
+
</xsd:element>
|
|
657
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
658
|
+
</xsd:choice>
|
|
659
|
+
</xsd:complexType>
|
|
660
|
+
</xsd:element>
|
|
661
|
+
<xsd:element name="ConsultarLoteRpsEnvio">
|
|
662
|
+
<xsd:complexType>
|
|
663
|
+
<xsd:sequence>
|
|
664
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
665
|
+
<xsd:element name="Protocolo" type="tsNumeroProtocolo" minOccurs="1" maxOccurs="1" />
|
|
666
|
+
</xsd:sequence>
|
|
667
|
+
</xsd:complexType>
|
|
668
|
+
</xsd:element>
|
|
669
|
+
<xsd:element name="CancelarNfseResposta">
|
|
670
|
+
<xsd:complexType>
|
|
671
|
+
<xsd:choice>
|
|
672
|
+
<xsd:element name="Cancelamento" type="tcCancelamentoNfse" />
|
|
673
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
674
|
+
</xsd:choice>
|
|
675
|
+
</xsd:complexType>
|
|
676
|
+
</xsd:element>
|
|
677
|
+
<xsd:element name="CancelarNfseEnvio">
|
|
678
|
+
<xsd:complexType>
|
|
679
|
+
<xsd:sequence>
|
|
680
|
+
<xsd:element name="Pedido" type="tcPedidoCancelamento" />
|
|
681
|
+
</xsd:sequence>
|
|
682
|
+
</xsd:complexType>
|
|
683
|
+
</xsd:element>
|
|
684
|
+
<xsd:complexType name="tcInfNovaNfse">
|
|
685
|
+
<xsd:sequence>
|
|
686
|
+
<xsd:element name="NaturezaOperacao" type="tsNaturezaOperacao" minOccurs="1" maxOccurs="1" />
|
|
687
|
+
<xsd:element name="RegimeEspecialTributacao" type="tsRegimeEspecialTributacao" minOccurs="0" maxOccurs="1" />
|
|
688
|
+
<xsd:element name="OptanteSimplesNacional" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
689
|
+
<xsd:element name="IncentivadorCultural" type="tsSimNao" minOccurs="1" maxOccurs="1" />
|
|
690
|
+
<xsd:element name="Status" type="tsStatusNfse" minOccurs="1" maxOccurs="1" />
|
|
691
|
+
<xsd:element name="Competencia" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
692
|
+
<xsd:element name="NfseSubstituida" type="tsNumeroNfse" minOccurs="0" maxOccurs="1" />
|
|
693
|
+
<xsd:element name="OutrasInformacoes" type="tsOutrasInformacoes" minOccurs="0" maxOccurs="1" />
|
|
694
|
+
<xsd:element name="Servico" type="tcDadosServico" minOccurs="1" maxOccurs="1" />
|
|
695
|
+
<xsd:element name="Tomador" type="tcDadosTomador" minOccurs="0" maxOccurs="1" />
|
|
696
|
+
<xsd:element name="IntermediarioServico" type="tcIdentificacaoIntermediarioServico" minOccurs="0" maxOccurs="1" />
|
|
697
|
+
<xsd:element name="ContrucaoCivil" type="tcDadosConstrucaoCivil" minOccurs="0" maxOccurs="1" />
|
|
698
|
+
</xsd:sequence>
|
|
699
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
700
|
+
</xsd:complexType>
|
|
701
|
+
<xsd:complexType name="tcIdentNovaNfse">
|
|
702
|
+
<xsd:sequence>
|
|
703
|
+
<xsd:element name="IdentificacaoPrestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
704
|
+
<xsd:element name="Numero" type="tsNumeroNfse" minOccurs="1" maxOccurs="1" />
|
|
705
|
+
<xsd:element name="Serie" type="tsSerieNfse" minOccurs="1" maxOccurs="1" />
|
|
706
|
+
<xsd:element name="CodigoVerificacao" type="tsCodigoVerificacao" minOccurs="1" maxOccurs="1" />
|
|
707
|
+
<xsd:element name="DataEmissao" type="xsd:dateTime" minOccurs="1" maxOccurs="1" />
|
|
708
|
+
<xsd:element name="Link" type="tsLink" minOccurs="0" />
|
|
709
|
+
</xsd:sequence>
|
|
710
|
+
<xsd:attribute name="id" type="tsIdTag" />
|
|
711
|
+
</xsd:complexType>
|
|
712
|
+
<xsd:complexType name="tcRespostaIdentNovaNfse">
|
|
713
|
+
<xsd:sequence>
|
|
714
|
+
<xsd:element name="IdentificacaoNfse" type="tcIdentNovaNfse" />
|
|
715
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
716
|
+
</xsd:sequence>
|
|
717
|
+
</xsd:complexType>
|
|
718
|
+
<xsd:element name="GerarNovaNfseEnvio">
|
|
719
|
+
<xsd:complexType>
|
|
720
|
+
<xsd:sequence>
|
|
721
|
+
<xsd:element name="Prestador" type="tcIdentificacaoPrestador" minOccurs="1" maxOccurs="1" />
|
|
722
|
+
<xsd:element name="InformacaoNfse" type="tcInfNovaNfse" minOccurs="1" maxOccurs="1" />
|
|
723
|
+
<xsd:element ref="dsig:Signature" minOccurs="0" maxOccurs="1" />
|
|
724
|
+
</xsd:sequence>
|
|
725
|
+
</xsd:complexType>
|
|
726
|
+
</xsd:element>
|
|
727
|
+
<xsd:element name="GerarNovaNfseResposta">
|
|
728
|
+
<xsd:complexType>
|
|
729
|
+
<xsd:choice>
|
|
730
|
+
<xsd:element name="NovaNfse" type="tcRespostaIdentNovaNfse" minOccurs="1" maxOccurs="1" />
|
|
731
|
+
<xsd:element ref="ListaMensagemRetorno" minOccurs="1" maxOccurs="1" />
|
|
732
|
+
</xsd:choice>
|
|
733
|
+
</xsd:complexType>
|
|
734
|
+
</xsd:element>
|
|
735
|
+
</xsd:schema>
|