EDI Specification for Service Provider

Effective from Apr 2023

Nippon Automated Cargo and Port Consolidated System, Inc.

1

Table of Contents

1. Overview
1.1 Purpose・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・

3

1.2 Basic concept of “EDI Specification for Service Provider”・・・・・・・・・・・・ 3
1.3 Illustration of NACCS-SP’s system connection ・・・・・・・・・・・・・・・

3

1.4 Boundaries of Liability・・・・・・・・・・・・・・・・・・・・・・・・・・ 4
2. Processing Modes
2.1 Outline of interactive processing mode (SMTP two-way)・・・・・・・・・・・5, 6
2.2 Outline of e-mail style processing mode ・・・・・・・・・・・・・・・・・・・6
2.2.1 Mailbox ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・6, 7
2.3 DNS server in NACCS network・・・・・・・・・・・・・・・・・・・・・・・7
2.3.1 Access Control with DNS (usual situation) ・・・・・・・・・・・・・・・・7
2.3.2 Switching from production environment to backup environment (unusual
situation) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・7
3. SP Code and Reporter ID・・・・・・・・・・・・・・・・・・・・・・・・・・ 8
4. Message Arrangement by Service Provider
4.1 Request message in AFR Procedures (AMR, CMR, AHR, CHR, ATD, BLL, CMV)・9~12
4.2 Output information in AFR Procedures (AMR, CMR, AHR, CHR, ATD, BLL,CMV)・12~14
4.3 Request message in Inquiry Procedures (IML, IRI) ・・・・・・・・・・・・・14~17
4.4 Output information in Inquiry Procedures (IML, IRI) ・・・・・・・・・・・・・17~19

5. Security Measures
5.1 Qualification check ・・・・・・・・・・・・・・・・・・・・・・・・・・・19
5.2 Security requirements of SP’s system for connecting to NACCS ・・・・・・・19~21
6. Connection Test
6.1 Outline of connection test

・・・・・・・・・・・・・・・・・・・・・・・・22

6.2 Preparations required for connecting to NACCS

2・・・・・・・・・・・・・・23

1．Overview
1.1 Purpose
The “EDI Specification for Service Provider” describes technical requirements forService Providers (hereinafter “SP”). System connection between NACCS and SP isintended to smoothly enforce Japan Advance Filing Rules and to realize optimized andstreamlined international logistics operations by online connections establishedbetween NACCS and SP’s systems.
1.2 Basic concept of “EDI Specification for Service Provider”
In principle, connections between NACCS and the SP’s system shall be established
via gateway server (SMTP two-way processing (Interactive processing) or E-mail styleprocessing (using SMTP/POP3)) as described in the “NACC EDI Specification”. SP areable to choose either SMTP two-way processing mode or E-mail style processing mode.
Any matters not specified in this Specification are subject to the provisions stated in the“NACCS EDI Specification”.
1.3 Illustration of NACCS-SP’s system connection
Figure 1.1 illustrates online connections between NACCS and a SP’s system.
Due to the condition in connecting to NACCS Network, maintenance of router, andsecurity requirements, gateway computer and NACCS connection router must be
located in Japan.
Gatewayconnection

Interactive
processing
mode (ＳＭＴＰ
two-way) or email styleprocessing
mode

SP’s own
software

Web I/F
Gateway
computer

メイン処理部
Mail server

NACCS
connection
routerSMTP two-way
serverOriginal EDI

SP’s clients(Reporter)

NACCS
network

SP’s system

NACCS Center hostFigure 1.1 Illustration of NACCS-SP’s System Connection3

1.4 Boundaries of Liability
NACCS Center shall assume liability for failures between the NACCS Center server
and the NACCS connection router on the SP’s system side.

AP

Gateway
computerSP’s system

SP’s liability

NACCS
connection
router

NACCS
network
backboneAP ： Access point

NACCS
Center host

NACCS Center’s liability

Figure 1.2 Boundaries of Liability

4

2. Processing Modes
2.1 Outline of interactive processing mode (SMTP two-way)
An outline of interactive processing mode (SMTP two-way) is given below. For details,
see “4.2 Interactive Processing Mode (SMTP two-way)” in “NACCS EDI Specification”.

(1) SMTP
SMTP
header

NACCS EDI
message

NACCS EDI
message

Messages sent one byone

Computer

Gateway
computer(2) SMTP
SMTP
headerSP’s clients(Reporter)

NACCS EDI
messageSP’ssystemSMTP two-way
server on
NACCS sideCore
processing
systemNACCS EDI
message

NACCS Center server

Figure 2.1 Example of Processing Using Interactive Processing Mode (SMTP two-way)(1) In response to a procedure implemented by the reporter through the SP’s system,
the SP’s system creates a NACCS EDI message and transmits a processing request
message from the gateway computer on the SP side to the SMTP two-way server on
NACCS Center side.
(2) A processing request message sent to the SMTP two-way server on NACCS
Center side is forwarded to the core processing system. The core processing systemprocesses the request and transmits the result message back to the SMTP two-way
server on NACCS Center side. The SMTP two-way server on the NACCS Center sidethen transmits Process Result Output in SMTP to the gateway computer on the SP side.
Therefore, the gateway computer on the SP side must stay activated at all times.
(3) In case the SP’s system failed in receiving messages due to network or systemerrors in the SP’s system, the messages not yet transmitted will be stored in thetemporary storage area in the NACCS Center server. (For details, see “3.7 File5

exchange block and retrieving procedure” in “NACCS EDI Specification”.) Thesemessages will be stored by each SP code, so messages should be retrieved in the unitof SP code.
2.2 Outline of e-mail style processing modeAn outline of E-mail style processing mode is given below. For details, see “4.3 E-mailStyle Processing Mode” in “NACCS EDI Specification”.

(1) SMTP
SMTP header
SMTPヘッダー
SMTPヘッダー

Computer

Gateway
computer

NACCS EDI
message

NACCS EDI
message
Air-NACCS EDI電文(2) POP3(user-driven message
retrieval(Messages sent
one by one)Core
processing
systemMail
server
NACCS EDI
message

NACCS EDI
SMTP header
message
SMTPヘッダー Air-NACCS
EDI電文
SMTPヘッダー Air-NACCS EDI電文

SP’s client(Reporter)

NACCS Center server
SP’s system

Figure 2.2 Example of Processing in E-mail Style Processing Mode
(1) In response to a procedure implemented by the reporter, the SP’s system creates
and transmits a NACCS EDI message to the mail server on NACCS Center side in
SMTP. Multiple messages can be transmitted at a time.
(2) Processing request messages transmitted to the mail server are forwarded to thecore processing system one by one and processed based on the requests in themessages. Result messages are transmitted to the mailbox for incoming messages in
the mail server.
(3) SP’s system receives Process Result Outputs from the mailbox by the POP3
command for retrieval.
2.2.1 Mailbox(1) Mailbox assignment
NACCS Center assigns a single mailbox to a single SP’s system (*Note). All

6messages for reporters will be stored in the mailbox.
(*Note) In case SP needs multiple mailboxes, NACCS Center can provide at mostten (10) mailboxes in response to SP’s request.
(2) Mailbox ID and mailbox password
NACCS Center grants a single mailbox ID and password for a single mailbox
assigned to a SP’s system. The SP’s system retrieves messages for their reporters
in a batch. The SP’s system must deliver the messages properly to each reporter
according to the destination of message.
2.3 DNS server in NACCS network
2.3.1 Access Control with DNS (Usual situation)
NACCS Center provides IP address of DNS server and domain name of each
NACCS server computer for domain name resolution. By accessing DNS servers,
SP can translate NACCS servers’ domain name to its IP address.

2.3.2 Switching from production environment to backup environment (Unusual
situation)
NACCS Center will change the setting information of DNS to switch fromproduction environment to backup environment of NACCS for users and
SP. Thus, SP have no need to care about redirection of system
environment in such case. SP who follow 2.3.1 above, can switch fromproduction environment to backup environment without significant actions.

73. SP Code and Reporter ID
Each SP is assigned a code (“SP code”) consists of 8-digit ID and 6-to-8-digitchangeable password. Similarly, reporters are assigned ID (“Reporter ID”) and password
by NACCS Center. In principle, reporters are required to apply for their Reporter ID on
their own. However, SP are allowed to apply for new Reporter IDs on behalf of theirclients under the condition that NACCS center has received such clients’ written proof ofagreement to the terms and conditions for the use of Reporter ID and the Reporter ID
issuance system.
SP code is used to control messages in the NACCS system. SP must add its own SP
code to the reporter’s message to set up the NACCS-EDI message in SP’s system.
Reporter ID is for NACCS and Japan Customs to identify the reporter. Therefore,
Reporter ID must be properly contained in the NACCS EDI message. If SP use their own
user codes to manage customer information, they must convert their own IDs to NACCSassigned Reporter IDs and make sure message sent to NACCS contains NACCSassigned IDs and passwords properly to enable the NACCS host computer to identify
the reporter. NACCS processes procedures and identify reporters who sent the message
through SP’s systems based on the NACCS assigned Reporter ID contained in themessage.

8

4. Message Arrangement by Service Provider
4.1 Request message in AFR Procedures (AMR, CMR, AHR, CHR, ATD, BLL, CMV)
SP is required to add relevant tail code to the Input Common Fields and add SP code
to the Input Fields in the NACCS-EDI message from the reporter.

Reporter

SP

NACCS

Adding tail-code

Reporter ID =JJ**1 (5-digit)

Password=********（6-to-8-digit）
SP code＝“blank”

corresponding toReporter ID = JJ**1 Y01(8-digit)

processing mode

password

Adding own

SP code ＝ ABC*****032*****SP codeFigure 4.1= ********（6-to-8-digit）（8-digit ID＋password)

Message Arrangement by Service Provider

See the following table for the details of message arrangement rules on input common
fields and SP code field.
Table. 4.1 Message Arrangement rules of processing request message (SP -> NACCS)

1

Field

From

LengthMsg.
sectionNo.

Description

Sample Settings

SMTP header

Set a sender of message.

① SMTP two-way processing mode

SP’s mail address provided by

AAXXXX@ZZZZZ.ABC01.NACCS6

NACCS Center should be set.

② E-mail style processing mode
AAAAA001@MAIL.PROD.NACCS6

9

2

Field

LengthMsg.
sectionNo.

Description

To

Sample Settings

Set a receiver of message.

① SMTP two-way processing mode

①SMTP two-way processing

NACCS@SMTP.PROD.NACCS6

mode② E-mail style processing mode

Set a mail address of SMTP two-

NACCS@MAIL.PROD.NACCS6

way server in NACCS.
②E-mail style processing mode
Set a mail address of E-mailstyle server in NACCS.
1

2

Processing

3

Control

information.

Information(Spaces must be entered.)

Procedure(Reserved△△△ (Spaces must be entered.)

Set a procedure code for

AMR△△ (Advance Cargo Information

identifying the procedure.

Registration）

21

Spaces must be entered. (*1)△△…△ (Spaces must be entered.)

Reporter ID (5 digits), Adding

JJ**1

5

Code
3

Set a processing control

area)
4

User Code5

5

User ID3

tail-code depending on SP’s

Input common fields

processing mode (3 digits,

Set the following tail code (3 digits) by service

SMTP two-way … Y01 /E-mailprovider depending on the processing modestyle … 001), Reporter’s

between NACCS and SP system;

password are set to identify the

SMTP two-way processing mode … Y01

reporter.
6

User

8

Password

E-mail style processing mode … 001********
Set a SP code for theprocedures without SP code fieldin the input fields (URY, TCC
and Inquiry Procedure (See 4.3
in this document)).

7(Reserved

174

Enter spaces instead. (*1)

area)
8

MessageTag (*2)△△△△△△・・・△△ (Spaces must beentered.)26

Set information for matching aprocessing request message
with a Process Result Output.

10

A unique value which can be used as identifiershould be assigned by SP.

Field9(Reserved

LengthMsg.
sectionNo.

Description

Sample Settings

8Enter spaces instead. (*1)

(Spaces must be entered.)10This value will be output in a

A unique value which can be used as identifierprocessing result.

should be assigned by SP.

This is used as a reference△△△△△△・・・△△

number when Process Result

entered.)

area)
10

Input
Message ID
(*2)

11

Index Tag

100

(*2)

(Spaces must be

Output is exceeds the limit andthe message is divided intosequential stages.
12(Reserved

1

A space must be entered. (*1)△

1

Set “2” for Advance filing rules.

2

27

A space must be entered. (*1)△△△△△△△△△△・・・△△(A space must be entered.)

area)
13

SystemIdentifier

14(Reserved
area)

15

Message
Lengthmust be entered.)
6

The value indicates the size of

000400～700000

NACCS EDI message, including(Max 700,000)

input common fields. NACCS
Center computer acknowledges
the end of the message with thisvalue. The size of attachment
files is not included.

11(SpacesLengthMsg.
section

No.

Field

Input fields

3

SP code16

Description

SP code is entered.

Sample Settings

ABC*****032*****SP code can be used for the following 7

SP code (8 digits)＋

procedures.
1. AMR

SP’s password (8 digits)

2. CMR
3. AHR
4. CHR
5. ATD
6. BLL
7. CMVSee each procedure specification for details of
input fields including SP code.

(*1) The reserved areas are used to control system.
(*2) See “3.5 Message control elements” in “NACCS EDI Specification” for details on Message Tag, Input
Message ID and Index Tag.

4.2 Output information in AFR Procedures (AMR, CMR, AHR, CHR, ATD, BLL, CMV)SP have no need to arrange output information from NACCS when sending it back tofiler.
For your reference, fields and sample settings are shown in the following table;
Table.4.2 Rules of output information (NACCS -> SP)

1

FieldsFrom

LengthMsg.
sectionNo.

Description

Sample Setting

Sender of message will be set.

① SMTP two-way processing mode

①SMTP two-way processing mode

NACCS@SMTP.PROD.NACCS6

SMTP header

Set a mail address of SMTP two-way ② E-mail style processing mode
server in NACCS.

NACCS@MAIL.PROD.NACCS6②E-mail style processing mode
Set a mail address of e-mail style
server in NACCS.

12

2

FieldsLengthMsg.
sectionNo.

Description

To

Sample Setting

Receiver of message will be set.

① SMTP two-way processing mode

SP’s mail address provided by

AAXXXX@ZZZZZ.ABC01.NACCS6

NACCS Center should be set.

② E-mail style processing mode
AAAAA001@MAIL.PROD.NACCS6

1(Reserved area)

3

(*1)

2

Procedure Code

5 Indicates a procedure code (*2)

AMR△△ (Advance Cargo Information
Registration）

3

Output Message

7*SAMR△△

The code of an output message.

SAS111△Code
4

5Date of14

The date and time of receipt of a

Messagemessage in Japan Time

Receipt(yyyymmddhhmm)

User Code5

Reporter

ID

in

the

request201812101430△△

JJ**1

message is entered.
6(Reserved area)

17

(*1)

7

User’s Mail

64

Same value as specified in “TO”

Output common fields

8Address

field in the SMTP header.

Subject

64 Procedure-by-procedure data

ABC001@XXX...

10123456710...

(e.g., customs declaration
number).
9(Reserved area)

40

(*1)

10

Message Tag

26

Used to identify a series of output
information responding to aprocessing request message.
(See 3.5.2 in “NACCS EDISpecification”)

12

Message Control Information

Information

11

Division

3 Used to identify a series of output

Sequence

information responding to a

Numberprocessing request message.

Termination

1000～001

Used to identify a series of output“E” will be set for final message of the series

informationof output information.

responding

toprocessing request message.

13

aOtherwise, space will be set

Fields

13

Message

LengthMsg.
sectionNo.

Description
1

Indicates a message type.

Type

Sample Setting
R （Processing Result Message）
P(Output

Information

Message(e.g.

Notifications from Japan Customs))
14(Reserved area)

3

(*1)

15

Input

10

Output all settings of processing(Settings of a processing request message)

request message. For EXC typeSpaces will be set for Message Type ”P” inmessages, spaces are filled.

No.13.

Set when inquiry result do not fit in△△△△△…△△

MessageID

16

Index Tag

100

(Spaces will be set.)a single output information.
(subsequent processing to follow)
17

Message1

Destination

The message destination control

Q (Message for submitter of Processing

format. (“Q” or “C” will be set.)

request message)

Control CodeC (Message transmitted with the otherconcerned parties’ input. E.g., Notifications
from Japan Customs. )18(Reserved area)

28

(*1)

19

Message Length

6

Indicates the length of the NACCS

000400～700000

EDI message.

(Max 700,000)(*1) The reserved areas are used to ensure proper system operation.
(*2) There is no guarantee that a value in Procedure Code in the output common field is identical to a value ofthe same element in the input common field. A value in Procedure Code in the output common field may bedifferent from a value specified in the corresponding processing request message. It is advisable to use
Output Message Code, Message Tag, and Input Message ID fields to distinguish a message.

4.3 Request message in Inquiry Procedures (IML, IRI)
Unlike “4.1 Request message in AFR Procedures (AMR, CMR, AHR, CHR, ATD, BLL,
CMV)”, SP is required to add its own SP Code, instead of Reporter ID, to the Input Common
Fields of Request message in Inquiry Procedures.
As there’s no special field for setting Reporter’s information, it is required to make use of
Message Tag (No.8 of Input common fields) etc. when inquiring.
See the following table for the details of message arrangement rules on input common
fields.

14

Table. 4.3 Message Arrangement rules of processing request message in Inquiry Procedures(SP -> NACCS)

1

Field

LengthMsg.
sectionNo.

Description

From

Sample Settings

Set a sender of message.

①SMTP two-way processing mode

SP’s mail address provided by

AAXXXX@ZZZZZ.ABC01.NACCS6

NACCS Center should be set.

② E-mail style processing mode
AAAAA001@MAIL.PROD.NACCS6

SMTP header

2To

Set a receiver of message.

① SMTP two-way processing mode

①SMTP two-way processing

NACCS@SMTP.PROD.NACCS6

mode② E-mail style processing mode

Set a mail address of SMTP two-

NACCS@MAIL.PROD.NACCS6

way server in NACCS.
②E-mail style processing mode
Set a mail address of E-mailstyle server in NACCS.
1

Processing

3

Control

Set a processing control code.

△△△ (Spaces must be entered.)(Spaces must be entered.)

Code2

Procedure

Set a procedure code for

IML△△ (Inquiry about registered MB/L-HB/L

identifying the procedure.

List)

21

Spaces must be entered. (*1)△△…△ (Spaces must be entered.)

SP Code (5 digits), Adding tail-

PES**

5

Code
3

(Reserved
area)

Input common fields

4

User Code5

5

User ID3

code depending on SP’s
processing mode (3 digits,

Set the following tail code (3 digits) by service

SMTP two-way … Y01 /E-mailprovider depending on the processing modestyle … 001), SP’s password are

between NACCS and SP system;

set to identify the SP

E-mail style processing mode … 001
SMTP two-way processing mode … Y01

Output information will be sent to the mailbox
which matches the User Code and User ID set
in this field

15

6

Field

User

LengthMsg.
sectionNo.

Description

8

Sample Settings********

Password
7(Reserved

174

Enter spaces instead. (*1)

area)
8

△△△△△△・・・△△ (Spaces must beentered.)Message26

Tag (*2)

Set information for matching a

A unique value which can be used as identifierprocessing request message

should be assigned by SP.

with output information.

Reporter ID of AFR filer who requested SP toinquire can be set in this field.

9(Reserved

8Enter spaces instead. (*1)

(Spaces must be entered.)10This value will be output in

A unique value which can be used as identifier

output information.

should be assigned by SP.

area)
10

Input
Message ID(*2)

Reporter ID of AFR filer who requested SP toinquire can be set in this field.

11

Index Tag

100

(*2)

This is used as a reference

When inquiring Relevant B/L List Reference in

number when output information

IML, in some cases inquired information isexceeds the limit and thedivided into multiple messages. When Index

message is divided into

Tag is outputted in output information (see 4.4

sequential stages.

in this document), subsequent result messages
should be requested using the Index Tag. In
that case, same data in procedure-byprocedure field should be resent.

12(Reserved

1

A space must be entered. (*1)△

1

Set “2” for Advance filing rules.

2

27

A space must be entered. (*1)△△△△△△△△△△・・・△△(A space must be entered.)

area)
13

SystemIdentifier

14(Reserved
area)

15

Message
Lengthmust be entered.)
6

The value indicates the size of

000400～700000

NACCS EDI message, including(Max 700,000)

input common fields. NACCS
Center computer acknowledges
the end of the message with this16

(SpacesLengthMsg.
section

No.

Field

Description

Sample Settingsvalue. The size of attachment
files is not included.

(*1) The reserved areas are used to control system.
(*2) See “3.5 Message control elements” in NACCS EDI Specifications for details on Message Tag, Input
Message ID and Index Tag.

4.4 Output information in Inquiry Procedures (IML, IRI)
SP have no need to arrange output information from NACCS, however, SP needs todistribute the message with some message control elements to send it back to filer.
For your reference, fields and sample settings are shown in the following table;
Table.4.4 Rules of output information (NACCS -> SP)

1

FieldsLengthMsg.
sectionNo.

Description

From

Sample Setting

Sender of message will be set.

① SMTP two-way processing mode

①SMTP two-way processing mode

NACCS@SMTP.PROD.NACCS6

Set a mail address of SMTP two-way ②E-mail style processing mode
server in NACCS.

NACCS@MAIL.PROD.NACCS6

SMTP header②E-mail style processing mode
Set a mail address of e-mail style
server in NACCS.
2

To

Receiver of message will be set.

③ SMTP two-way processing mode

SP’s mail address provided by

AAXXXX@ZZZZZ.ABC01.NACCS6

NACCS Center should be set.

④ E-mail style processing mode
AAAAA001@MAIL.PROD.NACCS6

Output common fields

1(Reserved area)

3

(*1)

2

Procedure Code

5 Indicates a procedure code (*2)

IML△△
(Inquiry about registered MB/L-HB/L List)

3

Output Message

7

The code of an output message.

Code

SAS1261△ (Output message Code differs inaccordance with the query type.)

17

4

5

FieldsDate of

LengthMsg.
sectionNo.

Description

14

The date and time of receipt of a

Messagemessage in Japan Time

Receipt(yyyymmddhhmm)

User Code5

Sample Setting

SP Code in the request message is201812101430△△

PES**

entered.
6(Reserved area)

17

(*1)

7

User’s Mail

64

Same value as specified in “TO”

8

Address

field in the SMTP header.

Subject

64 Procedure-by-procedure data

ABC001@XXX...

10123456710...

(e.g., customs declaration
number).
9(Reserved area)

40

(*1)

10

Message Tag

26

Used to identify a series of output
information responding to aprocessing request message.
(See 3.5.2 in NACCS EDI
specifications)

12

Message Control Information

11

13

Division

3

Used to identify a series of output

Sequence

information responding to a

Numberprocessing request message.

Terminati

1

onMessage

1000～001

Used to identify a series of output“E” will be set for final message of the series

informationof output information.

responding

toaprocessing request message.

Otherwise, space will be set

Indicates a message type.

R

Type

(Process Result Output）

P (Output Information (e.g., Notifications fromJapan Customs))

14(Reserved area)

3

(*1)

15

Input

10

Output all settings of processing(Settings of a processing request message)

request message. For EXC typeSpaces will be set for Message Type“P” inmessages, spaces are filled.

No.13.

Set when inquiry result does not fit

10123456710… (In case inquiry result doesin a single Process Result Output

not fit in a single Process Result Output,(subsequent processing to follow)

subsequent

MessageID

16

Index Tag100

18resultcanbeacquiredbyFields

LengthMsg.
sectionNo.

Description

Sample Setting
resending the Request message with this code
in Index Tag field of the Request message.)

17

Message1

Destination

The message destination control

Q (Message for submitter of Processing

format. (“Q” or “C” will be set.)

request message)

Control CodeC (Message transmitted with the otherconcerned parties’ input. E.g., Notifications
from Japan Customs. )18(Reserved area)

28

(*1)

19

Message Length

6

Indicates the length of the NACCS

000400～700000

EDI message.

(Max 700,000)(*1) The reserved areas are used to ensure proper system operation.
(*2) There is no guarantee that a value in Process Code in the output common field is identical to a value of thesame element in the input common field. A value in Process Code in the output common field may bedifferent from a value specified in the corresponding processing request message. It is advisable to use
Output Message Code, Message Tag, and Input Message ID fields to distinguish a message.

5. Security Measures
Security measures must be taken by SP so that NACCS’s confidentiality, integrity andavailability are ensured.
5.1 Qualification check(1) Qualification to implement procedures
In NACCS, the Reporter ID and password, SP Code, which are issued andmanaged by NACCS Center, are utilized to authenticate the reporter qualified to
implement procedures.
(2) Qualification to access to mailbox
In NACCS’s e-mail style processing mode, in addition to (1) above, the mailbox ID
and mailbox password issued and controlled by NACCS Center are utilized toauthenticate the SP’s system qualified to access the mailboxes.
5.2

Security requirements of SP’s systems for connecting to NACCS
Prior to connecting to the NACCS Center host, SP must ensure compliance with thesecurity regulations prescribed by NACCS Center and report to NACCS Center on

19details of protective measures they have taken.
When protective measures SP have taken are deemed inadequate or inappropriate
by NACCS Center, NACCS Center shall instruct SP to take remedial measures.
In the event that SP has not responded to NACCS Center’s instructions to takeremedial measures, or a SP’s system have caused or may cause damage to NACCS,
NACCS Center shall suspend the SP system’s connection to NACCS unilaterally.
(1) Security measures taken by SP
Table 5.1 Provision of Security Measures to be Implemented by SP
Items
(1)
Placement
administrator

Detailsof(2) Management ofpasswords

Remarks

system - A system administrator for each place where a gateway
computer is installed must be placed and the placement
must be reported to the NACCS Center.
IDs

and - The system administrator as given in (1) above must
make sure SP codes, reporter IDs and passwords areconverted properly if a SP system use and manage theirown user codes, IDs and passwords for users ofcomputers connected to gateway computers to connect
to the NACCS Center server.
- The method of conversion of user codes, IDs andpasswords must be reported to NACCS Center.

(3) Implementation of anti-virus
measures- SP must construct a system that prevents the gateway
computers from transmitting binary coded data to the
NACCS Center host computer.

(4) Reporting of SP system
configuration- The following items pertinent to the SP system for the
NACCS Center host computer must be reported to
NACCS Center:(a) System configuration diagram(b) List of devices to be used(c) Layout drawing of server room in Japan(Rough image is allowed.)(5) Reporting of intraoffice security - The SP ’ s security measures for intraoffice system formeasures taken
implementing procedures on AFR (e.g., firewall, user
authentication) must be reported to NACCS Center.
(6) Reporting of format conversion - When converting to NACCS EDI format, the method of
implemented
conversion must be reported to NACCS Center.

(7) Log management- In order to identify users of gateway computers See (2) for how toaccessing the NACCS Center server, SP shall construct implement log
a system to manage the history (log) of data management intransmission/reception
the following
page.The NACCS
Center may
request thesubmission ofhistory log if it
deems itnecessary20(2) Log management
Log management for gateway connections shall be implemented as follows:[1] Items to be logged and retained
Of the messages transmitted and received by the NACCS Center server, thefollowing items shall be logged and retained:
Table 5.2 Items to Be Logged and Retained by SP
Transmission / reception Upon transmission
Upon reception
Item
Reporter ID✔

✔

Procedure Code✔

✔

second/time/day/month/year✔

✔

(AFR Procedures only)✔: Required–: Not required[2] Period of log retention
Logs shall be retained for a period of one (1) year.
[3] Location and method of log retention
Although SP can decide on the location and method of log retention bythemselves, they must be able to promptly disclose retained logs to NACCS
Center whenever they are requested to do so.

21

6. Connection Test
6.1 Outline of connection test
If any of the following is applicable, connection test predefined by NACCS Centermust be conducted to test whether messages are successfully transmitted andreceived between the NACCS server and SP’s system:
A. Starting to connect to NACCS
B. Need to check communication between the NACCS Center server and SP’s
system due to replacement of the hardware of the SP ’ s system ormodifications of the software to the SP’s system.
C. Need to check operability of the SP’s software following modifications madeto the NACCS Center server’s software(1) Details of connection test
<Phase 1>
To ensure successful message communications (on NACCS-EDI rules)- To ensure SP’s system can successfully receive
inbound messages using “TCC” processed on the
NACCS Center server.
For details regarding “TCC” (for conducting a
NACCS-EDI level continuity test), refer to theProcedures Specification.
<Phase 2>
To ensure the user can implement procedures without error- To ensure successful receipt of output information by
the SP’s system in response to the request forprocessing of pilot procedures transmitted by the
NACCS Center server using NACCS Centerspecified settings (dummy data) or SP’s own data
(2) Implementation of connection test
Prior to conducting a connection test, those who wish to conduct a connection
test have to fill out an application form and send it to NACCS Center.
NACCS Center will arrange a test date upon receipt of the application according
to the processing mode chosen by the applicant and will inform the details to theSP.

22

6.2 Preparations required for connecting to NACCS(1) Preparation for connection test
In applying for a connection test, the user needs to prepare the following hardware
and software:
Table. 6.1 Hardware & Software to Be Arranged for Connecting to NACCS
Hardware & Software

Instructions

a. LAN cable, etc

LAN cables and other items that SP should provideb. Hub

To be arranged by SP on an as needed basisc. NACCS connection To be arranged by NACCS Center upon application ofrouterd. Access line

SP for access line
To be arranged by NACCS Center upon application of
SP for access line

(2) Cost for connection testa. Access line charge (including NACCS connection router rental fee)
Access line charges for connection tests shall be borne by SP.
b. Cost for communication wiring
Possible costs for communication wiring to enable connection to NACCS shallbe borne by SP.
c. Initial costs involved in preparatory steps including device installation shall beborne by SP.

23