forked from TadaSoftware/PyNFe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrige CRT dos testes das NFes com produtos CST
- Loading branch information
1 parent
fa79897
commit 743cd51
Showing
12 changed files
with
25 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ def preenche_emitente(self): | |
razao_social='NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL', | ||
nome_fantasia='Nome Fantasia da Empresa', | ||
cnpj='99999999000199', # cnpj apenas números | ||
codigo_de_regime_tributario='1', # 1 para simples nacional ou 3 para normal | ||
codigo_de_regime_tributario='3', # 1 para simples nacional ou 3 para normal | ||
inscricao_estadual='9999999999', # numero de IE da empresa | ||
inscricao_municipal='12345', | ||
cnae_fiscal='9999999', # cnae apenas números | ||
|
@@ -136,7 +136,7 @@ def preenche_notafiscal_produto_cst00(self): | |
ind_total=1, | ||
icms_modalidade='00', | ||
icms_origem=0, | ||
icms_csosn='400', | ||
icms_csosn='', | ||
pis_modalidade='51', | ||
cofins_modalidade='51', | ||
pis_valor_base_calculo=Decimal('117.00'), | ||
|
@@ -153,19 +153,6 @@ def preenche_notafiscal_produto_cst00(self): | |
ipi_valor_ipi_dev=Decimal('10.00'), | ||
pdevol=Decimal('1.00'), | ||
) | ||
self.notafiscal.adicionar_nota_fiscal_referenciada( | ||
chave_acesso='12345678901234567890123456789012345678900001' | ||
) | ||
self.notafiscal.adicionar_nota_fiscal_referenciada( | ||
chave_acesso='12345678901234567890123456789012345678900002' | ||
) | ||
|
||
self.notafiscal.adicionar_responsavel_tecnico( | ||
cnpj='99999999000199', | ||
contato='Teste PyNFe', | ||
email='[email protected]', | ||
fone='11912341234' | ||
) | ||
|
||
def serializa_nfe(self): | ||
serializador = SerializacaoXML(_fonte_dados, homologacao=self.homologacao) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters