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

Corrige pis cofins na NFCe #380

Merged
merged 4 commits into from
Jan 24, 2025

Conversation

leogregianin
Copy link
Collaborator

Corrige issue #369

Copy link
Collaborator

@felps-dev felps-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consegue um teste unitário para garantir que realmente é opcional na serialização?

@leogregianin
Copy link
Collaborator Author

Consegue um teste unitário para garantir que realmente é opcional na serialização?

Vou fazer. Falha minha em não ter feito.

@leogregianin
Copy link
Collaborator Author

Nesse PR:

  • Feita a atualização dos schemas XSD para NFe/NFCe
  • Feito testes unitários para NFCe para o grupo de informações do PIS/COFINS. Testes informando o grupo e testes sem informar.

A regra do PIS/COFINS para NFCe (modelo 65) ficou:

  • A modalidade (CST) sempre vai ser obrigatória.
  • Se não informar ou informar zero para o campo pis_valor_base_calculo, pis_aliquota_percentual e pis_valor e a modalidade não for "04", "05", "06", "07", "08", "09", "49", "99" não vai gerar o grupo.

Copy link
Collaborator

@felps-dev felps-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maravilha!

@leogregianin leogregianin merged commit 46596ac into TadaSoftware:main Jan 24, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants