node-sped-nfe 1.1.5 → 1.1.7
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.
- package/README.md +16 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/utils/eventos.js +74 -76
- package/dist/utils/extras.d.ts +3 -1
- package/dist/utils/extras.js +49 -1
- package/dist/utils/tools.d.ts +13 -0
- package/dist/utils/tools.js +278 -61
- package/package.json +5 -3
- package/schemas/PL_009_V4/110150_v1.00.xsd +88 -0
- package/schemas/PL_009_V4/Averb_v1.00.xsd +11 -0
- package/schemas/PL_009_V4/CCe_v1.00.xsd +11 -0
- package/schemas/PL_009_V4/EPEC_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/EPP1.xml +13 -0
- package/schemas/PL_009_V4/ERP1.xml +19 -0
- package/schemas/PL_009_V4/EventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/EventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/EventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/EventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/MT_inutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/SuframaInternaliza_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/SuframaVistoria_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/confRecebto_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/consCad_v2.00.xsd +9 -0
- package/schemas/PL_009_V4/consGTIN_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/consNFeDest_v1.01.xsd +10 -0
- package/schemas/PL_009_V4/consReciNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/consReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/consSitNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/consSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/consStatServ_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/consStatServ_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/distDFeInt_v1.00.xsd +71 -0
- package/schemas/PL_009_V4/distDFeInt_v1.01.xsd +97 -0
- package/schemas/PL_009_V4/downloadNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/e110110_v1.00.xsd +58 -0
- package/schemas/PL_009_V4/e110111_v1.00.xsd +42 -0
- package/schemas/PL_009_V4/e110112_v1.00.xsd +69 -0
- package/schemas/PL_009_V4/e110130_v1.00.xsd +102 -0
- package/schemas/PL_009_V4/e110131_v1.00.xsd +51 -0
- package/schemas/PL_009_V4/e110140NFCe_v1.00.xsd +118 -0
- package/schemas/PL_009_V4/e110140NFe_v1.00.xsd +124 -0
- package/schemas/PL_009_V4/e110140_v1.00.xsd +124 -0
- package/schemas/PL_009_V4/e110150_v1.00.xsd +88 -0
- package/schemas/PL_009_V4/e110192_v1.00.xsd +106 -0
- package/schemas/PL_009_V4/e110193_v1.00.xsd +40 -0
- package/schemas/PL_009_V4/e110750_v1.00.xsd +138 -0
- package/schemas/PL_009_V4/e110751_v1.00.xsd +39 -0
- package/schemas/PL_009_V4/e111500_v1.00.xsd +69 -0
- package/schemas/PL_009_V4/e111501_v1.00.xsd +69 -0
- package/schemas/PL_009_V4/e111502_v1.00.xsd +50 -0
- package/schemas/PL_009_V4/e111503_v1.00.xsd +50 -0
- package/schemas/PL_009_V4/e210200_v1.00.xsd +31 -0
- package/schemas/PL_009_V4/e210210_v1.00.xsd +31 -0
- package/schemas/PL_009_V4/e210220_v1.00.xsd +44 -0
- package/schemas/PL_009_V4/e210240_v1.00.xsd +44 -0
- package/schemas/PL_009_V4/e411500_v1.00.xsd +134 -0
- package/schemas/PL_009_V4/e411501_v1.00.xsd +134 -0
- package/schemas/PL_009_V4/e411502_v1.00.xsd +95 -0
- package/schemas/PL_009_V4/e411503_v1.00.xsd +95 -0
- package/schemas/PL_009_V4/e610130_v1.00.xsd +128 -0
- package/schemas/PL_009_V4/e610131_v1.00.xsd +68 -0
- package/schemas/PL_009_V4/e790700_v1.00.xsd +125 -0
- package/schemas/PL_009_V4/e990900_v1.00.xsd +87 -0
- package/schemas/PL_009_V4/e990910_v1.00.xsd +81 -0
- package/schemas/PL_009_V4/envAverb_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envCCe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envCancelPProrrogNFe_v1.0.xsd +50 -0
- package/schemas/PL_009_V4/envComprovanteEntregaNFe_v1.00.xsd +11 -0
- package/schemas/PL_009_V4/envConfRecebto_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envEPEC_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envEventoCancEConf_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envEventoEConf_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEventoInsucessoNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envEvento_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envFiscoNfe_v1.0.xsd +179 -0
- package/schemas/PL_009_V4/envPProrrogNFe_v1.0.xsd +65 -0
- package/schemas/PL_009_V4/envRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/envSuframaInternaliza_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/envSuframaVistoria_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/enviNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/enviNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoEPEC_v0.01.xsd +267 -0
- package/schemas/PL_009_V4/eventoEPEC_v1.00.xsd +231 -0
- package/schemas/PL_009_V4/eventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/eventoRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/inutNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/inutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/leiauteAverb_v1.00.xsd +482 -0
- package/schemas/PL_009_V4/leiauteCCe_v1.00.xsd +382 -0
- package/schemas/PL_009_V4/leiauteCcgConsGTIN_v1.00.xsd +94 -0
- package/schemas/PL_009_V4/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
- package/schemas/PL_009_V4/leiauteConfRecebto_v1.00.xsd +369 -0
- package/schemas/PL_009_V4/leiauteConsNFeDest_v1.01.xsd +483 -0
- package/schemas/PL_009_V4/leiauteConsSitNFe_v3.10.xsd +502 -0
- package/schemas/PL_009_V4/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/schemas/PL_009_V4/leiauteConsStatServ_v3.10.xsd +98 -0
- package/schemas/PL_009_V4/leiauteConsStatServ_v4.00.xsd +98 -0
- package/schemas/PL_009_V4/leiauteConsultaCadastro_v2.00.xsd +404 -0
- package/schemas/PL_009_V4/leiauteDownloadNFe_v1.00.xsd +149 -0
- package/schemas/PL_009_V4/leiauteEPEC_v1.00.xsd +423 -0
- package/schemas/PL_009_V4/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
- package/schemas/PL_009_V4/leiauteEventoCancEConf_v1.00.xsd +296 -0
- package/schemas/PL_009_V4/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/schemas/PL_009_V4/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
- package/schemas/PL_009_V4/leiauteEventoCancNFe_v1.00.xsd +358 -0
- package/schemas/PL_009_V4/leiauteEventoCancSubst_v1.00.xsd +366 -0
- package/schemas/PL_009_V4/leiauteEventoEConf_v1.00.xsd +296 -0
- package/schemas/PL_009_V4/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/schemas/PL_009_V4/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
- package/schemas/PL_009_V4/leiauteEvento_v1.00.xsd +335 -0
- package/schemas/PL_009_V4/leiauteInutNFe_v3.10.xsd +193 -0
- package/schemas/PL_009_V4/leiauteInutNFe_v4.00.xsd +193 -0
- package/schemas/PL_009_V4/leiauteInutNFe_v4.00_MT.xsd +200 -0
- package/schemas/PL_009_V4/leiauteNFe_v3.10.xsd +6060 -0
- package/schemas/PL_009_V4/leiauteNFe_v4.00.xsd +7412 -0
- package/schemas/PL_009_V4/leiauteRemIndus_v1.00.xsd +344 -0
- package/schemas/PL_009_V4/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- package/schemas/PL_009_V4/leiauteSuframaVistoria_v1.00.xsd +648 -0
- package/schemas/PL_009_V4/nfe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/nfe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/procAverbNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/procCCeNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/procComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/procConfRecebtoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEPEC_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/procEventoNFe_v99.99.xsd +37 -0
- package/schemas/PL_009_V4/procInutNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/procInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/procNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/procNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/procRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/prod_leiauteNFe_v4.00.xsd +6736 -0
- package/schemas/PL_009_V4/resEvento_v1.00.xsd +94 -0
- package/schemas/PL_009_V4/resEvento_v1.01.xsd +108 -0
- package/schemas/PL_009_V4/resNFe_v1.00.xsd +110 -0
- package/schemas/PL_009_V4/resNFe_v1.01.xsd +122 -0
- package/schemas/PL_009_V4/retComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/retConsCad_v2.00.xsd +9 -0
- package/schemas/PL_009_V4/retConsGTIN_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retConsReciNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/retConsReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/retConsSitNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/retConsSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/retConsStatServ_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/retConsStatServ_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/retDistDFeInt_v1.00.xsd +84 -0
- package/schemas/PL_009_V4/retDistDFeInt_v1.01.xsd +99 -0
- package/schemas/PL_009_V4/retDownloadNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvAverb_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvAverb_v1.00_1.xsd +9 -0
- package/schemas/PL_009_V4/retEnvCCe_v1.00.xsd +10 -0
- package/schemas/PL_009_V4/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- package/schemas/PL_009_V4/retEnvConfRecebto_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvEPEC_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvEvento_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvFiscoNFe_v1.0.xsd +234 -0
- package/schemas/PL_009_V4/retEnvRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnvSuframaVistoria_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEnviNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/retEnviNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoEPEC_v0.01.xsd +207 -0
- package/schemas/PL_009_V4/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retEventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_009_V4/retInutNFe_v3.10.xsd +9 -0
- package/schemas/PL_009_V4/retInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009_V4/retPProrrogNFe_v1.0.xsd +233 -0
- package/schemas/PL_009_V4/retconsNFeDest_v1.01.xsd +9 -0
- package/schemas/PL_009_V4/tiposBasico_v1.03.xsd +871 -0
- package/schemas/PL_009_V4/tiposBasico_v3.10.xsd +571 -0
- package/schemas/PL_009_V4/tiposBasico_v4.00.xsd +598 -0
- package/schemas/PL_009_V4/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
- package/schemas/PL_009_V4/tiposDistDFe_v1.00.xsd +217 -0
- package/schemas/PL_009_V4/tiposDistDFe_v1.01.xsd +222 -0
- package/schemas/PL_009_V4/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/PL_009p_NT2024_003/consReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/consSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/consStatServ_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/enviNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/inutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/schemas/PL_009p_NT2024_003/leiauteConsStatServ_v4.00.xsd +98 -0
- package/schemas/PL_009p_NT2024_003/leiauteInutNFe_v4.00.xsd +193 -0
- package/schemas/PL_009p_NT2024_003/leiauteNFe_v4.00.xsd +7412 -0
- package/schemas/PL_009p_NT2024_003/nfe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/procInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/procNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/retConsReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/retConsSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/retConsStatServ_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/retEnviNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/retInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_009p_NT2024_003/tiposBasico_v4.00.xsd +598 -0
- package/schemas/PL_009p_NT2024_003/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/PL_010_V1/110150_v1.00.xsd +88 -0
- package/schemas/PL_010_V1/Averb_v1.00.xsd +11 -0
- package/schemas/PL_010_V1/CCe_v1.00.xsd +11 -0
- package/schemas/PL_010_V1/DFeTiposBasicos_v1.00.xsd +938 -0
- package/schemas/PL_010_V1/EPEC_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/EPP1.xml +13 -0
- package/schemas/PL_010_V1/ERP1.xml +19 -0
- package/schemas/PL_010_V1/EventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/EventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/EventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/EventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/MT_inutNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/SuframaInternaliza_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/SuframaVistoria_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/confRecebto_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/consCad_v2.00.xsd +9 -0
- package/schemas/PL_010_V1/consGTIN_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/consNFeDest_v1.01.xsd +10 -0
- package/schemas/PL_010_V1/consReciNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/consReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/consSitNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/consSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/consStatServ_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/consStatServ_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/distDFeInt_v1.00.xsd +71 -0
- package/schemas/PL_010_V1/distDFeInt_v1.01.xsd +97 -0
- package/schemas/PL_010_V1/downloadNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/e110110_v1.00.xsd +58 -0
- package/schemas/PL_010_V1/e110111_v1.00.xsd +42 -0
- package/schemas/PL_010_V1/e110112_v1.00.xsd +69 -0
- package/schemas/PL_010_V1/e110130_v1.00.xsd +102 -0
- package/schemas/PL_010_V1/e110131_v1.00.xsd +51 -0
- package/schemas/PL_010_V1/e110140NFCe_v1.00.xsd +118 -0
- package/schemas/PL_010_V1/e110140NFe_v1.00.xsd +124 -0
- package/schemas/PL_010_V1/e110140_v1.00.xsd +124 -0
- package/schemas/PL_010_V1/e110150_v1.00.xsd +88 -0
- package/schemas/PL_010_V1/e110192_v1.00.xsd +106 -0
- package/schemas/PL_010_V1/e110193_v1.00.xsd +40 -0
- package/schemas/PL_010_V1/e110750_v1.00.xsd +138 -0
- package/schemas/PL_010_V1/e110751_v1.00.xsd +39 -0
- package/schemas/PL_010_V1/e111500_v1.00.xsd +69 -0
- package/schemas/PL_010_V1/e111501_v1.00.xsd +69 -0
- package/schemas/PL_010_V1/e111502_v1.00.xsd +50 -0
- package/schemas/PL_010_V1/e111503_v1.00.xsd +50 -0
- package/schemas/PL_010_V1/e210200_v1.00.xsd +31 -0
- package/schemas/PL_010_V1/e210210_v1.00.xsd +31 -0
- package/schemas/PL_010_V1/e210220_v1.00.xsd +44 -0
- package/schemas/PL_010_V1/e210240_v1.00.xsd +44 -0
- package/schemas/PL_010_V1/e411500_v1.00.xsd +134 -0
- package/schemas/PL_010_V1/e411501_v1.00.xsd +134 -0
- package/schemas/PL_010_V1/e411502_v1.00.xsd +95 -0
- package/schemas/PL_010_V1/e411503_v1.00.xsd +95 -0
- package/schemas/PL_010_V1/e610130_v1.00.xsd +128 -0
- package/schemas/PL_010_V1/e610131_v1.00.xsd +68 -0
- package/schemas/PL_010_V1/e790700_v1.00.xsd +125 -0
- package/schemas/PL_010_V1/e990900_v1.00.xsd +87 -0
- package/schemas/PL_010_V1/e990910_v1.00.xsd +81 -0
- package/schemas/PL_010_V1/envAverb_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envCCe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envCancelPProrrogNFe_v1.0.xsd +50 -0
- package/schemas/PL_010_V1/envComprovanteEntregaNFe_v1.00.xsd +11 -0
- package/schemas/PL_010_V1/envConfRecebto_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envEPEC_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envEventoCancEConf_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envEventoEConf_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEventoInsucessoNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envEvento_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envFiscoNfe_v1.0.xsd +179 -0
- package/schemas/PL_010_V1/envPProrrogNFe_v1.0.xsd +65 -0
- package/schemas/PL_010_V1/envRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/envSuframaInternaliza_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/envSuframaVistoria_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/enviNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/enviNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoEPEC_v0.01.xsd +267 -0
- package/schemas/PL_010_V1/eventoEPEC_v1.00.xsd +231 -0
- package/schemas/PL_010_V1/eventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/eventoRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/inutNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/inutNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/leiauteAverb_v1.00.xsd +482 -0
- package/schemas/PL_010_V1/leiauteCCe_v1.00.xsd +382 -0
- package/schemas/PL_010_V1/leiauteCcgConsGTIN_v1.00.xsd +94 -0
- package/schemas/PL_010_V1/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
- package/schemas/PL_010_V1/leiauteConfRecebto_v1.00.xsd +369 -0
- package/schemas/PL_010_V1/leiauteConsNFeDest_v1.01.xsd +483 -0
- package/schemas/PL_010_V1/leiauteConsSitNFe_v3.10.xsd +502 -0
- package/schemas/PL_010_V1/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/schemas/PL_010_V1/leiauteConsStatServ_v3.10.xsd +98 -0
- package/schemas/PL_010_V1/leiauteConsStatServ_v4.00.xsd +98 -0
- package/schemas/PL_010_V1/leiauteConsultaCadastro_v2.00.xsd +404 -0
- package/schemas/PL_010_V1/leiauteDownloadNFe_v1.00.xsd +149 -0
- package/schemas/PL_010_V1/leiauteEPEC_v1.00.xsd +423 -0
- package/schemas/PL_010_V1/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
- package/schemas/PL_010_V1/leiauteEventoCancEConf_v1.00.xsd +296 -0
- package/schemas/PL_010_V1/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/schemas/PL_010_V1/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
- package/schemas/PL_010_V1/leiauteEventoCancNFe_v1.00.xsd +358 -0
- package/schemas/PL_010_V1/leiauteEventoCancSubst_v1.00.xsd +366 -0
- package/schemas/PL_010_V1/leiauteEventoEConf_v1.00.xsd +296 -0
- package/schemas/PL_010_V1/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/schemas/PL_010_V1/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
- package/schemas/PL_010_V1/leiauteEvento_v1.00.xsd +335 -0
- package/schemas/PL_010_V1/leiauteInutNFe_v3.10.xsd +193 -0
- package/schemas/PL_010_V1/leiauteInutNFe_v4.00.xsd +193 -0
- package/schemas/PL_010_V1/leiauteInutNFe_v4.00_MT.xsd +200 -0
- package/schemas/PL_010_V1/leiauteNFe_v3.10.xsd +6060 -0
- package/schemas/PL_010_V1/leiauteNFe_v4.00.xsd +7438 -0
- package/schemas/PL_010_V1/leiauteRemIndus_v1.00.xsd +344 -0
- package/schemas/PL_010_V1/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- package/schemas/PL_010_V1/leiauteSuframaVistoria_v1.00.xsd +648 -0
- package/schemas/PL_010_V1/nfe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/nfe_v4.00.xsd +10 -0
- package/schemas/PL_010_V1/procAverbNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/procCCeNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/procComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/procConfRecebtoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEPEC_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/procEventoNFe_v99.99.xsd +37 -0
- package/schemas/PL_010_V1/procInutNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/procInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/procNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/procNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/procRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/prod_leiauteNFe_v4.00.xsd +6736 -0
- package/schemas/PL_010_V1/resEvento_v1.00.xsd +94 -0
- package/schemas/PL_010_V1/resEvento_v1.01.xsd +108 -0
- package/schemas/PL_010_V1/resNFe_v1.00.xsd +110 -0
- package/schemas/PL_010_V1/resNFe_v1.01.xsd +122 -0
- package/schemas/PL_010_V1/retComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/retConsCad_v2.00.xsd +9 -0
- package/schemas/PL_010_V1/retConsGTIN_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retConsReciNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/retConsReciNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/retConsSitNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/retConsSitNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/retConsStatServ_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/retConsStatServ_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/retDistDFeInt_v1.00.xsd +84 -0
- package/schemas/PL_010_V1/retDistDFeInt_v1.01.xsd +99 -0
- package/schemas/PL_010_V1/retDownloadNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvAverb_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvAverb_v1.00_1.xsd +9 -0
- package/schemas/PL_010_V1/retEnvCCe_v1.00.xsd +10 -0
- package/schemas/PL_010_V1/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- package/schemas/PL_010_V1/retEnvConfRecebto_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvEPEC_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvEventoCancNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvEventoCancSubst_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvEvento_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvFiscoNFe_v1.0.xsd +234 -0
- package/schemas/PL_010_V1/retEnvRemIndus_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnvSuframaVistoria_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEnviNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/retEnviNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoCancEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoEConf_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoEPEC_v0.01.xsd +207 -0
- package/schemas/PL_010_V1/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retEventoInsucessoNFe_v1.00.xsd +9 -0
- package/schemas/PL_010_V1/retInutNFe_v3.10.xsd +9 -0
- package/schemas/PL_010_V1/retInutNFe_v4.00.xsd +9 -0
- package/schemas/PL_010_V1/retPProrrogNFe_v1.0.xsd +233 -0
- package/schemas/PL_010_V1/retconsNFeDest_v1.01.xsd +9 -0
- package/schemas/PL_010_V1/tiposBasico_v1.03.xsd +871 -0
- package/schemas/PL_010_V1/tiposBasico_v3.10.xsd +571 -0
- package/schemas/PL_010_V1/tiposBasico_v4.00.xsd +598 -0
- package/schemas/PL_010_V1/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
- package/schemas/PL_010_V1/tiposDistDFe_v1.00.xsd +217 -0
- package/schemas/PL_010_V1/tiposDistDFe_v1.01.xsd +222 -0
- package/schemas/PL_010_V1/xmldsig-core-schema_v1.01.xsd +98 -0
- package/schemas/Teste/EventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/EventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/e110130_v1.00.xsd +102 -0
- package/schemas/Teste/e110131_v1.00.xsd +51 -0
- package/schemas/Teste/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/schemas/Teste/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/schemas/Teste/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/schemas/Teste/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/schemas/Teste/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/schemas/Teste/tiposBasico_v1.03.xsd +871 -0
- package/schemas/Teste/xmldsig-core-schema_v1.01.xsd +98 -0
@@ -0,0 +1,487 @@
|
|
1
|
+
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
2
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
|
3
|
+
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
|
4
|
+
<xs:complexType name="TEvento">
|
5
|
+
<xs:annotation>
|
6
|
+
<xs:documentation>Tipo Evento</xs:documentation>
|
7
|
+
</xs:annotation>
|
8
|
+
<xs:sequence>
|
9
|
+
<xs:element name="infEvento">
|
10
|
+
<xs:complexType>
|
11
|
+
<xs:sequence>
|
12
|
+
<xs:element name="cOrgao" type="TCOrgaoIBGE">
|
13
|
+
<xs:annotation>
|
14
|
+
<xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 90 para identificar o Ambiente Nacional</xs:documentation>
|
15
|
+
</xs:annotation>
|
16
|
+
</xs:element>
|
17
|
+
<xs:element name="tpAmb" type="TAmb">
|
18
|
+
<xs:annotation>
|
19
|
+
<xs:documentation>Identificação do Ambiente:
|
20
|
+
1 - Produção
|
21
|
+
2 - Homologação</xs:documentation>
|
22
|
+
</xs:annotation>
|
23
|
+
</xs:element>
|
24
|
+
<xs:choice>
|
25
|
+
<xs:annotation>
|
26
|
+
<xs:documentation>Identificação do autor do evento</xs:documentation>
|
27
|
+
</xs:annotation>
|
28
|
+
<xs:element name="CNPJ" type="TCnpjOpc">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>CNPJ</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="CPF" type="TCpf">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>CPF</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
</xs:choice>
|
39
|
+
<xs:element name="chNFe" type="TChNFe">
|
40
|
+
<xs:annotation>
|
41
|
+
<xs:documentation>Chave de Acesso da NF-e vinculada ao evento</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
</xs:element>
|
44
|
+
<xs:element name="dhEvento" type="TDateTimeUTC">
|
45
|
+
<xs:annotation>
|
46
|
+
<xs:documentation>Data de emissão no formato UTC. AAAA-MM-DDThh:mm:ssTZD</xs:documentation>
|
47
|
+
</xs:annotation>
|
48
|
+
</xs:element>
|
49
|
+
<xs:element name="tpEvento">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation>Tipo do Evento</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
<xs:simpleType>
|
54
|
+
<xs:restriction base="xs:string">
|
55
|
+
<xs:whiteSpace value="preserve"/>
|
56
|
+
<xs:pattern value="[0-9]{6}"/>
|
57
|
+
<xs:enumeration value="610610"/>
|
58
|
+
<xs:enumeration value="610614"/>
|
59
|
+
</xs:restriction>
|
60
|
+
</xs:simpleType>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="nSeqEvento">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>Seqüencial do evento para o mesmo tipo de evento. Para maioria dos eventos será 1, nos casos em que possa existir mais de um evento, como é o caso da carta de correção, o autor do evento deve numerar de forma seqüencial.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
<xs:simpleType>
|
67
|
+
<xs:restriction base="xs:string">
|
68
|
+
<xs:whiteSpace value="preserve"/>
|
69
|
+
<xs:pattern value="[1-9]|[1][0-9]{0,1}|20"/>
|
70
|
+
</xs:restriction>
|
71
|
+
</xs:simpleType>
|
72
|
+
</xs:element>
|
73
|
+
<xs:element name="verEvento">
|
74
|
+
<xs:annotation>
|
75
|
+
<xs:documentation>Versão do Tipo do Evento</xs:documentation>
|
76
|
+
</xs:annotation>
|
77
|
+
<xs:simpleType>
|
78
|
+
<xs:restriction base="xs:string">
|
79
|
+
<xs:whiteSpace value="preserve"/>
|
80
|
+
<xs:enumeration value="1.00"/>
|
81
|
+
</xs:restriction>
|
82
|
+
</xs:simpleType>
|
83
|
+
</xs:element>
|
84
|
+
<xs:element name="detEvento">
|
85
|
+
<xs:annotation>
|
86
|
+
<xs:documentation>Schema XML de validação do evento de Comprovante de Entrega de NF-e</xs:documentation>
|
87
|
+
</xs:annotation>
|
88
|
+
<xs:complexType>
|
89
|
+
<xs:sequence>
|
90
|
+
<xs:element name="descEvento">
|
91
|
+
<xs:simpleType>
|
92
|
+
<xs:restriction base="xs:string">
|
93
|
+
<xs:enumeration value="“Comprovante de Entrega da NF-e"/>
|
94
|
+
</xs:restriction>
|
95
|
+
</xs:simpleType>
|
96
|
+
</xs:element>
|
97
|
+
<xs:element name="cOrgaoAutor" type="TCOrgaoIBGE"/>
|
98
|
+
<xs:element name="tpAutor">
|
99
|
+
<xs:simpleType>
|
100
|
+
<xs:annotation>
|
101
|
+
<xs:documentation>1=Empresa Emitente; 2=Empresa Destinatária; 3=Empresa; 5=Fisco; 6=RFB; 9=Outros;</xs:documentation>
|
102
|
+
</xs:annotation>
|
103
|
+
<xs:restriction base="xs:string">
|
104
|
+
<xs:whiteSpace value="preserve"/>
|
105
|
+
<xs:enumeration value="1"/>
|
106
|
+
</xs:restriction>
|
107
|
+
</xs:simpleType>
|
108
|
+
</xs:element>
|
109
|
+
<xs:element name="verAplic" type="TVerAplic">
|
110
|
+
<xs:annotation>
|
111
|
+
<xs:documentation>Versão do Aplicativo do Autor do Evento</xs:documentation>
|
112
|
+
</xs:annotation>
|
113
|
+
</xs:element>
|
114
|
+
<xs:element name="dhEntrega">
|
115
|
+
<xs:simpleType>
|
116
|
+
<xs:restriction base="xs:string">
|
117
|
+
<xs:whiteSpace value="preserve"/>
|
118
|
+
<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|12):00)?"/>
|
119
|
+
</xs:restriction>
|
120
|
+
</xs:simpleType>
|
121
|
+
</xs:element>
|
122
|
+
<xs:element name="nDoc">
|
123
|
+
<xs:simpleType>
|
124
|
+
<xs:annotation>
|
125
|
+
<xs:documentation>Número do documento de identificação da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
|
126
|
+
</xs:annotation>
|
127
|
+
<xs:restriction base="xs:string">
|
128
|
+
<xs:minLength value="2"/>
|
129
|
+
<xs:maxLength value="20"/>
|
130
|
+
</xs:restriction>
|
131
|
+
</xs:simpleType>
|
132
|
+
</xs:element>
|
133
|
+
<xs:element name="xNome">
|
134
|
+
<xs:annotation>
|
135
|
+
<xs:documentation>Nome da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
|
136
|
+
</xs:annotation>
|
137
|
+
<xs:simpleType>
|
138
|
+
<xs:restriction base="TString">
|
139
|
+
<xs:maxLength value="60"/>
|
140
|
+
<xs:minLength value="2"/>
|
141
|
+
</xs:restriction>
|
142
|
+
</xs:simpleType>
|
143
|
+
</xs:element>
|
144
|
+
<xs:element name="latGPS" minOccurs="0">
|
145
|
+
<xs:simpleType>
|
146
|
+
<xs:restriction base="TString">
|
147
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-8][0-9]\.[0-9]{6}|90\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-8][0-9]\.[0-9]{6}|-90\.[0-9]{6}"/>
|
148
|
+
</xs:restriction>
|
149
|
+
</xs:simpleType>
|
150
|
+
</xs:element>
|
151
|
+
<xs:element name="longGPS" minOccurs="0">
|
152
|
+
<xs:simpleType>
|
153
|
+
<xs:restriction base="TString">
|
154
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-9][0-9]\.[0-9]{6}|1[0-7][0-9]\.[0-9]{6}|180\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-9][0-9]\.[0-9]{6}|-1[0-7][0-9]\.[0-9]{6}|-180\.[0-9]{6}"/>
|
155
|
+
</xs:restriction>
|
156
|
+
</xs:simpleType>
|
157
|
+
</xs:element>
|
158
|
+
<xs:element name="hashComprovante">
|
159
|
+
<xs:annotation>
|
160
|
+
<xs:documentation>Hash (SHA1) no formato Base64 resultante da concatenação: Chave de acesso da NFe + Base64 da imagem capturada da entrega (Exemplo: imagem capturada da assinatura eletrônica, digital do recebedor, foto, etc)</xs:documentation>
|
161
|
+
<xs:documentation>O hashCSRT é o resultado das funções SHA-1 e base64 do token CSRT fornecido pelo fisco + chave de acesso do DF-e. (Implementação em futura NT)
|
162
|
+
Observação: 28 caracteres são representados no schema como 20 bytes do tipo base64Binary</xs:documentation>
|
163
|
+
</xs:annotation>
|
164
|
+
<xs:simpleType>
|
165
|
+
<xs:restriction base="xs:base64Binary">
|
166
|
+
<xs:length value="20"/>
|
167
|
+
</xs:restriction>
|
168
|
+
</xs:simpleType>
|
169
|
+
</xs:element>
|
170
|
+
<xs:element name="dhHashComprovante" minOccurs="0">
|
171
|
+
<xs:simpleType>
|
172
|
+
<xs:restriction base="xs:string">
|
173
|
+
<xs:whiteSpace value="preserve"/>
|
174
|
+
<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|12):00)?"/>
|
175
|
+
</xs:restriction>
|
176
|
+
</xs:simpleType>
|
177
|
+
</xs:element>
|
178
|
+
</xs:sequence>
|
179
|
+
<xs:attribute name="versao" use="required">
|
180
|
+
<xs:simpleType>
|
181
|
+
<xs:restriction base="xs:string">
|
182
|
+
<xs:whiteSpace value="preserve"/>
|
183
|
+
<xs:enumeration value="1.00"/>
|
184
|
+
</xs:restriction>
|
185
|
+
</xs:simpleType>
|
186
|
+
</xs:attribute>
|
187
|
+
</xs:complexType>
|
188
|
+
</xs:element>
|
189
|
+
</xs:sequence>
|
190
|
+
<xs:attribute name="Id" use="required">
|
191
|
+
<xs:annotation>
|
192
|
+
<xs:documentation>Identificador da TAG a ser assinada, a regra de formação do Id é:
|
193
|
+
“ID” + tpEvento + chave da NF-e + nSeqEvento</xs:documentation>
|
194
|
+
</xs:annotation>
|
195
|
+
<xs:simpleType>
|
196
|
+
<xs:restriction base="xs:ID">
|
197
|
+
<xs:pattern value="ID[0-9]{52}"/>
|
198
|
+
</xs:restriction>
|
199
|
+
</xs:simpleType>
|
200
|
+
</xs:attribute>
|
201
|
+
</xs:complexType>
|
202
|
+
</xs:element>
|
203
|
+
<xs:element ref="ds:Signature"/>
|
204
|
+
</xs:sequence>
|
205
|
+
<xs:attribute name="versao" type="TVerEvento" use="required"/>
|
206
|
+
</xs:complexType>
|
207
|
+
<xs:simpleType name="TVerEvento">
|
208
|
+
<xs:annotation>
|
209
|
+
<xs:documentation>Tipo Versão do Evento</xs:documentation>
|
210
|
+
</xs:annotation>
|
211
|
+
<xs:restriction base="xs:string">
|
212
|
+
<xs:whiteSpace value="preserve"/>
|
213
|
+
<xs:pattern value="1\.00"/>
|
214
|
+
</xs:restriction>
|
215
|
+
</xs:simpleType>
|
216
|
+
<xs:complexType name="TretEvento">
|
217
|
+
<xs:annotation>
|
218
|
+
<xs:documentation>Tipo retorno do Evento</xs:documentation>
|
219
|
+
</xs:annotation>
|
220
|
+
<xs:sequence>
|
221
|
+
<xs:element name="infEvento">
|
222
|
+
<xs:complexType>
|
223
|
+
<xs:sequence>
|
224
|
+
<xs:element name="tpAmb" type="TAmb">
|
225
|
+
<xs:annotation>
|
226
|
+
<xs:documentation>Identificação do Ambiente:
|
227
|
+
1 - Produção
|
228
|
+
2 - Homologação</xs:documentation>
|
229
|
+
</xs:annotation>
|
230
|
+
</xs:element>
|
231
|
+
<xs:element name="verAplic" type="TVerAplic">
|
232
|
+
<xs:annotation>
|
233
|
+
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
|
234
|
+
</xs:annotation>
|
235
|
+
</xs:element>
|
236
|
+
<xs:element name="cOrgao" type="TCOrgaoIBGE">
|
237
|
+
<xs:annotation>
|
238
|
+
<xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 90 para identificar o Ambiente Nacional</xs:documentation>
|
239
|
+
</xs:annotation>
|
240
|
+
</xs:element>
|
241
|
+
<xs:element name="cStat" type="TStat">
|
242
|
+
<xs:annotation>
|
243
|
+
<xs:documentation>Código do status da registro do Evento</xs:documentation>
|
244
|
+
</xs:annotation>
|
245
|
+
</xs:element>
|
246
|
+
<xs:element name="xMotivo" type="TMotivo">
|
247
|
+
<xs:annotation>
|
248
|
+
<xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
|
249
|
+
</xs:annotation>
|
250
|
+
</xs:element>
|
251
|
+
<xs:element name="chNFe" type="TChNFe" minOccurs="0">
|
252
|
+
<xs:annotation>
|
253
|
+
<xs:documentation>Chave de Acesso NF-e vinculada</xs:documentation>
|
254
|
+
</xs:annotation>
|
255
|
+
</xs:element>
|
256
|
+
<xs:element name="tpEvento" minOccurs="0">
|
257
|
+
<xs:annotation>
|
258
|
+
<xs:documentation>Tipo do Evento vinculado</xs:documentation>
|
259
|
+
</xs:annotation>
|
260
|
+
<xs:simpleType>
|
261
|
+
<xs:restriction base="xs:string">
|
262
|
+
<xs:whiteSpace value="preserve"/>
|
263
|
+
<xs:pattern value="[0-9]{6}"/>
|
264
|
+
</xs:restriction>
|
265
|
+
</xs:simpleType>
|
266
|
+
</xs:element>
|
267
|
+
<xs:element name="xEvento" minOccurs="0">
|
268
|
+
<xs:annotation>
|
269
|
+
<xs:documentation>Descrição do Evento</xs:documentation>
|
270
|
+
</xs:annotation>
|
271
|
+
<xs:simpleType>
|
272
|
+
<xs:restriction base="TString">
|
273
|
+
<xs:minLength value="5"/>
|
274
|
+
<xs:maxLength value="60"/>
|
275
|
+
</xs:restriction>
|
276
|
+
</xs:simpleType>
|
277
|
+
</xs:element>
|
278
|
+
<xs:element name="nSeqEvento" minOccurs="0">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation>Seqüencial do evento</xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
<xs:simpleType>
|
283
|
+
<xs:restriction base="xs:string">
|
284
|
+
<xs:whiteSpace value="preserve"/>
|
285
|
+
<xs:pattern value="[1-9][0-9]{0,1}"/>
|
286
|
+
</xs:restriction>
|
287
|
+
</xs:simpleType>
|
288
|
+
</xs:element>
|
289
|
+
<xs:choice minOccurs="0">
|
290
|
+
<xs:annotation>
|
291
|
+
<xs:documentation>Identificação do destinatário da NF-e</xs:documentation>
|
292
|
+
</xs:annotation>
|
293
|
+
<xs:element name="CNPJDest" type="TCnpjOpc">
|
294
|
+
<xs:annotation>
|
295
|
+
<xs:documentation>CNPJ Destinatário</xs:documentation>
|
296
|
+
</xs:annotation>
|
297
|
+
</xs:element>
|
298
|
+
<xs:element name="CPFDest" type="TCpf">
|
299
|
+
<xs:annotation>
|
300
|
+
<xs:documentation>CPF Destiantário</xs:documentation>
|
301
|
+
</xs:annotation>
|
302
|
+
</xs:element>
|
303
|
+
</xs:choice>
|
304
|
+
<xs:element name="emailDest" minOccurs="0">
|
305
|
+
<xs:annotation>
|
306
|
+
<xs:documentation>email do destinatário</xs:documentation>
|
307
|
+
</xs:annotation>
|
308
|
+
<xs:simpleType>
|
309
|
+
<xs:restriction base="TString">
|
310
|
+
<xs:minLength value="1"/>
|
311
|
+
<xs:maxLength value="60"/>
|
312
|
+
</xs:restriction>
|
313
|
+
</xs:simpleType>
|
314
|
+
</xs:element>
|
315
|
+
<xs:element name="dhRegEvento">
|
316
|
+
<xs:annotation>
|
317
|
+
<xs:documentation>Data e Hora de do recebimento do evento ou do registro do evento formato UTC AAAA-MM-DDThh:mm:ssTZD.</xs:documentation>
|
318
|
+
</xs:annotation>
|
319
|
+
<xs:simpleType>
|
320
|
+
<xs:restriction base="xs:string">
|
321
|
+
<xs:whiteSpace value="preserve"/>
|
322
|
+
<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[1-4]:00"/>
|
323
|
+
</xs:restriction>
|
324
|
+
</xs:simpleType>
|
325
|
+
</xs:element>
|
326
|
+
<xs:element name="nProt" type="TProt" minOccurs="0">
|
327
|
+
<xs:annotation>
|
328
|
+
<xs:documentation>Número do protocolo de registro do evento</xs:documentation>
|
329
|
+
</xs:annotation>
|
330
|
+
</xs:element>
|
331
|
+
</xs:sequence>
|
332
|
+
<xs:attribute name="Id" use="optional">
|
333
|
+
<xs:simpleType>
|
334
|
+
<xs:restriction base="xs:ID">
|
335
|
+
<xs:pattern value="ID[0-9]{15}"/>
|
336
|
+
</xs:restriction>
|
337
|
+
</xs:simpleType>
|
338
|
+
</xs:attribute>
|
339
|
+
</xs:complexType>
|
340
|
+
</xs:element>
|
341
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
342
|
+
</xs:sequence>
|
343
|
+
<xs:attribute name="versao" type="TVerEvento" use="required"/>
|
344
|
+
</xs:complexType>
|
345
|
+
<xs:complexType name="TEnvEvento">
|
346
|
+
<xs:annotation>
|
347
|
+
<xs:documentation> Tipo Lote de Envio</xs:documentation>
|
348
|
+
</xs:annotation>
|
349
|
+
<xs:sequence>
|
350
|
+
<xs:element name="idLote">
|
351
|
+
<xs:simpleType>
|
352
|
+
<xs:restriction base="xs:string">
|
353
|
+
<xs:whiteSpace value="preserve"/>
|
354
|
+
<xs:pattern value="[0-9]{1,15}"/>
|
355
|
+
</xs:restriction>
|
356
|
+
</xs:simpleType>
|
357
|
+
</xs:element>
|
358
|
+
<xs:element name="evento" type="TEvento" maxOccurs="20"/>
|
359
|
+
</xs:sequence>
|
360
|
+
<xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
|
361
|
+
</xs:complexType>
|
362
|
+
<xs:simpleType name="TVerEnvEvento">
|
363
|
+
<xs:annotation>
|
364
|
+
<xs:documentation>Tipo Versão do EnvEvento</xs:documentation>
|
365
|
+
</xs:annotation>
|
366
|
+
<xs:restriction base="xs:string">
|
367
|
+
<xs:whiteSpace value="preserve"/>
|
368
|
+
<xs:pattern value="1\.00"/>
|
369
|
+
</xs:restriction>
|
370
|
+
</xs:simpleType>
|
371
|
+
<xs:complexType name="TRetEnvEvento">
|
372
|
+
<xs:annotation>
|
373
|
+
<xs:documentation> Tipo Retorno de Lote de Envio</xs:documentation>
|
374
|
+
</xs:annotation>
|
375
|
+
<xs:sequence>
|
376
|
+
<xs:element name="idLote">
|
377
|
+
<xs:simpleType>
|
378
|
+
<xs:restriction base="xs:string">
|
379
|
+
<xs:whiteSpace value="preserve"/>
|
380
|
+
<xs:pattern value="[0-9]{1,15}"/>
|
381
|
+
</xs:restriction>
|
382
|
+
</xs:simpleType>
|
383
|
+
</xs:element>
|
384
|
+
<xs:element name="tpAmb" type="TAmb">
|
385
|
+
<xs:annotation>
|
386
|
+
<xs:documentation>Identificação do Ambiente:
|
387
|
+
1 - Produção
|
388
|
+
2 - Homologação</xs:documentation>
|
389
|
+
</xs:annotation>
|
390
|
+
</xs:element>
|
391
|
+
<xs:element name="verAplic" type="TVerAplic">
|
392
|
+
<xs:annotation>
|
393
|
+
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
|
394
|
+
</xs:annotation>
|
395
|
+
</xs:element>
|
396
|
+
<xs:element name="cOrgao" type="TCOrgaoIBGE">
|
397
|
+
<xs:annotation>
|
398
|
+
<xs:documentation>Código do òrgao que registrou o Evento</xs:documentation>
|
399
|
+
</xs:annotation>
|
400
|
+
</xs:element>
|
401
|
+
<xs:element name="cStat" type="TStat">
|
402
|
+
<xs:annotation>
|
403
|
+
<xs:documentation>Código do status da registro do Evento</xs:documentation>
|
404
|
+
</xs:annotation>
|
405
|
+
</xs:element>
|
406
|
+
<xs:element name="xMotivo" type="TMotivo">
|
407
|
+
<xs:annotation>
|
408
|
+
<xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
|
409
|
+
</xs:annotation>
|
410
|
+
</xs:element>
|
411
|
+
<xs:element name="retEvento" type="TretEvento" minOccurs="0" maxOccurs="20"/>
|
412
|
+
</xs:sequence>
|
413
|
+
<xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
|
414
|
+
</xs:complexType>
|
415
|
+
<xs:complexType name="TProcEvento">
|
416
|
+
<xs:annotation>
|
417
|
+
<xs:documentation>Tipo procEvento</xs:documentation>
|
418
|
+
</xs:annotation>
|
419
|
+
<xs:sequence>
|
420
|
+
<xs:element name="evento" type="TEvento"/>
|
421
|
+
<xs:element name="retEvento" type="TretEvento"/>
|
422
|
+
</xs:sequence>
|
423
|
+
<xs:attribute name="versao" type="TVerEvento" use="required"/>
|
424
|
+
</xs:complexType>
|
425
|
+
<xs:element name="dhEntrega">
|
426
|
+
<xs:simpleType>
|
427
|
+
<xs:restriction base="xs:string">
|
428
|
+
<xs:whiteSpace value="preserve"/>
|
429
|
+
<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|12):00)?"/>
|
430
|
+
</xs:restriction>
|
431
|
+
</xs:simpleType>
|
432
|
+
</xs:element>
|
433
|
+
<xs:element name="nDoc">
|
434
|
+
<xs:simpleType>
|
435
|
+
<xs:annotation>
|
436
|
+
<xs:documentation>Número do documento de identificação da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
|
437
|
+
</xs:annotation>
|
438
|
+
<xs:restriction base="xs:string">
|
439
|
+
<xs:minLength value="2"/>
|
440
|
+
<xs:maxLength value="20"/>
|
441
|
+
</xs:restriction>
|
442
|
+
</xs:simpleType>
|
443
|
+
</xs:element>
|
444
|
+
<xs:element name="xNome">
|
445
|
+
<xs:annotation>
|
446
|
+
<xs:documentation>Nome da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
|
447
|
+
</xs:annotation>
|
448
|
+
<xs:simpleType>
|
449
|
+
<xs:restriction base="TString">
|
450
|
+
<xs:maxLength value="60"/>
|
451
|
+
<xs:minLength value="2"/>
|
452
|
+
</xs:restriction>
|
453
|
+
</xs:simpleType>
|
454
|
+
</xs:element>
|
455
|
+
<xs:element name="latGPS">
|
456
|
+
<xs:simpleType>
|
457
|
+
<xs:restriction base="TString">
|
458
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-8][0-9]\.[0-9]{6}|90\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-8][0-9]\.[0-9]{6}|-90\.[0-9]{6}"/>
|
459
|
+
</xs:restriction>
|
460
|
+
</xs:simpleType>
|
461
|
+
</xs:element>
|
462
|
+
<xs:element name="longGPS">
|
463
|
+
<xs:simpleType>
|
464
|
+
<xs:restriction base="TString">
|
465
|
+
<xs:pattern value="[0-9]\.[0-9]{6}|[1-9][0-9]\.[0-9]{6}|1[0-7][0-9]\.[0-9]{6}|180\.[0-9]{6}|-[0-9]\.[0-9]{6}|-[1-9][0-9]\.[0-9]{6}|-1[0-7][0-9]\.[0-9]{6}|-180\.[0-9]{6}"/>
|
466
|
+
</xs:restriction>
|
467
|
+
</xs:simpleType>
|
468
|
+
</xs:element>
|
469
|
+
<xs:element name="hashComprovante">
|
470
|
+
<xs:simpleType>
|
471
|
+
<xs:annotation>
|
472
|
+
<xs:documentation>Hash SHA-1, no formato Base64, resultante da concatenação de: Chave de Acesso da NF-e + Base64 da imagem capturada do Comprovante de Entrega da NF-e + outras informações da entrega.</xs:documentation>
|
473
|
+
</xs:annotation>
|
474
|
+
<xs:restriction base="xs:string">
|
475
|
+
<xs:minLength value="28"/>
|
476
|
+
</xs:restriction>
|
477
|
+
</xs:simpleType>
|
478
|
+
</xs:element>
|
479
|
+
<xs:element name="dhHashComprovante">
|
480
|
+
<xs:simpleType>
|
481
|
+
<xs:restriction base="xs:string">
|
482
|
+
<xs:whiteSpace value="preserve"/>
|
483
|
+
<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|12):00)?"/>
|
484
|
+
</xs:restriction>
|
485
|
+
</xs:simpleType>
|
486
|
+
</xs:element>
|
487
|
+
</xs:schema>
|