@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.mjs CHANGED
@@ -2558,7 +2558,7 @@ function gerarRemessa5({ dados }) {
2558
2558
  arquivo.add("00000000");
2559
2559
  arquivo.add(valorJurosDia.toFixed(2).replace(".", "").padStart(15, "0"));
2560
2560
  arquivo.add(codigoDesconto);
2561
- arquivo.add(codigoDesconto == "0" ? vencimento : "00000000");
2561
+ arquivo.add(codigoDesconto == "2" ? vencimento : "00000000");
2562
2562
  arquivo.add(desconto.replace(".", "").padStart(15, "0"));
2563
2563
  arquivo.add("000000000000000");
2564
2564
  arquivo.add("000000000000000");