afrunt / jach

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

CTX Entry Detail Record. Addenda Record Indicator doesn't match standard #11

Closed cziberpv closed 6 years ago

cziberpv commented 6 years ago

In standard https://secureinstantpayments.com/sip/help/interface_specs/external/NACHA_format.pdf page 11 "CTX Entry Detail Record", field "Addenda Record Indicator" described as:

If there is no addenda accompanying this transaction enter “0”. If addenda is accompanying the transaction enter “1”.

However in version 0.2.5.1 it is overridden to be "1" only. Because of this validation of document is failing if record doesn't have addenda.

afrunt commented 6 years ago

@cziberpv fixed in 0.2.5.2