snsparrish / NachaLibPHP

PHP lib for creating NACHA files
41 stars 20 forks source link

setSettlementAccount is not used in building the nacha file #8

Open mjbrunme opened 5 years ago

mjbrunme commented 5 years ago

This setter exists and is in the documentation, but the settlementAccount variable is not used anywhere in the file. Is this supposed to be used somewhere? With my bank everything appears to be going through my main account.

tvaughan73 commented 3 years ago

I was wondering about this as well so I looked at the NACHA format spec and there is no place I can find where you would specify a settlement account. Not sure why it is there.

hegemanjr commented 3 years ago

It's been years since I've looked at a NACHA file or this code, so I'm not sure what I have to say is relevant. I wish I could find the code that I used this repo for.

Anyway, the use case I had when I used this was to push/pull money to/from many non-transactional accounts (MM/Savings) to/from a single transactional (checking) account that we called the settlement account. I thought we used the settlementAccount property to specify the account when creating the offsetting transaction, but I don't see a getter and the property is private. I may have extended the NachaFile class and made my own getter.

Sorry I don't have a solid answer for you, but I don't think it is a requirement.

Good luck!