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
Cannot create a return entry for Prenotes #1332
Comments
Can you reproduce this on the latest release? It sounds very familiar to #1215 |
I am able to reproduce the error with the latest version. It seems like the existing code will work if the Company Entry Description is PRENOTE. I spoke with our banking personnel and was told that will not always be the case. If you change the test linked below so that the Company Entry Description is not PRENOTE then it will fail ach/test/issues/issue1215_test.go Line 34 in 82130e8
|
Yea, I can reproduce the issue and it puts us in a bit of a tough spot. Returns are supposed to "Return only the exact dollar amount of the original entry." That means typical transactional returns are invalid when their amount is zero. All returns have the same TransactionCodes so we lose all information that the entry is a prenote. I don't think it's safe to allow every return to have zero'd amounts because that's wrong. Do you know of a better solution? |
Setting |
I don't believe that there is anyway to identify a transaction as a prenote when it is a return entry. I don't know how you can do this without allowing all returns to have $0 amounts. I am trying to talk our banking personnel to let us set the CompanyEntryDescription to "PRENOTE" so we can avoid this issue. |
Did you hear back about being able to use PRENOTE? |
Any update @sunnygill-stash ? |
The specification also doesn't mention the need to set the company entry description to |
Okay we can ignore returns when AllowInvalidAmounts is set. |
What SEC code are you using for prenotes? I think allow zero amount returns is SEC code specific. |
It just happened with a
|
I've created #1421 - could you look over it and double check I'm not missing anything? |
I think it's looking good, thanks! |
ACH Version
v1.31.1
What were you trying to do?
We were attempting to generate a return entry for a prenote for that we received. We received a validation error out of moov because the amount was $0. It appears as though moov is only allowing entries with prenote transaction codes (23, 28, 33, 38, 43, 48, 53) to have $0 amounts. When a prenote is returned it is required to have a transaction code for returns or NOCs (21, 26, 31, 36, 41, 46, 51).
What did you expect to see?
We expected moov to accept entries that have return transaction codes to have $0 amounts.
this batch type requires that the amount is non-zero
What did you see?
We received an error that prevented file generation.
How can we reproduce the problem?
Create an entry with a return transaction code and a $0 amount.
The text was updated successfully, but these errors were encountered: