Pacs.009.001.08 Mapper
Overview
The Pacs.009.001.08 (Pacs.009) mappers are used by TCH for sending and receiving FI to FI Credit Transfer(FICdtTrf) messages between TCH Real-Time Payment System(RTP) and FTM for Immediate Payments.
- Pacs.009 Inbound Mapper: Map the TCH FI to FI Credit Transfer messages to ISF messages. The default mapper name is Pacs009ToISFMapper.
- Pacs.009 Outbound Mapper: Map the ISF messages to TCH FI to FI Credit Transfer messages. The default mapper name is ISFToPacs009Mapper.
The details of the mapping specification for both inbound and outbound mappers are included in a separate document. Refer to Detailed pacs.009 mapping specification for more information about obtaining the documentation for the mapping specifications.
The inbound and outbound pacs.009 mappers can also be used in conjunction with the Wrapper mapper, or the Business Application Header mapper. Refer to TCH Wrapper Mapper and TCH Business Application Header Mapper for more information.
Inbound Mapper
The CONFIG=entry in Channel parameter is required for inbound mapper. The mapper uses the setting to locate <msgTypeCfg> entry in Value table with child element <Type> containing pacs.009.*. The <msgTypeCfg> contains the configuration parameters for the inbound mapper.
- In Value table, the value of Category is IP_MAP_CFG_REQ_FROM_CHAN.
- In <msgTypeCfg> entry, the value of <Type> is pacs.009.*.
<msgTypeCfg>
<class>PACS009</class>
<subType>IP_FROM_DBTR_INSTR_FI</subType>
<extendedCfg>
<name>MASTER_FLAG</name>
<value>Y</value>
</extendedCfg>
<extendedCfg>
<name>MAP_FOR_TCH</name>
<value>Y</value>
</extendedCfg>
<pt>
<class>PACS009</class>
<subType>IP_FROM_DBTR_INSTR_FI</subType>
</pt>
<mapName>Pacs009ToISFMapper</mapName>
<type>pacs.009.*</type>
</msgTypeCfg>
- <class> - value for TXN_PAYMENT_V.OBJ_CLASS
- <subType> - value for TXN_PAYMENT_V.SUBTYPE and ISFMessage/Header/BusinessConcept
- <extendedCfg>.<value> with <name>=MASTER_FLAG - value for MASTER_FLAG (for TXN_PAYMENT_V and TRANSMISSION_V)
- <extendedCfg>.<value> with <name>=MAP_FOR_TCH - indicate the mapper is used for TCH(<value>=Y) or not(<value>=N). The default value is 'N' if the parameter is not present.
- <pt>.<class> - value for TRANSMISSION_V.OBJ_CLASS
- <pt>.<subType> - value for TRANSMISSION_V.SUBTYPE
If the <msgTypeCfg> entry cannot be located, the mapper throws an exception with error 'subType not found'.
Category | Class | SubType | MASTER_FLAG | Pt.subType |
---|---|---|---|---|
IP_MAP_CFG_REQ_FROM_CHAN | PACS009 | IP_FROM_DBTR_INSTR_FI | Y | IP_FROM_DBTR_INSTR_FI |
IP_MAP_CFG_REQ_FROM_CSM | PACS009 | IP_FROM_CSM_INSTR_FI | Y | IP_FROM_CSM_INSTR_FI |
- If a timezone offset is included in the datetime value, the datetime value is mapped to ISF with UTC timezone.
- If a timezone off set is not included in a datetime value,
- if the Timezone is configured in the Channel table, the input datetime is recognized as the value in the format of the channel timezone, and is mapped to ISF with UTC timezone.
- if the Timezone is not configured in the Channel table, the input datetime is recognized as the value in the format of the local timezone in which the mapper is executing, and the input datetime is mapped to ISF with UTC timezone.
Outbound Mapper
The CONFIG=entry in Channel parameter is required for outbound mapper. The mapper uses the setting to locate <msgTypeCfg> entry in Value table with child element <subType> containing the same value as the ISF Business Concept. The <msgTypeCfg> contains the configuration parameters for the outbound mapper.
When the outbound mapper is used in conjunction with the Wrapper mapper, or the Business Application Header mapper, the mapper uses the setting stored in Environment.PMP.Variables.Rules.*[1].MAP_CONFIG, instead of the CONFIG=entry in Channel parameter, to locate <msgTypeCfg> entry in Value table. Refer to TCH Wrapper Mapper for more information.
- In Value table, the value of Category is
- Environment.PMP.Variables.Rules.*[1].MAP_CONFIG if present.
- IP_MAP_CFG_REQ_TO_CSM otherwise.
- In msgTypeCfg entry, the value of subType is the same as the ISF Business Concept.
<msgTypeCfg>
<class>PACS009</class>
<subType>IP_TO_CSM_INSTR_FI</subType>
<extendedCfg>
<name>MASTER_FLAG</name>
<value>N</value>
</extendedCfg>
<extendedCfg>
<name>MAP_FOR_TCH</name>
<value>Y</value>
</extendedCfg>
<pt>
<class>PACS009</class>
<subType>IP_TO_CSM_INSTR_FI</subType>
</pt>
<mapName>ISFToPacs009Mapper</mapName>
<type>pacs.009.001.08</type>
</msgTypeCfg>
- <type> - value for the namespace of the output pacs.009 message. For TCH, the value must be pacs.009.001.08.
- <extendedCfg>.<value> with <name>=MAP_FOR_TCH - indicate the mapper is used for TCH(<value>=Y) or not(<value>=N). The default value is 'N' if the parameter is not present.
If the <msgTypeCfg> entry cannot be located, the mapper throws an exception with error 'subType not found'.
Category | Class | SubType | Type |
---|---|---|---|
IP_MAP_CFG_REQ_TO_CSM_v29 | PACS009 | IP_TO_CSM_INSTR_FI | pacs.009.001.08 |
- If the Timezone is configured in the Channel table, the input datetime is mapped from the value with UTC timezone to the value in the format of the channel Timezone.
- If the Timezone is not configured in the Channel table, the input datetime is mapped from the value with UTC timezone to the value in the format of the local timezone in which the mapper is executing.
- If TS_INCLUDE_OFFSET is set to Y, then the timezone offset is included in the output datetime values.
- If TS_INCLUDE_OFFSET is set to N or not configured, then the timezone offset is not included in the output datetime values.