Skip to content

Commit

Permalink
caixa 18 20 registro 1 numero
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Sep 12, 2024
1 parent fe0e17a commit 4ea02b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cnab/Remessa/Cnab400/Banco/Caixa.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function addBoleto(BoletoContract $boleto)
$this->add(2, 3, strlen(Util::onlyNumbers($this->getBeneficiario()->getDocumento())) == 14 ? '02' : '01');
$this->add(4, 17, Util::formatCnab('9', Util::onlyNumbers($this->getBeneficiario()->getDocumento()), 14));
if ($this->isLayout007()) {
$this->add(18, 20, '');
$this->add(18, 20, '000');
$this->add(21, 27, Util::formatCnab('9', $this->getCodigoCliente(), 7));
} else {
$this->add(18, 21, Util::formatCnab('9', $this->getAgencia(), 4));
Expand Down

0 comments on commit 4ea02b8

Please sign in to comment.