@plasoft/boletos 1.0.63 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -2593,7 +2593,7 @@ function gerarRemessa5({ dados }) {
2593
2593
  arquivo.add("00000000");
2594
2594
  arquivo.add(valorJurosDia.toFixed(2).replace(".", "").padStart(15, "0"));
2595
2595
  arquivo.add(codigoDesconto);
2596
- arquivo.add(codigoDesconto == "0" ? vencimento : "00000000");
2596
+ arquivo.add(codigoDesconto == "2" ? vencimento : "00000000");
2597
2597
  arquivo.add(desconto.replace(".", "").padStart(15, "0"));
2598
2598
  arquivo.add("000000000000000");
2599
2599
  arquivo.add("000000000000000");