br_nfe 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +12 -2
- data/README.markdown +3 -1
- data/Rakefile +20 -1
- data/lib/br_nfe/active_model/associations.rb +11 -0
- data/lib/br_nfe/active_model/has_many.rb +65 -0
- data/lib/br_nfe/active_model/has_one.rb +57 -0
- data/lib/br_nfe/active_model_base.rb +38 -1
- data/lib/br_nfe/base.rb +9 -0
- data/lib/br_nfe/calculos/fatores_de_multiplicacao.rb +67 -0
- data/lib/br_nfe/calculos/modulo11.rb +54 -0
- data/lib/br_nfe/calculos/modulo11_fator_de2a9.rb +83 -0
- data/lib/br_nfe/calculos/modulo11_fator_de2a9_resto_zero.rb +29 -0
- data/lib/br_nfe/constants.rb +46 -1
- data/lib/br_nfe/endereco.rb +6 -2
- data/lib/br_nfe/helper/cpf_cnpj.rb +8 -1
- data/lib/br_nfe/person.rb +32 -3
- data/lib/br_nfe/product/destinatario.rb +45 -0
- data/lib/br_nfe/product/emitente.rb +14 -1
- data/lib/br_nfe/product/evento/base.rb +146 -0
- data/lib/br_nfe/product/evento/cancelamento.rb +46 -0
- data/lib/br_nfe/product/gateway/base.rb +16 -43
- data/lib/br_nfe/product/gateway/web_service_am.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_ba.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_ce.rb +162 -0
- data/lib/br_nfe/product/gateway/web_service_go.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_mg.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_ms.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_mt.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_pe.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_pr.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_rs.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_sp.rb +140 -0
- data/lib/br_nfe/product/gateway/web_service_svan.rb +162 -0
- data/lib/br_nfe/product/gateway/web_service_svc_an.rb +131 -0
- data/lib/br_nfe/product/gateway/web_service_svc_rs.rb +20 -0
- data/lib/br_nfe/product/gateway/web_service_svrs.rb +111 -10
- data/lib/br_nfe/product/nf_xml_value.rb +278 -0
- data/lib/br_nfe/product/nfe/adicao_importacao.rb +76 -0
- data/lib/br_nfe/product/nfe/cobranca/duplicata.rb +44 -0
- data/lib/br_nfe/product/nfe/cobranca/fatura.rb +64 -0
- data/lib/br_nfe/product/nfe/cobranca/pagamento.rb +99 -0
- data/lib/br_nfe/product/nfe/declaracao_importacao.rb +221 -0
- data/lib/br_nfe/product/nfe/detalhe_exportacao.rb +89 -0
- data/lib/br_nfe/product/nfe/item.rb +678 -0
- data/lib/br_nfe/product/nfe/item_tax/cofins.rb +138 -0
- data/lib/br_nfe/product/nfe/item_tax/cofins_st.rb +68 -0
- data/lib/br_nfe/product/nfe/item_tax/icms.rb +593 -0
- data/lib/br_nfe/product/nfe/item_tax/icms_uf_destino.rb +169 -0
- data/lib/br_nfe/product/nfe/item_tax/importacao.rb +62 -0
- data/lib/br_nfe/product/nfe/item_tax/ipi.rb +179 -0
- data/lib/br_nfe/product/nfe/item_tax/issqn.rb +256 -0
- data/lib/br_nfe/product/nfe/item_tax/pis.rb +138 -0
- data/lib/br_nfe/product/nfe/item_tax/pis_st.rb +68 -0
- data/lib/br_nfe/product/nfe/processo_referencia.rb +48 -0
- data/lib/br_nfe/product/nfe/transporte/base.rb +264 -0
- data/lib/br_nfe/product/nfe/transporte/transportador.rb +15 -0
- data/lib/br_nfe/product/nfe/transporte/veiculo.rb +53 -0
- data/lib/br_nfe/product/nfe/transporte/volume.rb +89 -0
- data/lib/br_nfe/product/nota_fiscal.rb +1173 -0
- data/lib/br_nfe/product/operation/base.rb +255 -0
- data/lib/br_nfe/product/operation/nfe_autorizacao.rb +118 -0
- data/lib/br_nfe/product/operation/nfe_consulta_protocolo.rb +61 -0
- data/lib/br_nfe/product/operation/nfe_download_nf.rb +86 -0
- data/lib/br_nfe/product/operation/nfe_inutilizacao.rb +168 -0
- data/lib/br_nfe/product/operation/nfe_recepcao_evento.rb +70 -0
- data/lib/br_nfe/product/operation/nfe_ret_autorizacao.rb +63 -0
- data/lib/br_nfe/product/operation/nfe_status_servico.rb +46 -0
- data/lib/br_nfe/product/response/base.rb +97 -0
- data/lib/br_nfe/product/response/build/base.rb +287 -0
- data/lib/br_nfe/product/response/build/nfe_autorizacao.rb +102 -0
- data/lib/br_nfe/product/response/build/nfe_consulta_protocolo.rb +133 -0
- data/lib/br_nfe/product/response/build/nfe_inutilizacao.rb +53 -0
- data/lib/br_nfe/product/response/build/nfe_ret_autorizacao.rb +65 -0
- data/lib/br_nfe/product/response/build/nfe_status_servico.rb +43 -0
- data/lib/br_nfe/product/response/event.rb +89 -0
- data/lib/br_nfe/product/response/nfe_autorizacao.rb +12 -0
- data/lib/br_nfe/product/response/nfe_consulta_protocolo.rb +13 -0
- data/lib/br_nfe/product/response/nfe_inutilizacao.rb +89 -0
- data/lib/br_nfe/product/response/nfe_ret_autorizacao.rb +9 -0
- data/lib/br_nfe/product/response/nfe_status_servico.rb +31 -0
- data/lib/br_nfe/product/xml/_signed_info_sh1.xml.slim +9 -0
- data/lib/br_nfe/product/xml/_tc_cpf_cnpj.xml.slim +7 -0
- data/lib/br_nfe/product/xml/signature_sh1.xml.slim +12 -0
- data/lib/br_nfe/product/xml/v1_00/evento/infEventoCancelamento.xml.slim +19 -0
- data/lib/br_nfe/product/xml/v1_00/root/NfeDownloadNf.xml.slim +5 -0
- data/lib/br_nfe/product/xml/v1_00/root/NfeRecepcaoEvento.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v2_00/_tc_endereco.xml.slim +19 -0
- data/lib/br_nfe/product/xml/v2_00/_tc_infNFe.xml.slim +39 -0
- data/lib/br_nfe/product/xml/v2_00/infInut.xml.slim +12 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/NFe.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_cobr.xml.slim +19 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_dest.xml.slim +14 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_det.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_emit.xml.slim +19 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_entrega.xml.slim +11 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_exporta.xml.slim +2 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_ide.xml.slim +24 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_infAdic.xml.slim +13 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_retirada.xml.slim +11 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_total.xml.slim +50 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/_tc_transp.xml.slim +35 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/_tc_imposto.xml.slim +31 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/_tc_prod.xml.slim +37 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS00.xml.slim +6 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS10.xml.slim +16 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS101.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS102.xml.slim +3 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS20.xml.slim +6 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS201.xml.slim +15 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS202.xml.slim +14 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS30.xml.slim +12 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS40.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS500.xml.slim +6 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS51.xml.slim +13 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS60.xml.slim +5 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS70.xml.slim +18 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS90.xml.slim +21 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/ICMS/_tc_ICMS900.xml.slim +25 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_COFINS.xml.slim +26 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_COFINS_ST.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_ICMS.xml.slim +45 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_II.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_IPI.xml.slim +30 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_PIS.xml.slim +26 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/imposto/_tc_PIS_ST.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/det/prod/_tc_di.xml.slim +13 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/transp/_tc_retTransp.xml.slim +6 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/transp/_tc_transporta.xml.slim +17 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe/transp/_tc_vol.xml.slim +15 -0
- data/lib/br_nfe/product/xml/v2_00/infNFe.xml.slim +3 -0
- data/lib/br_nfe/product/xml/v2_00/root/NfeAutorizacao.xml.slim +5 -0
- data/lib/br_nfe/product/xml/v2_00/root/NfeInutilizacao.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v2_00/root/NfeRetAutorizacao.xml.slim +3 -0
- data/lib/br_nfe/product/xml/v2_00/root/NfeStatusServico.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v2_01/root/NfeConsultaProtocolo.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v3_10/_tc_infNFe.xml.slim +44 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_dest.xml.slim +25 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_det.xml.slim +14 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_exporta.xml.slim +4 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_ide.xml.slim +26 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_pag.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/_tc_total.xml.slim +78 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/_tc_imposto.xml.slim +37 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/_tc_prod.xml.slim +48 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS20.xml.slim +12 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS30.xml.slim +17 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS40.xml.slim +7 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS51.xml.slim +19 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS70.xml.slim +23 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/ICMS/_tc_ICMS90.xml.slim +26 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/_tc_ICMSUFDest.xml.slim +8 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/imposto/_tc_ISSQN.xml.slim +35 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/prod/_tc_det_export.xml.slim +8 -0
- data/lib/br_nfe/product/xml/v3_10/infNFe/det/prod/_tc_di.xml.slim +28 -0
- data/lib/br_nfe/product/xml/v3_10/root/NfeAutorizacao.xml.slim +6 -0
- data/lib/br_nfe/service/base.rb +1 -105
- data/lib/br_nfe/service/betha/v1/cancela_nfse.rb +1 -1
- data/lib/br_nfe/service/response/default.rb +1 -1
- data/lib/br_nfe/service/simpliss/v1/base.rb +2 -0
- data/lib/br_nfe/version.rb +2 -2
- data/lib/br_nfe.rb +180 -22
- data/lib/config/locales/br_nfe/en/product/nfe/cobranca/fatura.yml +6 -0
- data/lib/config/locales/br_nfe/en/product/nfe/declaracao_importacao.yml +10 -0
- data/lib/config/locales/br_nfe/en/product/nfe/item.yml +20 -0
- data/lib/config/locales/br_nfe/en/product/nfe/item_tax/icms_uf_destino.yml +8 -0
- data/lib/config/locales/br_nfe/en/product/nfe/transporte/base.yml +9 -0
- data/lib/config/locales/br_nfe/en/product/nota_fiscal.yml +21 -0
- data/lib/config/locales/br_nfe/en/product/operation/nfe_autorizacao.yml +10 -0
- data/lib/config/locales/br_nfe/en/product/operation/nfe_recepcao_evento.yml +6 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nfe/cobranca/fatura.yml +6 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nfe/declaracao_importacao.yml +10 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nfe/item.yml +20 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nfe/item_tax/icms_uf_destino.yml +8 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nfe/transporte/base.yml +9 -0
- data/lib/config/locales/br_nfe/pt-BR/product/nota_fiscal.yml +21 -0
- data/lib/config/locales/br_nfe/pt-BR/product/operation/nfe_autorizacao.yml +10 -0
- data/lib/config/locales/br_nfe/pt-BR/product/operation/nfe_recepcao_evento.yml +6 -0
- data/test/br_nfe/association/have_destinatario_test.rb +8 -8
- data/test/br_nfe/association/have_emitente_test.rb +6 -6
- data/test/br_nfe/base_test.rb +15 -4
- data/test/br_nfe/endereco_test.rb +15 -0
- data/test/br_nfe/person_test.rb +55 -6
- data/test/br_nfe/product/destinatario_test.rb +26 -0
- data/test/br_nfe/product/emitente_test.rb +1 -2
- data/test/br_nfe/product/evento/base_test.rb +58 -0
- data/test/br_nfe/product/evento/cancelamento_test.rb +32 -0
- data/test/br_nfe/product/gateway/web_service_am_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_ba_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_ce_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_go_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_mg_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_ms_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_mt_test.rb +408 -0
- data/test/br_nfe/product/gateway/web_service_pe_test.rb +408 -0
- data/test/br_nfe/product/gateway/web_service_pr_test.rb +408 -0
- data/test/br_nfe/product/gateway/web_service_rs_test.rb +407 -0
- data/test/br_nfe/product/gateway/web_service_sp_test.rb +408 -0
- data/test/br_nfe/product/gateway/web_service_svan_test.rb +242 -0
- data/test/br_nfe/product/gateway/web_service_svc_an_test.rb +185 -0
- data/test/br_nfe/product/gateway/web_service_svc_rs_test.rb +185 -0
- data/test/br_nfe/product/gateway/web_service_svrs_test.rb +208 -2
- data/test/br_nfe/product/nfe/adicao_importacao_test.rb +19 -0
- data/test/br_nfe/product/nfe/cobranca/duplicata_test.rb +19 -0
- data/test/br_nfe/product/nfe/cobranca/fatura_test.rb +32 -0
- data/test/br_nfe/product/nfe/cobranca/pagamento_test.rb +105 -0
- data/test/br_nfe/product/nfe/declaracao_importacao_test.rb +116 -0
- data/test/br_nfe/product/nfe/detalhe_exportacao_test.rb +97 -0
- data/test/br_nfe/product/nfe/item_tax/cofins_st_test.rb +22 -0
- data/test/br_nfe/product/nfe/item_tax/cofins_test.rb +113 -0
- data/test/br_nfe/product/nfe/item_tax/icms_test.rb +1011 -0
- data/test/br_nfe/product/nfe/item_tax/icms_uf_destino_test.rb +99 -0
- data/test/br_nfe/product/nfe/item_tax/importacao_test.rb +23 -0
- data/test/br_nfe/product/nfe/item_tax/ipi_test.rb +160 -0
- data/test/br_nfe/product/nfe/item_tax/issqn_test.rb +84 -0
- data/test/br_nfe/product/nfe/item_tax/pis_st_test.rb +22 -0
- data/test/br_nfe/product/nfe/item_tax/pis_test.rb +113 -0
- data/test/br_nfe/product/nfe/item_test.rb +381 -0
- data/test/br_nfe/product/nfe/processo_referencia_test.rb +30 -0
- data/test/br_nfe/product/nfe/transporte/base_test.rb +182 -0
- data/test/br_nfe/product/nfe/transporte/transportador_test.rb +13 -0
- data/test/br_nfe/product/nfe/transporte/veiculo_test.rb +13 -0
- data/test/br_nfe/product/nfe/transporte/volume_test.rb +42 -0
- data/test/br_nfe/product/nota_fiscal_test.rb +662 -0
- data/test/br_nfe/product/operation/base_test.rb +538 -0
- data/test/br_nfe/product/operation/nfe_autorizacao_test.rb +378 -0
- data/test/br_nfe/product/operation/nfe_consulta_protocolo_test.rb +349 -0
- data/test/br_nfe/product/operation/nfe_download_nf_test.rb +93 -0
- data/test/br_nfe/product/operation/nfe_inutilizacao_test.rb +210 -0
- data/test/br_nfe/product/operation/nfe_recepcao_evento_test.rb +84 -0
- data/test/br_nfe/product/operation/nfe_ret_autorizacao_test.rb +309 -0
- data/test/br_nfe/product/operation/nfe_status_servico_test.rb +122 -0
- data/test/br_nfe/product/response/base_test.rb +75 -0
- data/test/br_nfe/product/response/build/base_test.rb +34 -0
- data/test/br_nfe/product/response/nfe_ret_autorizacao_test.rb +14 -0
- data/test/br_nfe/service/association/have_intermediario_test.rb +10 -10
- data/test/br_nfe/service/base_test.rb +9 -206
- data/test/br_nfe/service/betha/v1/cancela_nfse_test.rb +8 -6
- data/test/br_nfe/service/betha/v1/consulta_lote_rps_test.rb +6 -3
- data/test/br_nfe/service/betha/v1/consulta_nfs_por_rps_test.rb +6 -3
- data/test/br_nfe/service/betha/v1/consulta_nfse_test.rb +7 -4
- data/test/br_nfe/service/betha/v1/consulta_situacao_lote_rps_test.rb +12 -9
- data/test/br_nfe/service/betha/v1/recepcao_lote_rps_test.rb +6 -3
- data/test/br_nfe/service/rps_test.rb +2 -2
- data/test/br_nfe/service/simpliss/v1/cancela_nfse_test.rb +6 -3
- data/test/br_nfe/service/simpliss/v1/consulta_lote_rps_test.rb +7 -4
- data/test/br_nfe/service/simpliss/v1/consulta_nfs_por_rps_test.rb +7 -4
- data/test/br_nfe/service/simpliss/v1/consulta_nfse_test.rb +8 -5
- data/test/br_nfe/service/simpliss/v1/consulta_situacao_lote_rps_test.rb +9 -6
- data/test/br_nfe/service/simpliss/v1/recepcao_lote_rps_test.rb +6 -3
- data/test/br_nfe/service/thema/v1/cancela_nfse_test.rb +6 -3
- data/test/br_nfe/service/thema/v1/consulta_lote_rps_test.rb +6 -3
- data/test/br_nfe/service/thema/v1/consulta_nfs_por_rps_test.rb +6 -3
- data/test/br_nfe/service/thema/v1/consulta_nfse_test.rb +8 -5
- data/test/br_nfe/service/thema/v1/consulta_situacao_lote_rps_test.rb +9 -6
- data/test/br_nfe/service/thema/v1/recepcao_lote_rps_limitado_test.rb +6 -3
- data/test/br_nfe/service/thema/v1/recepcao_lote_rps_test.rb +6 -3
- data/test/factories/person.rb +1 -1
- data/test/factories/product/destinatario.rb +11 -0
- data/test/factories/product/emitente.rb +1 -1
- data/test/factories/product/evento/base.rb +9 -0
- data/test/factories/product/evento/cancelamento.rb +10 -0
- data/test/factories/product/gateway/web_service_am.rb +5 -0
- data/test/factories/product/gateway/web_service_ba.rb +5 -0
- data/test/factories/product/nfe/adicao_importacao.rb +7 -0
- data/test/factories/product/nfe/cobranca/duplicata.rb +7 -0
- data/test/factories/product/nfe/cobranca/fatura.rb +8 -0
- data/test/factories/product/nfe/cobranca/pagamento.rb +9 -0
- data/test/factories/product/nfe/declaracao_importacao.rb +10 -0
- data/test/factories/product/nfe/detalhe_exportacao.rb +5 -0
- data/test/factories/product/nfe/item.rb +24 -0
- data/test/factories/product/nfe/item_tax/cofins.rb +5 -0
- data/test/factories/product/nfe/item_tax/cofins_st.rb +5 -0
- data/test/factories/product/nfe/item_tax/icms.rb +9 -0
- data/test/factories/product/nfe/item_tax/icms_uf_destino.rb +11 -0
- data/test/factories/product/nfe/item_tax/importacao.rb +8 -0
- data/test/factories/product/nfe/item_tax/ipi.rb +6 -0
- data/test/factories/product/nfe/item_tax/issqn.rb +9 -0
- data/test/factories/product/nfe/item_tax/pis.rb +5 -0
- data/test/factories/product/nfe/item_tax/pis_st.rb +5 -0
- data/test/factories/product/nfe/processo_referencia.rb +6 -0
- data/test/factories/product/nfe/transporte/base.rb +5 -0
- data/test/factories/product/nfe/transporte/transportador.rb +7 -0
- data/test/factories/product/nfe/transporte/veiculo.rb +7 -0
- data/test/factories/product/nfe/transporte/volume.rb +5 -0
- data/test/factories/product/nota_fiscal.rb +22 -0
- data/test/factories/product/{base.rb → operation/base.rb} +1 -1
- data/test/factories/product/operation/nfe_autorizacao.rb +590 -0
- data/test/factories/product/operation/nfe_consulta_protocolo.rb +13 -0
- data/test/factories/product/operation/nfe_download_nf.rb +15 -0
- data/test/factories/product/operation/nfe_inutilizacao.rb +19 -0
- data/test/factories/product/operation/nfe_recepcao_evento.rb +14 -0
- data/test/factories/product/operation/nfe_ret_autorizacao.rb +13 -0
- data/test/factories/product/{consulta_status_servico.rb → operation/nfe_status_servico.rb} +1 -1
- data/test/factories/product/response/base.rb +12 -0
- data/test/factories/product/response/build/base.rb +6 -0
- data/test/factories/product/response/nfe_ret_autorizacao.rb +13 -0
- data/test/factories/service/emitente.rb +1 -1
- data/test/fixtures/product/operation/nfe_autorizacao/nfe_signed.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/async_fail.xml +21 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/async_success.xml +25 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/nfe/with_proc.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/nfe/without_proc.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/original_xml.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/sync_fail.xml +32 -0
- data/test/fixtures/product/response/v3.10/nfe_autorizacao/sync_success.xml +33 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/event_xml/event_1.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/event_xml/event_2.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/event_xml/event_3.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/event_xml/event_cancel.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/event_xml/one_event.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/fail.xml +22 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/nfe_original/with_proc.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/nfe_original/without_proc.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/success_many_with_cancel.xml +198 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/success_many_without_cancel.xml +199 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/success_one.xml +89 -0
- data/test/fixtures/product/response/v3.10/nfe_consulta_protocolo/success_without.xml +34 -0
- data/test/fixtures/product/response/v3.10/nfe_inutilizacao/fail.xml +29 -0
- data/test/fixtures/product/response/v3.10/nfe_inutilizacao/success.xml +30 -0
- data/test/fixtures/product/response/v3.10/nfe_recepcao_evento/cancelamento/fail.xml +34 -0
- data/test/fixtures/product/response/v3.10/nfe_recepcao_evento/cancelamento/success.xml +36 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_fail.xml +22 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_ok_one_invoice_fail.xml +33 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_ok_one_invoice_fail_and_one_ok.xml +46 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_ok_one_invoice_ok.xml +34 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_ok_two_invoice_fail.xml +46 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/lot_ok_two_invoice_ok.xml +46 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/nfe/nf_2_with_protocol.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/nfe/nf_2_without_protocol.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/nfe/nf_3_with_protocol.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/nfe/nf_3_without_protocol.xml +1 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/original_xml/lot.xml +2 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/original_xml/nfe.xml +2 -0
- data/test/fixtures/product/response/v3.10/nfe_ret_autorizacao/original_xml/nfeProc.xml +4 -0
- data/test/fixtures/product/response/v3.10/nfe_status_servico/fail.xml +23 -0
- data/test/fixtures/product/response/v3.10/nfe_status_servico/success.xml +22 -0
- data/test/fixtures/product/schemas/CCe_v1.00.xsd +11 -0
- data/test/fixtures/product/schemas/EPEC_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/LeiauteCadastroEmissorDFe_v1.01.xsd +234 -0
- data/test/fixtures/product/schemas/SuframaInternaliza_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/SuframaVistoria_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/atuCadEmiDFe_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/cabecMsg_v1.02.xsd +29 -0
- data/test/fixtures/product/schemas/cadEmiDFe_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/cancNFe_v2.00.xsd +9 -0
- data/test/fixtures/product/schemas/confRecebto_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/consCad_v2.00.xsd +9 -0
- data/test/fixtures/product/schemas/consDPEC_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/consNFeDest_v1.01.xsd +10 -0
- data/test/fixtures/product/schemas/consReciNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/consReciNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/consSitNFe_v2.01.xsd +10 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/consSitNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/consStatServ_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/consStatServ_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/distDFeInt_v1.00.xsd +71 -0
- data/test/fixtures/product/schemas/downloadNFe_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/e110110_v1.00.xsd +58 -0
- data/test/fixtures/product/schemas/e110111_v1.00.xsd +42 -0
- data/test/fixtures/product/schemas/e110140_v1.00.xsd +124 -0
- data/test/fixtures/product/schemas/e111500_v1.00.xsd +69 -0
- data/test/fixtures/product/schemas/e111501_v1.00.xsd +69 -0
- data/test/fixtures/product/schemas/e111502_v1.00.xsd +50 -0
- data/test/fixtures/product/schemas/e111503_v1.00.xsd +50 -0
- data/test/fixtures/product/schemas/e210200_v1.00.xsd +32 -0
- data/test/fixtures/product/schemas/e210210_v1.00.xsd +32 -0
- data/test/fixtures/product/schemas/e210220_v1.00.xsd +45 -0
- data/test/fixtures/product/schemas/e210240_v1.00.xsd +44 -0
- data/test/fixtures/product/schemas/e411500_v1.00.xsd +134 -0
- data/test/fixtures/product/schemas/e411501_v1.00.xsd +134 -0
- data/test/fixtures/product/schemas/e411502_v1.00.xsd +95 -0
- data/test/fixtures/product/schemas/e411503_v1.00.xsd +95 -0
- data/test/fixtures/product/schemas/e990900_v1.00.xsd +87 -0
- data/test/fixtures/product/schemas/e990910_v1.00.xsd +81 -0
- data/test/fixtures/product/schemas/envCCe_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/envCancelPProrrogNFe_v1.0.xsd +50 -0
- data/test/fixtures/product/schemas/envConfRecebto_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/envDPEC_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/envEPEC_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/envEventoCancNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/envEvento_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/envFiscoNfe_v1.0.xsd +179 -0
- data/test/fixtures/product/schemas/envPProrrogNFe_v1.0.xsd +65 -0
- data/test/fixtures/product/schemas/envRemIndus_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/envSuframaInternaliza_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/envSuframaVistoria_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/enviNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/enviNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/eventoCancNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/eventoEPEC_v0.01.xsd +267 -0
- data/test/fixtures/product/schemas/eventoEPEC_v1.00.xsd +267 -0
- data/test/fixtures/product/schemas/eventoRemIndus_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/inutNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/inutNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/leiauteCCe_v1.00.xsd +418 -0
- data/test/fixtures/product/schemas/leiauteCancNFe_v2.00.xsd +143 -0
- data/test/fixtures/product/schemas/leiauteConfRecebto_v1.00.xsd +406 -0
- data/test/fixtures/product/schemas/leiauteConsNFeDest_v1.01.xsd +483 -0
- data/test/fixtures/product/schemas/leiauteConsSitNFe_v2.01.xsd +548 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/leiauteConsSitNFe_v3.10.xsd +502 -502
- data/test/fixtures/product/schemas/leiauteConsStatServ_v2.00.xsd +98 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/leiauteConsStatServ_v3.10.xsd +97 -97
- data/test/fixtures/product/schemas/leiauteConsultaCadastro_v1.01.xsd +355 -0
- data/test/fixtures/product/schemas/leiauteConsultaCadastro_v2.00.xsd +404 -0
- data/test/fixtures/product/schemas/leiauteDPEC_v1.01.xsd +464 -0
- data/test/fixtures/product/schemas/leiauteDownloadNFe_v1.00.xsd +149 -0
- data/test/fixtures/product/schemas/leiauteEPEC_v1.00.xsd +459 -0
- data/test/fixtures/product/schemas/leiauteEventoCancNFe_v1.00.xsd +394 -0
- data/test/fixtures/product/schemas/leiauteEvento_v1.00.xsd +373 -0
- data/test/fixtures/product/schemas/leiauteInutNFe_v2.00.xsd +193 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/leiauteInutNFe_v3.10.xsd +192 -192
- data/test/fixtures/product/schemas/leiauteNFe_v2.00.xsd +6661 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/leiauteNFe_v3.10.xsd +6060 -6060
- data/test/fixtures/product/schemas/leiauteRemIndus_v1.00.xsd +382 -0
- data/test/fixtures/product/schemas/leiauteSRE_v1.00.xsd +372 -0
- data/test/fixtures/product/schemas/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- data/test/fixtures/product/schemas/leiauteSuframaVistoria_v1.00.xsd +648 -0
- data/test/fixtures/product/schemas/nfe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/nfe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/procCCeNFe_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/procCancNFe_v2.00.xsd +9 -0
- data/test/fixtures/product/schemas/procConfRecebtoNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/procEPEC_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/procEventoCancNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/procEventoNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/procEventoNFe_v99.99.xsd +37 -0
- data/test/fixtures/product/schemas/procInutNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/procInutNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/procNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/procNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/procRemIndus_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/resEvento_v1.00.xsd +94 -0
- data/test/fixtures/product/schemas/resNFe_v1.00.xsd +110 -0
- data/test/fixtures/product/schemas/retAtuCadEmiDFe_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/retCancNFe_v2.00.xsd +9 -0
- data/test/fixtures/product/schemas/retConsCad_v2.00.xsd +9 -0
- data/test/fixtures/product/schemas/retConsDPEC_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/retConsReciNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/retConsReciNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/retConsSitNFe_v2.01.xsd +10 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/retConsSitNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/retConsStatServ_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/retConsStatServ_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/retDPEC_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/retDistDFeInt_v1.00.xsd +84 -0
- data/test/fixtures/product/schemas/retDownloadNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvCCe_v1.00.xsd +10 -0
- data/test/fixtures/product/schemas/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- data/test/fixtures/product/schemas/retEnvConfRecebto_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvEPEC_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvEventoCancNFe_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvEvento_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvFiscoNFe_v1.0.xsd +234 -0
- data/test/fixtures/product/schemas/retEnvRemIndus_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnvSuframaVistoria_v1.00.xsd +9 -0
- data/test/fixtures/product/schemas/retEnviNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/retEnviNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/retEventoEPEC_v0.01.xsd +207 -0
- data/test/fixtures/product/schemas/retInutNFe_v2.00.xsd +9 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/retInutNFe_v3.10.xsd +8 -8
- data/test/fixtures/product/schemas/retPProrrogNFe_v1.0.xsd +233 -0
- data/test/fixtures/product/schemas/retconsNFeDest_v1.01.xsd +9 -0
- data/test/fixtures/product/schemas/tiposBasico_v1.03.xsd +816 -0
- data/test/fixtures/product/schemas/tiposBasico_v1.03_OPENSSL.xsd +816 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/tiposBasico_v3.10.xsd +571 -571
- data/test/fixtures/product/schemas/tiposBasico_v3.10_OPENSSL.xsd +877 -0
- data/test/fixtures/product/schemas/tiposDistDFe_v1.00.xsd +217 -0
- data/{lib/br_nfe/product/xml/v3_10/XSD → test/fixtures/product/schemas}/xmldsig-core-schema_v1.01.xsd +97 -97
- data/test/fixtures/product/wsdl/NFeRetAutorizacao.xml +80 -0
- data/test/fixtures/product/wsdl/NfeAutorizacao.xml +107 -0
- data/test/fixtures/product/wsdl/NfeConsulta2.xml +80 -0
- data/test/fixtures/product/wsdl/NfeStatusServico2.xml +70 -0
- data/test/fixtures/product/wsdl/nfeinutilizacao2.xml +80 -0
- data/test/fixtures/service/wsdl/betha/v1/cancelar_nfse.xml +178 -0
- data/test/fixtures/service/wsdl/betha/v1/consultar_lote_rps.xml +339 -0
- data/test/fixtures/service/wsdl/betha/v1/consultar_nfse.xml +348 -0
- data/test/fixtures/service/wsdl/betha/v1/consultar_nfse_por_rps.xml +365 -0
- data/test/fixtures/service/wsdl/betha/v1/consultar_situacao_lote_rps.xml +74 -0
- data/test/fixtures/service/wsdl/betha/v1/recepcionar_lote_rps.xml +299 -0
- data/test/fixtures/service/wsdl/simpliss/v1/nfseservice.xml +1 -0
- data/test/fixtures/service/wsdl/thema/v1/nfse_cancelamento.xml +82 -0
- data/test/fixtures/service/wsdl/thema/v1/nfse_consulta.xml +235 -0
- data/test/fixtures/service/wsdl/thema/v1/nfse_remessa.xml +185 -0
- data/test/test_helper.rb +369 -1
- metadata +711 -33
- data/lib/br_nfe/product/base.rb +0 -82
- data/lib/br_nfe/product/consulta_status_servico.rb +0 -35
- data/lib/br_nfe/product/value_nf.rb +0 -9
- data/lib/br_nfe/product/xml/v3_10/consulta_status_servico.xml.slim +0 -4
- data/test/br_nfe/product/base_test.rb +0 -150
- data/test/br_nfe/product/consulta_status_servico_test.rb +0 -59
@@ -0,0 +1,877 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- PL_008 - 30/07/2013- NT 2013/005 -->
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nfe="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
4
|
+
<xs:simpleType name="TCodUfIBGE">
|
5
|
+
<xs:annotation>
|
6
|
+
<xs:documentation>Tipo Código da UF da tabela do IBGE</xs:documentation>
|
7
|
+
</xs:annotation>
|
8
|
+
<xs:restriction base="xs:string">
|
9
|
+
<xs:whiteSpace value="preserve"/>
|
10
|
+
<xs:enumeration value="11"/>
|
11
|
+
<xs:enumeration value="12"/>
|
12
|
+
<xs:enumeration value="13"/>
|
13
|
+
<xs:enumeration value="14"/>
|
14
|
+
<xs:enumeration value="15"/>
|
15
|
+
<xs:enumeration value="16"/>
|
16
|
+
<xs:enumeration value="17"/>
|
17
|
+
<xs:enumeration value="21"/>
|
18
|
+
<xs:enumeration value="22"/>
|
19
|
+
<xs:enumeration value="23"/>
|
20
|
+
<xs:enumeration value="24"/>
|
21
|
+
<xs:enumeration value="25"/>
|
22
|
+
<xs:enumeration value="26"/>
|
23
|
+
<xs:enumeration value="27"/>
|
24
|
+
<xs:enumeration value="28"/>
|
25
|
+
<xs:enumeration value="29"/>
|
26
|
+
<xs:enumeration value="31"/>
|
27
|
+
<xs:enumeration value="32"/>
|
28
|
+
<xs:enumeration value="33"/>
|
29
|
+
<xs:enumeration value="35"/>
|
30
|
+
<xs:enumeration value="41"/>
|
31
|
+
<xs:enumeration value="42"/>
|
32
|
+
<xs:enumeration value="43"/>
|
33
|
+
<xs:enumeration value="50"/>
|
34
|
+
<xs:enumeration value="51"/>
|
35
|
+
<xs:enumeration value="52"/>
|
36
|
+
<xs:enumeration value="53"/>
|
37
|
+
</xs:restriction>
|
38
|
+
</xs:simpleType>
|
39
|
+
<xs:simpleType name="TCodMunIBGE">
|
40
|
+
<xs:annotation>
|
41
|
+
<xs:documentation>Tipo Código do Município da tabela do IBGE</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
<xs:restriction base="xs:string">
|
44
|
+
<xs:whiteSpace value="preserve"/>
|
45
|
+
<xs:pattern value="[0-9]{7}"/>
|
46
|
+
</xs:restriction>
|
47
|
+
</xs:simpleType>
|
48
|
+
<xs:simpleType name="TChNFe">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>Tipo Chave da Nota Fiscal Eletrônica</xs:documentation>
|
51
|
+
</xs:annotation>
|
52
|
+
<xs:restriction base="xs:string">
|
53
|
+
<xs:whiteSpace value="preserve"/>
|
54
|
+
<xs:maxLength value="44"/>
|
55
|
+
<xs:pattern value="[0-9]{44}"/>
|
56
|
+
</xs:restriction>
|
57
|
+
</xs:simpleType>
|
58
|
+
<xs:simpleType name="TProt">
|
59
|
+
<xs:annotation>
|
60
|
+
<xs:documentation>Tipo Número do Protocolo de Status</xs:documentation>
|
61
|
+
</xs:annotation>
|
62
|
+
<xs:restriction base="xs:string">
|
63
|
+
<xs:whiteSpace value="preserve"/>
|
64
|
+
<xs:maxLength value="15"/>
|
65
|
+
<xs:pattern value="[0-9]{15}"/>
|
66
|
+
</xs:restriction>
|
67
|
+
</xs:simpleType>
|
68
|
+
<xs:simpleType name="TRec">
|
69
|
+
<xs:annotation>
|
70
|
+
<xs:documentation>Tipo Número do Recibo do envio de lote de NF-e</xs:documentation>
|
71
|
+
</xs:annotation>
|
72
|
+
<xs:restriction base="xs:string">
|
73
|
+
<xs:whiteSpace value="preserve"/>
|
74
|
+
<xs:maxLength value="15"/>
|
75
|
+
<xs:pattern value="[0-9]{15}"/>
|
76
|
+
</xs:restriction>
|
77
|
+
</xs:simpleType>
|
78
|
+
<xs:simpleType name="TStat">
|
79
|
+
<xs:annotation>
|
80
|
+
<xs:documentation>Tipo Código da Mensagem enviada</xs:documentation>
|
81
|
+
</xs:annotation>
|
82
|
+
<xs:restriction base="xs:string">
|
83
|
+
<xs:whiteSpace value="preserve"/>
|
84
|
+
<xs:maxLength value="3"/>
|
85
|
+
<xs:pattern value="[0-9]{3}"/>
|
86
|
+
</xs:restriction>
|
87
|
+
</xs:simpleType>
|
88
|
+
<xs:simpleType name="TCnpj">
|
89
|
+
<xs:annotation>
|
90
|
+
<xs:documentation>Tipo Número do CNPJ</xs:documentation>
|
91
|
+
</xs:annotation>
|
92
|
+
<xs:restriction base="xs:string">
|
93
|
+
<xs:whiteSpace value="preserve"/>
|
94
|
+
<xs:maxLength value="14"/>
|
95
|
+
<xs:pattern value="[0-9]{14}"/>
|
96
|
+
</xs:restriction>
|
97
|
+
</xs:simpleType>
|
98
|
+
<xs:simpleType name="TCnpjVar">
|
99
|
+
<xs:annotation>
|
100
|
+
<xs:documentation>Tipo Número do CNPJ tmanho varíavel (3-14)</xs:documentation>
|
101
|
+
</xs:annotation>
|
102
|
+
<xs:restriction base="xs:string">
|
103
|
+
<xs:whiteSpace value="preserve"/>
|
104
|
+
<xs:maxLength value="14"/>
|
105
|
+
<xs:pattern value="[0-9]{3,14}"/>
|
106
|
+
</xs:restriction>
|
107
|
+
</xs:simpleType>
|
108
|
+
<xs:simpleType name="TCnpjOpc">
|
109
|
+
<xs:annotation>
|
110
|
+
<xs:documentation>Tipo Número do CNPJ Opcional</xs:documentation>
|
111
|
+
</xs:annotation>
|
112
|
+
<xs:restriction base="xs:string">
|
113
|
+
<xs:whiteSpace value="preserve"/>
|
114
|
+
<xs:maxLength value="14"/>
|
115
|
+
<xs:pattern value="[0-9]{0}|[0-9]{14}"/>
|
116
|
+
</xs:restriction>
|
117
|
+
</xs:simpleType>
|
118
|
+
<xs:simpleType name="TCpf">
|
119
|
+
<xs:annotation>
|
120
|
+
<xs:documentation>Tipo Número do CPF</xs:documentation>
|
121
|
+
</xs:annotation>
|
122
|
+
<xs:restriction base="xs:string">
|
123
|
+
<xs:whiteSpace value="preserve"/>
|
124
|
+
<xs:maxLength value="11"/>
|
125
|
+
<xs:pattern value="[0-9]{11}"/>
|
126
|
+
</xs:restriction>
|
127
|
+
</xs:simpleType>
|
128
|
+
<xs:simpleType name="TCpfVar">
|
129
|
+
<xs:annotation>
|
130
|
+
<xs:documentation>Tipo Número do CPF de tamanho variável (3-11)</xs:documentation>
|
131
|
+
</xs:annotation>
|
132
|
+
<xs:restriction base="xs:string">
|
133
|
+
<xs:whiteSpace value="preserve"/>
|
134
|
+
<xs:maxLength value="11"/>
|
135
|
+
<xs:pattern value="[0-9]{3,11}"/>
|
136
|
+
</xs:restriction>
|
137
|
+
</xs:simpleType>
|
138
|
+
<xs:simpleType name="TDec_0204v">
|
139
|
+
<xs:annotation>
|
140
|
+
<xs:documentation>Tipo Decimal com até 2 dígitos inteiros, podendo ter de 1 até 4 decimais</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
<xs:restriction base="xs:string">
|
143
|
+
<xs:whiteSpace value="preserve"/>
|
144
|
+
<xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,1}(\.[0-9]{1,4})?"/>
|
145
|
+
</xs:restriction>
|
146
|
+
</xs:simpleType>
|
147
|
+
<xs:simpleType name="TDec_0302a04">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation>Tipo Decimal com até 3 dígitos inteiros, podendo ter de 2 até 4 decimais</xs:documentation>
|
150
|
+
</xs:annotation>
|
151
|
+
<xs:restriction base="xs:string">
|
152
|
+
<xs:whiteSpace value="preserve"/>
|
153
|
+
<xs:pattern value="0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/>
|
154
|
+
</xs:restriction>
|
155
|
+
</xs:simpleType>
|
156
|
+
<xs:simpleType name="TDec_0302a04Opc">
|
157
|
+
<xs:annotation>
|
158
|
+
<xs:documentation>Tipo Decimal com até 3 dígitos inteiros e 2 até 4 decimais. Utilizados em TAGs opcionais, não aceita valor zero.</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
<xs:restriction base="xs:string">
|
161
|
+
<xs:whiteSpace value="preserve"/>
|
162
|
+
<xs:pattern value="0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?"/>
|
163
|
+
</xs:restriction>
|
164
|
+
</xs:simpleType>
|
165
|
+
<xs:simpleType name="TDec_0302Max100">
|
166
|
+
<xs:annotation>
|
167
|
+
<xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com 2 decimais</xs:documentation>
|
168
|
+
</xs:annotation>
|
169
|
+
<xs:restriction base="xs:string">
|
170
|
+
<xs:whiteSpace value="preserve"/>
|
171
|
+
<xs:pattern value="0(\.[0-9]{2})?|100(\.00)?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2})?"/>
|
172
|
+
</xs:restriction>
|
173
|
+
</xs:simpleType>
|
174
|
+
<xs:simpleType name="TDec_0302a04Max100">
|
175
|
+
<xs:annotation>
|
176
|
+
<xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com até 4 decimais</xs:documentation>
|
177
|
+
</xs:annotation>
|
178
|
+
<xs:restriction base="xs:string">
|
179
|
+
<xs:whiteSpace value="preserve"/>
|
180
|
+
<xs:pattern value="[1-9]{1}(\.[0-9]{2,4})?|[1-9]{1}[0-9]{1}(\.[0-9]{2,4})?|100(\.0{2,4})?"/>
|
181
|
+
</xs:restriction>
|
182
|
+
</xs:simpleType>
|
183
|
+
<xs:simpleType name="TDec_0803v">
|
184
|
+
<xs:annotation>
|
185
|
+
<xs:documentation>Tipo Decimal com 8 inteiros, podendo ter de 1 até 3 decimais</xs:documentation>
|
186
|
+
</xs:annotation>
|
187
|
+
<xs:restriction base="xs:string">
|
188
|
+
<xs:whiteSpace value="preserve"/>
|
189
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,7}(\.[0-9]{1,3})?"/>
|
190
|
+
</xs:restriction>
|
191
|
+
</xs:simpleType>
|
192
|
+
<xs:simpleType name="TDec_1104">
|
193
|
+
<xs:annotation>
|
194
|
+
<xs:documentation>Tipo Decimal com 11 inteiros, podendo ter 4 decimais</xs:documentation>
|
195
|
+
</xs:annotation>
|
196
|
+
<xs:restriction base="xs:string">
|
197
|
+
<xs:whiteSpace value="preserve"/>
|
198
|
+
<xs:pattern value="0|0\.[0-9]{4}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/>
|
199
|
+
</xs:restriction>
|
200
|
+
</xs:simpleType>
|
201
|
+
<xs:simpleType name="TDec_1104v">
|
202
|
+
<xs:annotation>
|
203
|
+
<xs:documentation>Tipo Decimal com 11 inteiros, podendo ter de 1 até 4 decimais</xs:documentation>
|
204
|
+
</xs:annotation>
|
205
|
+
<xs:restriction base="xs:string">
|
206
|
+
<xs:whiteSpace value="preserve"/>
|
207
|
+
<xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?"/>
|
208
|
+
</xs:restriction>
|
209
|
+
</xs:simpleType>
|
210
|
+
<xs:simpleType name="TDec_1104Opc">
|
211
|
+
<xs:annotation>
|
212
|
+
<xs:documentation>Tipo Decimal com 11 inteiros, podendo ter 4 decimais (utilizado em tags opcionais)</xs:documentation>
|
213
|
+
</xs:annotation>
|
214
|
+
<xs:restriction base="xs:string">
|
215
|
+
<xs:whiteSpace value="preserve"/>
|
216
|
+
<xs:pattern value="0\.[1-9]{1}[0-9]{3}|0\.[0-9]{3}[1-9]{1}|0\.[0-9]{2}[1-9]{1}[0-9]{1}|0\.[0-9]{1}[1-9]{1}[0-9]{2}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/>
|
217
|
+
</xs:restriction>
|
218
|
+
</xs:simpleType>
|
219
|
+
<xs:simpleType name="TDec_1110v">
|
220
|
+
<xs:annotation>
|
221
|
+
<xs:documentation>Tipo Decimal com 11 inteiros, podendo ter de 1 até 10 decimais</xs:documentation>
|
222
|
+
</xs:annotation>
|
223
|
+
<xs:restriction base="xs:string">
|
224
|
+
<xs:whiteSpace value="preserve"/>
|
225
|
+
<xs:pattern value="0|0\.[0-9]{1,10}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,10})?"/>
|
226
|
+
</xs:restriction>
|
227
|
+
</xs:simpleType>
|
228
|
+
<xs:simpleType name="TDec_1203">
|
229
|
+
<xs:annotation>
|
230
|
+
<xs:documentation>Tipo Decimal com 12 inteiros, podendo ter 3 decimais</xs:documentation>
|
231
|
+
</xs:annotation>
|
232
|
+
<xs:restriction base="xs:string">
|
233
|
+
<xs:whiteSpace value="preserve"/>
|
234
|
+
<xs:pattern value="0|0\.[0-9]{3}|[1-9]{1}[0-9]{0,11}(\.[0-9]{3})?"/>
|
235
|
+
</xs:restriction>
|
236
|
+
</xs:simpleType>
|
237
|
+
<xs:simpleType name="TDec_1204">
|
238
|
+
<xs:annotation>
|
239
|
+
<xs:documentation>Tipo Decimal com 12 inteiros e 4 decimais</xs:documentation>
|
240
|
+
</xs:annotation>
|
241
|
+
<xs:restriction base="xs:string">
|
242
|
+
<xs:whiteSpace value="preserve"/>
|
243
|
+
<xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/>
|
244
|
+
</xs:restriction>
|
245
|
+
</xs:simpleType>
|
246
|
+
<xs:simpleType name="TDec_1204v">
|
247
|
+
<xs:annotation>
|
248
|
+
<xs:documentation>Tipo Decimal com 12 inteiros de 1 até 4 decimais</xs:documentation>
|
249
|
+
</xs:annotation>
|
250
|
+
<xs:restriction base="xs:string">
|
251
|
+
<xs:whiteSpace value="preserve"/>
|
252
|
+
<xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{1,4})?"/>
|
253
|
+
</xs:restriction>
|
254
|
+
</xs:simpleType>
|
255
|
+
<xs:simpleType name="TDec_1204Opc">
|
256
|
+
<xs:annotation>
|
257
|
+
<xs:documentation>Tipo Decimal com 12 inteiros com 1 até 4 decimais</xs:documentation>
|
258
|
+
</xs:annotation>
|
259
|
+
<xs:restriction base="xs:string">
|
260
|
+
<xs:whiteSpace value="preserve"/>
|
261
|
+
<xs:pattern value="0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,11}|[1-9]{1}[0-9]{0,11}(\.[0-9]{1,4})?"/>
|
262
|
+
</xs:restriction>
|
263
|
+
</xs:simpleType>
|
264
|
+
<xs:simpleType name="TDec_1204temperatura">
|
265
|
+
<xs:annotation>
|
266
|
+
<xs:documentation>Tipo Decimal com 12 inteiros, 1 a 4 decimais</xs:documentation>
|
267
|
+
</xs:annotation>
|
268
|
+
<xs:restriction base="xs:string">
|
269
|
+
<xs:whiteSpace value="preserve"/>
|
270
|
+
<xs:pattern value="0\.[1-9]{1}[0-9]{3}|0\.[0-9]{3}[1-9]{1}|0\.[0-9]{2}[1-9]{1}[0-9]{1}|0\.[0-9]{1}[1-9]{1}[0-9]{2}|[1-9]{1}[0-9]{0,11}(\.[0-9]{4})?"/>
|
271
|
+
</xs:restriction>
|
272
|
+
</xs:simpleType>
|
273
|
+
<xs:simpleType name="TDec_1302">
|
274
|
+
<xs:annotation>
|
275
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais</xs:documentation>
|
276
|
+
</xs:annotation>
|
277
|
+
<xs:restriction base="xs:string">
|
278
|
+
<xs:whiteSpace value="preserve"/>
|
279
|
+
<xs:pattern value="0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
|
280
|
+
</xs:restriction>
|
281
|
+
</xs:simpleType>
|
282
|
+
<xs:simpleType name="TDec_1302Opc">
|
283
|
+
<xs:annotation>
|
284
|
+
<xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais, utilizado em tags opcionais</xs:documentation>
|
285
|
+
</xs:annotation>
|
286
|
+
<xs:restriction base="xs:string">
|
287
|
+
<xs:whiteSpace value="preserve"/>
|
288
|
+
<xs:pattern value="0\.[0-9]{1}[1-9]{1}|0\.[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
|
289
|
+
</xs:restriction>
|
290
|
+
</xs:simpleType>
|
291
|
+
<xs:simpleType name="TIeDest">
|
292
|
+
<xs:annotation>
|
293
|
+
<xs:documentation>Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0</xs:documentation>
|
294
|
+
</xs:annotation>
|
295
|
+
<xs:restriction base="xs:string">
|
296
|
+
<xs:whiteSpace value="preserve"/>
|
297
|
+
<xs:maxLength value="14"/>
|
298
|
+
<xs:pattern value="ISENTO|[0-9]{2,14}"/>
|
299
|
+
</xs:restriction>
|
300
|
+
</xs:simpleType>
|
301
|
+
<xs:simpleType name="TIeDestNaoIsento">
|
302
|
+
<xs:annotation>
|
303
|
+
<xs:documentation>Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0</xs:documentation>
|
304
|
+
</xs:annotation>
|
305
|
+
<xs:restriction base="xs:string">
|
306
|
+
<xs:whiteSpace value="preserve"/>
|
307
|
+
<xs:maxLength value="14"/>
|
308
|
+
<xs:pattern value="[0-9]{2,14}"/>
|
309
|
+
</xs:restriction>
|
310
|
+
</xs:simpleType>
|
311
|
+
<xs:simpleType name="TIeST">
|
312
|
+
<xs:annotation>
|
313
|
+
<xs:documentation>Tipo Inscrição Estadual do ST // acrescentado EM 24/10/08</xs:documentation>
|
314
|
+
</xs:annotation>
|
315
|
+
<xs:restriction base="xs:string">
|
316
|
+
<xs:whiteSpace value="preserve"/>
|
317
|
+
<xs:maxLength value="14"/>
|
318
|
+
<xs:pattern value="[0-9]{2,14}"/>
|
319
|
+
</xs:restriction>
|
320
|
+
</xs:simpleType>
|
321
|
+
<xs:simpleType name="TIe">
|
322
|
+
<xs:annotation>
|
323
|
+
<xs:documentation>Tipo Inscrição Estadual do Emitente // alterado EM 24/10/08 para aceitar ISENTO</xs:documentation>
|
324
|
+
</xs:annotation>
|
325
|
+
<xs:restriction base="xs:string">
|
326
|
+
<xs:whiteSpace value="preserve"/>
|
327
|
+
<xs:maxLength value="14"/>
|
328
|
+
<xs:pattern value="[0-9]{2,14}|ISENTO"/>
|
329
|
+
</xs:restriction>
|
330
|
+
</xs:simpleType>
|
331
|
+
<xs:simpleType name="TMod">
|
332
|
+
<xs:annotation>
|
333
|
+
<xs:documentation>Tipo Modelo Documento Fiscal</xs:documentation>
|
334
|
+
</xs:annotation>
|
335
|
+
<xs:restriction base="xs:string">
|
336
|
+
<xs:whiteSpace value="preserve"/>
|
337
|
+
<xs:enumeration value="55"/>
|
338
|
+
<xs:enumeration value="65"/>
|
339
|
+
</xs:restriction>
|
340
|
+
</xs:simpleType>
|
341
|
+
<xs:simpleType name="TNF">
|
342
|
+
<xs:annotation>
|
343
|
+
<xs:documentation>Tipo Número do Documento Fiscal</xs:documentation>
|
344
|
+
</xs:annotation>
|
345
|
+
<xs:restriction base="xs:string">
|
346
|
+
<xs:whiteSpace value="preserve"/>
|
347
|
+
<xs:pattern value="[1-9]{1}[0-9]{0,8}"/>
|
348
|
+
</xs:restriction>
|
349
|
+
</xs:simpleType>
|
350
|
+
<xs:simpleType name="TSerie">
|
351
|
+
<xs:annotation>
|
352
|
+
<xs:documentation>Tipo Série do Documento Fiscal </xs:documentation>
|
353
|
+
</xs:annotation>
|
354
|
+
<xs:restriction base="xs:string">
|
355
|
+
<xs:whiteSpace value="preserve"/>
|
356
|
+
<xs:pattern value="0|[1-9]{1}[0-9]{0,2}"/>
|
357
|
+
</xs:restriction>
|
358
|
+
</xs:simpleType>
|
359
|
+
<xs:simpleType name="Tpais">
|
360
|
+
<xs:annotation>
|
361
|
+
<xs:documentation>Tipo Código do Pais
|
362
|
+
// PL_005d - 11/08/09
|
363
|
+
eliminado:
|
364
|
+
4235-LEBUAN, ILHAS -
|
365
|
+
acrescentado:
|
366
|
+
7200 SAO TOME E PRINCIPE, ILHAS,
|
367
|
+
8958 ZONA DO CANAL DO PANAMA
|
368
|
+
9903 PROVISAO DE NAVIOS E AERONAVES
|
369
|
+
9946 A DESIGNAR
|
370
|
+
9950 BANCOS CENTRAIS
|
371
|
+
9970 ORGANIZACOES INTERNACIONAIS
|
372
|
+
// PL_005b - 24/10/08
|
373
|
+
// Acrescentado:
|
374
|
+
4235 - LEBUAN,ILHAS
|
375
|
+
4885 - MAYOTTE (ILHAS FRANCESAS)
|
376
|
+
// NT2011/004
|
377
|
+
acrescentado a tabela de paises
|
378
|
+
//PL_006t - 21/03/2014
|
379
|
+
acrescentado:
|
380
|
+
5780 - Palestina
|
381
|
+
7600 - Sudão do Sul
|
382
|
+
</xs:documentation>
|
383
|
+
</xs:annotation>
|
384
|
+
<xs:restriction base="xs:string">
|
385
|
+
<xs:whiteSpace value="preserve"/>
|
386
|
+
<xs:enumeration value="132"/>
|
387
|
+
<xs:enumeration value="175"/>
|
388
|
+
<xs:enumeration value="230"/>
|
389
|
+
<xs:enumeration value="310"/>
|
390
|
+
<xs:enumeration value="370"/>
|
391
|
+
<xs:enumeration value="400"/>
|
392
|
+
<xs:enumeration value="418"/>
|
393
|
+
<xs:enumeration value="434"/>
|
394
|
+
<xs:enumeration value="477"/>
|
395
|
+
<xs:enumeration value="531"/>
|
396
|
+
<xs:enumeration value="590"/>
|
397
|
+
<xs:enumeration value="639"/>
|
398
|
+
<xs:enumeration value="647"/>
|
399
|
+
<xs:enumeration value="655"/>
|
400
|
+
<xs:enumeration value="698"/>
|
401
|
+
<xs:enumeration value="728"/>
|
402
|
+
<xs:enumeration value="736"/>
|
403
|
+
<xs:enumeration value="779"/>
|
404
|
+
<xs:enumeration value="809"/>
|
405
|
+
<xs:enumeration value="817"/>
|
406
|
+
<xs:enumeration value="833"/>
|
407
|
+
<xs:enumeration value="850"/>
|
408
|
+
<xs:enumeration value="876"/>
|
409
|
+
<xs:enumeration value="884"/>
|
410
|
+
<xs:enumeration value="906"/>
|
411
|
+
<xs:enumeration value="930"/>
|
412
|
+
<xs:enumeration value="973"/>
|
413
|
+
<xs:enumeration value="981"/>
|
414
|
+
<xs:enumeration value="0132"/>
|
415
|
+
<xs:enumeration value="0175"/>
|
416
|
+
<xs:enumeration value="0230"/>
|
417
|
+
<xs:enumeration value="0310"/>
|
418
|
+
<xs:enumeration value="0370"/>
|
419
|
+
<xs:enumeration value="0400"/>
|
420
|
+
<xs:enumeration value="0418"/>
|
421
|
+
<xs:enumeration value="0434"/>
|
422
|
+
<xs:enumeration value="0477"/>
|
423
|
+
<xs:enumeration value="0531"/>
|
424
|
+
<xs:enumeration value="0590"/>
|
425
|
+
<xs:enumeration value="0639"/>
|
426
|
+
<xs:enumeration value="0647"/>
|
427
|
+
<xs:enumeration value="0655"/>
|
428
|
+
<xs:enumeration value="0698"/>
|
429
|
+
<xs:enumeration value="0728"/>
|
430
|
+
<xs:enumeration value="0736"/>
|
431
|
+
<xs:enumeration value="0779"/>
|
432
|
+
<xs:enumeration value="0809"/>
|
433
|
+
<xs:enumeration value="0817"/>
|
434
|
+
<xs:enumeration value="0833"/>
|
435
|
+
<xs:enumeration value="0850"/>
|
436
|
+
<xs:enumeration value="0876"/>
|
437
|
+
<xs:enumeration value="0884"/>
|
438
|
+
<xs:enumeration value="0906"/>
|
439
|
+
<xs:enumeration value="0930"/>
|
440
|
+
<xs:enumeration value="0973"/>
|
441
|
+
<xs:enumeration value="0981"/>
|
442
|
+
<xs:enumeration value="1015"/>
|
443
|
+
<xs:enumeration value="1058"/>
|
444
|
+
<xs:enumeration value="1082"/>
|
445
|
+
<xs:enumeration value="1112"/>
|
446
|
+
<xs:enumeration value="1155"/>
|
447
|
+
<xs:enumeration value="1198"/>
|
448
|
+
<xs:enumeration value="1279"/>
|
449
|
+
<xs:enumeration value="1376"/>
|
450
|
+
<xs:enumeration value="1414"/>
|
451
|
+
<xs:enumeration value="1457"/>
|
452
|
+
<xs:enumeration value="1490"/>
|
453
|
+
<xs:enumeration value="1504"/>
|
454
|
+
<xs:enumeration value="1508"/>
|
455
|
+
<xs:enumeration value="1511"/>
|
456
|
+
<xs:enumeration value="1538"/>
|
457
|
+
<xs:enumeration value="1546"/>
|
458
|
+
<xs:enumeration value="1589"/>
|
459
|
+
<xs:enumeration value="1600"/>
|
460
|
+
<xs:enumeration value="1619"/>
|
461
|
+
<xs:enumeration value="1635"/>
|
462
|
+
<xs:enumeration value="1651"/>
|
463
|
+
<xs:enumeration value="1694"/>
|
464
|
+
<xs:enumeration value="1732"/>
|
465
|
+
<xs:enumeration value="1775"/>
|
466
|
+
<xs:enumeration value="1830"/>
|
467
|
+
<xs:enumeration value="1872"/>
|
468
|
+
<xs:enumeration value="1902"/>
|
469
|
+
<xs:enumeration value="1937"/>
|
470
|
+
<xs:enumeration value="1953"/>
|
471
|
+
<xs:enumeration value="1961"/>
|
472
|
+
<xs:enumeration value="1988"/>
|
473
|
+
<xs:enumeration value="1996"/>
|
474
|
+
<xs:enumeration value="2291"/>
|
475
|
+
<xs:enumeration value="2321"/>
|
476
|
+
<xs:enumeration value="2356"/>
|
477
|
+
<xs:enumeration value="2399"/>
|
478
|
+
<xs:enumeration value="2402"/>
|
479
|
+
<xs:enumeration value="2437"/>
|
480
|
+
<xs:enumeration value="2445"/>
|
481
|
+
<xs:enumeration value="2453"/>
|
482
|
+
<xs:enumeration value="2461"/>
|
483
|
+
<xs:enumeration value="2470"/>
|
484
|
+
<xs:enumeration value="2496"/>
|
485
|
+
<xs:enumeration value="2518"/>
|
486
|
+
<xs:enumeration value="2534"/>
|
487
|
+
<xs:enumeration value="2550"/>
|
488
|
+
<xs:enumeration value="2593"/>
|
489
|
+
<xs:enumeration value="2674"/>
|
490
|
+
<xs:enumeration value="2712"/>
|
491
|
+
<xs:enumeration value="2755"/>
|
492
|
+
<xs:enumeration value="2810"/>
|
493
|
+
<xs:enumeration value="2852"/>
|
494
|
+
<xs:enumeration value="2895"/>
|
495
|
+
<xs:enumeration value="2917"/>
|
496
|
+
<xs:enumeration value="2933"/>
|
497
|
+
<xs:enumeration value="2976"/>
|
498
|
+
<xs:enumeration value="3018"/>
|
499
|
+
<xs:enumeration value="3050"/>
|
500
|
+
<xs:enumeration value="3093"/>
|
501
|
+
<xs:enumeration value="3131"/>
|
502
|
+
<xs:enumeration value="3174"/>
|
503
|
+
<xs:enumeration value="3255"/>
|
504
|
+
<xs:enumeration value="3298"/>
|
505
|
+
<xs:enumeration value="3310"/>
|
506
|
+
<xs:enumeration value="3344"/>
|
507
|
+
<xs:enumeration value="3379"/>
|
508
|
+
<xs:enumeration value="3417"/>
|
509
|
+
<xs:enumeration value="3450"/>
|
510
|
+
<xs:enumeration value="3514"/>
|
511
|
+
<xs:enumeration value="3557"/>
|
512
|
+
<xs:enumeration value="3573"/>
|
513
|
+
<xs:enumeration value="3595"/>
|
514
|
+
<xs:enumeration value="3611"/>
|
515
|
+
<xs:enumeration value="3654"/>
|
516
|
+
<xs:enumeration value="3697"/>
|
517
|
+
<xs:enumeration value="3727"/>
|
518
|
+
<xs:enumeration value="3751"/>
|
519
|
+
<xs:enumeration value="3794"/>
|
520
|
+
<xs:enumeration value="3832"/>
|
521
|
+
<xs:enumeration value="3867"/>
|
522
|
+
<xs:enumeration value="3913"/>
|
523
|
+
<xs:enumeration value="3964"/>
|
524
|
+
<xs:enumeration value="3999"/>
|
525
|
+
<xs:enumeration value="4030"/>
|
526
|
+
<xs:enumeration value="4111"/>
|
527
|
+
<xs:enumeration value="4200"/>
|
528
|
+
<xs:enumeration value="4235"/>
|
529
|
+
<xs:enumeration value="4260"/>
|
530
|
+
<xs:enumeration value="4278"/>
|
531
|
+
<xs:enumeration value="4316"/>
|
532
|
+
<xs:enumeration value="4340"/>
|
533
|
+
<xs:enumeration value="4383"/>
|
534
|
+
<xs:enumeration value="4405"/>
|
535
|
+
<xs:enumeration value="4421"/>
|
536
|
+
<xs:enumeration value="4456"/>
|
537
|
+
<xs:enumeration value="4472"/>
|
538
|
+
<xs:enumeration value="4499"/>
|
539
|
+
<xs:enumeration value="4502"/>
|
540
|
+
<xs:enumeration value="4525"/>
|
541
|
+
<xs:enumeration value="4553"/>
|
542
|
+
<xs:enumeration value="4588"/>
|
543
|
+
<xs:enumeration value="4618"/>
|
544
|
+
<xs:enumeration value="4642"/>
|
545
|
+
<xs:enumeration value="4677"/>
|
546
|
+
<xs:enumeration value="4723"/>
|
547
|
+
<xs:enumeration value="4740"/>
|
548
|
+
<xs:enumeration value="4766"/>
|
549
|
+
<xs:enumeration value="4774"/>
|
550
|
+
<xs:enumeration value="4855"/>
|
551
|
+
<xs:enumeration value="4880"/>
|
552
|
+
<xs:enumeration value="4885"/>
|
553
|
+
<xs:enumeration value="4901"/>
|
554
|
+
<xs:enumeration value="4936"/>
|
555
|
+
<xs:enumeration value="4944"/>
|
556
|
+
<xs:enumeration value="4952"/>
|
557
|
+
<xs:enumeration value="4979"/>
|
558
|
+
<xs:enumeration value="4985"/>
|
559
|
+
<xs:enumeration value="4995"/>
|
560
|
+
<xs:enumeration value="5010"/>
|
561
|
+
<xs:enumeration value="5053"/>
|
562
|
+
<xs:enumeration value="5070"/>
|
563
|
+
<xs:enumeration value="5088"/>
|
564
|
+
<xs:enumeration value="5118"/>
|
565
|
+
<xs:enumeration value="5177"/>
|
566
|
+
<xs:enumeration value="5215"/>
|
567
|
+
<xs:enumeration value="5258"/>
|
568
|
+
<xs:enumeration value="5282"/>
|
569
|
+
<xs:enumeration value="5312"/>
|
570
|
+
<xs:enumeration value="5355"/>
|
571
|
+
<xs:enumeration value="5380"/>
|
572
|
+
<xs:enumeration value="5428"/>
|
573
|
+
<xs:enumeration value="5452"/>
|
574
|
+
<xs:enumeration value="5487"/>
|
575
|
+
<xs:enumeration value="5517"/>
|
576
|
+
<xs:enumeration value="5568"/>
|
577
|
+
<xs:enumeration value="5665"/>
|
578
|
+
<xs:enumeration value="5738"/>
|
579
|
+
<xs:enumeration value="5754"/>
|
580
|
+
<xs:enumeration value="5762"/>
|
581
|
+
<xs:enumeration value="5780"/>
|
582
|
+
<xs:enumeration value="5800"/>
|
583
|
+
<xs:enumeration value="5860"/>
|
584
|
+
<xs:enumeration value="5894"/>
|
585
|
+
<xs:enumeration value="5932"/>
|
586
|
+
<xs:enumeration value="5991"/>
|
587
|
+
<xs:enumeration value="6033"/>
|
588
|
+
<xs:enumeration value="6076"/>
|
589
|
+
<xs:enumeration value="6114"/>
|
590
|
+
<xs:enumeration value="6238"/>
|
591
|
+
<xs:enumeration value="6254"/>
|
592
|
+
<xs:enumeration value="6289"/>
|
593
|
+
<xs:enumeration value="6408"/>
|
594
|
+
<xs:enumeration value="6475"/>
|
595
|
+
<xs:enumeration value="6602"/>
|
596
|
+
<xs:enumeration value="6653"/>
|
597
|
+
<xs:enumeration value="6700"/>
|
598
|
+
<xs:enumeration value="6750"/>
|
599
|
+
<xs:enumeration value="6769"/>
|
600
|
+
<xs:enumeration value="6777"/>
|
601
|
+
<xs:enumeration value="6781"/>
|
602
|
+
<xs:enumeration value="6858"/>
|
603
|
+
<xs:enumeration value="6874"/>
|
604
|
+
<xs:enumeration value="6904"/>
|
605
|
+
<xs:enumeration value="6912"/>
|
606
|
+
<xs:enumeration value="6955"/>
|
607
|
+
<xs:enumeration value="6971"/>
|
608
|
+
<xs:enumeration value="7005"/>
|
609
|
+
<xs:enumeration value="7056"/>
|
610
|
+
<xs:enumeration value="7102"/>
|
611
|
+
<xs:enumeration value="7153"/>
|
612
|
+
<xs:enumeration value="7200"/>
|
613
|
+
<xs:enumeration value="7285"/>
|
614
|
+
<xs:enumeration value="7315"/>
|
615
|
+
<xs:enumeration value="7358"/>
|
616
|
+
<xs:enumeration value="7370"/>
|
617
|
+
<xs:enumeration value="7412"/>
|
618
|
+
<xs:enumeration value="7447"/>
|
619
|
+
<xs:enumeration value="7480"/>
|
620
|
+
<xs:enumeration value="7501"/>
|
621
|
+
<xs:enumeration value="7544"/>
|
622
|
+
<xs:enumeration value="7560"/>
|
623
|
+
<xs:enumeration value="7595"/>
|
624
|
+
<xs:enumeration value="7600"/>
|
625
|
+
<xs:enumeration value="7641"/>
|
626
|
+
<xs:enumeration value="7676"/>
|
627
|
+
<xs:enumeration value="7706"/>
|
628
|
+
<xs:enumeration value="7722"/>
|
629
|
+
<xs:enumeration value="7765"/>
|
630
|
+
<xs:enumeration value="7803"/>
|
631
|
+
<xs:enumeration value="7820"/>
|
632
|
+
<xs:enumeration value="7838"/>
|
633
|
+
<xs:enumeration value="7889"/>
|
634
|
+
<xs:enumeration value="7919"/>
|
635
|
+
<xs:enumeration value="7951"/>
|
636
|
+
<xs:enumeration value="8001"/>
|
637
|
+
<xs:enumeration value="8052"/>
|
638
|
+
<xs:enumeration value="8109"/>
|
639
|
+
<xs:enumeration value="8150"/>
|
640
|
+
<xs:enumeration value="8206"/>
|
641
|
+
<xs:enumeration value="8230"/>
|
642
|
+
<xs:enumeration value="8249"/>
|
643
|
+
<xs:enumeration value="8273"/>
|
644
|
+
<xs:enumeration value="8281"/>
|
645
|
+
<xs:enumeration value="8311"/>
|
646
|
+
<xs:enumeration value="8338"/>
|
647
|
+
<xs:enumeration value="8451"/>
|
648
|
+
<xs:enumeration value="8478"/>
|
649
|
+
<xs:enumeration value="8486"/>
|
650
|
+
<xs:enumeration value="8508"/>
|
651
|
+
<xs:enumeration value="8583"/>
|
652
|
+
<xs:enumeration value="8630"/>
|
653
|
+
<xs:enumeration value="8664"/>
|
654
|
+
<xs:enumeration value="8702"/>
|
655
|
+
<xs:enumeration value="8737"/>
|
656
|
+
<xs:enumeration value="8885"/>
|
657
|
+
<xs:enumeration value="8907"/>
|
658
|
+
<xs:enumeration value="8958"/>
|
659
|
+
<xs:enumeration value="9903"/>
|
660
|
+
<xs:enumeration value="9946"/>
|
661
|
+
<xs:enumeration value="9950"/>
|
662
|
+
<xs:enumeration value="9970"/>
|
663
|
+
</xs:restriction>
|
664
|
+
</xs:simpleType>
|
665
|
+
<xs:simpleType name="TUf">
|
666
|
+
<xs:annotation>
|
667
|
+
<xs:documentation>Tipo Sigla da UF</xs:documentation>
|
668
|
+
</xs:annotation>
|
669
|
+
<xs:restriction base="xs:string">
|
670
|
+
<xs:whiteSpace value="preserve"/>
|
671
|
+
<xs:enumeration value="AC"/>
|
672
|
+
<xs:enumeration value="AL"/>
|
673
|
+
<xs:enumeration value="AM"/>
|
674
|
+
<xs:enumeration value="AP"/>
|
675
|
+
<xs:enumeration value="BA"/>
|
676
|
+
<xs:enumeration value="CE"/>
|
677
|
+
<xs:enumeration value="DF"/>
|
678
|
+
<xs:enumeration value="ES"/>
|
679
|
+
<xs:enumeration value="GO"/>
|
680
|
+
<xs:enumeration value="MA"/>
|
681
|
+
<xs:enumeration value="MG"/>
|
682
|
+
<xs:enumeration value="MS"/>
|
683
|
+
<xs:enumeration value="MT"/>
|
684
|
+
<xs:enumeration value="PA"/>
|
685
|
+
<xs:enumeration value="PB"/>
|
686
|
+
<xs:enumeration value="PE"/>
|
687
|
+
<xs:enumeration value="PI"/>
|
688
|
+
<xs:enumeration value="PR"/>
|
689
|
+
<xs:enumeration value="RJ"/>
|
690
|
+
<xs:enumeration value="RN"/>
|
691
|
+
<xs:enumeration value="RO"/>
|
692
|
+
<xs:enumeration value="RR"/>
|
693
|
+
<xs:enumeration value="RS"/>
|
694
|
+
<xs:enumeration value="SC"/>
|
695
|
+
<xs:enumeration value="SE"/>
|
696
|
+
<xs:enumeration value="SP"/>
|
697
|
+
<xs:enumeration value="TO"/>
|
698
|
+
<xs:enumeration value="EX"/>
|
699
|
+
</xs:restriction>
|
700
|
+
</xs:simpleType>
|
701
|
+
<xs:simpleType name="TUfEmi">
|
702
|
+
<xs:annotation>
|
703
|
+
<xs:documentation>Tipo Sigla da UF de emissor // acrescentado em 24/10/08 </xs:documentation>
|
704
|
+
</xs:annotation>
|
705
|
+
<xs:restriction base="xs:string">
|
706
|
+
<xs:whiteSpace value="preserve"/>
|
707
|
+
<xs:enumeration value="AC"/>
|
708
|
+
<xs:enumeration value="AL"/>
|
709
|
+
<xs:enumeration value="AM"/>
|
710
|
+
<xs:enumeration value="AP"/>
|
711
|
+
<xs:enumeration value="BA"/>
|
712
|
+
<xs:enumeration value="CE"/>
|
713
|
+
<xs:enumeration value="DF"/>
|
714
|
+
<xs:enumeration value="ES"/>
|
715
|
+
<xs:enumeration value="GO"/>
|
716
|
+
<xs:enumeration value="MA"/>
|
717
|
+
<xs:enumeration value="MG"/>
|
718
|
+
<xs:enumeration value="MS"/>
|
719
|
+
<xs:enumeration value="MT"/>
|
720
|
+
<xs:enumeration value="PA"/>
|
721
|
+
<xs:enumeration value="PB"/>
|
722
|
+
<xs:enumeration value="PE"/>
|
723
|
+
<xs:enumeration value="PI"/>
|
724
|
+
<xs:enumeration value="PR"/>
|
725
|
+
<xs:enumeration value="RJ"/>
|
726
|
+
<xs:enumeration value="RN"/>
|
727
|
+
<xs:enumeration value="RO"/>
|
728
|
+
<xs:enumeration value="RR"/>
|
729
|
+
<xs:enumeration value="RS"/>
|
730
|
+
<xs:enumeration value="SC"/>
|
731
|
+
<xs:enumeration value="SE"/>
|
732
|
+
<xs:enumeration value="SP"/>
|
733
|
+
<xs:enumeration value="TO"/>
|
734
|
+
</xs:restriction>
|
735
|
+
</xs:simpleType>
|
736
|
+
<xs:simpleType name="TAmb">
|
737
|
+
<xs:annotation>
|
738
|
+
<xs:documentation>Tipo Ambiente</xs:documentation>
|
739
|
+
</xs:annotation>
|
740
|
+
<xs:restriction base="xs:string">
|
741
|
+
<xs:whiteSpace value="preserve"/>
|
742
|
+
<xs:enumeration value="1"/>
|
743
|
+
<xs:enumeration value="2"/>
|
744
|
+
</xs:restriction>
|
745
|
+
</xs:simpleType>
|
746
|
+
<xs:simpleType name="TVerAplic">
|
747
|
+
<xs:annotation>
|
748
|
+
<xs:documentation>Tipo Versão do Aplicativo</xs:documentation>
|
749
|
+
</xs:annotation>
|
750
|
+
<xs:restriction base="nfe:TString">
|
751
|
+
<xs:minLength value="1"/>
|
752
|
+
<xs:maxLength value="20"/>
|
753
|
+
</xs:restriction>
|
754
|
+
</xs:simpleType>
|
755
|
+
<xs:simpleType name="TMotivo">
|
756
|
+
<xs:annotation>
|
757
|
+
<xs:documentation>Tipo Motivo</xs:documentation>
|
758
|
+
</xs:annotation>
|
759
|
+
<xs:restriction base="nfe:TString">
|
760
|
+
<xs:maxLength value="255"/>
|
761
|
+
<xs:minLength value="1"/>
|
762
|
+
</xs:restriction>
|
763
|
+
</xs:simpleType>
|
764
|
+
<xs:simpleType name="TJust">
|
765
|
+
<xs:annotation>
|
766
|
+
<xs:documentation>Tipo Justificativa</xs:documentation>
|
767
|
+
</xs:annotation>
|
768
|
+
<xs:restriction base="nfe:TString">
|
769
|
+
<xs:minLength value="15"/>
|
770
|
+
<xs:maxLength value="255"/>
|
771
|
+
</xs:restriction>
|
772
|
+
</xs:simpleType>
|
773
|
+
<xs:simpleType name="TServ">
|
774
|
+
<xs:annotation>
|
775
|
+
<xs:documentation>Tipo Serviço solicitado</xs:documentation>
|
776
|
+
</xs:annotation>
|
777
|
+
<xs:restriction base="nfe:TString"/>
|
778
|
+
</xs:simpleType>
|
779
|
+
<xs:simpleType name="Tano">
|
780
|
+
<xs:annotation>
|
781
|
+
<xs:documentation> Tipo ano</xs:documentation>
|
782
|
+
</xs:annotation>
|
783
|
+
<xs:restriction base="xs:string">
|
784
|
+
<xs:whiteSpace value="preserve"/>
|
785
|
+
<xs:pattern value="[0-9]{2}"/>
|
786
|
+
</xs:restriction>
|
787
|
+
</xs:simpleType>
|
788
|
+
<xs:simpleType name="TMed">
|
789
|
+
<xs:annotation>
|
790
|
+
<xs:documentation> Tipo temp médio em segundos</xs:documentation>
|
791
|
+
</xs:annotation>
|
792
|
+
<xs:restriction base="xs:string">
|
793
|
+
<xs:whiteSpace value="preserve"/>
|
794
|
+
<xs:pattern value="[0-9]{1,4}"/>
|
795
|
+
</xs:restriction>
|
796
|
+
</xs:simpleType>
|
797
|
+
<xs:simpleType name="TString">
|
798
|
+
<xs:annotation>
|
799
|
+
<xs:documentation> Tipo string genérico</xs:documentation>
|
800
|
+
</xs:annotation>
|
801
|
+
<xs:restriction base="xs:string">
|
802
|
+
<xs:whiteSpace value="preserve"/>
|
803
|
+
<xs:pattern value="[!-ÿ]{1}[ -ÿ]*[!-ÿ]{1}|[!-ÿ]{1}"/>
|
804
|
+
</xs:restriction>
|
805
|
+
</xs:simpleType>
|
806
|
+
<xs:simpleType name="TData">
|
807
|
+
<xs:annotation>
|
808
|
+
<xs:documentation> Tipo data AAAA-MM-DD</xs:documentation>
|
809
|
+
</xs:annotation>
|
810
|
+
<xs:restriction base="xs:string">
|
811
|
+
<xs:whiteSpace value="preserve"/>
|
812
|
+
<xs:pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))"/>
|
813
|
+
</xs:restriction>
|
814
|
+
</xs:simpleType>
|
815
|
+
<xs:simpleType name="TTime">
|
816
|
+
<xs:annotation>
|
817
|
+
<xs:documentation> Tipo hora HH:MM:SS // tipo acrescentado na v2.0</xs:documentation>
|
818
|
+
</xs:annotation>
|
819
|
+
<xs:restriction base="xs:string">
|
820
|
+
<xs:whiteSpace value="preserve"/>
|
821
|
+
<xs:pattern value="(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])"/>
|
822
|
+
</xs:restriction>
|
823
|
+
</xs:simpleType>
|
824
|
+
<xs:simpleType name="TDateTimeUTC">
|
825
|
+
<xs:annotation>
|
826
|
+
<xs:documentation>Data e Hora, formato UTC (AAAA-MM-DDThh:mm:ssTZD, onde TZD = +hh:mm ou -hh:mm)</xs:documentation>
|
827
|
+
</xs:annotation>
|
828
|
+
<xs:restriction base="xs:string">
|
829
|
+
<xs:whiteSpace value="preserve"/>
|
830
|
+
<xs:pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d([\-,\+](0[0-9]|10|11):00|([\+](12):00))"/>
|
831
|
+
</xs:restriction>
|
832
|
+
</xs:simpleType>
|
833
|
+
<xs:simpleType name="TPlaca">
|
834
|
+
<xs:restriction base="xs:string">
|
835
|
+
<xs:whiteSpace value="preserve"/>
|
836
|
+
<xs:pattern value="[A-Z]{2,3}[0-9]{4}|[A-Z]{3,4}[0-9]{3}"/>
|
837
|
+
</xs:restriction>
|
838
|
+
</xs:simpleType>
|
839
|
+
<xs:simpleType name="TCOrgaoIBGE">
|
840
|
+
<xs:annotation>
|
841
|
+
<xs:documentation>Tipo Código de orgão (UF da tabela do IBGE + 90 RFB)</xs:documentation>
|
842
|
+
</xs:annotation>
|
843
|
+
<xs:restriction base="xs:string">
|
844
|
+
<xs:whiteSpace value="preserve"/>
|
845
|
+
<xs:enumeration value="11"/>
|
846
|
+
<xs:enumeration value="12"/>
|
847
|
+
<xs:enumeration value="13"/>
|
848
|
+
<xs:enumeration value="14"/>
|
849
|
+
<xs:enumeration value="15"/>
|
850
|
+
<xs:enumeration value="16"/>
|
851
|
+
<xs:enumeration value="17"/>
|
852
|
+
<xs:enumeration value="21"/>
|
853
|
+
<xs:enumeration value="22"/>
|
854
|
+
<xs:enumeration value="23"/>
|
855
|
+
<xs:enumeration value="24"/>
|
856
|
+
<xs:enumeration value="25"/>
|
857
|
+
<xs:enumeration value="26"/>
|
858
|
+
<xs:enumeration value="27"/>
|
859
|
+
<xs:enumeration value="28"/>
|
860
|
+
<xs:enumeration value="29"/>
|
861
|
+
<xs:enumeration value="31"/>
|
862
|
+
<xs:enumeration value="32"/>
|
863
|
+
<xs:enumeration value="33"/>
|
864
|
+
<xs:enumeration value="35"/>
|
865
|
+
<xs:enumeration value="41"/>
|
866
|
+
<xs:enumeration value="42"/>
|
867
|
+
<xs:enumeration value="43"/>
|
868
|
+
<xs:enumeration value="50"/>
|
869
|
+
<xs:enumeration value="51"/>
|
870
|
+
<xs:enumeration value="52"/>
|
871
|
+
<xs:enumeration value="53"/>
|
872
|
+
<xs:enumeration value="90"/>
|
873
|
+
<xs:enumeration value="91"/>
|
874
|
+
<xs:enumeration value="92"/>
|
875
|
+
</xs:restriction>
|
876
|
+
</xs:simpleType>
|
877
|
+
</xs:schema>
|