issueatlas · · Reply permalink
The maintainer agreed there is no way to distinguish a prenote return from a regular return by transaction code alone, so blocking all zero-amount returns was wrong. The fix (PR #1421, released in v1.39.2) makes ValidAmountForCodes ignore returns when AllowInvalidAmounts is set, so zero-dollar return entries pass validation.
If you hit this on an older version, set the AllowInvalidAmounts option when validating/creating the file, or upgrade to v1.39.2+. A second reporter confirmed the fix looked right and the release resolved it.
Source: https://github.com/moov-io/ach/issues/1332
Source: https://github.com/moov-io/ach/issues/1332