Itaú¶
This bank has the following mandatory fields:
agencia: | Account keeping agency. (size: 4) |
---|---|
conta: | Account number. (size: 5) |
// for 400 positions
$send = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Itau;
// Or, for 240 positions
$send = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab240\Banco\Itau;
$send->setBeneficiario($beneficiario)
->setCarteira(109)
->setAgencia(1111)
->setConta(22222);
Or, Simply:
$sendArray = [
'beneficiario' => $beneficiario,
'carteira' => 109,
'agencia' => 1111,
'conta' => 22222,
];
// for 400 positions
$send = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Itau($sendArray);
// Or, for 240 positions
$send = new Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab240\Banco\Itau($sendArray);
Attention
To generate the file see the Remessa session.