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
Should not allow to create File with different SCC codes in Batch Header and Batch Control #1076
Comments
It sounds like the SCC code is correctly fixed. I'm not sure what the bug is here. We're creating a valid file from invalid input, which is good. |
I see the below logic in batch.go, I assume it is mandating the both SCC codes should be equal. But actually it is not mandating as mentioned in this ticket.
|
Does setting https://pkg.go.dev/github.com/moov-io/ach?utm_source=godoc#ValidateOpts.UnequalServiceClassCode |
Looks like there is no validation on Batch Control SCC code. Even I can pass some random integer.
But NACHA file is created having Batch Control SCC code equal to Batch Header SCC code
ACH Version:
master
What were you trying to do?
What did you expect to see?
What did you see?
How can we reproduce the problem?
The text was updated successfully, but these errors were encountered: