Add Balancing Entry Detail rows in order to construct a Balanced ACH file#57
Merged
jm81 merged 6 commits intorubyritas:masterfrom Nov 10, 2020
Merged
Add Balancing Entry Detail rows in order to construct a Balanced ACH file#57jm81 merged 6 commits intorubyritas:masterfrom
jm81 merged 6 commits intorubyritas:masterfrom
Conversation
Some entities like to receive what’s called a Balanced ACH file. This commit adds in Balancing Entry Detail shown in https://www.treasurysoftware.com/ACH/ACH-File-Offset-Record-Balanced.aspx. Also, contents of a balancing entry detail are also derived from https://amsiaws.saas.infor.com/AMSIWEBG005/Areas/eSite/help/Balanced_NACHA_File_Layout.htm:
Let’s test the file output when we actually generate a balanced file and ensure the credit and debit amounts match
These changes work just fine. Thanks Caleb! Co-authored-by: cbourg2 <37114606+cbourg2@users.noreply.github.com>
[KOPS-318] Introduce the ability to create a balanced nacha file
Collaborator
|
@samgranieri Thanks! I've pushed version 0.5.16 to rubygems which includes this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At CityBase, one of our clients asked us to transfer NACHA files with a balancing entry detail row, aka a balanced ACH file
What is a balanced ACH file, and how does it differ from how we (and this gem) generate ACH files now?
I'll simply quote from this site's documentation
I've also relied on https://www.treasurysoftware.com/ACH/ACH-File-Offset-Record-Balanced.aspx for documentation on how to construct an balanced ACH file
You would create a balancing entry detail row like this
I've modified batch.rb to check to see if the last entry in a batch is a balanced entry, and to alter the credits and debit totals accordingly in the control row.
Here's an example of a balanced ACH file