• No results found

Usage Notes:

Recommended

Notes:

InvoiceDetailRequest divides header level invoice contacts into two categories:

InvoicePartner and InvoiceDetailShipping. Entities SF (Ship From), ST (Ship To), and CA (Carrier) are captured by <InvoiceDetailShipping>. All others are captured by

<InvoicePartner>.

The <InvoicePartner> section is technically optional, but strongly recommended if payment of the invoice is desired. You should include entity codes BT (Bill To), RI (Remit To), and II (Issuer of Invoice).

If <InvoiceDetailShipping> is being used, then entity codes SF (Ship From) and ST (Ship To) are required. CA (Carrier) builds the (CarrierIdentifier+, ShipmentIdentifier) optional particle.

The nested REF segment @1/110 is implemented to map to the nested <IdReference>

element in the <InvoicePartner> structure. It also carries the <ShipmentIdentifier> when N101="CA".

Certain N1 entities for <InvoicePartner> capture the N103/N104 identifier pair to form an appropriate <IdReference>. See notes under those entities for N101.

The <PostalAddress> structure is built from segments N2, N3, and N4. <PostalAddress>

is optional in itself. If used, then at least one N3 is required, along with N401 and N404.

If N404="US" or "CA", then N402 is required.

This section of N1 also allows for detailed contact information. Aside from the codes stated above, which are needed to build a correct invoice, there is no reason to copy any of the other contact information from the purchase order, unless the supplier wishes to send it. This should represent supplier related contact information for the buyer's reference.

Mapping target:

<InvoicePartner> or <InvoiceDetailShipping>

<Contact>

Data Element Summary

Ref. Data Base User

Des. Element Name Attributes Attributes

N101 98 Entity Identifier Code M ID 2/3 M

Code identifying an organizational entity, a physical location, property or an individual

BT Bill-to-Party

Represents the Buyer's Accounts Payable Department - the main

Copyright (c) 2000 - 2004 Ariba, Inc. 30 Revision 8, March 2004 recipient of an invoice.

If N103="91", then N104 is captured as the Supplier-assigned customer id for the buyer, forming <IdReference

domain="accountReceivableID">.

<InvoicePartner>

<Contact role="billTo">

...

<IdReference

domain="accountReceivableID">N104, where N103="91"</IdReference>

CA Carrier

Identifies the carrier commissioned for the shipment. Its use is optional. The N103/04 pair is recommended, but not mandatory.

If N103="1", "2", or "4", then N104 is captured as a

<CarrierIdentifier>.

If REF @1/110 is present with REF01="CN", then REF02 is captured to form <ShipmentIdentifier>.

If N103 is used, then REF01="CN" is required.

It is permissible to use REF01="CN" without the N103/04 pair.

N1*CA is the only contact that is allowed to contain a REF*CN.

If N1*CA is used, then N1*SF and N1*ST are both required.

<InvoiceDetailShipping>

<Contact role="carrierCorporate">

<Name>N102</Name>

...

</Contact>

<CarrierIdentifier

domain="companyName">N102</CarrierIdentifier>

<CarrierIdentifier domain=N103 (translated)>N104</CarrierIdentifier>

<ShipmentIdentifier>REF02, where REF01="CN"</ShipmentIdentifier>

...

</InvoiceDetailShipping>

II Issuer of Invoice

Suppliers should use "II" if the Issuer of Invoice is different from their corporate office. Either "II" or "SU" must be used. They can both be used.

If N103="92", then N104 is captured as the Buyer-assigned vendor id for the supplier, forming <IdReference

domain="accountPayableID">.

<InvoicePartner>

<Contact role="issuerOfInvoice">

...

<IdReference domain="accountPayableID">N104, if N103="92"</IdReference>

RI Remit To

Represents where the Buyer is expected to send the remittance.

N103/04 are not captured, but you can include an REF*RT and REF*PY identifier for bank remittance, if desired.

Copyright (c) 2000 - 2004 Ariba, Inc. 31 Revision 8, March 2004

<InvoicePartner>

<Contact role="remitTo">

SF Ship From

N1*SF and N1*ST are used together to form InvoiceDetailShipping.

N104 is not captured.

If N1*SF is used, then N1*ST is required.

SO Sold To If Different From Bill To

<InvoicePartner>

<Contact role="soldTo">

ST Ship To

N1*ST and N1*SF are used together to form InvoiceDetailShipping.

N104 is not captured.

If N1*ST is used, then N1*SF is required.

N102 93 Name X AN 1/60 O

Free-form name

<Contact>

<Name>

N103 66 Identification Code Qualifier X ID 1/2 O

Code designating the system/method of code structure used for Identification Code (67) Certain entities capture an identification code if it is present. Qualifiers 1, 2, and 4 are used only with N101="CA" (Carrier), to form the <CarrierIdentifier>. 91 and 92 are used selectively for other <InvoicePartner> class entities.

1 D-U-N-S Number, Dun & Bradstreet

2 Standard Carrier Alpha Code (SCAC)

4 International Air Transport Association (IATA) 91 Assigned by Seller or Seller's Agent

92 Assigned by Buyer or Buyer's Agent

N104 67 Identification Code X AN 2/80 O

Code identifying a party or other code

Copyright (c) 2000 - 2004 Ariba, Inc. 32 Revision 8, March 2004 Segment:

N2

Additional Name Information

Position: 080

Loop: N1 Optional (Recommended) Level: Heading

Usage: Optional (Dependent) Max Use: 2

Purpose: To specify additional names or those longer than 35 characters in length Syntax Notes:

Semantic Notes:

Comments:

Usage Notes:

Dependant

Notes:

Each DE0093 produces one <DeliverTo> in a <PostalAddress>. They are translated in the sequence: N201, N202, N201, N202. A maximum of four <DeliverTo> elements can be generated.

Within a <PostalAddress>, <DeliverTo> is supposed to represent specific recipient name(s) of a package or envelope. This can also include intra-office routing information, such as a department, a floor, office, or cube number.

Use of <DeliverTo> is entirely optional.

<Contact>

<PostalAddress>

<DeliverTo>

Data Element Summary

Ref. Data Base User

Des. Element Name Attributes Attributes

N201 93 Name M AN 1/60 M

Free-form name

N202 93 Name O AN 1/60 O

Free-form name

Copyright (c) 2000 - 2004 Ariba, Inc. 33 Revision 8, March 2004 Segment:

N3

Address Information

Position: 090

Loop: N1 Optional (Recommended) Level: Heading

Usage: Optional (Dependent) Max Use: 2

Purpose: To specify the location of the named party Syntax Notes:

Semantic Notes:

Comments:

Usage Notes:

Dependant

Notes:

Each DE0166 produces one <Street> in a <PostalAddress>. They are translated in the sequence: N301, N302, N301, N302. A maximum of four <Street> elements can be generated.

Within a <PostalAddress>, <Street> is supposed to be used by the postal service or courier. It should include an address to the resolution of a building or an office suite.

A recommendation is to use <Street> as far as outside carriers would deliver it, and then use <DeliverTo> for the internal delivery.

If you are building a <PostalAddress> then at least one <Street> is required.

<Contact>

<PostalAddress>

<Street>

Data Element Summary

Ref. Data Base User

Des. Element Name Attributes Attributes

N301 166 Address Information M AN 1/55 M

Address information

N302 166 Address Information O AN 1/55 O

Address information

Copyright (c) 2000 - 2004 Ariba, Inc. 34 Revision 8, March 2004 Segment:

N4

Geographic Location

Position: 100

Loop: N1 Optional (Recommended) Level: Heading

Usage: Optional (Dependent) Max Use: 1

Purpose: To specify the geographic place of the named party Syntax Notes: 1 If N406 is present, then N405 is required.

Semantic Notes:

Comments: 1 A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.