moov-io / ach

ACH implements a reader, writer, and validator for Automated Clearing House (ACH) files. The HTTP server is available in a Docker image and the Go package is available.
https://moov-io.github.io/ach/
Apache License 2.0
447 stars 150 forks source link

IAT Returns sample file required. #1376

Closed ganesh-solid closed 3 days ago

ganesh-solid commented 5 months ago

ACH Version

v1.9.2

What were you trying to do?

  1. I was trying to return an IAT transactions, currently it does not add the IAT entries to "ReturnEntries" field. Is there any example of IAT return? or is IAT returns are handled seperately?

What did you expect to see?

I expected to see IAT being populated at "ReturnEnties" field.

adamdecaf commented 5 months ago

The IATBatch type does not currently implement the ach.Batcher interface, so we can't include them on the root level helper.

./iatBatch.go:49:17: cannot use (&IATBatch{}) (value of type *IATBatch) as Batcher value in variable declaration: *IATBatch does not implement Batcher (missing method AddADVEntry)
./iatBatch.go:49:17: cannot use (&IATBatch{}) (value of type *IATBatch) as Batcher value in variable declaration: *IATBatch does not implement Batcher (wrong type for method AddEntry)
        have AddEntry(*IATEntryDetail)
        want AddEntry(*EntryDetail)
ganesh-solid commented 5 months ago

@adamdecaf Do you have any sample file for IAT returns? How do we file returns for IAT ach transactions then?

adamdecaf commented 5 months ago

Any examples we could share would be in this repository. Moov isn't using the IAT part of this library currently, but we have many users of the library who are sending IAT files.

An IATEntryDetail has a field for Addenda99 which would be where you'd specify the Return record / information.

adamdecaf commented 4 months ago

@ganesh-solid has your question been answered?