Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valor da tag digVal mal formatado #44

Open
renatonlima opened this issue Apr 29, 2022 · 0 comments
Open

Valor da tag digVal mal formatado #44

renatonlima opened this issue Apr 29, 2022 · 0 comments

Comments

@renatonlima
Copy link
Member

Ao analisar os XMLs das NF-es gerados percebi que existe um problema na tag digVal dentro de protNFe/infProt que o valor da tag esta com b'.....':

image

Não parece que seja um problema do nfelib porque o campo DigestValue dentro da tag Signature/SignedInfo/Reference/ tem o mesmo valor e esta sendo gerado corretamente:

image

Eu não investiguei muito, mas parece que o erro esta aqui: _generateds_to_string_etree, mais precisamente nesta linha https://github.com/erpbrasil/erpbrasil.edoc/blob/master/src/erpbrasil/edoc/edoc.py#L44 que pela documentação, parece que esta faltando o parametro encoding:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant