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
461 stars 151 forks source link

proposal: cmd/ach: -cost flag #359

Closed adamdecaf closed 3 years ago

adamdecaf commented 6 years ago

Following from https://github.com/moov-io/ach/issues/356 (ach command line tool proposal) the NACHA rules specify a cost breakdown:

We could estimate the cost per-file (or for a group of files) and return. At a later point we could factor this into file consolidation logic.

$ ach -cost -i customer1.ach -i customer2.ach
customer1.ach: $0.02 
customer2.ach: $0.000145
Total: $0.020145
$ ach -cost -i customer*
customer1.ach: $0.02 
customer2.ach: $0.000145
Total: $0.020145

Please upvote if you'd find this useful.

vxio commented 3 years ago

This issue was create a while back, @adamdecaf do you think this feature would still be useful?

adamdecaf commented 3 years ago

Probably not as a CLI flag. We can revisit it later.