5010_820.mtt type tree
On both the ACH Deenvelope service and the ACH Envelope service CTX examples, the service extracts the EDI X12 820 from the CTX Addenda records and inputs it to the transformation maps configured within the service.
The NACHA component of the Pack for Financial Payments ships a type tree that represents the EDI ANSI 5010X218 X12 820 message syntax. This type tree is used by the map x12_ra_to_xml_ctx to validate the X12 820 and transform it to IBM Sterling B2B Integrator proprietary XML format. This type tree is used by the ACH Deenvelope service post processing map x12_ra_to_flat_rpt to transform the X12 820 to a back office payment order report. This type tree is used by the ACH Deenvelope ACK Addenda Record map x12_ra_to_atx_pri which extracts the REF segment and used by the service to generate the Payment Related Information on the acknowledgment ATX message.