ach icon indicating copy to clipboard operation
ach copied to clipboard

Should Addenda records be embedded in JSON?

Open adamdecaf opened this issue 2 years ago • 0 comments

ACH Version: v1.18.4

What were you trying to do? It appears both examples are consumed by the moov-io/ach library.

            "entryDetails": [
                {
                    "id": "",
                    "transactionCode": 22,
                    "RDFIIdentification": "06100014",
                    "checkDigit": "6",
                    "DFIAccountNumber": "01004019         ",
                    "amount": 1238,
                    "identificationNumber": "1589           ",
                    "individualName": "A ROBERT ANDERSON     ",
                    "discretionaryData": "  ",
                    "addendaRecordIndicator": 1,
                    "addenda99": {
                        "typeCode": "99",
                        "returnCode": "R03",
                        "originalTrace": "061000140000001",
                        "originalDFI": "12510456",
                        "addendaInformation": "Testing"
                    }
                }
            ]
            "entryDetails": [
                {
                    "id": "",
                    "transactionCode": 22,
                    "RDFIIdentification": "06100014",
                    "checkDigit": "6",
                    "DFIAccountNumber": "01004019         ",
                    "amount": 1238,
                    "identificationNumber": "1589           ",
                    "individualName": "A ROBERT ANDERSON     ",
                    "discretionaryData": "  ",
                    "addendaRecordIndicator": 1
                },
                "addenda99": {
                    "typeCode": "99",
                    "returnCode": "R03",
                    "originalTrace": "061000140000001",
                    "originalDFI": "12510456",
                    "addendaInformation": "Testing"
                }
            ]

What did you expect to see? One EntryDetail record with the addenda record.

What did you see? TODO: Write a test case and share the results.

adamdecaf avatar Jul 18 '22 14:07 adamdecaf