The Mailing Address Line Rules combine data from various output attributes with optional text to produce a mailing address. If you do not specify the Mailing Address Line Rules in the Advanced tab, the default rules are used.
The Postal Matcher output attributes for the mailing address line 1 rule, line 2 rule, and line 3 rule, are pr_addr_mail, pr_addr_mail1, and pr_addr_mail2, respectively.
China
For China, the default postal mailing format is constructed from the following address elements:
[Level1] [Level2] [Level3] [Area] [Level4] [House#] [Building name] [Building#] [Entrance#] [Floor#] [Room#] [Postal code]
The default Mailing Address Line Rules are specified as follows:
Option | Output Attribute | Default Rule |
---|---|---|
Mailing Address Line 1 rule |
pr_addr_mail |
<pr_addr_mail1><pr_addr_mail2> |
Mailing Address Line 2 rule |
pr_addr_mail1 | {<pr_level1>?<pr_level2>} |
Mailing Address Line 3 rule |
pr_addr_mail2 |
<pr_level3><pr_area_name><pr_level4><pr_reference_location>{<pr_house_number_display_full>}{<pr_building_name><pr_building_number_display_full>}<pr_entrance_number_display_full>{<pr_floor_number_display_full>}<pr_apartment_number_display_full><pr_postcode> |
- Example 1
-
大连市西岗区五四路春天大厦415 116011
Level 2 大连市 Level 3
西岗区
Level 4
五四路
Building Name
春天大厦
Room #
415
Postal Code
116011
- Example 2
-
浙江省杭州市石桥路308号天堂开发区6幢 310022
Level 1 浙江省 Level 2
杭州市
Area
天堂开发区
Level 4
石桥路
House #
308
Room #
6
Postal Code
310022
Japan
For Japan,the default postal mailing format is constructed from the following address elements:
- Standard Postal Matcher—[Postal code] [Level1] [Level2] [Level3] [Level4] [Building name] [Floor] [Apartment#]
- ACE Postal Matcher— [Level1] [Level2] [Level3]
The default Mailing Address Line Rules are specified as follows:
Rule | Output Attribute | Default Format |
---|---|---|
Mailing Address Line 1 rule |
pr_addr_mail |
<pr_addr_mail1><pr_addr_mail2> |
Mailing Address Line 2 rule | pr_addr_mail1 | <pr_postcode><pr_level1><pr_level2><pr_level3> |
Mailing Address Line 3 rule | pr_addr_mail2 | <pr_level4> <pr_building_name><pr_building_number> <pr_floor_number_display_full> <pr_apartment_number_display_full> |
This option is available for the Japanese Standard Postal Matcher only.
- Example
-
1830044東京都府中市日鋼町1-1 Jタワー5階
Postal Code 1830044 Level 1
東京都
Level 2
府中市
Level 3
日鋼町
Level 4
1-1
Building Name
Jタワー
Floor
5階
Korea
For Korea, the default postal mailing format is constructed from the following address elements:
[Level1] [Level2] [Level3] [Block#] - [Sub-block#] [Level4] [Apt. Bldg.#] - [House#] [Floor]
The default Mailing Address Line Rules are specified as follows:
Rule | Output Attribute | Default Format |
---|---|---|
Mailing Address Line 1 rule |
pr_addr_mail |
<pr_addr_mail1><pr_addr_mail2> or <pr_addr_mail1><pr_addr_mail3> Note:
This format is used when the street formatted address option is enabled. |
Mailing Address Line 2 rule | pr_addr_mail1 | <pr_level1> <pr_level2> <pr_level3> <pr_road> {<pr_block_number>-<pr_sub_block_number>BUNJI} |
Mailing Address Line 3 rule | pr_addr_mail2 | <pr_level4> <pr_building_name> {<pr_apartment_number>-<pr_house_number>_HO} {<pr_floor_number>F} |
Populate mailing address output with street formatted address | pr_addr_mail3 | <pr_map_street_name> <pr_map_building_name> {<pr_apartment_number>-<pr_house_number>_HO} {<pr_floor_number>F} |
- Example 1
-
서울 서초구 서초동 1359-45 서일빌딩 403
Level 1
서울
Level 2
서초구
Level 3
서초동
Block # 1359 Sub-Block # 45 Level 4
서일빌딩
House #
403
- Example 2
-
서울 용산구 이촌2동 현대한강아파트 7-1103
Level 1
서울
Level 2
용산구
Level 3
이촌2동
Level 4 현대한강아파트 Apt. Bldg # 7 House #
1103
The pr_addr_mail can be written out in two separate lines, pr_addr_mail1 and pr_addr_mail2 for neatness purposes. However, unlike the addressing system of the United States, there are no explicit rules or regulations in the Korean addressing system to dictate how an address needs to be separated into multiple lines. The pr_addr_mail is split up in the following manner:
- pr_addr_mail1: [Level 1] [Level2] [Level3] [Block #] - [Sub-Block #]
- pr_addr_mail2: [Level4] [Apt. Bldg. #] - [House #] [Floor]
During the Postal Matcher processing, the pr_addr_mail attribute, pr_addr_mail1, and pr_addr_mail2 attributes are written out simultaneously and may be selected simply by specifying the desired attribute(s) in the output schema.
- Example 1a
-
Taking Example 1 above,
pr_addr_mail:서울 서초구 서초동 1359-45 서일빌딩 403
The split-up mail attributes will be as follows:
pr_addr_mail1:서울 서초구 서초동 1359-45
pr_addr_mail2: 서일빌딩 403
- Example 2a
-
Taking Example 2 above,
pr_addr_mail: 서울 용산구 이촌2동 현대한강아파트 7-1103
The split-up mail attributes will be as follows:
pr_addr_mail1: 서울 용산구 이촌2동
pr_addr_mail2: 현대한강아파트 7-1103
Taiwan
For Taiwan, the default postal mailing format is constructed from the following address elements:
[Level1] [Level2] [Level3] [Area] [Level4] [House#] [Building name] [Building#] [Entrance#] [Floor#] [Room#] [Postal code]
The default Mailing Address Line Rules are as specified follows:
Rule | Output Attribute | Default Format |
---|---|---|
Mailing Address Line 1 rule |
pr_addr_mail |
<pr_addr_mail1><pr_addr_mail2> |
Mailing Address Line 2 rule | pr_addr_mail1 | {<pr_level1>?<pr_level2>}<pr_level3><pr_level4>{<pr_area_name>AREA}<pr_road>{<pr_section_display_full>}{<pr_alley_display_full>}{<pr_lane_display_full>}{<pr_house_number_display_full>}{<pr_sub_house>} |
Mailing Address Line 3 rule | pr_addr_mail2 | <pr_building_name><pr_building_number_display_full><pr_entrance_number_display_full>{<pr_floor_number_display_full>}{<pr_apartment_number_display_full>}<pr_bnp_dept_01> |
- Example 1
-
台灣台北市松山區敦化南路一段245號新光大樓2F 105
Level 1 台灣 Level 2
台北市
Level 3
松山區
Level 4
敦化南路一段
House #
245
Building Name
新光大樓
Floor #
2
Postal Code
105
- Example 2
-
台北市士林區 和平路 105號宿舎823室111
Level 1 台灣 Level 2
台北市
Level 3
士林區
Level 4
和平路 House #
105
Room #
823
Postal Code
111