├── .check-wheel-contents.toml
├── .github
└── workflows
│ ├── publish.yml
│ └── tests.yml
├── .gitignore
├── .pre-commit-config.yaml
├── .xsdata.xml
├── MANIFEST.in
├── MIT-LICENSE
├── README.md
├── ext
└── nfelib.jpg
├── nfelib
├── __init__.py
├── bpe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── bpe_tipos_basico_v1_00.py
│ │ │ ├── bpe_tm_v1_00.py
│ │ │ ├── bpe_v1_00.py
│ │ │ ├── cons_sit_bpe_tipos_basico_v1_00.py
│ │ │ ├── cons_sit_bpe_v1_00.py
│ │ │ ├── cons_stat_serv_bpe_tipos_basico_v1_00.py
│ │ │ ├── cons_stat_serv_bpe_v1_00.py
│ │ │ ├── ev_alteracao_poltrona_v1_00.py
│ │ │ ├── ev_canc_bpe_v1_00.py
│ │ │ ├── ev_excesso_bagagem_v1_00.py
│ │ │ ├── ev_nao_emb_bpe_v1_00.py
│ │ │ ├── evento_bpe_tipos_basico_v1_00.py
│ │ │ ├── evento_bpe_v1_00.py
│ │ │ ├── proc_bpe_tm_v1_00.py
│ │ │ ├── proc_bpe_v1_00.py
│ │ │ ├── proc_evento_bpe_v1_00.py
│ │ │ ├── ret_bpe_v1_00.py
│ │ │ ├── ret_cons_sit_bpe_v1_00.py
│ │ │ ├── ret_cons_stat_serv_bpe_v1_00.py
│ │ │ ├── ret_evento_bpe_v1_00.py
│ │ │ ├── tipos_geral_bpe_v1_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── bpeTM_v1.00.xsd
│ │ ├── bpeTiposBasico_v1.00.xsd
│ │ ├── bpe_v1.00.xsd
│ │ ├── consSitBPeTiposBasico_v1.00.xsd
│ │ ├── consSitBPe_v1.00.xsd
│ │ ├── consStatServBPeTiposBasico_v1.00.xsd
│ │ ├── consStatServBPe_v1.00.xsd
│ │ ├── evAlteracaoPoltrona_v1.00.xsd
│ │ ├── evCancBPe_v1.00.xsd
│ │ ├── evExcessoBagagem_v1.00.xsd
│ │ ├── evNaoEmbBPe_v1.00.xsd
│ │ ├── eventoBPeTiposBasico_v1.00.xsd
│ │ ├── eventoBPe_v1.00.xsd
│ │ ├── procBPeTM_v1.00.xsd
│ │ ├── procBPe_v1.00.xsd
│ │ ├── procEventoBPe_v1.00.xsd
│ │ ├── retBPe_v1.00.xsd
│ │ ├── retConsSitBPe_v1.00.xsd
│ │ ├── retConsStatServBPe_v1.00.xsd
│ │ ├── retEventoBPe_v1.00.xsd
│ │ ├── tiposGeralBPe_v1.00.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── cte
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v4_0
│ │ │ ├── __init__.py
│ │ │ ├── cons_sit_cte_tipos_basico_v4_00.py
│ │ │ ├── cons_sit_cte_v4_00.py
│ │ │ ├── cons_stat_serv_cte_v4_00.py
│ │ │ ├── cons_stat_serv_tipos_basico_v4_00.py
│ │ │ ├── cte_modal_aereo_v4_00.py
│ │ │ ├── cte_modal_aquaviario_v4_00.py
│ │ │ ├── cte_modal_dutoviario_v4_00.py
│ │ │ ├── cte_modal_ferroviario_v4_00.py
│ │ │ ├── cte_modal_rodoviario_os_v4_00.py
│ │ │ ├── cte_modal_rodoviario_v4_00.py
│ │ │ ├── cte_multi_modal_v4_00.py
│ │ │ ├── cte_os_v4_00.py
│ │ │ ├── cte_simp_v4_00.py
│ │ │ ├── cte_tipos_basico_v4_00.py
│ │ │ ├── cte_v4_00.py
│ │ │ ├── ev_canc_cecte_v4_00.py
│ │ │ ├── ev_canc_cte_v4_00.py
│ │ │ ├── ev_canc_iecte_v4_00.py
│ │ │ ├── ev_canc_prest_desacordo_v4_00.py
│ │ │ ├── ev_cce_cte_v4_00.py
│ │ │ ├── ev_cecte_v4_00.py
│ │ │ ├── ev_epeccte_v4_00.py
│ │ │ ├── ev_gtv_v4_00.py
│ │ │ ├── ev_iecte_v4_00.py
│ │ │ ├── ev_prest_desacordo_v4_00.py
│ │ │ ├── ev_reg_multimodal_v4_00.py
│ │ │ ├── evento_cte_tipos_basico_v4_00.py
│ │ │ ├── evento_cte_v4_00.py
│ │ │ ├── gtve_v4_00.py
│ │ │ ├── inut_cte_tipos_basico_v4_00.py
│ │ │ ├── inut_cte_v4_00.py
│ │ │ ├── proc_cte_os_v4_00.py
│ │ │ ├── proc_cte_v4_00.py
│ │ │ ├── proc_evento_cte_v4_00.py
│ │ │ ├── proc_gtve_v4_00.py
│ │ │ ├── proc_inut_cte_v4_00.py
│ │ │ ├── ret_cons_sit_cte_v4_00.py
│ │ │ ├── ret_cons_stat_serv_cte_v4_00.py
│ │ │ ├── ret_cte_os_v4_00.py
│ │ │ ├── ret_cte_simp_v4_00.py
│ │ │ ├── ret_cte_v4_00.py
│ │ │ ├── ret_evento_cte_v4_00.py
│ │ │ ├── ret_gtve_v4_00.py
│ │ │ ├── ret_inut_cte_v4_00.py
│ │ │ ├── tipos_geral_cte_v4_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ ├── samples
│ │ └── v4_0
│ │ │ ├── 35170799999999999999670000000000261309301440-cte-of.xml
│ │ │ ├── 35190602427026001207570040000522031000522035-cte-multimodal.xml
│ │ │ ├── 43120178408960000182570010000000041000000047-cte.xml
│ │ │ ├── 51160624686092000173570010000000031000000020-cte.XML
│ │ │ └── cce35150107565416000104570000000012301000012300-ped-eve.xml
│ └── schemas
│ │ └── v4_0
│ │ ├── GTVe_v4.00.xsd
│ │ ├── consSitCTeTiposBasico_v4.00.xsd
│ │ ├── consSitCTe_v4.00.xsd
│ │ ├── consStatServCTe_v4.00.xsd
│ │ ├── consStatServTiposBasico_v4.00.xsd
│ │ ├── cteModalAereo_v4.00.xsd
│ │ ├── cteModalAquaviario_v4.00.xsd
│ │ ├── cteModalDutoviario_v4.00.xsd
│ │ ├── cteModalFerroviario_v4.00.xsd
│ │ ├── cteModalRodoviarioOS_v4.00.xsd
│ │ ├── cteModalRodoviario_v4.00.xsd
│ │ ├── cteMultiModal_v4.00.xsd
│ │ ├── cteOS_v4.00.xsd
│ │ ├── cteSimp_v4.00.xsd
│ │ ├── cteTiposBasico_v4.00.xsd
│ │ ├── cte_v4.00.xsd
│ │ ├── evCCeCTe_v4.00.xsd
│ │ ├── evCECTe_v4.00.xsd
│ │ ├── evCancCECTe_v4.00.xsd
│ │ ├── evCancCTe_v4.00.xsd
│ │ ├── evCancIECTe_v4.00.xsd
│ │ ├── evCancPrestDesacordo_v4.00.xsd
│ │ ├── evEPECCTe_v4.00.xsd
│ │ ├── evGTV_v4.00.xsd
│ │ ├── evIECTe_v4.00.xsd
│ │ ├── evPrestDesacordo_v4.00.xsd
│ │ ├── evRegMultimodal_v4.00.xsd
│ │ ├── eventoCTeTiposBasico_v4.00.xsd
│ │ ├── eventoCTe_v4.00.xsd
│ │ ├── inutCTeTiposBasico_v4.00.xsd
│ │ ├── inutCTe_v4.00.xsd
│ │ ├── procCTeOS_v4.00.xsd
│ │ ├── procCTe_v4.00.xsd
│ │ ├── procEventoCTe_v4.00.xsd
│ │ ├── procGTVe_v4.00.xsd
│ │ ├── procInutCTe_v4.00.xsd
│ │ ├── retCTeOS_v4.00.xsd
│ │ ├── retCTeSimp_v4.00.xsd
│ │ ├── retCTe_v4.00.xsd
│ │ ├── retConsSitCTe_v4.00.xsd
│ │ ├── retConsStatServCTe_v4.00.xsd
│ │ ├── retEventoCTe_v4.00.xsd
│ │ ├── retGTVe_v4.00.xsd
│ │ ├── retInutCTe_v4.00.xsd
│ │ ├── tiposGeralCTe_v4.00.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── cte_dist_dfe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── dist_dfe_int_v1_00.py
│ │ │ ├── ret_dist_dfe_int_v1_00.py
│ │ │ ├── tipos_dist_dfe_v1_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── distDFeInt_v1.00.xsd
│ │ ├── retDistDFeInt_v1.00.xsd
│ │ ├── tiposDistDFe_v1.00.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── mdfe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v3_0
│ │ │ ├── __init__.py
│ │ │ ├── cons_mdfe_nao_enc_tipos_basico_v3_00.py
│ │ │ ├── cons_mdfe_nao_enc_v3_00.py
│ │ │ ├── cons_reci_mdfe_tipos_basico_v3_00.py
│ │ │ ├── cons_reci_mdfe_v3_00.py
│ │ │ ├── cons_sit_mdfe_tipos_basico_v3_00.py
│ │ │ ├── cons_sit_mdfe_v3_00.py
│ │ │ ├── cons_stat_serv_mdfe_v3_00.py
│ │ │ ├── cons_stat_serv_tipos_basico_v3_00.py
│ │ │ ├── dist_mdfe_v3_00.py
│ │ │ ├── envi_mdfe_v3_00.py
│ │ │ ├── ev_canc_mdfe_v3_00.py
│ │ │ ├── ev_enc_mdfe_v3_00.py
│ │ │ ├── ev_inc_condutor_mdfe_v3_00.py
│ │ │ ├── ev_inclusao_dfe_mdfe_v3_00.py
│ │ │ ├── ev_pagto_oper_mdfe_v3_00.py
│ │ │ ├── evento_mdfe_tipos_basico_v3_00.py
│ │ │ ├── evento_mdfe_v3_00.py
│ │ │ ├── leiaute_dist_mdfe_v3_00.py
│ │ │ ├── mdfe_consulta_dfe_tipos_basico_v3_00.py
│ │ │ ├── mdfe_consulta_dfe_v3_00.py
│ │ │ ├── mdfe_modal_aereo_v3_00.py
│ │ │ ├── mdfe_modal_aquaviario_v3_00.py
│ │ │ ├── mdfe_modal_ferroviario_v3_00.py
│ │ │ ├── mdfe_modal_rodoviario_v3_00.py
│ │ │ ├── mdfe_tipos_basico_v3_00.py
│ │ │ ├── mdfe_v3_00.py
│ │ │ ├── proc_evento_mdfe_v3_00.py
│ │ │ ├── proc_mdfe_v3_00.py
│ │ │ ├── ret_cons_mdfe_nao_enc_v3_00.py
│ │ │ ├── ret_cons_reci_mdfe_v3_00.py
│ │ │ ├── ret_cons_sit_mdfe_v3_00.py
│ │ │ ├── ret_cons_stat_serv_mdfe_v3_00.py
│ │ │ ├── ret_dist_mdfe_v3_00.py
│ │ │ ├── ret_envi_mdfe_v3_00.py
│ │ │ ├── ret_evento_mdfe_v3_00.py
│ │ │ ├── ret_mdfe_consulta_dfe_v3_00.py
│ │ │ ├── ret_mdfe_v3_00.py
│ │ │ ├── tipos_geral_mdfe_v3_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ ├── samples
│ │ └── v3_0
│ │ │ ├── 01010101010-ped-cons-mdfe-naoenc.xml
│ │ │ ├── 26999999999999999999999999999999999999999991-mdfe.xml
│ │ │ ├── 310000007934162-ped-rec.xml
│ │ │ ├── 41190876676436000167580010000500001000437558-mdfe.xml
│ │ │ ├── 50170876063965000276580010000011311421039568-mdfe.xml
│ │ │ ├── ComPagtoPIX_41210780568835000181580010402005751006005791-procMDFe.xml
│ │ │ ├── PagamentoOperacaoMDFe_1101164120039999999999999958001000000999999999999901-ped-eve.xml
│ │ │ ├── cancelameto1101103511031029073900013955001000000001105112804101-ped-eve.xml
│ │ │ ├── encerramento1101123511031029073900013955001000000001105112804101-ped-eve.xml
│ │ │ ├── inclusaoDFe1101154119060611747300015058001000000001111700344401-ped-eve.xml
│ │ │ ├── inclusaocondutor31131223864838000129580000000000051003000003-ped-eve.xml
│ │ │ └── pagamentoOperacao1101103511031029073900013955001000000001105112804101-ped-eve.xml
│ └── schemas
│ │ └── v3_0
│ │ ├── consMDFeNaoEncTiposBasico_v3.00.xsd
│ │ ├── consMDFeNaoEnc_v3.00.xsd
│ │ ├── consReciMDFeTiposBasico_v3.00.xsd
│ │ ├── consReciMDFe_v3.00.xsd
│ │ ├── consSitMDFeTiposBasico_v3.00.xsd
│ │ ├── consSitMDFe_v3.00.xsd
│ │ ├── consStatServMDFe_v3.00.xsd
│ │ ├── consStatServTiposBasico_v3.00.xsd
│ │ ├── distMDFe_v3.00.xsd
│ │ ├── enviMDFe_v3.00.xsd
│ │ ├── evCancMDFe_v3.00.xsd
│ │ ├── evEncMDFe_v3.00.xsd
│ │ ├── evIncCondutorMDFe_v3.00.xsd
│ │ ├── evInclusaoDFeMDFe_v3.00.xsd
│ │ ├── evPagtoOperMDFe_v3.00.xsd
│ │ ├── eventoMDFeTiposBasico_v3.00.xsd
│ │ ├── eventoMDFe_v3.00.xsd
│ │ ├── leiauteDistMDFe_v3.00.xsd
│ │ ├── mdfeConsultaDFeTiposBasico_v3.00.xsd
│ │ ├── mdfeConsultaDFe_v3.00.xsd
│ │ ├── mdfeModalAereo_v3.00.xsd
│ │ ├── mdfeModalAquaviario_v3.00.xsd
│ │ ├── mdfeModalFerroviario_v3.00.xsd
│ │ ├── mdfeModalRodoviario_v3.00.xsd
│ │ ├── mdfeTiposBasico_v3.00.xsd
│ │ ├── mdfe_v3.00.xsd
│ │ ├── procEventoMDFe_v3.00.xsd
│ │ ├── procMDFe_v3.00.xsd
│ │ ├── retConsMDFeNaoEnc_v1.00.xsd
│ │ ├── retConsMDFeNaoEnc_v3.00.xsd
│ │ ├── retConsReciMDFe_v3.00.xsd
│ │ ├── retConsSitMDFe_v3.00.xsd
│ │ ├── retConsStatServMDFe_v3.00.xsd
│ │ ├── retDistMDFe_v3.00.xsd
│ │ ├── retEnviMDFe_v3.00.xsd
│ │ ├── retEventoMDFe_v3.00.xsd
│ │ ├── retMDFeConsultaDFe_v3.00.xsd
│ │ ├── retMDFe_v3.00.xsd
│ │ ├── tiposGeralMDFe_v3.00.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── mdfe_dist_dfe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── dist_dfe_int_v1_00.py
│ │ │ ├── ret_dist_dfe_int_v1_00.py
│ │ │ ├── tipos_dist_dfe_v1_00.py
│ │ │ ├── tipos_geral_mdfe_v1_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── distDFeInt_v1.00.xsd
│ │ ├── retDistDFeInt_v1.00.xsd
│ │ ├── tiposDistDFe_v1.00.xsd
│ │ ├── tiposGeralMDFe_v1.00.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v4_0
│ │ │ ├── __init__.py
│ │ │ ├── cons_reci_nfe_v4_00.py
│ │ │ ├── cons_sit_nfe_v4_00.py
│ │ │ ├── cons_stat_serv_v4_00.py
│ │ │ ├── envi_nfe_v4_00.py
│ │ │ ├── inut_nfe_v4_00.py
│ │ │ ├── leiaute_cons_sit_nfe_v4_00.py
│ │ │ ├── leiaute_cons_stat_serv_v4_00.py
│ │ │ ├── leiaute_inut_nfe_v4_00.py
│ │ │ ├── leiaute_nfe_v4_00.py
│ │ │ ├── nfe_v4_00.py
│ │ │ ├── proc_inut_nfe_v4_00.py
│ │ │ ├── proc_nfe_v4_00.py
│ │ │ ├── ret_cons_reci_nfe_v4_00.py
│ │ │ ├── ret_cons_sit_nfe_v4_00.py
│ │ │ ├── ret_cons_stat_serv_v4_00.py
│ │ │ ├── ret_envi_nfe_v4_00.py
│ │ │ ├── ret_inut_nfe_v4_00.py
│ │ │ ├── tipos_basico_v4_00.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ ├── samples
│ │ └── v4_0
│ │ │ ├── leiauteInutNFe
│ │ │ └── 41080676472349000430550010000001041671821888-ped-inu.xml
│ │ │ └── leiauteNFe
│ │ │ ├── 26180875335849000115550010000016871192213331-nfe.xml
│ │ │ ├── 35180834128745000152550010000474281920007498-nfe.xml
│ │ │ ├── 35180834128745000152550010000474491454651420-nfe.xml
│ │ │ ├── 35180834128745000152550010000474501597356342-nfe.xml
│ │ │ ├── 35180834128745000152550010000474641681223493-nfe.xml
│ │ │ ├── 35180834128745000152550010000476051695511860-nfe.xml
│ │ │ ├── 35180834128745000152550010000476121675985748-nfe.xml
│ │ │ ├── 35180834128745000152550010000476491552806942-nfe.xml
│ │ │ ├── 35180834128745000152550010000476711079516696-nfe.xml
│ │ │ ├── 35180834128745000152550010000476781421693968-nfe.xml
│ │ │ ├── 35180834128745000152550010000476861118934859-nfe.xml
│ │ │ ├── 41170706117473000150550010000463202612756525-procNFe.xml
│ │ │ ├── 42210775277525000178550030000266631762885493-procNFe.xml
│ │ │ ├── 42211275277525000178550030000276771368212013-procNFe.xml
│ │ │ ├── 42220575277525000178550030000292481295366801-procNFe.xml
│ │ │ └── NFe35200159594315000157550010000000012062777161.xml
│ ├── schemas
│ │ └── v4_0
│ │ │ ├── consReciNFe_v4.00.xsd
│ │ │ ├── consSitNFe_v4.00.xsd
│ │ │ ├── consStatServ_v4.00.xsd
│ │ │ ├── enviNFe_v4.00.xsd
│ │ │ ├── inutNFe_v4.00.xsd
│ │ │ ├── leiauteConsSitNFe_v4.00.xsd
│ │ │ ├── leiauteConsStatServ_v4.00.xsd
│ │ │ ├── leiauteInutNFe_v4.00.xsd
│ │ │ ├── leiauteNFe_v4.00.xsd
│ │ │ ├── nfe_v4.00.xsd
│ │ │ ├── procInutNFe_v4.00.xsd
│ │ │ ├── procNFe_v4.00.xsd
│ │ │ ├── retConsReciNFe_v4.00.xsd
│ │ │ ├── retConsSitNFe_v4.00.xsd
│ │ │ ├── retConsStatServ_v4.00.xsd
│ │ │ ├── retEnviNFe_v4.00.xsd
│ │ │ ├── retInutNFe_v4.00.xsd
│ │ │ ├── tiposBasico_v4.00.xsd
│ │ │ └── xmldsig-core-schema_v1.01.xsd
│ └── ws
│ │ ├── __init__.py
│ │ └── edoc_legacy.py
├── nfe_ator_interessado
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── env_evento_ator_interessado_v1_00.py
│ │ │ ├── evento_ator_interessado_v1_00.py
│ │ │ ├── leiaute_evento_ator_interessado_v1_00.py
│ │ │ ├── mod_110150_v1_00.py
│ │ │ ├── proc_evento_ator_interessado_v1_00.py
│ │ │ ├── ret_env_evento_ator_interessado_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── 110150_v1.00.xsd
│ │ ├── envEventoAtorInteressado_v1.00.xsd
│ │ ├── eventoAtorInteressado_v1.00.xsd
│ │ ├── leiauteEventoAtorInteressado_v1.00.xsd
│ │ ├── procEventoAtorInteressado_v1.00.xsd
│ │ ├── retEnvEventoAtorInteressado_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_cons
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v2_0
│ │ │ ├── __init__.py
│ │ │ ├── cons_sit_nfe_v2_01.py
│ │ │ ├── leiaute_cons_sit_nfe_v2_01.py
│ │ │ ├── ret_cons_sit_nfe_v2_01.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v2_0
│ │ ├── consSitNFe_v2.01.xsd
│ │ ├── leiauteConsSitNFe_v2.01.xsd
│ │ ├── retConsSitNFe_v2.01.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_dist_dfe
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── dist_dfe_int_v1_01.py
│ │ │ ├── res_evento_v1_01.py
│ │ │ ├── res_nfe_v1_01.py
│ │ │ ├── ret_dist_dfe_int_v1_01.py
│ │ │ ├── tipos_dist_dfe_v1_01.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── distDFeInt_v1.01.xsd
│ │ ├── resEvento_v1.01.xsd
│ │ ├── resNFe_v1.01.xsd
│ │ ├── retDistDFeInt_v1.01.xsd
│ │ ├── tiposDistDFe_v1.01.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_entrega
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── e110130_v1_00.py
│ │ │ ├── env_evento_entrega_nfe_v1_00.py
│ │ │ ├── evento_entrega_nfe_v1_00.py
│ │ │ ├── leiaute_evento_entrega_nfe_v1_00.py
│ │ │ ├── proc_evento_entrega_nfe_v1_00.py
│ │ │ ├── ret_evento_entrega_nfe_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── EventoCancEntregaNFe_v1.00.xsd
│ │ ├── EventoEntregaNFe_v1.00.xsd
│ │ ├── e110130_v1.00.xsd
│ │ ├── e110131_v1.00.xsd
│ │ ├── envEventoCancEntregaNFe_v1.00.xsd
│ │ ├── envEventoEntregaNFe_v1.00.xsd
│ │ ├── leiauteEventoCancEntregaNFe_v1.00.xsd
│ │ ├── leiauteEventoEntregaNFe_v1.00.xsd
│ │ ├── procEventoCancEntregaNFe_v1.00.xsd
│ │ ├── procEventoEntregaNFe_v1.00.xsd
│ │ ├── retEventoCancEntregaNFe_v1.00.xsd
│ │ ├── retEventoEntregaNFe_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_epec
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── e110140_v1_00.py
│ │ │ └── leiaute_epec_v1_00.py
│ └── schemas
│ │ └── v1_0
│ │ ├── EPEC_v1.00.xsd
│ │ ├── e110140_v1.00.xsd
│ │ ├── envEPEC_v1.00.xsd
│ │ ├── leiauteEPEC_v1.00.xsd
│ │ ├── procEPEC_v1.00.xsd
│ │ ├── retEnvEPEC_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_evento_cancel
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── e110111_v1_00.py
│ │ │ ├── env_evento_canc_nfe_v1_00.py
│ │ │ ├── evento_canc_nfe_v1_00.py
│ │ │ ├── leiaute_evento_canc_nfe_v1_00.py
│ │ │ ├── proc_evento_canc_nfe_v1_00.py
│ │ │ ├── ret_env_evento_canc_nfe_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── e110111_v1.00.xsd
│ │ ├── envEventoCancNFe_v1.00.xsd
│ │ ├── eventoCancNFe_v1.00.xsd
│ │ ├── leiauteEventoCancNFe_v1.00.xsd
│ │ ├── procEventoCancNFe_v1.00.xsd
│ │ ├── retEnvEventoCancNFe_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_evento_cce
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── cce_v1_00.py
│ │ │ ├── e110110_v1_00.py
│ │ │ ├── env_cce_v1_00.py
│ │ │ ├── leiaute_cce_v1_00.py
│ │ │ ├── proc_cce_nfe_v1_00.py
│ │ │ ├── ret_env_cce_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ ├── samples
│ │ └── v1_0
│ │ │ └── 35180803102452000172550010000476051695511860-01-cce.xml
│ └── schemas
│ │ └── v1_0
│ │ ├── CCe_v1.00.xsd
│ │ ├── e110110_v1.00.xsd
│ │ ├── envCCe_v1.00.xsd
│ │ ├── leiauteCCe_v1.00.xsd
│ │ ├── procCCeNFe_v1.00.xsd
│ │ ├── retEnvCCe_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_evento_generico
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── env_evento_v1_00.py
│ │ │ ├── leiaute_evento_v1_00.py
│ │ │ ├── proc_evento_nfe_v1_00.py
│ │ │ ├── ret_env_evento_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── envEvento_v1.00.xsd
│ │ ├── leiauteEvento_v1.00.xsd
│ │ ├── procEventoNFe_v1.00.xsd
│ │ ├── retEnvEvento_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_evento_mde
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── conf_recebto_v1_00.py
│ │ │ ├── e210240_v1_00.py
│ │ │ ├── env_conf_recebto_v1_00.py
│ │ │ ├── leiaute_conf_recebto_v1_00.py
│ │ │ ├── proc_conf_recebto_nfe_v1_00.py
│ │ │ ├── ret_env_conf_recebto_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── confRecebto_v1.00.xsd
│ │ ├── e210200_v1.00.xsd
│ │ ├── e210210_v1.00.xsd
│ │ ├── e210220_v1.00.xsd
│ │ ├── e210240_v1.00.xsd
│ │ ├── envConfRecebto_v1.00.xsd
│ │ ├── leiauteConfRecebto_v1.00.xsd
│ │ ├── procConfRecebtoNFe_v1.00.xsd
│ │ ├── retEnvConfRecebto_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
├── nfe_insucesso
│ ├── __init__.py
│ ├── bindings
│ │ ├── __init__.py
│ │ └── v1_0
│ │ │ ├── __init__.py
│ │ │ ├── env_evento_insucesso_nfe_v1_00.py
│ │ │ ├── evento_insucesso_nfe_v1_00.py
│ │ │ ├── leiaute_evento_insucesso_nfe_v1_00.py
│ │ │ ├── proc_evento_insucesso_nfe_v1_00.py
│ │ │ ├── ret_evento_insucesso_nfe_v1_00.py
│ │ │ ├── tipos_basico_v1_03.py
│ │ │ ├── tmp0000.py
│ │ │ └── xmldsig_core_schema_v1_01.py
│ └── schemas
│ │ └── v1_0
│ │ ├── EventoCancInsucessoNFe_v1.00.xsd
│ │ ├── EventoInsucessoNFe_v1.00.xsd
│ │ ├── e110192_v1.00.xsd
│ │ ├── e110193_v1.00.xsd
│ │ ├── envEventoCancInsucessoNFe_v1.00.xsd
│ │ ├── envEventoInsucessoNFe_v1.00.xsd
│ │ ├── leiauteEventoCancInsucessoNFe_v1.00.xsd
│ │ ├── leiauteEventoInsucessoNFe_v1.00.xsd
│ │ ├── procEventoCancInsucessoNFe_v1.00.xsd
│ │ ├── procEventoInsucessoNFe_v1.00.xsd
│ │ ├── retEventoCancInsucessoNFe_v1.00.xsd
│ │ ├── retEventoInsucessoNFe_v1.00.xsd
│ │ ├── tiposBasico_v1.03.xsd
│ │ ├── tmp0000.xsd
│ │ └── xmldsig-core-schema_v1.01.xsd
└── nfse
│ ├── __init__.py
│ ├── bindings
│ ├── __init__.py
│ └── v1_0
│ │ ├── __init__.py
│ │ ├── dps_v1_00.py
│ │ ├── evento_v1_00.py
│ │ ├── nfse_v1_00.py
│ │ ├── ped_reg_evento_v1_00.py
│ │ ├── tipos_complexos_v1_00.py
│ │ ├── tipos_eventos_v1_00.py
│ │ ├── tipos_simples_v1_00.py
│ │ └── xmldsig_core_schema_v1_00.py
│ ├── samples
│ └── v1_0
│ │ ├── CancelarNFSe-ped-cannfse.xml
│ │ ├── ConsultarNFSeEnvio-ped-sitnfse.xml
│ │ ├── ConsultarNFSeRPS-ped-sitnfserps.xml
│ │ ├── dps-regime-normal.xml
│ │ └── dps-simples.xml
│ └── schemas
│ └── v1_0
│ ├── DPS_v1.00.xsd
│ ├── NFSe_v1.00.xsd
│ ├── evento_v1.00.xsd
│ ├── pedRegEvento_v1.00.xsd
│ ├── tiposComplexos_v1.00.xsd
│ ├── tiposEventos_v1.00.xsd
│ ├── tiposSimples_v1.00.xsd
│ └── xmldsig-core-schema_v1.00.xsd
├── pyproject.toml
├── script.sh
└── tests
├── __init__.py
├── cce
└── v1_00
│ └── leiauteCCe
│ └── 35180803102452000172550010000476051695511860-01-cce.xml
├── cte
└── test_cte.py
├── fingerprint.json
├── fingerprints.json
├── mdfe
└── test_mdfe.py
├── nfe
├── __init__.py
└── test_nfe.py
├── nfe_evento_cce
└── test_cce.py
├── nfse
└── test_nfse.py
├── test_all.py
└── test_fingerprint.py
/.check-wheel-contents.toml:
--------------------------------------------------------------------------------
1 | [tool.check-wheel-contents]
2 | ignore = ["W002"]
3 |
--------------------------------------------------------------------------------
/.github/workflows/publish.yml:
--------------------------------------------------------------------------------
1 | name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2 |
3 | on:
4 | push:
5 | tags:
6 | - '*'
7 |
8 | jobs:
9 | build-n-publish:
10 | name: Build and publish Python 🐍 distributions 📦 to PyPI
11 | runs-on: ubuntu-latest
12 | environment:
13 | name: release
14 | url: https://pypi.org/p/nfelib
15 | permissions:
16 | id-token: write
17 | steps:
18 | - uses: actions/checkout@v4
19 | - name: Set up Python 3.9
20 | uses: actions/setup-python@v5
21 | with:
22 | python-version: 3.9
23 | - name: Install pypa/build
24 | run: >-
25 | python -m
26 | pip install
27 | build
28 | --user
29 | - name: Build a binary wheel and a source tarball
30 | run: >-
31 | python -m
32 | build
33 | --sdist
34 | --wheel
35 | --outdir dist/
36 | .
37 | - name: Publish distribution 📦 to PyPI
38 | uses: pypa/gh-action-pypi-publish@release/v1
39 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | /.venv
5 | /.pytest_cache
6 |
7 | # C extensions
8 | *.so
9 |
10 | # Distribution / packaging
11 | .Python
12 | env/
13 | bin/
14 | build/
15 | develop-eggs/
16 | dist/
17 | eggs/
18 | lib/
19 | lib64/
20 | parts/
21 | sdist/
22 | var/
23 | *.egg-info/
24 | .installed.cfg
25 | *.egg
26 | *.eggs
27 |
28 | # Installer logs
29 | pip-log.txt
30 | pip-delete-this-directory.txt
31 |
32 | # Unit test / coverage reports
33 | htmlcov/
34 | .tox/
35 | .coverage
36 | .cache
37 | nosetests.xml
38 | coverage.xml
39 |
40 | # Translations
41 | *.mo
42 |
43 | # Pycharm
44 | .idea
45 |
46 | # Eclipse
47 | .settings
48 |
49 | # Visual Studio cache/options directory
50 | .vs/
51 | .vscode
52 |
53 | # OSX Files
54 | .DS_Store
55 |
56 | # Django stuff:
57 | *.log
58 |
59 | # Mr Developer
60 | .mr.developer.cfg
61 | .project
62 | .pydevproject
63 |
64 | # Rope
65 | .ropeproject
66 |
67 | # Sphinx documentation
68 | docs/_build/
69 |
70 | # Backup files
71 | *~
72 | *.swp
73 |
--------------------------------------------------------------------------------
/.pre-commit-config.yaml:
--------------------------------------------------------------------------------
1 | exclude: |
2 | (?x)
3 | .*/bindings/.*\.py$|
4 | .*/schemas/.*\.xsd$|
5 | .*/samples/.*\.xml$|
6 | .*/wsdl/.*\.wsdl$|
7 | .*/soap/.*\.py$|
8 | nfelib/nfe/ws/edoc_legacy.py|
9 | ^README\.md$
10 |
11 | repos:
12 | - repo: https://github.com/pre-commit/pre-commit-hooks
13 | rev: v5.0.0
14 | hooks:
15 | - id: trailing-whitespace
16 | - id: end-of-file-fixer
17 | - id: debug-statements
18 | - repo: https://github.com/astral-sh/ruff-pre-commit
19 | rev: v0.11.2
20 | hooks:
21 | - id: ruff
22 | args: [ --fix, --show-fixes]
23 | - id: ruff-format
24 | exclude: ^nfelib/[^/]+\.py$
25 | - repo: https://github.com/pre-commit/mirrors-mypy
26 | rev: v1.15.0
27 | hooks:
28 | - id: mypy
29 | files: ^(nfelib/)
30 | args: [ "--check-untyped-defs", "--ignore-missing-imports" ]
31 | - repo: https://github.com/pre-commit/mirrors-prettier
32 | rev: v4.0.0-alpha.8
33 | hooks:
34 | - id: prettier
35 | additional_dependencies:
36 | - prettier@3.2.5
37 | types_or: [markdown]
38 | args: [--prose-wrap=always, --print-width=88]
39 | exclude: ^nfelib/[^/]+\.xml$
40 |
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | graft nfelib
2 | graft schemas
3 | graft tests
4 | global-exclude *.py[cod]
5 |
--------------------------------------------------------------------------------
/MIT-LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2017 Raphaël Valyi - Akretion LTDA
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/ext/nfelib.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/akretion/nfelib/c52971aaaa5bf088bf53e1ed0af72458f54f3c2b/ext/nfelib.jpg
--------------------------------------------------------------------------------
/nfelib/bpe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/bpe_tm_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.bpe_tipos_basico_v1_00 import TbpeTm
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class BpeTm(TbpeTm):
14 | """
15 | Bilhete de Passagem Eletrônico Transporte Metropolitano.
16 | """
17 |
18 | class Meta:
19 | name = "BPeTM"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.bpe_tipos_basico_v1_00 import Tbpe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class Bpe(Tbpe):
14 | """
15 | Bilhete de Passagem Eletrônico.
16 | """
17 |
18 | class Meta:
19 | name = "BPe"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/cons_sit_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.cons_sit_bpe_tipos_basico_v1_00 import (
8 | TconsSitBpe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
12 |
13 |
14 | @dataclass
15 | class ConsSitBpe(TconsSitBpe):
16 | """
17 | Schema de validação XML dp Pedido de Consulta da Situação Atual do BP-e.
18 | """
19 |
20 | class Meta:
21 | name = "consSitBPe"
22 | namespace = "http://www.portalfiscal.inf.br/bpe"
23 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/cons_stat_serv_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.cons_stat_serv_bpe_tipos_basico_v1_00 import (
8 | TconsStatServ,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
12 |
13 |
14 | @dataclass
15 | class ConsStatServBpe(TconsStatServ):
16 | """
17 | Schema XML de validação do Pedido de Consulta do Status do Serviço BP-e.
18 | """
19 |
20 | class Meta:
21 | name = "consStatServBPe"
22 | namespace = "http://www.portalfiscal.inf.br/bpe"
23 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/evento_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.evento_bpe_tipos_basico_v1_00 import Tevento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class EventoBpe(Tevento):
14 | """
15 | Schema XML de validação do Pedido de Registro de Evento do BP-e.
16 | """
17 |
18 | class Meta:
19 | name = "eventoBPe"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/proc_evento_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.evento_bpe_tipos_basico_v1_00 import TprocEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class ProcEventoBpe(TprocEvento):
14 | """
15 | Pedido de Registro de Evento de BP-e processado.
16 | """
17 |
18 | class Meta:
19 | name = "procEventoBPe"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/ret_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.bpe_tipos_basico_v1_00 import TretBpe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class RetBpe(TretBpe):
14 | """
15 | Schema XML de validação do retorno do BP-e.
16 | """
17 |
18 | class Meta:
19 | name = "retBPe"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/ret_cons_sit_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.cons_sit_bpe_tipos_basico_v1_00 import (
8 | TretConsSitBpe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
12 |
13 |
14 | @dataclass
15 | class RetConsSitBpe(TretConsSitBpe):
16 | """
17 | Schema XML de validação do retorno da consulta da situação atual do BP-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsSitBPe"
22 | namespace = "http://www.portalfiscal.inf.br/bpe"
23 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/ret_cons_stat_serv_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.cons_stat_serv_bpe_tipos_basico_v1_00 import (
8 | TretConsStatServ,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
12 |
13 |
14 | @dataclass
15 | class RetConsStatServBpe(TretConsStatServ):
16 | """
17 | Schema XML de validação do Resultado da Consulta do Status do Serviço de BP-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsStatServBPe"
22 | namespace = "http://www.portalfiscal.inf.br/bpe"
23 |
--------------------------------------------------------------------------------
/nfelib/bpe/bindings/v1_0/ret_evento_bpe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:43
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.bpe.bindings.v1_0.evento_bpe_tipos_basico_v1_00 import TretEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/bpe"
10 |
11 |
12 | @dataclass
13 | class RetEventoBpe(TretEvento):
14 | """
15 | Schema XML de validação do retorno Pedido de Evento do BP-e.
16 | """
17 |
18 | class Meta:
19 | name = "retEventoBPe"
20 | namespace = "http://www.portalfiscal.inf.br/bpe"
21 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/bpeTM_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Bilhete de Passagem Eletrônico Transporte Metropolitano
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/bpe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Bilhete de Passagem Eletrônico
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/consSitBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema de validação XML dp Pedido de Consulta da Situação Atual do BP-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/consStatServBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Consulta do Status do Serviço BP-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/evCancBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento do cancelamento
7 | 110111
8 |
9 |
10 |
11 |
12 |
13 | Descrição do Evento - “Cancelamento”
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | Número do Protocolo de Status do BP-e.
25 |
26 |
27 |
28 |
29 | Justificativa do Cancelamento
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/evNaoEmbBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do evento do não embarque
8 | 110115
9 |
10 |
11 |
12 |
13 |
14 | Descrição do Evento - “Não Embarque”
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | Número do Protocolo de Status do BP-e.
27 |
28 |
29 |
30 |
31 | Justificativa do Não Embarque
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/eventoBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Pedido de Registro de Evento do BP-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/procEventoBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Pedido de Registro de Evento de BP-e processado
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/retBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do BP-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/retConsSitBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta da situação atual do BP-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/retConsStatServBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Resultado da Consulta do Status do Serviço de BP-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/bpe/schemas/v1_0/retEventoBPe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno Pedido de Evento do BP-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/cte/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/cons_sit_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cons_sit_cte_tipos_basico_v4_00 import (
9 | TconsSitCte,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
13 |
14 |
15 | @dataclass
16 | class ConsSitCte(TconsSitCte):
17 | """
18 | Schema de validação XML dp Pedido de Consulta da Situação Atual do CT-e.
19 | """
20 |
21 | class Meta:
22 | name = "consSitCTe"
23 | namespace = "http://www.portalfiscal.inf.br/cte"
24 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/cons_stat_serv_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cons_stat_serv_tipos_basico_v4_00 import (
9 | TconsStatServ,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
13 |
14 |
15 | @dataclass
16 | class ConsStatServCte(TconsStatServ):
17 | """
18 | Schema XML de validação do Pedido de Consulta do Status do Serviço CT-e.
19 | """
20 |
21 | class Meta:
22 | name = "consStatServCTe"
23 | namespace = "http://www.portalfiscal.inf.br/cte"
24 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/cte_os_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TcteOs
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class CteOs(TcteOs):
15 | """
16 | Conhecimento de Transporte Eletrônico Outros Serviços.
17 | """
18 |
19 | class Meta:
20 | name = "CTeOS"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/cte_simp_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TcteSimp
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class CteSimp(TcteSimp):
15 | """
16 | Conhecimento de Transporte Eletrônico Simplificado.
17 | """
18 |
19 | class Meta:
20 | name = "CTeSimp"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import Tcte
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class Cte(Tcte):
15 | """
16 | Conhecimento de Transporte Eletrônico.
17 | """
18 |
19 | class Meta:
20 | name = "CTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/evento_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.evento_cte_tipos_basico_v4_00 import Tevento
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class EventoCte(Tevento):
15 | """
16 | Schema XML de validação do Pedido de Registro de Evento do CT-e.
17 | """
18 |
19 | class Meta:
20 | name = "eventoCTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/gtve_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import Tgtve
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class Gtve(Tgtve):
15 | """
16 | Guia de Trasnsporte Eletrônica.
17 | """
18 |
19 | class Meta:
20 | name = "GTVe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/inut_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.inut_cte_tipos_basico_v4_00 import TinutCte
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class InutCte(TinutCte):
15 | """
16 | Schema XML de validação do Pedido de Inutilização de Numeração do Conhecimento
17 | de Transportes eletrônico.
18 | """
19 |
20 | class Meta:
21 | name = "inutCTe"
22 | namespace = "http://www.portalfiscal.inf.br/cte"
23 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/proc_evento_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.evento_cte_tipos_basico_v4_00 import TprocEvento
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class ProcEventoCte(TprocEvento):
15 | """
16 | Pedido de Registro de Eventos de CT-e processado.
17 | """
18 |
19 | class Meta:
20 | name = "procEventoCTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/proc_inut_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.inut_cte_tipos_basico_v4_00 import TprocInutCte
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class ProcInutCte(TprocInutCte):
15 | """
16 | Pedido de inutilzação de numeração de CT-e processado.
17 | """
18 |
19 | class Meta:
20 | name = "procInutCTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_cons_sit_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cons_sit_cte_tipos_basico_v4_00 import (
9 | TretConsSitCte,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
13 |
14 |
15 | @dataclass
16 | class RetConsSitCte(TretConsSitCte):
17 | """
18 | Schema XML de validação do retorno da consulta da situação atual do CT-e.
19 | """
20 |
21 | class Meta:
22 | name = "retConsSitCTe"
23 | namespace = "http://www.portalfiscal.inf.br/cte"
24 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_cons_stat_serv_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cons_stat_serv_tipos_basico_v4_00 import (
9 | TretConsStatServ,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
13 |
14 |
15 | @dataclass
16 | class RetConsStatServCte(TretConsStatServ):
17 | """
18 | Schema XML de validação do Resultado da Consulta do Status do Serviço de CT-e.
19 | """
20 |
21 | class Meta:
22 | name = "retConsStatServCTe"
23 | namespace = "http://www.portalfiscal.inf.br/cte"
24 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_cte_os_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TretCteOs
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetCteOs(TretCteOs):
15 | """
16 | Schema XML de validação do retorno do recibo de envio do CT-e OS (Modelo 67)
17 | """
18 |
19 | class Meta:
20 | name = "retCTeOS"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_cte_simp_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TretCteSimp
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetCteSimp(TretCteSimp):
15 | """
16 | Schema XML de validação do retorno do recibo de envio do CT-e Simplificado
17 | (Modelo 57)
18 | """
19 |
20 | class Meta:
21 | name = "retCTeSimp"
22 | namespace = "http://www.portalfiscal.inf.br/cte"
23 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TretCte
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetCte(TretCte):
15 | """
16 | Schema XML de validação do retorno do recibo de envio do CT-e (Modelo 57)
17 | """
18 |
19 | class Meta:
20 | name = "retCTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_evento_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.evento_cte_tipos_basico_v4_00 import TretEvento
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetEventoCte(TretEvento):
15 | """
16 | Schema XML de validação do retorno Pedido de Evento do CT-e.
17 | """
18 |
19 | class Meta:
20 | name = "retEventoCTe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_gtve_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.cte_tipos_basico_v4_00 import TretGtve
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetGtve(TretGtve):
15 | """
16 | Schema XML de validação do retorno do recibo de envio da GTV-e (Modelo 64)
17 | """
18 |
19 | class Meta:
20 | name = "retGTVe"
21 | namespace = "http://www.portalfiscal.inf.br/cte"
22 |
--------------------------------------------------------------------------------
/nfelib/cte/bindings/v4_0/ret_inut_cte_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-04-08 21:52:20
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.cte.bindings.v4_0.inut_cte_tipos_basico_v4_00 import TretInutCte
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
11 |
12 |
13 | @dataclass
14 | class RetInutCte(TretInutCte):
15 | """
16 | Schema XML de validação do retorno do Pedido de Inutilização de Numeração do
17 | CT-e.
18 | """
19 |
20 | class Meta:
21 | name = "retInutCTe"
22 | namespace = "http://www.portalfiscal.inf.br/cte"
23 |
--------------------------------------------------------------------------------
/nfelib/cte/samples/v4_0/cce35150107565416000104570000000012301000012300-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 35
5 | 2
6 | 07565416000104
7 | 35150107565416000104570000000012301000012300
8 | 2015-01-05T16:35:06-02:00
9 | 110110
10 | 1
11 |
12 |
13 | Carta de Correcao
14 |
15 | ide
16 | cfop
17 | 6353
18 |
19 |
20 |
21 |
22 |
23 |
24 | A Carta de Correcao e disciplinada pelo Art. 58-B do CONVENIO/SINIEF 06/89: Fica permitida a utilizacao de carta de correcao, para regularizacao de erro ocorrido na emissao de documentos fiscais relativos a prestacao de servico de transporte, desde que o erro nao esteja relacionado com: I - as variaveis que determinam o valor do imposto tais como: base de calculo, aliquota, diferenca de preco, quantidade, valor da prestacao;II - a correcao de dados cadastrais que implique mudanca do emitente, tomador, remetente ou do destinatario;III - a data de emissao ou de saida.
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/GTVe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Guia de Trasnsporte Eletrônica
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/consSitCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema de validação XML dp Pedido de Consulta da Situação Atual do CT-e.
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/consStatServCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Pedido de Consulta do Status do Serviço CT-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/cteModalDutoviario_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Informações do modal Dutoviário
9 |
10 |
11 |
12 |
13 |
14 | Valor da tarifa
15 |
16 |
17 |
18 |
19 | Data de Início da prestação do serviço
20 |
21 |
22 |
23 |
24 | Data de Fim da prestação do serviço
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/cteOS_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Conhecimento de Transporte Eletrônico Outros Serviços
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/cteSimp_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Conhecimento de Transporte Eletrônico Simplificado
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/cte_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Conhecimento de Transporte Eletrônico
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/evCancCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do evento do cancelamento
8 | 110111
9 |
10 |
11 |
12 |
13 |
14 | Descrição do Evento - “Cancelamento”
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | Número do Protocolo de Status do CT-e
26 |
27 |
28 |
29 |
30 | Justificativa do Cancelamento
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/eventoCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Pedido de Registro de Evento do CT-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/inutCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Pedido de Inutilização de Numeração do Conhecimento de Transportes eletrônico
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/procEventoCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Pedido de Registro de Eventos de CT-e processado
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/procInutCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Pedido de inutilzação de numeração de CT-e processado
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retCTeOS_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno do recibo de envio do CT-e OS (Modelo 67)
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retCTeSimp_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno do recibo de envio do CT-e Simplificado (Modelo 57)
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno do recibo de envio do CT-e (Modelo 57)
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retConsSitCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno da consulta da situação atual do CT-e.
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retConsStatServCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Resultado da Consulta do Status do Serviço de CT-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retEventoCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno Pedido de Evento do CT-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retGTVe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno do recibo de envio da GTV-e (Modelo 64)
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/cte/schemas/v4_0/retInutCTe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno do Pedido de Inutilização de Numeração do CT-e
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/nfelib/cte_dist_dfe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/cte_dist_dfe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/cte_dist_dfe/bindings/v1_0/__init__.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:38
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from nfelib.cte_dist_dfe.bindings.v1_0.dist_dfe_int_v1_00 import DistDfeInt
7 | from nfelib.cte_dist_dfe.bindings.v1_0.ret_dist_dfe_int_v1_00 import (
8 | RetDistDfeInt,
9 | )
10 | from nfelib.cte_dist_dfe.bindings.v1_0.tipos_dist_dfe_v1_00 import (
11 | Tamb,
12 | TcodUfIbge,
13 | TverDistDfe,
14 | )
15 | from nfelib.cte_dist_dfe.bindings.v1_0.xmldsig_core_schema_v1_01 import (
16 | KeyInfoType,
17 | ReferenceType,
18 | Signature,
19 | SignatureType,
20 | SignatureValueType,
21 | SignedInfoType,
22 | TtransformUri,
23 | TransformType,
24 | TransformsType,
25 | X509DataType,
26 | )
27 |
28 | __all__ = [
29 | "DistDfeInt",
30 | "RetDistDfeInt",
31 | "Tamb",
32 | "TcodUfIbge",
33 | "TverDistDfe",
34 | "KeyInfoType",
35 | "ReferenceType",
36 | "Signature",
37 | "SignatureType",
38 | "SignatureValueType",
39 | "SignedInfoType",
40 | "TtransformUri",
41 | "TransformType",
42 | "TransformsType",
43 | "X509DataType",
44 | ]
45 |
--------------------------------------------------------------------------------
/nfelib/cte_dist_dfe/bindings/v1_0/tipos_dist_dfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:38
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/cte"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
19 |
20 | class TcodUfIbge(Enum):
21 | """
22 | Tipo Código da UF da tabela do IBGE.
23 | """
24 |
25 | VALUE_11 = "11"
26 | VALUE_12 = "12"
27 | VALUE_13 = "13"
28 | VALUE_14 = "14"
29 | VALUE_15 = "15"
30 | VALUE_16 = "16"
31 | VALUE_17 = "17"
32 | VALUE_21 = "21"
33 | VALUE_22 = "22"
34 | VALUE_23 = "23"
35 | VALUE_24 = "24"
36 | VALUE_25 = "25"
37 | VALUE_26 = "26"
38 | VALUE_27 = "27"
39 | VALUE_28 = "28"
40 | VALUE_29 = "29"
41 | VALUE_31 = "31"
42 | VALUE_32 = "32"
43 | VALUE_33 = "33"
44 | VALUE_35 = "35"
45 | VALUE_41 = "41"
46 | VALUE_42 = "42"
47 | VALUE_43 = "43"
48 | VALUE_50 = "50"
49 | VALUE_51 = "51"
50 | VALUE_52 = "52"
51 | VALUE_53 = "53"
52 |
53 |
54 | class TverDistDfe(Enum):
55 | """
56 | Tipo Versão dos leiautes do Web Service NFeDistribuicaoDFe.
57 | """
58 |
59 | VALUE_1_00 = "1.00"
60 |
--------------------------------------------------------------------------------
/nfelib/mdfe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/cons_mdfe_nao_enc_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_mdfe_nao_enc_tipos_basico_v3_00 import (
8 | TconsMdfeNaoEnc,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class ConsMdfeNaoEnc(TconsMdfeNaoEnc):
16 | """
17 | Schema de validação XML dp Pedido de Consulta MDF-e não encerrados.
18 | """
19 |
20 | class Meta:
21 | name = "consMDFeNaoEnc"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/cons_reci_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_reci_mdfe_tipos_basico_v3_00 import (
8 | TconsReciMdfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class ConsReciMdfe(TconsReciMdfe):
16 | """
17 | Schema XML de validação do Pedido de Consulta de MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "consReciMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/cons_sit_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_sit_mdfe_tipos_basico_v3_00 import (
8 | TconsSitMdfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class ConsSitMdfe(TconsSitMdfe):
16 | """
17 | Schema de validação XML dp Pedido de Consulta da Situação Atual do MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "consSitMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/cons_stat_serv_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_stat_serv_tipos_basico_v3_00 import (
8 | TconsStatServ,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class ConsStatServMdfe(TconsStatServ):
16 | """
17 | Schema XML de validação do Pedido de Consulta do Status do Serviço MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "consStatServMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/dist_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.leiaute_dist_mdfe_v3_00 import TdistDfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class DistMdfe(TdistDfe):
14 | """
15 | Solicitação de distribuição de MDF-e para o Ambiente Autorizador.
16 | """
17 |
18 | class Meta:
19 | name = "distMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/envi_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00 import TenviMdfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class EnviMdfe(TenviMdfe):
14 | """
15 | Schema XML de validação do Envio de Lote MDF-e para concessão de autorização.
16 | """
17 |
18 | class Meta:
19 | name = "enviMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/evento_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.evento_mdfe_tipos_basico_v3_00 import Tevento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class EventoMdfe(Tevento):
14 | """
15 | Schema XML de validação do Pedido de Registro de Evento do MDF-e.
16 | """
17 |
18 | class Meta:
19 | name = "eventoMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/mdfe_consulta_dfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_consulta_dfe_tipos_basico_v3_00 import (
8 | TmdfeConsultaDfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class MdfeConsultaDfe(TmdfeConsultaDfe):
16 | """
17 | Schema de validação XML do Pedido de Consulta do MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "mdfeConsultaDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00 import Tmdfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class Mdfe(Tmdfe):
14 | """
15 | Manisfesto Eletrônico de Documentos Fiscais.
16 | """
17 |
18 | class Meta:
19 | name = "MDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/proc_evento_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.evento_mdfe_tipos_basico_v3_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoMdfe(TprocEvento):
16 | """
17 | Pedido de Registro de Evento de MDF-e processado.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_cons_mdfe_nao_enc_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_mdfe_nao_enc_tipos_basico_v3_00 import (
8 | TretConsMdfeNaoEnc,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class RetConsMdfeNaoEnc(TretConsMdfeNaoEnc):
16 | """
17 | Schema XML de validação do retorno da consulta MDF-e não encerrados.
18 | """
19 |
20 | class Meta:
21 | name = "retConsMDFeNaoEnc"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_cons_reci_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_reci_mdfe_tipos_basico_v3_00 import (
8 | TretConsReciMdfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class RetConsReciMdfe(TretConsReciMdfe):
16 | """
17 | Schema XML de validação do retorno do Pedido de Consulta do MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsReciMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_cons_sit_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_sit_mdfe_tipos_basico_v3_00 import (
8 | TretConsSitMdfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class RetConsSitMdfe(TretConsSitMdfe):
16 | """
17 | Schema XML de validação do retorno da consulta da situação atual do MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsSitMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_cons_stat_serv_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.cons_stat_serv_tipos_basico_v3_00 import (
8 | TretConsStatServ,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class RetConsStatServMdfe(TretConsStatServ):
16 | """
17 | Schema XML de validação do Resultado da Consulta do Status do Serviço de MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsStatServMDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_dist_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.leiaute_dist_mdfe_v3_00 import TretDistDfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class RetDistMdfe(TretDistDfe):
14 | """
15 | Retorno de pedido de distribuição de MDF-e.
16 | """
17 |
18 | class Meta:
19 | name = "retDistMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_envi_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00 import TretEnviMdfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class RetEnviMdfe(TretEnviMdfe):
14 | """
15 | Schema XML de validação do retorno do recibo de envio do lote de MDF-e.
16 | """
17 |
18 | class Meta:
19 | name = "retEnviMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_evento_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.evento_mdfe_tipos_basico_v3_00 import TretEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class RetEventoMdfe(TretEvento):
14 | """
15 | Schema XML de validação do retorno Pedido de Cancelamento do MDF-e.
16 | """
17 |
18 | class Meta:
19 | name = "retEventoMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_mdfe_consulta_dfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_consulta_dfe_tipos_basico_v3_00 import (
8 | TretMdfeConsultaDfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
12 |
13 |
14 | @dataclass
15 | class RetMdfeConsultaDfe(TretMdfeConsultaDfe):
16 | """
17 | Schema XML de validação do retorno da consulta do MDF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retMDFeConsultaDFe"
22 | namespace = "http://www.portalfiscal.inf.br/mdfe"
23 |
--------------------------------------------------------------------------------
/nfelib/mdfe/bindings/v3_0/ret_mdfe_v3_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:39
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.mdfe.bindings.v3_0.mdfe_tipos_basico_v3_00 import TretMdfe
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
10 |
11 |
12 | @dataclass
13 | class RetMdfe(TretMdfe):
14 | """
15 | Manisfesto Eletrônico de Documentos Fiscais.
16 | """
17 |
18 | class Meta:
19 | name = "retMDFe"
20 | namespace = "http://www.portalfiscal.inf.br/mdfe"
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/01010101010-ped-cons-mdfe-naoenc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2
4 | CONSULTAR NÃO ENCERRADOS
5 | 55801377000131
6 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/310000007934162-ped-rec.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 | 310000007934162
5 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/cancelameto1101103511031029073900013955001000000001105112804101-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 35
5 | 2
6 | 10290739000139
7 | 35110310290739000139550010000000011051128041
8 | 2013-10-31T09:44:20-02:00
9 | 110111
10 | 1
11 |
12 |
13 | Cancelamento
14 | 010101010101010
15 | Justificativa do cancelamento
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/encerramento1101123511031029073900013955001000000001105112804101-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 35
5 | 2
6 | 10290739000139
7 | 35110310290739000139550010000000011051128041
8 | 2013-10-31T09:44:20-02:00
9 | 110112
10 | 1
11 |
12 |
13 | Encerramento
14 | 010101010101010
15 | 2013-10-31
16 | 35
17 | 4118402
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/inclusaoDFe1101154119060611747300015058001000000001111700344401-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 41
5 | 2
6 | 06117473000150
7 | 41190606117473000150580010000000011117003444
8 | 2019-06-18T08:36:20-02:00
9 | 110115
10 | 1
11 |
12 |
13 | Inclusao DF-e
14 | 941190000014312
15 | 4118402
16 | PARANAVAI
17 |
18 | 4117107
19 | NOVA LONDRINA
20 | 41190606117473000150550020000025691118027981
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/inclusaocondutor31131223864838000129580000000000051003000003-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 31
5 | 2
6 | 23864838000129
7 | 31131223864838000129580000000000051003000003
8 | 2013-12-10T14:28:06-02:00
9 | 110114
10 | 1
11 |
12 |
13 | Inclusao Condutor
14 |
15 | JOSE ALMEIDA
16 | 00000000191
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/nfelib/mdfe/samples/v3_0/pagamentoOperacao1101103511031029073900013955001000000001105112804101-ped-eve.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 35
5 | 2
6 | 10290739000139
7 | 35110310290739000139550010000000011051128041
8 | 2020-03-17T15:46:40-03:00
9 | 110116
10 | 3
11 |
12 |
13 | Pagamento Operação MDF-e
14 | 935200000016234
15 |
16 | 1
17 | 1795
18 |
19 |
20 | CT-E EMITIDO EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL
21 | 10290739000139
22 |
23 | 99
24 | 3003.51
25 | VALOR DO FRETE
26 |
27 | 3003.51
28 | 1
29 |
30 | 001
31 | 2020-03-19
32 | 3003.51
33 |
34 |
35 | 10290739000139
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/consMDFeNaoEnc_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema de validação XML dp Pedido de Consulta MDF-e não encerrados.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/consReciMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Consulta de MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/consSitMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema de validação XML dp Pedido de Consulta da Situação Atual do MDF-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/consStatServMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Consulta do Status do Serviço MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/distMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | solicitação de distribuição de MDF-e para o Ambiente Autorizador
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/enviMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do Envio de Lote MDF-e para concessão de autorização
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/evCancMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento do cancelamento
7 | 110111
8 |
9 |
10 |
11 |
12 |
13 | Descrição do Evento - “Cancelamento”
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | Número do Protocolo de Status do MDF-e.
25 | 1 posição tipo de autorizador (9 -SEFAZ Nacional );
26 | 2 posições ano;
27 | 10 seqüencial no ano.
28 |
29 |
30 |
31 |
32 | Justificativa do Cancelamento
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/eventoMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Registro de Evento do MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/mdfeConsultaDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema de validação XML do Pedido de Consulta do MDF-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/mdfe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Manisfesto Eletrônico de Documentos Fiscais
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/procEventoMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Pedido de Registro de Evento de MDF-e processado
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retConsMDFeNaoEnc_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta MDF-e não encerrados
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retConsMDFeNaoEnc_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta MDF-e não encerrados
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retConsReciMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do Pedido de Consulta do MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retConsSitMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta da situação atual do MDF-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retConsStatServMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Resultado da Consulta do Status do Serviço de MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retDistMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Retorno de pedido de distribuição de MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retEnviMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do recibo de envio do lote de MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retEventoMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno Pedido de Cancelamento do MDF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retMDFeConsultaDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta do MDF-e.
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/mdfe/schemas/v3_0/retMDFe_v3.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Manisfesto Eletrônico de Documentos Fiscais
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/mdfe_dist_dfe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/mdfe_dist_dfe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/mdfe_dist_dfe/bindings/v1_0/__init__.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:42
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from nfelib.mdfe_dist_dfe.bindings.v1_0.dist_dfe_int_v1_00 import DistDfeInt
7 | from nfelib.mdfe_dist_dfe.bindings.v1_0.ret_dist_dfe_int_v1_00 import (
8 | RetDistDfeInt,
9 | )
10 | from nfelib.mdfe_dist_dfe.bindings.v1_0.tipos_dist_dfe_v1_00 import TverDistDfe
11 | from nfelib.mdfe_dist_dfe.bindings.v1_0.tipos_geral_mdfe_v1_00 import Tamb
12 | from nfelib.mdfe_dist_dfe.bindings.v1_0.xmldsig_core_schema_v1_01 import (
13 | KeyInfoType,
14 | ReferenceType,
15 | Signature,
16 | SignatureType,
17 | SignatureValueType,
18 | SignedInfoType,
19 | TtransformUri,
20 | TransformType,
21 | TransformsType,
22 | X509DataType,
23 | )
24 |
25 | __all__ = [
26 | "DistDfeInt",
27 | "RetDistDfeInt",
28 | "TverDistDfe",
29 | "Tamb",
30 | "KeyInfoType",
31 | "ReferenceType",
32 | "Signature",
33 | "SignatureType",
34 | "SignatureValueType",
35 | "SignedInfoType",
36 | "TtransformUri",
37 | "TransformType",
38 | "TransformsType",
39 | "X509DataType",
40 | ]
41 |
--------------------------------------------------------------------------------
/nfelib/mdfe_dist_dfe/bindings/v1_0/tipos_dist_dfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:42
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
9 |
10 |
11 | class TverDistDfe(Enum):
12 | """
13 | Tipo Versão dos leiautes do Web Service MDFeDistribuicaoDFe.
14 | """
15 |
16 | VALUE_1_00 = "1.00"
17 |
--------------------------------------------------------------------------------
/nfelib/mdfe_dist_dfe/bindings/v1_0/tipos_geral_mdfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:42
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/mdfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
--------------------------------------------------------------------------------
/nfelib/nfe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/cons_reci_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import TconsReciNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class ConsReciNfe(TconsReciNfe):
15 | """
16 | Schema XML de validação do Pedido de Consulta do Recido do Lote de Notas
17 | Fiscais Eletrônicas.
18 | """
19 |
20 | class Meta:
21 | name = "consReciNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/cons_sit_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_cons_sit_nfe_v4_00 import TconsSitNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class ConsSitNfe(TconsSitNfe):
15 | """
16 | Schema de validação XML dp Pedido de Consulta da Situação Atual da Nota Fiscal
17 | Eletrônica.
18 | """
19 |
20 | class Meta:
21 | name = "consSitNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/cons_stat_serv_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_cons_stat_serv_v4_00 import TconsStatServ
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class ConsStatServ(TconsStatServ):
15 | """
16 | Schema XML de validação do Pedido de Consulta do Status do Serviço.
17 | """
18 |
19 | class Meta:
20 | name = "consStatServ"
21 | namespace = "http://www.portalfiscal.inf.br/nfe"
22 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/envi_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import TenviNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class EnviNfe(TenviNfe):
15 | """
16 | Schema XML de validação do Pedido de Concessão de Autorização da Nota Fiscal
17 | Eletrônica.
18 | """
19 |
20 | class Meta:
21 | name = "enviNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/inut_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_inut_nfe_v4_00 import TinutNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class InutNfe(TinutNfe):
15 | """
16 | Schema XML de validação do Pedido de Inutilização de Numeração da Nota Fiscal
17 | Eletrônica.
18 | """
19 |
20 | class Meta:
21 | name = "inutNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import Tnfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class Nfe(Tnfe):
15 | """
16 | Nota Fiscal Eletrônica.
17 | """
18 |
19 | class Meta:
20 | name = "NFe"
21 | namespace = "http://www.portalfiscal.inf.br/nfe"
22 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/proc_inut_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_inut_nfe_v4_00 import TprocInutNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class ProcInutNfe(TprocInutNfe):
15 | """
16 | Pedido de inutilização de númeração de NF-e processado.
17 | """
18 |
19 | class Meta:
20 | name = "ProcInutNFe"
21 | namespace = "http://www.portalfiscal.inf.br/nfe"
22 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/proc_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import TnfeProc
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class NfeProc(TnfeProc):
15 | """
16 | NF-e processada.
17 | """
18 |
19 | class Meta:
20 | name = "nfeProc"
21 | namespace = "http://www.portalfiscal.inf.br/nfe"
22 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/ret_cons_reci_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import TretConsReciNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class RetConsReciNfe(TretConsReciNfe):
15 | """
16 | Schema XML de validação do retorno do Pedido de Consulta do Recido do Lote de
17 | Notas Fiscais Eletrônicas.
18 | """
19 |
20 | class Meta:
21 | name = "retConsReciNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/ret_cons_sit_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_cons_sit_nfe_v4_00 import TretConsSitNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class RetConsSitNfe(TretConsSitNfe):
15 | """
16 | Schema XML de validação do retorno da consulta da situação atual da NF-e.
17 | """
18 |
19 | class Meta:
20 | name = "retConsSitNFe"
21 | namespace = "http://www.portalfiscal.inf.br/nfe"
22 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/ret_cons_stat_serv_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_cons_stat_serv_v4_00 import (
9 | TretConsStatServ,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
13 |
14 |
15 | @dataclass
16 | class RetConsStatServ(TretConsStatServ):
17 | """
18 | Schema XML de validação do Resultado da Consulta do Status do Serviço.
19 | """
20 |
21 | class Meta:
22 | name = "retConsStatServ"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/ret_envi_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_nfe_v4_00 import TretEnviNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class RetEnviNfe(TretEnviNfe):
15 | """
16 | Schema XML de validação do retorno do Pedido de Concessão de Autorização da
17 | Nota Fiscal Eletrônica.
18 | """
19 |
20 | class Meta:
21 | name = "retEnviNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/bindings/v4_0/ret_inut_nfe_v4_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-06-19 02:21:41
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 |
7 | from dataclasses import dataclass
8 | from nfelib.nfe.bindings.v4_0.leiaute_inut_nfe_v4_00 import TretInutNfe
9 |
10 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
11 |
12 |
13 | @dataclass
14 | class RetInutNfe(TretInutNfe):
15 | """
16 | Schema XML de validação do retorno do Pedido de Inutilização de Numeração da
17 | Nota Fiscal Eletrônica.
18 | """
19 |
20 | class Meta:
21 | name = "retInutNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe/samples/v4_0/leiauteInutNFe/41080676472349000430550010000001041671821888-ped-inu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 2
5 | INUTILIZAR
6 | 41
7 | 10
8 | 76472349000430
9 | 55
10 | 1
11 | 101
12 | 101
13 | Ocorreu uma falha no sistema que pulou a sequencia de numeracao
14 |
15 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/consReciNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/consSitNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema de validação XML dp Pedido de Consulta da Situação Atual da Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/consStatServ_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Consulta do Status do Serviço
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/enviNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Concessão de Autorização da Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/inutNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/nfe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/procInutNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Pedido de inutilização de númeração de NF-e processado
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/procNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | NF-e processada
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/retConsReciNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/retConsSitNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno da consulta da situação atual da NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/retConsStatServ_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Resultado da Consulta do Status do Serviço
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/retEnviNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do Pedido de Concessão de Autorização da Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/schemas/v4_0/retInutNFe_v4.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do retorno do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe/ws/__init__.py:
--------------------------------------------------------------------------------
1 | from . import edoc_legacy # noqa: F401
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/bindings/v1_0/env_evento_ator_interessado_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:29
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_ator_interessado.bindings.v1_0.leiaute_evento_ator_interessado_v1_00 import (
8 | TenvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class EnvEvento(TenvEvento):
16 | """
17 | Schema XML de validação do lote de envio do evento de Ator Interessado na NF-e.
18 | """
19 |
20 | class Meta:
21 | name = "envEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/bindings/v1_0/evento_ator_interessado_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:29
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_ator_interessado.bindings.v1_0.leiaute_evento_ator_interessado_v1_00 import (
8 | Tevento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class Evento(Tevento):
16 | """
17 | Schema XML de validação do evento de Ator Interessado na NF-e.
18 | """
19 |
20 | class Meta:
21 | name = "evento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/bindings/v1_0/proc_evento_ator_interessado_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:29
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_ator_interessado.bindings.v1_0.leiaute_evento_ator_interessado_v1_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoNfe(TprocEvento):
16 | """
17 | Schema XML de validação do proc evento Ator Interessado.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/bindings/v1_0/ret_env_evento_ator_interessado_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:29
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_ator_interessado.bindings.v1_0.leiaute_evento_ator_interessado_v1_00 import (
8 | TretEnvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetEnvEvento(TretEnvEvento):
16 | """
17 | Schema XML de Retorno da envio do Evento Ator Interessado na NF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retEnvEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/schemas/v1_0/envEventoAtorInteressado_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do lote de envio do evento de Ator Interessado na NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/schemas/v1_0/eventoAtorInteressado_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento de Ator Interessado na NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/schemas/v1_0/procEventoAtorInteressado_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc evento Ator Interessado
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_ator_interessado/schemas/v1_0/retEnvEventoAtorInteressado_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do Evento Ator Interessado na NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/bindings/v2_0/cons_sit_nfe_v2_01.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:28
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_cons.bindings.v2_0.leiaute_cons_sit_nfe_v2_01 import (
8 | TconsSitNfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ConsSitNfe(TconsSitNfe):
16 | """
17 | Schema de validação XML dp Pedido de Consulta da Situação Atual da Nota Fiscal
18 | Eletrônica.
19 | """
20 |
21 | class Meta:
22 | name = "consSitNFe"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/bindings/v2_0/ret_cons_sit_nfe_v2_01.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:28
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_cons.bindings.v2_0.leiaute_cons_sit_nfe_v2_01 import (
8 | TretConsSitNfe,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetConsSitNfe(TretConsSitNfe):
16 | """
17 | Schema XML de validação do retorno da consulta da situação atual da NF-e.
18 | """
19 |
20 | class Meta:
21 | name = "retConsSitNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/bindings/v2_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:28
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
19 |
20 | class TcodUfIbge(Enum):
21 | """
22 | Tipo Código da UF da tabela do IBGE.
23 | """
24 |
25 | VALUE_11 = "11"
26 | VALUE_12 = "12"
27 | VALUE_13 = "13"
28 | VALUE_14 = "14"
29 | VALUE_15 = "15"
30 | VALUE_16 = "16"
31 | VALUE_17 = "17"
32 | VALUE_21 = "21"
33 | VALUE_22 = "22"
34 | VALUE_23 = "23"
35 | VALUE_24 = "24"
36 | VALUE_25 = "25"
37 | VALUE_26 = "26"
38 | VALUE_27 = "27"
39 | VALUE_28 = "28"
40 | VALUE_29 = "29"
41 | VALUE_31 = "31"
42 | VALUE_32 = "32"
43 | VALUE_33 = "33"
44 | VALUE_35 = "35"
45 | VALUE_41 = "41"
46 | VALUE_42 = "42"
47 | VALUE_43 = "43"
48 | VALUE_50 = "50"
49 | VALUE_51 = "51"
50 | VALUE_52 = "52"
51 | VALUE_53 = "53"
52 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/schemas/v2_0/consSitNFe_v2.01.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema de validação XML dp Pedido de Consulta da Situação Atual da Nota Fiscal Eletrônica
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_cons/schemas/v2_0/retConsSitNFe_v2.01.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do retorno da consulta da situação atual da NF-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_dist_dfe/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_dist_dfe/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_dist_dfe/bindings/v1_0/__init__.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:21
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from nfelib.nfe_dist_dfe.bindings.v1_0.dist_dfe_int_v1_01 import DistDfeInt
7 | from nfelib.nfe_dist_dfe.bindings.v1_0.res_evento_v1_01 import (
8 | TverResEvento,
9 | ResEvento,
10 | )
11 | from nfelib.nfe_dist_dfe.bindings.v1_0.res_nfe_v1_01 import (
12 | TverResNfe,
13 | ResNfe,
14 | ResNfeCSitNfe,
15 | ResNfeTpNf,
16 | )
17 | from nfelib.nfe_dist_dfe.bindings.v1_0.ret_dist_dfe_int_v1_01 import (
18 | RetDistDfeInt,
19 | )
20 | from nfelib.nfe_dist_dfe.bindings.v1_0.tipos_dist_dfe_v1_01 import (
21 | Tamb,
22 | TcorgaoIbge,
23 | TcodUfIbge,
24 | TverDistDfe,
25 | )
26 | from nfelib.nfe_dist_dfe.bindings.v1_0.xmldsig_core_schema_v1_01 import (
27 | KeyInfoType,
28 | ReferenceType,
29 | Signature,
30 | SignatureType,
31 | SignatureValueType,
32 | SignedInfoType,
33 | TtransformUri,
34 | TransformType,
35 | TransformsType,
36 | X509DataType,
37 | )
38 |
39 | __all__ = [
40 | "DistDfeInt",
41 | "TverResEvento",
42 | "ResEvento",
43 | "TverResNfe",
44 | "ResNfe",
45 | "ResNfeCSitNfe",
46 | "ResNfeTpNf",
47 | "RetDistDfeInt",
48 | "Tamb",
49 | "TcorgaoIbge",
50 | "TcodUfIbge",
51 | "TverDistDfe",
52 | "KeyInfoType",
53 | "ReferenceType",
54 | "Signature",
55 | "SignatureType",
56 | "SignatureValueType",
57 | "SignedInfoType",
58 | "TtransformUri",
59 | "TransformType",
60 | "TransformsType",
61 | "X509DataType",
62 | ]
63 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/v1_0/env_evento_entrega_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:33
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_entrega.bindings.v1_0.leiaute_evento_entrega_nfe_v1_00 import (
8 | TenvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class EnvEvento(TenvEvento):
16 | """
17 | Schema XML de validação do lote de envio do evento de Comprovante de Entrega da
18 | NFe.
19 | """
20 |
21 | class Meta:
22 | name = "envEvento"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/v1_0/evento_entrega_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:33
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_entrega.bindings.v1_0.leiaute_evento_entrega_nfe_v1_00 import (
8 | Tevento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class Evento(Tevento):
16 | """
17 | Schema XML de validação do evento de comprovante de entrega da NF-e.
18 | """
19 |
20 | class Meta:
21 | name = "evento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/v1_0/proc_evento_entrega_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:33
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_entrega.bindings.v1_0.leiaute_evento_entrega_nfe_v1_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoNfe(TprocEvento):
16 | """
17 | Schema XML de validação do proc Comprovante de Entrega da NFe.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/v1_0/ret_evento_entrega_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:33
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_entrega.bindings.v1_0.leiaute_evento_entrega_nfe_v1_00 import (
8 | TretEnvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetEnvEvento(TretEnvEvento):
16 | """
17 | Schema XML de Retorno da envio do evento de Comprovante de Entrega da NFe.
18 | """
19 |
20 | class Meta:
21 | name = "retEnvEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:33
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
19 |
20 | class TcorgaoIbge(Enum):
21 | """
22 | Tipo Código de orgão (UF da tabela do IBGE + 90 RFB)
23 | """
24 |
25 | VALUE_11 = "11"
26 | VALUE_12 = "12"
27 | VALUE_13 = "13"
28 | VALUE_14 = "14"
29 | VALUE_15 = "15"
30 | VALUE_16 = "16"
31 | VALUE_17 = "17"
32 | VALUE_21 = "21"
33 | VALUE_22 = "22"
34 | VALUE_23 = "23"
35 | VALUE_24 = "24"
36 | VALUE_25 = "25"
37 | VALUE_26 = "26"
38 | VALUE_27 = "27"
39 | VALUE_28 = "28"
40 | VALUE_29 = "29"
41 | VALUE_31 = "31"
42 | VALUE_32 = "32"
43 | VALUE_33 = "33"
44 | VALUE_35 = "35"
45 | VALUE_41 = "41"
46 | VALUE_42 = "42"
47 | VALUE_43 = "43"
48 | VALUE_50 = "50"
49 | VALUE_51 = "51"
50 | VALUE_52 = "52"
51 | VALUE_53 = "53"
52 | VALUE_90 = "90"
53 | VALUE_91 = "91"
54 | VALUE_92 = "92"
55 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/EventoCancEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento de Cancelamento do Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/EventoEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento de comprovante de entrega da NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/envEventoCancEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do lote de envio do evento de Cancelamento do Comprovante de Entrega da NFe
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/envEventoEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do lote de envio do evento de Comprovante de Entrega da NFe
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/procEventoCancEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc do evento de Cancelamento do Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/procEventoEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/retEventoCancEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do evento de Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_entrega/schemas/v1_0/retEventoEntregaNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do evento de Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/schemas/v1_0/EPEC_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do Evento Prévio de Emissão em Contingência
7 |
8 |
9 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/schemas/v1_0/envEPEC_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do lote de envio do Evento Prévio de Emissão em Contingência
7 |
8 |
9 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/schemas/v1_0/procEPEC_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Evento de emissão prévia em contingência
7 |
8 |
9 |
--------------------------------------------------------------------------------
/nfelib/nfe_epec/schemas/v1_0/retEnvEPEC_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do Evento Emissão Prévia em Contingência
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/v1_0/env_evento_canc_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:24
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cancel.bindings.v1_0.leiaute_evento_canc_nfe_v1_00 import (
8 | TenvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class EnvEvento(TenvEvento):
16 | """
17 | Schema XML de validação do lote de envio do evento cancelamento.
18 | """
19 |
20 | class Meta:
21 | name = "envEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/v1_0/evento_canc_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:24
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cancel.bindings.v1_0.leiaute_evento_canc_nfe_v1_00 import (
8 | Tevento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class Evento(Tevento):
16 | """
17 | Schema XML de validação do evento Cancelamento.
18 | """
19 |
20 | class Meta:
21 | name = "evento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/v1_0/proc_evento_canc_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:24
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cancel.bindings.v1_0.leiaute_evento_canc_nfe_v1_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoNfe(TprocEvento):
16 | """
17 | Schema XML de validação do proc Cancelamento.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/v1_0/ret_env_evento_canc_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:24
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cancel.bindings.v1_0.leiaute_evento_canc_nfe_v1_00 import (
8 | TretEnvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetEnvEvento(TretEnvEvento):
16 | """
17 | Schema XML de Retorno da envio do Evento Cancelamento.
18 | """
19 |
20 | class Meta:
21 | name = "retEnvEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:24
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
19 |
20 | class TcorgaoIbge(Enum):
21 | """
22 | Tipo Código de orgão (UF da tabela do IBGE + 90 RFB)
23 | """
24 |
25 | VALUE_11 = "11"
26 | VALUE_12 = "12"
27 | VALUE_13 = "13"
28 | VALUE_14 = "14"
29 | VALUE_15 = "15"
30 | VALUE_16 = "16"
31 | VALUE_17 = "17"
32 | VALUE_21 = "21"
33 | VALUE_22 = "22"
34 | VALUE_23 = "23"
35 | VALUE_24 = "24"
36 | VALUE_25 = "25"
37 | VALUE_26 = "26"
38 | VALUE_27 = "27"
39 | VALUE_28 = "28"
40 | VALUE_29 = "29"
41 | VALUE_31 = "31"
42 | VALUE_32 = "32"
43 | VALUE_33 = "33"
44 | VALUE_35 = "35"
45 | VALUE_41 = "41"
46 | VALUE_42 = "42"
47 | VALUE_43 = "43"
48 | VALUE_50 = "50"
49 | VALUE_51 = "51"
50 | VALUE_52 = "52"
51 | VALUE_53 = "53"
52 | VALUE_90 = "90"
53 | VALUE_91 = "91"
54 | VALUE_92 = "92"
55 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/schemas/v1_0/envEventoCancNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do lote de envio do evento cancelamento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/schemas/v1_0/eventoCancNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento Cancelamento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/schemas/v1_0/procEventoCancNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Cancelamento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cancel/schemas/v1_0/retEnvEventoCancNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do Evento Cancelamento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/v1_0/cce_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:25
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cce.bindings.v1_0.leiaute_cce_v1_00 import Tevento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
10 |
11 |
12 | @dataclass
13 | class Evento(Tevento):
14 | """
15 | Schema XML de validação do evento Carta de Correção.
16 | """
17 |
18 | class Meta:
19 | name = "evento"
20 | namespace = "http://www.portalfiscal.inf.br/nfe"
21 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/v1_0/env_cce_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:25
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cce.bindings.v1_0.leiaute_cce_v1_00 import TenvEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
10 |
11 |
12 | @dataclass
13 | class EnvEvento(TenvEvento):
14 | """
15 | Schema XML de validação do lote de envio do evento carta de correção.
16 | """
17 |
18 | class Meta:
19 | name = "envEvento"
20 | namespace = "http://www.portalfiscal.inf.br/nfe"
21 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/v1_0/proc_cce_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:25
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cce.bindings.v1_0.leiaute_cce_v1_00 import TprocEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
10 |
11 |
12 | @dataclass
13 | class ProcEventoNfe(TprocEvento):
14 | """
15 | Schema XML de validação do proc Carta de Correção da NFe.
16 | """
17 |
18 | class Meta:
19 | name = "procEventoNFe"
20 | namespace = "http://www.portalfiscal.inf.br/nfe"
21 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/v1_0/ret_env_cce_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:25
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_cce.bindings.v1_0.leiaute_cce_v1_00 import TretEnvEvento
8 |
9 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
10 |
11 |
12 | @dataclass
13 | class RetEnvEvento(TretEnvEvento):
14 | """
15 | Schema XML de Retorno da envio do Evento Carta de Correção.
16 | """
17 |
18 | class Meta:
19 | name = "retEnvEvento"
20 | namespace = "http://www.portalfiscal.inf.br/nfe"
21 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:25
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/samples/v1_0/35180803102452000172550010000476051695511860-01-cce.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 35
5 | 1
6 | 75335849000115
7 | 35180803102452000172550010000476051695511860
8 | 2018-08-17T15:17:45-03:00
9 | 110110
10 | 1
11 | 1.00
12 |
13 | Carta de Correção
14 | VOLUME: 4 VOLUMES
15 | A Carta de Correção é disciplinada pelo § 1º-A do art. 7º do Convênio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularização de erro ocorrido na emissão de documento fiscal, desde que o erro não esteja relacionado com: I - as variáveis que determinam o valor do imposto tais como: base de cálculo, alíquota, diferença de preço, quantidade, valor da operação ou da prestação; II - a correção de dados cadastrais que implique mudança do remetente ou do destinatário; III - a data de emissão ou de saída.
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/schemas/v1_0/CCe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Schema XML de validação do evento Carta de Correção
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/schemas/v1_0/envCCe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do lote de envio do evento carta de correção
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/schemas/v1_0/procCCeNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do proc Carta de Correção da NFe
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_cce/schemas/v1_0/retEnvCCe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de Retorno da envio do Evento Carta de Correção
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/v1_0/__init__.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:22
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from nfelib.nfe_evento_generico.bindings.v1_0.env_evento_v1_00 import EnvEvento
7 | from nfelib.nfe_evento_generico.bindings.v1_0.leiaute_evento_v1_00 import (
8 | TcorgaoIbge,
9 | TenvEvento,
10 | Tevento,
11 | TprocEvento,
12 | TretEnvEvento,
13 | TretEvento,
14 | )
15 | from nfelib.nfe_evento_generico.bindings.v1_0.proc_evento_nfe_v1_00 import (
16 | ProcEventoNfe,
17 | )
18 | from nfelib.nfe_evento_generico.bindings.v1_0.ret_env_evento_v1_00 import (
19 | RetEnvEvento,
20 | )
21 | from nfelib.nfe_evento_generico.bindings.v1_0.tipos_basico_v1_03 import Tamb
22 | from nfelib.nfe_evento_generico.bindings.v1_0.xmldsig_core_schema_v1_01 import (
23 | KeyInfoType,
24 | ReferenceType,
25 | Signature,
26 | SignatureType,
27 | SignatureValueType,
28 | SignedInfoType,
29 | TtransformUri,
30 | TransformType,
31 | TransformsType,
32 | X509DataType,
33 | )
34 |
35 | __all__ = [
36 | "EnvEvento",
37 | "TcorgaoIbge",
38 | "TenvEvento",
39 | "Tevento",
40 | "TprocEvento",
41 | "TretEnvEvento",
42 | "TretEvento",
43 | "ProcEventoNfe",
44 | "RetEnvEvento",
45 | "Tamb",
46 | "KeyInfoType",
47 | "ReferenceType",
48 | "Signature",
49 | "SignatureType",
50 | "SignatureValueType",
51 | "SignedInfoType",
52 | "TtransformUri",
53 | "TransformType",
54 | "TransformsType",
55 | "X509DataType",
56 | ]
57 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/v1_0/env_evento_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:22
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_generico.bindings.v1_0.leiaute_evento_v1_00 import (
8 | TenvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class EnvEvento(TenvEvento):
16 | """
17 | Schema XML de validação do lote de envio do Evento.
18 | """
19 |
20 | class Meta:
21 | name = "envEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/v1_0/proc_evento_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:22
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_generico.bindings.v1_0.leiaute_evento_v1_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoNfe(TprocEvento):
16 | """
17 | Schema XML de validação do proc Evento NFe.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/v1_0/ret_env_evento_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:22
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_generico.bindings.v1_0.leiaute_evento_v1_00 import (
8 | TretEnvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetEnvEvento(TretEnvEvento):
16 | """
17 | Schema XML de Retorno da envio do Evento.
18 | """
19 |
20 | class Meta:
21 | name = "retEnvEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:22
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/schemas/v1_0/envEvento_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do lote de envio do Evento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/schemas/v1_0/procEventoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Evento NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_generico/schemas/v1_0/retEnvEvento_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do Evento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/v1_0/conf_recebto_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:26
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_mde.bindings.v1_0.leiaute_conf_recebto_v1_00 import (
8 | Tevento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class Evento(Tevento):
16 | """
17 | Schema XML de validação do evento Confirmação de recebimento.
18 | """
19 |
20 | class Meta:
21 | name = "evento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/v1_0/env_conf_recebto_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:26
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_mde.bindings.v1_0.leiaute_conf_recebto_v1_00 import (
8 | TenvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class EnvEvento(TenvEvento):
16 | """
17 | Schema XML de validação do lote de envio do evento confirmação de recebimento.
18 | """
19 |
20 | class Meta:
21 | name = "envEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/v1_0/proc_conf_recebto_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:26
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_mde.bindings.v1_0.leiaute_conf_recebto_v1_00 import (
8 | TprocEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class ProcEventoNfe(TprocEvento):
16 | """
17 | Schema XML de validação do proc Confirmação de Recebimento.
18 | """
19 |
20 | class Meta:
21 | name = "procEventoNFe"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/v1_0/ret_env_conf_recebto_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:26
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfe_evento_mde.bindings.v1_0.leiaute_conf_recebto_v1_00 import (
8 | TretEnvEvento,
9 | )
10 |
11 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
12 |
13 |
14 | @dataclass
15 | class RetEnvEvento(TretEnvEvento):
16 | """
17 | Schema XML de Retorno da envio do Evento Confirmação de Recebimento.
18 | """
19 |
20 | class Meta:
21 | name = "retEnvEvento"
22 | namespace = "http://www.portalfiscal.inf.br/nfe"
23 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-02-24 11:16:26
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/confRecebto_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento Confirmação de recebimento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/e210200_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Schema XML de validação do evento da confirmação de recebimento
6 |
7 |
8 |
9 |
10 |
11 | Descrição do Evento:
12 | “Confirmacao de Recebimento"
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/e210210_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Schema XML de validação do evento de Ciência da Operação
6 |
7 |
8 |
9 |
10 |
11 | Descrição do Evento:
12 | "Ciência da Operação"
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/envConfRecebto_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do lote de envio do evento confirmação de recebimento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/procConfRecebtoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Confirmação de Recebimento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_evento_mde/schemas/v1_0/retEnvConfRecebto_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do Evento Confirmação de Recebimento
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | # nothing here
7 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/v1_0/env_evento_insucesso_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
9 | TenvEvento,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
13 |
14 |
15 | @dataclass
16 | class EnvEvento(TenvEvento):
17 | """
18 | Schema XML de validação do lote de envio do evento de Insucesso na Entrega da
19 | NF-e.
20 | """
21 |
22 | class Meta:
23 | name = "envEvento"
24 | namespace = "http://www.portalfiscal.inf.br/nfe"
25 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/v1_0/evento_insucesso_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
9 | Tevento,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
13 |
14 |
15 | @dataclass
16 | class Evento(Tevento):
17 | """
18 | Schema XML de validação do evento de Insucesso na entrega da NF-e.
19 | """
20 |
21 | class Meta:
22 | name = "evento"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/v1_0/proc_evento_insucesso_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
9 | TprocEvento,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
13 |
14 |
15 | @dataclass
16 | class ProcEventoNfe(TprocEvento):
17 | """
18 | Schema XML de validação do proc Insucesso na Entrega da NFe.
19 | """
20 |
21 | class Meta:
22 | name = "procEventoNFe"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/v1_0/ret_evento_insucesso_nfe_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 |
8 | from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
9 | TretEnvEvento,
10 | )
11 |
12 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
13 |
14 |
15 | @dataclass
16 | class RetEnvEvento(TretEnvEvento):
17 | """
18 | Schema XML de Retorno da envio do evento de Insucesso na Entrega da NFe.
19 | """
20 |
21 | class Meta:
22 | name = "retEnvEvento"
23 | namespace = "http://www.portalfiscal.inf.br/nfe"
24 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/bindings/v1_0/tipos_basico_v1_03.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from enum import Enum
7 |
8 | __NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"
9 |
10 |
11 | class Tamb(Enum):
12 | """
13 | Tipo Ambiente.
14 | """
15 |
16 | VALUE_1 = "1"
17 | VALUE_2 = "2"
18 |
19 |
20 | class TcorgaoIbge(Enum):
21 | """
22 | Tipo Código de orgão (UF da tabela do IBGE + 90 RFB)
23 | """
24 |
25 | VALUE_11 = "11"
26 | VALUE_12 = "12"
27 | VALUE_13 = "13"
28 | VALUE_14 = "14"
29 | VALUE_15 = "15"
30 | VALUE_16 = "16"
31 | VALUE_17 = "17"
32 | VALUE_21 = "21"
33 | VALUE_22 = "22"
34 | VALUE_23 = "23"
35 | VALUE_24 = "24"
36 | VALUE_25 = "25"
37 | VALUE_26 = "26"
38 | VALUE_27 = "27"
39 | VALUE_28 = "28"
40 | VALUE_29 = "29"
41 | VALUE_31 = "31"
42 | VALUE_32 = "32"
43 | VALUE_33 = "33"
44 | VALUE_35 = "35"
45 | VALUE_41 = "41"
46 | VALUE_42 = "42"
47 | VALUE_43 = "43"
48 | VALUE_50 = "50"
49 | VALUE_51 = "51"
50 | VALUE_52 = "52"
51 | VALUE_53 = "53"
52 | VALUE_90 = "90"
53 | VALUE_91 = "91"
54 | VALUE_92 = "92"
55 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/EventoCancInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento de Cancelamento do Comprovante de Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/EventoInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do evento de Insucesso na entrega da NF-e
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/envEventoCancInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do lote de envio do evento de Cancelamento de Insucesso na Entrega da NF-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/envEventoInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Schema XML de validação do lote de envio do evento de Insucesso na Entrega da NF-e
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/procEventoCancInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc do evento de Cancelamento do Insucesso na Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/procEventoInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de validação do proc Insucesso na Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/retEventoCancInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do evento de Insucesso na Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfe_insucesso/schemas/v1_0/retEventoInsucessoNFe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Schema XML de Retorno da envio do evento de Insucesso na Entrega da NFe
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/nfelib/nfse/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfse/bindings/__init__.py:
--------------------------------------------------------------------------------
1 | # nothing here
2 |
--------------------------------------------------------------------------------
/nfelib/nfse/bindings/v1_0/dps_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfse.bindings.v1_0.tipos_complexos_v1_00 import Tcdps
8 |
9 | __NAMESPACE__ = "http://www.sped.fazenda.gov.br/nfse"
10 |
11 |
12 | @dataclass
13 | class Dps(Tcdps):
14 | """Schema XML da Declaração de Prestação de Serviços - DPS"""
15 |
16 | class Meta:
17 | name = "DPS"
18 | namespace = "http://www.sped.fazenda.gov.br/nfse"
19 |
--------------------------------------------------------------------------------
/nfelib/nfse/bindings/v1_0/evento_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfse.bindings.v1_0.tipos_eventos_v1_00 import Tcevento
8 |
9 | __NAMESPACE__ = "http://www.sped.fazenda.gov.br/nfse"
10 |
11 |
12 | @dataclass
13 | class Evento(Tcevento):
14 | """
15 | Schema XML do Pedido de Registro de Eventos.
16 | """
17 |
18 | class Meta:
19 | name = "evento"
20 | namespace = "http://www.sped.fazenda.gov.br/nfse"
21 |
--------------------------------------------------------------------------------
/nfelib/nfse/bindings/v1_0/nfse_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfse.bindings.v1_0.tipos_complexos_v1_00 import Tcnfse
8 |
9 | __NAMESPACE__ = "http://www.sped.fazenda.gov.br/nfse"
10 |
11 |
12 | @dataclass
13 | class Nfse(Tcnfse):
14 | """Schema XML da Nota Fiscal de Serviços Eletrônica - NFS-e"""
15 |
16 | class Meta:
17 | name = "NFSe"
18 | namespace = "http://www.sped.fazenda.gov.br/nfse"
19 |
--------------------------------------------------------------------------------
/nfelib/nfse/bindings/v1_0/ped_reg_evento_v1_00.py:
--------------------------------------------------------------------------------
1 | """This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
2 |
3 | Generator: DataclassGenerator
4 | See: https://xsdata.readthedocs.io/
5 | """
6 | from dataclasses import dataclass
7 | from nfelib.nfse.bindings.v1_0.tipos_eventos_v1_00 import TcpedRegEvt
8 |
9 | __NAMESPACE__ = "http://www.sped.fazenda.gov.br/nfse"
10 |
11 |
12 | @dataclass
13 | class PedRegEvento(TcpedRegEvt):
14 | """
15 | Schema XML do Pedido de Registro de Eventos.
16 | """
17 |
18 | class Meta:
19 | name = "pedRegEvento"
20 | namespace = "http://www.sped.fazenda.gov.br/nfse"
21 |
--------------------------------------------------------------------------------
/nfelib/nfse/samples/v1_0/CancelarNFSe-ped-cannfse.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 2
5 | Teste_0.1.0
6 | 2022-09-28T13:50:29-03:00
7 | 01761135000132
8 | 14001591201761135000132000000000000022096100197260
9 | 001
10 |
11 | Cancelamento de NFS-e
12 | 1
13 | xMotivo___teste____1
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/nfelib/nfse/samples/v1_0/ConsultarNFSeRPS-ped-sitnfserps.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 2
5 | 2022-09-28T13:50:29-03:00
6 | EmissorWeb_1.0.0.0
7 | 900
8 | 6
9 | 2022-09-28
10 | 1
11 | 1400159
12 |
13 | 01761135000132
14 | 01761135000132
15 |
16 | 3
17 | 1
18 | 0
19 |
20 |
21 |
22 |
23 | 1400159
24 |
25 |
26 | 010101
27 | teste teste teste teste teste teste teste teste teste teste teste
28 |
29 |
30 |
31 |
32 | 999999999.99
33 |
34 |
35 | 9999999.99
36 | 9.99
37 |
38 |
39 |
40 | 1
41 | 1
42 |
43 |
44 | 8.99
45 | 9.99
46 | 9.99
47 |
48 |
49 | 0.01
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/nfelib/nfse/samples/v1_0/dps-regime-normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1
5 | 2023-09-09T09:42:06-03:00
6 | 20220719
7 | 00007
8 | 2
9 | 2023-09-09
10 | 1
11 | 4202404
12 |
13 | 00000000000000
14 | 152422
15 |
16 | 2
17 | 0
18 |
19 |
20 |
21 | 00000000000000
22 | 00000
23 | XXXXXXX XXXXXXXXXXX LTDA ME
24 |
25 | ARY XXXXXXX XXXXX
26 | 79
27 | XXXXXXXX XXXXX
28 |
29 |
30 |
31 |
32 | 4202404
33 |
34 |
35 | 010101
36 | Teste de NF Nacional com imposto
37 | 111111111
38 |
39 |
40 |
41 |
42 | 20.00
43 |
44 |
45 |
46 | 1
47 | 1
48 |
49 |
50 | 0.40
51 | 0.00
52 | 0.00
53 |
54 |
55 | 0
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/nfelib/nfse/samples/v1_0/dps-simples.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 2
5 | 2022-09-28T13:50:29-03:00
6 | EmissorWeb_1.0.0.0
7 | 900
8 | 6
9 | 2022-09-28
10 | 1
11 | 1400159
12 |
13 | 01761135000132
14 | 01761135000132
15 |
16 | 3
17 | 1
18 | 0
19 |
20 |
21 |
22 |
23 | 1400159
24 |
25 |
26 | 010101
27 | teste teste teste teste teste teste teste teste teste teste teste
28 |
29 |
30 |
31 |
32 | 999999999.99
33 |
34 |
35 | 9999999.99
36 | 9.99
37 |
38 |
39 |
40 | 1
41 | 1
42 |
43 |
44 | 0.01
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/nfelib/nfse/schemas/v1_0/DPS_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 | Schema XML da Declaração de Prestação de Serviços - DPS
11 |
12 |
13 |
--------------------------------------------------------------------------------
/nfelib/nfse/schemas/v1_0/NFSe_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 | Schema XML da Nota Fiscal de Serviços Eletrônica - NFS-e
12 |
13 |
14 |
--------------------------------------------------------------------------------
/nfelib/nfse/schemas/v1_0/evento_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 | Schema XML do Pedido de Registro de Eventos
13 |
14 |
15 |
--------------------------------------------------------------------------------
/nfelib/nfse/schemas/v1_0/pedRegEvento_v1.00.xsd:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 | Schema XML do Pedido de Registro de Eventos
13 |
14 |
15 |
--------------------------------------------------------------------------------
/tests/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/akretion/nfelib/c52971aaaa5bf088bf53e1ed0af72458f54f3c2b/tests/__init__.py
--------------------------------------------------------------------------------
/tests/cce/v1_00/leiauteCCe/35180803102452000172550010000476051695511860-01-cce.xml:
--------------------------------------------------------------------------------
1 | 35175335849000115351808031024520001725500100004760516955118602018-08-17T15:17:45-03:0011011011.00Carta de CorreçãoVOLUME: 4 VOLUMESA Carta de Correção é disciplinada pelo § 1º-A do art. 7º do Convênio S/N, de 15 de dezembro de 1970 e pode ser utilizada para regularização de erro ocorrido na emissão de documento fiscal, desde que o erro não esteja relacionado com: I - as variáveis que determinam o valor do imposto tais como: base de cálculo, alíquota, diferença de preço, quantidade, valor da operação ou da prestação; II - a correção de dados cadastrais que implique mudança do remetente ou do destinatário; III - a data de emissão ou de saída.
2 |
--------------------------------------------------------------------------------
/tests/cte/test_cte.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2023 - TODAY Raphaël Valyi - Akretion
2 |
3 | import os
4 | from pathlib import Path
5 | from unittest import TestCase
6 |
7 | from xmldiff import main
8 | from xsdata.formats.dataclass.parsers import XmlParser
9 | from xsdata.formats.dataclass.serializers import XmlSerializer
10 | from xsdata.formats.dataclass.serializers.config import SerializerConfig
11 |
12 | from nfelib.cte.bindings import v4_0 # noqa: F401
13 |
14 |
15 | class CTeTests(TestCase):
16 | def test_in_out_cte(self):
17 | path = os.path.join("nfelib", "cte", "samples", "v4_0")
18 | for filename in os.listdir(path):
19 | input_file = os.path.join(path, filename)
20 | parser = XmlParser()
21 | obj = parser.from_path(Path(input_file))
22 | serializer = XmlSerializer(config=SerializerConfig(pretty_print=True))
23 | xml = serializer.render(
24 | obj=obj, ns_map={None: "http://www.portalfiscal.inf.br/cte"}
25 | )
26 |
27 | output_file = "tests/output_cte.xml"
28 | with open(output_file, "w") as f:
29 | f.write(xml)
30 |
31 | diff = main.diff_files(input_file, output_file)
32 | self.assertEqual(len(diff), 0)
33 | if len(diff) != 0:
34 | break
35 |
--------------------------------------------------------------------------------
/tests/fingerprint.json:
--------------------------------------------------------------------------------
1 | {
2 | "nfe": [
3 | "https://www.nfe.fazenda.gov.br/portal/listaConteudo.aspx?tipoConteudo=BMPFMBoln3w=",
4 | "017b5452a72a5baee9716e6660d44aa3"
5 | ],
6 | "cte": [
7 | "https://www.cte.fazenda.gov.br/portal/listaConteudo.aspx?tipoConteudo=0xlG1bdBass=",
8 | "c8febaf2ca9b1dd5dd25d49905c702c3"
9 | ],
10 | "nfse": [
11 | "https://www.gov.br/nfse/pt-br/biblioteca/documentacao-tecnica",
12 | "6c82d57d6a468c74030dfd723500cbfc"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/tests/fingerprints.json:
--------------------------------------------------------------------------------
1 | {
2 | "nfe": [
3 | "https://www.nfe.fazenda.gov.br/portal/listaConteudo.aspx?tipoConteudo=BMPFMBoln3w=",
4 | "017b5452a72a5baee9716e6660d44aa3"
5 | ],
6 | "cte": [
7 | "https://www.cte.fazenda.gov.br/portal/listaConteudo.aspx?tipoConteudo=0xlG1bdBass=",
8 | "c8febaf2ca9b1dd5dd25d49905c702c3"
9 | ],
10 | "nfse": [
11 | "https://www.gov.br/nfse/pt-br/biblioteca/documentacao-tecnica",
12 | "6c82d57d6a468c74030dfd723500cbfc"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/tests/mdfe/test_mdfe.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2023 - TODAY Raphaël Valyi - Akretion
2 |
3 | import os
4 | from pathlib import Path
5 | from unittest import TestCase
6 |
7 | from xmldiff import main
8 | from xsdata.formats.dataclass.parsers import XmlParser
9 | from xsdata.formats.dataclass.serializers import XmlSerializer
10 | from xsdata.formats.dataclass.serializers.config import SerializerConfig
11 |
12 | from nfelib.mdfe.bindings import v3_0 # noqa: F401
13 |
14 |
15 | class MDFeTests(TestCase):
16 | def test_in_out_mdfe(self):
17 | path = os.path.join("nfelib", "mdfe", "samples", "v3_0")
18 | for filename in os.listdir(path):
19 | input_file = os.path.join(path, filename)
20 | parser = XmlParser()
21 | obj = parser.from_path(Path(input_file))
22 | serializer = XmlSerializer(config=SerializerConfig(pretty_print=True))
23 | xml = serializer.render(
24 | obj=obj, ns_map={None: "http://www.portalfiscal.inf.br/mdfe"}
25 | )
26 |
27 | output_file = "tests/output_mdfe.xml"
28 | with open(output_file, "w") as f:
29 | f.write(xml)
30 |
31 | diff = main.diff_files(input_file, output_file)
32 | self.assertEqual(len(diff), 0)
33 | if len(diff) != 0:
34 | break
35 |
--------------------------------------------------------------------------------
/tests/nfe/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/akretion/nfelib/c52971aaaa5bf088bf53e1ed0af72458f54f3c2b/tests/nfe/__init__.py
--------------------------------------------------------------------------------
/tests/nfe_evento_cce/test_cce.py:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2019 - TODAY Raphaël Valyi - Akretion
2 |
3 | import os
4 | from pathlib import Path
5 | from unittest import TestCase
6 |
7 | from xmldiff import main
8 | from xsdata.formats.dataclass.parsers import XmlParser
9 | from xsdata.formats.dataclass.serializers import XmlSerializer
10 | from xsdata.formats.dataclass.serializers.config import SerializerConfig
11 |
12 | from nfelib.nfe_evento_cce.bindings.v1_0.cce_v1_00 import Evento
13 |
14 |
15 | class CCeTests(TestCase):
16 | def test_in_out_leiauteCCe(self):
17 | path = os.path.join("nfelib", "nfe_evento_cce", "samples", "v1_0")
18 | for filename in os.listdir(path):
19 | input_file = os.path.join(path, filename)
20 | parser = XmlParser()
21 | obj = parser.from_path(Path(input_file), Evento)
22 | serializer = XmlSerializer(config=SerializerConfig(pretty_print=True))
23 | xml = serializer.render(
24 | obj=obj, ns_map={None: "http://www.portalfiscal.inf.br/nfe"}
25 | )
26 |
27 | output_file = "tests/output_nfe_evento_cce.xml"
28 | with open(output_file, "w") as f:
29 | f.write(xml)
30 |
31 | diff = main.diff_files(input_file, output_file)
32 | self.assertEqual(len(diff), 0)
33 | if len(diff) != 0:
34 | break
35 |
--------------------------------------------------------------------------------