Skip to content

Commit

Permalink
ajuste uppercase no tipo do documento
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardolp committed Sep 25, 2024
1 parent 7a92061 commit e9e2da1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pynfe/processamento/comunicacao.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ def consulta_cadastro(self, modelo, documento, tipo='CNPJ'):
etree.SubElement(info, "UF").text = self.uf.upper()

# Monta tipo de documento CNPJ, CPF ou IE
tipo.upper()
etree.SubElement(info, tipo).text = documento
etree.SubElement(info, tipo.upper()).text = documento

# etree.SubElement(info, 'CPF').text = cpf

Expand Down

0 comments on commit e9e2da1

Please sign in to comment.