afrunt / jach

Java library for reading and writing ACH/NACHA documents
Apache License 2.0
44 stars 37 forks source link

FileHeader "immediate-origin" should start at position 13 to include full 10 digits #12

Closed pc-btegginamath closed 5 years ago

pc-btegginamath commented 5 years ago

I noticed the "immediate origin" field in the file header starts at position 14 instead it should start at position 13 in order to fit complete 10 digits. Currently, immediate-origin gets truncated to first 9 digits.

FileHeader.java

**@ACHField(start = 14, length = 10, name = IMMEDIATE_ORIGIN, inclusion = MANDATORY)** public String getImmediateOrigin() { return immediateOrigin; }

afrunt commented 5 years ago

@pc-btegginamath fixed in 0.2.5.3 screen shot 2019-02-11 at 12 11 11 pm