Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Creation - Segment Debit/Credit #528

Closed
wadearnold opened this issue Apr 30, 2019 · 0 comments · Fixed by #577
Closed

File Creation - Segment Debit/Credit #528

wadearnold opened this issue Apr 30, 2019 · 0 comments · Fixed by #577
Assignees

Comments

@wadearnold
Copy link
Member

File creation should default to NACHA rules by supporting both credits and debits in the same ACH file for type codes. Some legacy systems require the file to only contain Debits (deposit) or Credits (withdraws) in a file. Segmenting Debits and Credits should be a configuration for the client.

The proposed configuration would iterate through the file and write all batches with a ServiceClassCode of 220 into a credits file and 225 into a debits file. Service class code `200 would need to create new batches in the appropriate debits or credits files.

Rather than a configuration, this could be a post file creation process to segment the debits and credits that would take an input of an ACH.File being created and return two ACH.Files that have been segmented.

We should be aware of how to deal with the Balanced Offset Record when segmenting files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants