ABB D96A Specification Invoice v3.4 (pdf)

ÓCopyright 2008 ABB. All rights reserved.
INVOIC
EDIFACT MESSAGE
Guidelines of e-invoice to ABB Sweden according to
EDIFACT INVOIC Version D.96A
Type des.
Prep.
Appr.
Resp. dept
Part no.
COFI/SASL / Bengt Geverts
COFI/SASL / Bengt Geverts
COFI/SASL
2008-10-14
2011-03-08
Approved
Doc. kind
Title
Doc. no.
ABB AB
No. of p.
Technical Specification
D96A Specification version 3.4
Lang.
9ADG112101
FILE: ABB D96A Specification Invoice V3-4.doc; SAVEDATE: 2015-03-23 16:28; TEMPLATE: TECHN_DOC_STAND_P.dot C; SKELETON:
en
28
Rev. ind.
E
Page
1
TABLE OF CONTENT
1
Introduction ....................................................................................................... 3
1.1
General ................................................................................................ 3
1.2
Mandatory fields in an invoice ............................................................... 3
1.3
Other clarifications ................................................................................ 4
1.4
Test Procedure ..................................................................................... 4
2
Contacts............................................................................................................. 5
3
File structure ..................................................................................................... 6
4
INVOIC Message-definition [head-section] ...................................................... 7
4.1
UNA ..................................................................................................... 7
4.2
UNB Interchange Header...................................................................... 7
4.3
UNH Message Header .......................................................................... 9
4.4
BGM Beginning of Message ................................................................. 9
4.5
DTM Date/Time/Period ....................................................................... 10
4.6
FTX Free Text .................................................................................... 10
4.7
RFF Reference ................................................................................... 11
4.8
NAD Name and Address..................................................................... 11
4.9
FII Financial institution information ...................................................... 12
4.10
RFF Reference ................................................................................... 13
4.11
CTA Contact information..................................................................... 13
4.12
COM Communication contact ............................................................. 14
4.13
CUX Currencies.................................................................................. 14
4.14
PAT Payment terms............................................................................ 15
4.15
DTM Date/Time/Period ....................................................................... 15
4.16
ALC Allowances and charges ............................................................. 16
4.17
PCD Percentage details...................................................................... 16
4.18
MOA Monetary Amount ...................................................................... 16
5
INVOIC Message-definition [line-section] ...................................................... 17
5.1
LIN Line Item ...................................................................................... 17
5.2
PIA Additional Product Id .................................................................... 17
5.3
IMD Item description ........................................................................... 18
5.4
QTY Quantity...................................................................................... 18
5.5
DTM Date/Time/Period ....................................................................... 19
5.6
FTX Free text ..................................................................................... 19
5.7
MOA Monetary Amount ...................................................................... 20
5.8
PRI Price information .......................................................................... 20
5.9
RFF Reference ................................................................................... 21
5.10
TAX Duty/tax/fee details ..................................................................... 21
5.11
MOA Monetary Amount ...................................................................... 22
6
INVOIC Message-definition [summary-section] ............................................. 22
6.1
UNS Section control .......................................................................... 22
6.2
MOA Monetary Amount ...................................................................... 23
6.3
TAX Duty/tax/fee details ..................................................................... 24
6.4
MOA Monetary Amount ...................................................................... 25
6.5
ALC Allowance and charges ............................................................... 25
6.6
MOA Monetary Amount ...................................................................... 26
6.7
UNT Message Trailer.......................................................................... 26
6.8
UNZ Interchange Trailer ..................................................................... 26
7
Example of INVOIC-message .......................................................................... 27
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
2
1
Introduction
1.1
General
This specification provides the definition of the invoice message “INVOIC” to be used in Electronic Data
Interchange (EDI) between trading partners involved in administration, commerce and transport. Within
this document ABB will define in detail how the message needs to be filled.
All segments at this moment used by ABB are described according the physical sequence in which they
are processed by ABB. The basis of this application is the EDIFACT message entitled INVOIC on
version EDIFACT D96A
ABB will reserve the right to add segments or to fill additional fields in existing segments in case this
might improve the data exchange with suppliers. EDIFACT rules will be applicable to these
modifications. Suppliers will be informed in advance of all future modifications.
Detailed application
The following section includes only those segments used by ABB.
Dependent segments
Under each segment heading, we are giving instructions on how to use.
Some segments may only be used after special agreement.
Dependent data elements
Under each data element heading we specify the valid conditions.
Explanation of codes used in the Message-definition
Under EDIFACT Attributes column
M – Mandatory according to the international EDIFACT standard
C – Conditional according to the international EDIFACT standard
Under ABB Attributes column
R – Required according to ABB demands
D – Dependent according to ABB demands
O – Optional according to ABB demands
N – Not used by ABB
1.2
Mandatory fields in an invoice
Principally EU directive 2001/115/EG for information in the invoices is valid.
This directive specifies 14 mandatory fields which have to be present on all invoices.
These are:
1.
2.
3.
4.
5.
Date of invoice issuance.
Invoice identification number.
VAT registration number of the VAT-payer (normally the seller)
VAT registration number of the buyer.
Complete name & address to both buyer and seller.
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
3
6. Description and amount of delivered goods or services.
7. Date of delivery.
8. Taxable amount for each VAT rate.
9. Applied VAT rate.
10. The VAT to be paid.
11. Reference to Swedish law or EU directive in cases of tax-relief.
12. Information on type of transport means on a transport invoice.
13. Reference to the appropriate provision in Directive 2006/112 when a system where a “margin
scheme” applies. (I.e. second-hand goods, antiques, works of art, collectors’ items)
14. Tax representative (“VAT Agent”) name, address and VAT registration number when necessary.
The following information is also required by ABB and necessary in order to correctly receive process
and finally pay the invoices:
· The invoice receivers’ VAT No. – Used for identify which ABB unit/company that is the receiver
of the invoice.
· The invoice receivers’ PO Box No (or Fe No). – used for identify which ABB unit/company that is
the buyer and the final receiver of the invoice.
· Buyers reference (Purchase Order No) – Mandatory if given by ABB at the purchase
· Buyers reference (contact person) – Mandatory if not Purchase Order No. is used. May be given
together with Purchase Order No.
Information about invoice receiver, VAT No. and PO Box No. for the different Swedish ABB-units can
be found at:
http://www.abb.se/cawp/seabb361/a66d93ce25c2eca6c125748d002c0dd7.aspx
1.3
Other clarifications
Additional costs (except from freight, packing and currency rounding (öres-avrundning)) have to be
specified as separate invoice lines
Discounts per invoice lines. Use free text (FTX) for information and specification.
1.4
Test Procedure
The test procedure is described in documentation that could be found at
http://www.abb.se/cawp/seabb361/ab84745e8490111dc125748d002c0dc1.aspx
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
4
2
Contacts
ABB AB
Main contact Invoices:
Utredningsgruppen
Tel:
+46 (0)21 34 88 66
E-Mail: [email protected]
Strålfors AB (Customer Service Sweden)
Tel: +46 (0) 20 53 53 51
Email: [email protected]
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
5
3
Head section
File structure
UNH
BGM
DTM
FTX
RFF
GR 2
GR 7
GR 8
GR15
NAD
CUX
PAT
ALC
GR 3
RFF
FII
GR 5
CTA
DTM
GR18
GR19
PCD
MOA
Summary section
COM
Line section
GR 25
LIN
PIA
UNS
IMD
QTY
DTM
FTX
GR 26
GR 28
GR 29
GR 33
MOA
PRI
RFF
TAX
Doc. no.
Lang.
9ADG112101
en
Rev. ind.
E
GR 50
GR 51
MOA
TAX
ALC
MOA
MOA
ABB AB
GR 48
Page
6
MOA
UNT
4
INVOIC Message-definition [head-section]
4.1
Group:
Usage
Max Use:
Purpose:
Example:
ABB
UNA
M
1
A service segment carrying the list of delimiters used to parse the various elements of EDIFACT message.
The list of delimiters used in the EDIFACT message is indicated using this UNA segment.
The UNA segment is followed by the six unique delimiters used in the EDI payload and is shown below.
UNA:+.? '
UNA segment is mandatory and have to indicate . (period) as decimal delimiter
In this,
: (colon) Sub-elementseparator
+ (plus sign) Element Separator
. (period) Decimal Notation
? (question mark) Release Indicator
(space) Repetition Separator
' (single quote) Segment Terminator.
4.2
Group:
Usage
Max Use:
Purpose:
Example:
Data
Element
S001
UNB Interchange Header
M
1
A service segment starting, uniquely identifying and addressing an interchange
(one or more EDI-messages) like an envelope
UNB+UNOC:1+7365562392462:ZZ+SE04800015260:01+080808:0808+50325419085023'
Data Element Summary
Component
EDIFACT
ABB
Element
Name
Attributes
Attributes
SYNTAX IDENTIFIER
M
R
0001
Syntax identifier
M an..4
R
“UNOC”
0002
Syntax version number
M n..1
R
Indication of the syntax version used for this message.
1 - EDIFACT syntax version 1
S002
0004
0007
0008
INTERCHANGE SENDER
Sender identification
Communication number of the party originating
the message.
Identification code qualifier
Qualifiers to be determined by trading partner
relationship.
Address for Reverse Routing
Sub-address for reverse-routing
M
M an,,35
R
R
C an,,4
O
C an,,14
O
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
7
S003
0010
0007
0014
S004
0017
0019
INTERCHANGE RECIPIENT
Recipient identification
Communication number of the party receiving
the message.
7365562392462 – ABB Sweden
Identification code qualifier
TEST – Test via Strålfors test application
ZZ - Test to ABB’s test environment
14
- Production state
Please refer to ABB’s test procedure documentation
Routing address
Sub-address for reverse-routing
M
M an,,35
R
R
C an,,4
R
C an,,14
N
DATE / TIME OF PREPARATION
Date of preparation
In format “YYMMDD”
Time of preparation
In format “HHMM”
M
M n,,6
R
R
M n,,4
R
0020
Interchange Control Reference
M an,,14
Reference number assigned by the sender of the
message. This number must uniquely identify each
interface and must be unique within an inventory year.
R
0026
Application reference
C an..14
N
0029
Process Priority, coded
C a1
N
0031
Acknowledgement Request, coded
M n..6
N
0032
ID For Communication Agreement
C an..35
N
0035
Test Indicator
C n1
N
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
8
4.3
Group:
Usage
Max Use:
Purpose:
Example:
Data
Element
0062
UNH Message Header
M
1
A service segment starting and uniquely identifying a message. The message type code for the INVOIC
message is INVOIC
UNH+2346+INVOIC:D:96A:UN’
Data Element Summary
Component
EDIFACT
ABB
Element
Name
Attributes
Attributes
MESSAGE REFERENCE NUMBER
M an..14
R
Unique message reference assigned by the sender.
S009
0065
0052
0054
0051
4.4
MESSAGE IDENTIFIER
M
R
Identification of the type, version etc. of the message
being interchanged.
Message type identifier
M an..6
R
Code identifying a type of message and assigned by
its controlling agency.
INVOIC - message
Message type version number
M an..3
R
Version number of a message type.
D - Message version number
Message type release number
M an..3
R
Release number within the current message type
version number (0052).
96A - Message release number
Controlling agency
M an..2
R
Code identifying the agency controlling the
specification, maintenance and publication of the message type.
UN - UN/ECE/TRADE/WP.4, United Nations Standard Messages (UNSM)
BGM Beginning of Message
Group:
Usage:
Max Use:
Purpose:
M
1
Identifying the used document.
Example:
BGM+380+925896’
Data
Element
C002
Component
Element
Data Element Summary
1001
1004
Name
DOCUMENT/MESSAGE NAME
Identification of a type of document/message by
code or name.
Document/message name, coded
Document/message identifier expressed in code.
380 – Commercial invoice
381 – Credit note
EDIFACT
Attributes
C
ABB
Attributes
R
C an..3
R
DOCUMENT/MESSAGE NUMBER
C an..35
Document ID assigned to the document/message by the issuer.
Doc. no.
ABB AB
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
9
4.5
Group:
Usage:
Max Use:
Purpose:
ABB
DTM Date/Time/Period
M
2
A segment specifying general dates for the used document.
Both invoice and delivery dates are required by ABB
Example:
DTM+137:20071027:102’
DTM+35:20071026:102’
Data
Element
C507
Component
Element
Data Element Summary
2005
2380
2379
4.6
Group:
Max Use:
Purpose:
ABB
EDIFACT
ABB
Name
Attributes
Attributes
DATE/TIME/PERIOD
M
R
Date and/or time, or period relevant to the specified date/time/period type.
Date/time/period qualifier
M an..3
R
Code giving specific meaning to a date, time
or period.
137 - Document/message date (invoice date)
35 – Delivery date
4 – Order date
Date/time/period
C n8
R
The value of a date, a date and time, a time or of a period in a specified representation.
Date/time/period format qualifier
C an..3
R
Specification of the representation of a date, a date and time or of a period.
102 – CCYYMMDD
FTX Free Text
10
free text information. Used when additional information is needed but cannot be accommodated within other
segments.
Use only one text line (DE 4440) per segment. Max 10 loops of the segment.
Refer to original invoice here (with qualifier ZZZ) for credit invoices.
Example:
FTX+AAB+++30 dagar netto’
FTX+MKS+++Goods Mark’
FTX+ZZZ+++Original invoice No 987654321’
Data
Element
4451
Component
Element
Data Element Summary
EDIFACT
Name
Attributes
Text Subject Qualifier
M an..3
Code giving specific meaning to the text
AAB – Free text referring to payment terms
MKS – Shipping identification
ZZZ – Mutually defined free text
ABB
Attributes
R
4453
Text Function, Coded
C an..3
N
C107
TEXT REFERENCE
Standard text, coded
C
N
TEXT LITERAL
Free text
C
M an..70
R
R
C108
4440
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
10
4.7
RFF Reference
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 1 (Reference)
C
3
A segment identifying the reference(s).
Buyers purchase order number is required if submitted by ABB. If order number is not submitted the buyers
contact person is required in NAD/BY-CTA.
-Do not use RFF/ON for any other data then purchase order No issued by ABB!
Supplier clent code for buyer (RFF/CR) is not mandatory but recommended.
Example:
RFF+ON:49590152’
Data
Element
C506
Component
Element
Data Element Summary
1153
1154
4.8
EDIFACT
Name
Attributes
REFERENCE
M
Identification of a reference.
Reference qualifier
M an..3
Code giving specific meaning to a reference
segment or a reference number.
ON – Buyers order number
SS – Suppliers order number
CR – Suppliers client code for buyer
API – Suppliers client code for Buyer (alternative)
ABB
Attributes
R
Reference number
C an..35
Identification number the nature and function of
which can be qualified by an entry in data element
1153 Reference qualifier.
R
R
NAD Name and Address
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 2 (Name and Address) (Required)
M
4
A segment identifying names and addresses of the parties involved in the transaction
Supplier, buyer and invoice receiver is required by ABB. For the ABB receiver it is mandatory to have an
Invoice address, PO Box No (or Fe number) stated.
Valid Invoice addresses as well as postal addresses can be found at the ABB Sweden website. Invoice
address shall be present in last occurrence of DE 3042.
If additional postal address is used, this should be in the first occurrence and the Invoice address in the
second.
Example:
NAD+BY+++ABB AB, Kabeldon+Box 531+Alingsås++44115'
(Postal address)
NAD+IV+++ABB AB, Kabeldon+Fe 6210+Östersund++83984'
(Invoice address)
NAD+DP+++ABB AB, Kabeldon+Sävelundsgatan 2+Alingsås++44138'
(Delivery address)
NAD+SU+++Bengtssons Mekaniska AB+Nya Hamnvägen 4+KÖPING++73136+SE
Data
Element
3035
Component
Element
Data Element Summary
Name
PARTY QUALIFIER
Code giving specific meaning to a party.
SU – Supplier.
BY – Buyer
IV – Invoice receiver
(DP – Delivery party)
EDIFACT
Attributes
M an..3
Doc. no.
ABB AB
ABB
Attributes
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
11
C082
PARTY IDENTIFICATION DETAILS
C
N
C058
NAME AND ADDRESS
C
N
3036
3036
PARTY NAME
Party name
Party name
C
M an..35
C an..35
R
R
N
3042
3042
STREET
Postal address
Invoice address
C
C an..35
M an..35
R
R
D
3164
City name
C an..35
R
3229
Country sub-entity, coded
C an..3
N
3251
Postcode identification
C an..9
R
3251
Country, coded
C an..3
D
C080
C059
4.9
FII Financial institution information
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group (Name and Address)
D
3
A segment identifying an account and a related financial institution.
Required for the supplier (NAD/SU) at least once, with either Bankgiro or Plusgiro.
Please note that DE 3432 should be used with precise spelling (“Plusgirot” or “Bankgirot”)
IBAN is required also when invoicing in other currency than SEK
Example:
FII+RB+4147137+BK::9::::Bankgirot'
FII+RB+5880254+PO::9::::Plusgirot'
FII+BF+SE2360000000000048805283+HANDSESS:25:5'
Data Element Summary
Component
EDIFACT
Element
Name
Attributes
PARTY QUALIFIER
M an..3
Code giving specific meaning to a party.
RB – Receiving financial institution
BF - Beneficiary's bank (use for IBAN only)
Data
Element
3035
C506
3194
C088
3433
1131
3055
3434
1131
3055
3432
ABB
Attributes
R
ACCOUNT IDENTIFICATION
Account holder number
C
C an..35
R
R
INSTITUTION IDENTIFICATION
Institution name identification
BK – Bankgirot
PO – Plusgirot
For IBAN use BIC (Bank Identifier Code)
Code list qualifier
25 - Bank identification
Code list responsible agency, coded
9 – EAN
5 - ISO
Institution branch number
Code list qualifier
Code list responsible agency, coded
Institution name
C
C an..11
R
R
C an..3
D
C an..3
R
C an..17
C an..3
C an..3
C an..70
N
N
N
D
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
12
4.10
RFF Reference
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 3 (Reference)
D
1
A segment identifying the reference(s).
Used in the NAD-group for VAT registration number and required for both supplier (NAD-SU) and buyer
(NAD-BY) by ABB
Example:
RFF+VA:SE556012224301'
Data
Element
C506
Component
Element
Data Element Summary
1153
1154
4.11
EDIFACT
Name
Attributes
REFERENCE
M
Identification of a reference.
Reference qualifier
M an..3
Code giving specific meaning to a reference segment
or a reference number.
VA – VAT registration number
ABB
Attributes
R
Reference number
Identification number the nature and function of
which can be qualified by an entry in data element
1153 Reference qualifier
R
R
C an..35
CTA Contact information
Group:
Usage:
Max Use:
Purpose:
ABB
5 (Name and address)
D
1
A segment specifying contacts persons or a department for communication with related partners.
Supplier contact (SU) is always required by ABB and accounting contact (AD) is mandatory if no purchase
order number is used (in RFF/ON)
Example:
CTA+AD+:Lars Åkesson’
Data
Element
3139
Component
Element
Data Element Summary
C056
3413
3412
Name
CONTACT FUNCTION CODED
AD – Accounting contact (for NAD/BY)
SU – Supplier contact (for NAD/SU)
DEPARTMENT OR EMPLOYEE DETAILS
Department or employee identification
Department or employee
Name of person or department
EDIFACT
Attributes
M an..3
ABB
Attributes
R
M
C an..17
C an..35
R
N
R
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
13
4.12
Group:
Usage:
Max Use:
Purpose:
COM Communication contact
ABB
5 (Name and address)
D
1
To identify a communication channel for contact person or department specified in the CTA-segment.
Required for the supplier contact (CTA/SU).
Email or telephone can be used.
Example:
COM+021-10 11 12:TE’
Data
Element
C076
Component
Element
Data Element Summary
3148
3155
4.13
EDIFACT
Attributes
M
C an..17
C an..3
Name
COMMUNICATION CONTACT
Communication number
Communication channel qualifier
EM - Email
TE – Telephone No
ABB
Attributes
R
R
R
CUX Currencies
Group:
Usage:
Max Use:
Purpose:
7 (Currency)
O
1
To specify currencies used in the transaction and relevant details for the rate of exchange.
Example:
Suppliers invoicing in SEK:
CUX+2:SEK:4’
Suppliers invoicing in other currency then SEK:
CUX+2:EUR:4+3:SEK:3’
Data Element Summary
Data
Element
C504
Component
Element
6347
6345
6343
C504
6347
6345
6343
Name
CURRENCY DETAILS
Currency details qualifier
2 – Reference currency
Currency, coded
Code for used currency, i.e. (SEK or EUR)
Currency qualifier
4 – Invoicing currency
CURRENCY DETAILS
Currency details qualifier
3 – Target currency
Currency, coded
Code for used currency, i.e. (SEK or EUR)
Currency qualifier
3 – Home currency
EDIFACT
Attributes
M
M an..3
ABB
Attributes
R
R
C an..3
R
C an..3
R
C
M an..3
D
R
C an..3
R
C an..3
R
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
14
4.14
PAT Payment terms
Group:
Usage:
Max Use:
Purpose:
ABB
8 (Payment terms)
M
1
A segment specifying the payment terms basis.
Referring to the date of the invoice due to agreement with ABB
(i.e. “60 days after date of invoice”)
Example:
PAT+1+6:::60+5:3:D'
Data
Element
4279
Component
Element
Data Element Summary
C110
4277
1131
3055
4276
C112
2475
2009
2151
4.15
EDIFACT
Name
Attributes
PAYMENT TERMS TYPE QUALIFIER M an..3
Type of payment terms
1 – Basic terms
ABB
Attributes
R
PAYMENT TERMS
Terms of payment identification
UN/CEFACT Revision 1996A Code List
Values can be 1 to 6.
Date/time/period
Date/time/period format qualifier
Terms of payment
Number of days
M
M an..17
R
R
C an..3
C an..3
C an..35
N
N
R
TERMS/TIME INFORMATION
C
M an..3
R
R
C an..3
R
M an..3
R
EDIFACT
Attributes
M
ABB
Attributes
R
Payment time reference, coded
5 – Date of invoice
Time relation, coded
3 – After reference
Type of period, coded
D - Days
DTM Date/Time/Period
Group:
Usage:
Max Use:
Purpose:
ABB
8 (Payment terms)
O
1
A segment specifying date(s) related with the payment terms
Due date for the payment of the invoice
Example:
DTM+13:20071027:102’
Data
Element
C507
Component
Element
Data Element Summary
2005
2380
Name
DATE/TIME/PERIOD
Date and/or time, or period relevant to
the specified date/time/period type.
Date/time/period qualifier
M an..3
Code giving specific meaning to a date,
time or period.
13 – Terms, net due date
Date/time/period
C n8
The value of a date, a date and time, a time or
of a period in a specified representation.
Doc. no.
ABB AB
R
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
15
2379
4.16
Date/time/period format qualifier
C an..3
Specification of the representation of a date,
a date and time or of a period.
102 – CCYYMMDD
R
ALC Allowances and charges
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 15 (Allowances and charges)
O
1
A segment to identify allowance or charge details
Use for allowance on invoice total (only) together with PCD/MOA
(Use ALC in group 51 for freight charges)
Example:
ALC+A’
Data
Element
5463
Component
Element
Data Element Summary
EDIFACT
Name
Attributes
ALLOWANCE /CHARGE QUALIFIER M an..3
A - Allowance
4.17
PCD Percentage details
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 15 (Allowances and charges)
O
1
A segment to specify percentage details
Use for allowance on invoice total (only)
Example:
PCD+12:2’
Data
Element
C501
Component
Element
ABB
Attributes
R
Data Element Summary
5245
5482
4.18
Name
PERCENTAGE DETAILS
Percentage qualifier
12 - Discount
Percentage
EDIFACT
Attributes
M
M an..3
ABB
Attributes
R
R
M n..10
R
EDIFACT
Attributes
M
M an..3
ABB
Attributes
R
R
C n..18
R
C an..3
R
MOA Monetary Amount
Group:
Usage:
Max Use:
Purpose:
Segment Group 15 (Allowances and charges)
O
1
A segment to specify an amount for allowance/charge
Example:
MOA+52:735:SEK’
Data
Element
C516
Component
Element
Data Element Summary
5025
5004
6345
Name
MONETARY AMOUNT
Monetary amount type qualifier
Code giving specific meaning to an amount.
52 – Discount amount
Monetary amount
Numeric value of a quantity.
Currency, coded
ISO 4217 three alpha
SEK – Swedish kronor
NOK – Norwegian kronor
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
16
5
INVOIC Message-definition [line-section]
5.1
LIN Line Item
Group:
Usage:
Max Use:
Purpose:
Example:
Segment Group 25 (Line Item)
M
999
A segment identifying the line item by the line number
LIN+1’
Data
Element
1082
Component
Element
Data Element Summary
5.2
Name
LINE ITEM NUMBER
Serial number designating each separate
item within a series of articles.
EDIFACT
Attributes
C n..6
ABB
Attributes
R
PIA Additional Product Id
Group:
Usage:
Max Use:
Purpose:
Example:
Segment Group 25 (Line Item)
C
1
A segment identifying additional product, or service, id or information.
PIA+5+40093:SA'
Data
Element
4347
Component
Element
Data Element Summary
C212
7140
7143
Name
Product Id. Function qualifier
Code specifying the action to be taken or
already taken.
5 – Product information
EDIFACT
Attributes
C an..3
ITEM NUMBER IDENTIFICATION
Goods identification for a specified source.
Item number
C an..35
A number allocated to a group or item.
Article number without leading blanks or
zeroes.
Item number type, coded
C an..3
Identification of the type of item number.
SA – Supplier’s article number
MP - Service identification number
Doc. no.
ABB AB
ABB
Attributes
R
R
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
17
5.3
IMD Item description
Group:
Usage:
Max Use:
Purpose:
Example:
Segment Group 25 (Line Item)
M
2
A segment for item description. 2 rows (7008) are allowed.
IMD+F++:::VATTENPASS 600 HVPM'
Data
Element
7077
Component
Element
Data Element Summary
7081
C273
7009
1131
3055
7008
7008
5.4
Group:
Usage:
Max Use:
Purpose:
ABB:
Example:
Data
Element
C186
EDIFACT
Attributes
C an..3
ABB
Attributes
R
Item characteristic, coded
C an..3
N
ITEM DESCRIPTION
Item description identification
Code list qualifier
Code list responsible agency
Item description
Item description
Item description
C an..7
C an..3
C an..3
C an..35
C an..35
N
N
N
R
O
Name
Item desc. Type coded
Code specifying the type of description
F – Free form
QTY Quantity
Segment Group 25 (Line item)
M
1
A segment identifying the invoiced quantity.
Use maximum two (2) decimals for the quantity in DE 6060.
Default measure unit is PCE, so this can be omitted if unit is “pieces”.
Use “UN/ECE recommendation No. 20” for other measure unit codes, see below for examples.
QTY+47:60:PCE’
Data Element Summary
Component
EDIFACT
ABB
Element
Name
Attributes
Attributes
QUANTITY DETAILS
M
R
Quantity information in a transaction,
qualified when relevant.
6063
Quantity qualifier
M an..3
R
Code giving specific meaning to a quantity.
47 – Invoiced quantity
6060
Quantity
M n..15
R
Numeric value of a quantity.
6411
Measure unit qualifier
M an..3
D
PCE - Pieces
KGM - Kilogram
LTR - Liter (Volume)
MTQ - Cubic metre
MTR - Metre
PCE - Pieces
TNE - Tonne
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
18
5.5
DTM Date/Time/Period
Group:
Usage:
Max Use:
Purpose:
ABB
25
C
2
A segment specifying date/time/period details relating to the line item only
Used for invoicing period of the line item
Example:
DTM+167:20090401:102’
DTM+168:20090430:102’
Data
Element
C507
Component
Element
Data Element Summary
2005
2380
2379
5.6
Group:
Usage:
Max Use:
Purpose:
Name
DATE/TIME/PERIOD
Date and/or time, or period relevant to
the specified date/time/period type.
Date/time/period qualifier
Code giving specific meaning to a date,
time or period.
167 – Charge period start date
168 – Charge period start date
Date/time/period
The value of a date, a date and time, a time
or of a period in a specified representation.
Date/time/period format qualifier
Specification of the representation of a date,
a date and time or of a period.
102 – CCYYMMDD
EDIFACT
Attributes
M
ABB
Attributes
R
M an..3
R
C n8
R
C an..3
R
FTX Free text
ABB
25
C
5
Free text information. Used when additional information is needed but cannot be accommodated within other
segments, for example allowances.
Use maximum two text lines (DE 4440) per segment and max 5 loops of the segment.
Example:
FTX+ZZZ+++FREE TEXT LINE 1:FREE TEXT LINE 2’
Data
Element
4451
Component
Element
Data Element Summary
Name
Text Subject Qualifier
Code giving specific meaning to the text
ZZZ – Mutually defined free text
EDIFACT
Attributes
M an..3
ABB
Attributes
R
4453
Text Function, Coded
C an..3
N
C107
TEXT REFERENCE
Standard text, coded
C
N
TEXT LITERAL
Free text
Free text
C
M an..70
M an..70
R
R
C
C108
4440
4440
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
19
5.7
Group:
Usage:
Max Use:
Purpose:
Example:
Data
Element
C516
5.8
MOA Monetary Amount
Segment Group 26 (Line item)
C
1
A segment giving the line amount for an invoice line
Use maximum two (2) decimals for the value in DE 5004
MOA+203:735.50:SEK’
Data Element Summary
Component
Element
Name
MONETARY AMOUNT
Used to specify monetary amounts related
to the line item.
5025
Monetary amount type qualifier
Code giving specific meaning to a quantity.
203 – Line item amount
5004
Monetary amount
Numeric value of a quantity.
6345
Currency, coded
ISO 4217 three alpha
SEK – Swedish kronor
NOK – Norwegian kronor
EUR - Euro
EDIFACT
Attributes
M
ABB
Attributes
R
M an..3
R
C n..18
R
C an..3
R
PRI Price information
Group:
Usage:
Max Use:
Purpose:
Example:
Segment Group 28
M
1
To specify the unit price of the article.
PRI+AAA:618.56’
Data
Element
C509
Component
Element
Data Element Summary
5125
5118
5375
5387
5284
6411
EDIFACT
Name
Attributes
PRICE INFORMATION
C
Price qualifier
M an..3
AAA – The price stated is the net price
including allowances/ charges.
Allowances/charges may be stated for
information only.
AAB - The price stated is the gross price
to which allowances/charges must be applied.
Price
C n,,15
Price of article
Price type, Coded
C an,,3
Price type qualifier
C an,,3
Unit price basis
C n,,9
Basis = “1”
Measure unit qualifier
M an..3
PCE - Pieces
Doc. no.
ABB AB
ABB
Attributes
R
R
R
N
N
N
N
Lang.
9ADG112101
en
Rev. ind.
E
Page
20
5.9
RFF Reference
Group:
Usage:
Max Use:
Purpose:
ABB:
Segment Group 29 (Reference)
C
1
A segment identifying the reference(s).
Use for reference to the buyer’s (ABB) purchase order line No.
Example:
RFF+ON:12'
Data
Element
C506
Component
Element
Data Element Summary
1153
1154
5.10
EDIFACT
Name
Attributes
REFERENCE
M
Identification of a reference.
Reference qualifier
M an..3
Code giving specific meaning to a reference
segment or a reference number.
ON – Order reference
ABB
Attributes
R
Reference number
C an..6
Identification number the nature and function of
which can be qualified by an entry in data element
1153 Reference qualifier
R
R
TAX Duty/tax/fee details
Group:
Usage:
Max Use:
Purpose:
Example:
Segment Group 33 (Line item)
M
1
To specify relevant duty/tax/fee information.
TAX+7+VAT+++:::25+S'
Data
Element
5283
Component
Element
Data Element Summary
EDIFACT
Attributes
M
ABB
Attributes
R
DUTY/TAX/FEE TYPE
Duty/tax/fee type, coded
VAT - Value added tax
RED – Reduced value added tax
Code list qualifier
Code list responsible agency, coded
Duty/tax/fee type
C
C
R
R
C
C
C
N
N
N
C533
DUTY/TAX/FEE ACCOUNT DETAIL
C
N
5286
Duty/tax/fee assessment basis
C
N
C241
5153
1131
3055
5152
C243
5279
1131
3055
5278
Name
Duty/tax/fee function qualifier
7 – Tax
DUTY/TAX/FEE DETAIL
C
Duty/tax/fee rate identification
C
Code list qualifier
C
Code list responsible agency, coded
C
Duty/tax/fee rate
C
- Actual tax rate in percentage with max 2 decimals
Doc. no.
ABB AB
R
N
N
N
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
21
5305
Duty/tax/fee category, coded
S – Standard rate
E - Exempt from tax
M – Food
T – magazines, books etc.
Z – Zero rated goods
5.11
Group:
Usage:
Max Use:
Purpose:
Example:
C
R
MOA Monetary Amount
Segment Group 33 (Line item)
M
1
A segment specifying the amount for the identified tax/fee.
Use maximum two (2) decimals for the amount in DE 5004.
MOA+124:125.13:SEK’
Data Element Summary
Data
Element
C516
Component
Element
5025
5004
6345
6
EDIFACT
Name
Attributes
MONETARY AMOUNT
M
Used to specify monetary amounts related to the line item.
Monetary amount type qualifier
M an..3
Code giving specific meaning to a quantity.
124 – Tax amount
Monetary amount
C n..18
Numeric value of a quantity.
Currency, coded
C an..3
ISO 4217 three alpha
SEK – Swedish kronor
NOK – Norwegian kronor
EUR – Euro
ABB
Attributes
R
R
R
R
INVOIC Message-definition [summary-section]
6.1
UNS Section control
Group:
Usage:
Max Use:
Purpose:
Example:
N/A
M
1
A service segment placed at the start of the summary section to avoid segment collision.
UNS+S’
Data
Element
0081
Component
Element
Data Element Summary
EDIFACT
Attributes
M
Name
Section identification
ABB
Attributes
R
S - Detail/summary section separation
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
22
6.2
MOA Monetary Amount
Group:
Usage:
Max Use:
Purpose:
Segment Group 48 (Summary)
M
10
A segment specifying the total monetary amounts for the whole invoice.
The four first amounts (code 176, 79, 9 and 77) are required by ABB so at least 4 loops of the
segment are mandatory.
For suppliers that are invoicing on other currency then SEK, an additional MOA with the tax amount in SEK
is required. Se below in the example section
DE 6343 is only used for suppliers who invoices in two currencies..
Use maximum two (2) decimals for the amount in DE 5004
Example:
Suppliers invoicing in SEK
MOA+77:735:SEK’
MOA+165:-0.12:SEK’
MOA+176:126.15:SEK’
Data
Element
C516
Suppliers invoicing in other currency then SEK:
MOA+77:105:EUR’
MOA+165:-0.03:EUR’
MOA+176:26.12:EUR:4’
MOA+176:237.70:SEK:3’
Data Element Summary
Component
EDIFACT
Element
Name
Attributes
MONETARY AMOUNT
M
Used to specify monetary amounts related to the line item.
5025
Monetary amount type qualifier
M an..3
Code giving specific meaning to a quantity.
176 – Message total duty/tax/fee amount
79 – Total line items amount
(The sum of all the line item amounts.)
9 – Payable amount
(Amount to be paid.)
77 – Invoice amount
165 – Adjustment amount (optional)
ZZZ – Package costs
(optional)
5004
Monetary amount
C n..18
Numeric value of a quantity.
6345
Currency, coded
C an..3
ISO 4217 three alpha:
SEK – Swedish kronor
NOK – Norwegian kronor
EUR – Euro
6343
Currency, qualifier
C an..3
3 – Home currency (SEK)
4 – Invoicing currency
Doc. no.
ABB AB
ABB
Attributes
R
R
R
R
D
Lang.
9ADG112101
en
Rev. ind.
E
Page
23
6.3
Group:
Usage:
Max Use:
Purpose:
Example:
TAX Duty/tax/fee details
Segment Group 50
M
5
To specify relevant duty/tax/fee information.
Use one TAX-MOA per used VAT rate that needs to be specified.
TAX+7+VAT+++:::25+S'
Data Element Summary
Data
Element
5283
Component
Element
EDIFACT
Attributes
M
ABB
Attributes
R
DUTY/TAX/FEE TYPE
Duty/tax/fee type, coded
VAT - Value added tax
RED – Reduced value added tax
Code list qualifier
Code list responsible agency, coded
Duty/tax/fee type
C
C
R
R
C
C
C
N
N
N
C533
DUTY/TAX/FEE ACCOUNT DETAIL
C
N
5286
Duty/tax/fee assessment basis
C
N
C241
5153
1131
3055
5152
C243
5279
1131
3055
5278
5305
Name
Duty/tax/fee function qualifier
7 – Tax
DUTY/TAX/FEE DETAIL
C
Duty/tax/fee rate identification
C
Code list qualifier
C
Code list responsible agency, coded
C
Duty/tax/fee rate
C
- Actual tax rate in percentage with max 2 decimals
R
N
N
N
R
Duty/tax/fee category, coded
S – Standard rate
E - Exempt from tax
M – Food
T – magazines, books etc.
Z – Zero rated goods
R
C
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
24
6.4
Group:
Usage:
Max Use:
Purpose:
Example:
MOA Monetary Amount
Segment Group 50
M
2 (per VAT-segment)
A segment specifying the amounts (taxable and tax, both required) for the identified tax.
Use maximum two (2) decimals for the amount in DE 5004.
MOA+124:125.13:SEK’
Data Element Summary
Data
Element
C516
Component
Element
EDIFACT
Name
Attributes
MONETARY AMOUNT
M
Used to specify monetary amounts related to the line item.
Monetary amount type qualifier
M an..3
Code giving specific meaning to a quantity.
124 – Tax amount
125 – Taxable amount
Monetary amount
C n..18
Numeric value of a quantity.
Currency, coded
C an..3
ISO 4217 three alpha
SEK – Swedish kronor
NOK – Norwegian kronor
EUR - Euro
5025
5004
6345
6.5
ABB
Attributes
R
R
R
R
ALC Allowance and charges
Group:
Usage:
Max Use:
Purpose:
ABB
Segment Group 51 (Allowances and charges)
O
1
A segment to identify allowance or charge details
Use for freight charges on invoice total only, together with MOA
Example:
ALC+C++++FC’
Data
Element
5463
Component
Element
Data Element Summary
C552
4471
1227
C214
7161
Name
ALLOWANCE /CHARGE QUALIFIER
C – Charge
ALLOWANCE/CHARGE INFORMATION
Settlement, coded
Calculation sequence indicator, coded
SPECIAL SERVICES IDENTIFICATION
Special services, coded
FC – Freight charge
EDIFACT
Attributes
M an..3
ABB
Attributes
R
C
C an..3
C an..3
C
C
N
N
N
R
R
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
25
6.6
MOA Monetary Amount
Group:
Usage:
Max Use:
Purpose:
Segment Group 51 (Allowances and charges)
O
1
A segment to specify the amount of the freight charge.
Example:
MOA+24:735:SEK’
Data
Element
C516
Component
Element
Data Element Summary
5025
5004
6345
6.7
Group:
Max Use:
Usage:
Purpose:
Name
MONETARY AMOUNT
Monetary amount type qualifier
Code giving specific meaning to an amount.
24 – Charge summary total
Monetary amount
Numeric value of a quantity.
Currency, coded
ISO 4217 three alpha
SEK – Swedish kronor
NOK – Norwegian kronor
EUR - Euro
EDIFACT
Attributes
M
M an..3
ABB
Attributes
R
R
C n..18
R
C an..3
R
UNT Message Trailer
1
M
A service segment ending a message, giving the total number of segments in the
message and the control reference number of the message.
Example:
UNT+39+2346’
Data
Element
0074
Component
Element
Data Element Summary
0062
6.8
Name
NUMBER OF SEGMENTS IN A MESSAGE
Control count of number of segments in a message.
MESSAGE REFERENCE NUMBER
Unique message reference assigned by the sender.
EDIFACT
Attributes
M n..6
ABB
Attributes
M
M an..14
M
UNZ Interchange Trailer
Group: 0 (Service segment)
Max Use:
1
Purpose:
Service segment ending an interchange and giving the number of messages contained in the
interchange as well as the Interchange Control Reference number.
Example:
UNZ+1+50325419085023'
Data Element Summary
Data
Component
Element
Element
Name
0036
INTERCHANGE CONTROL COUNT
Number of messages in an interchange.
0020
EDIFACT
Attributes
M n..6
ABB
Attributes
R
INTERCHANGE CONTROL REFERENCE
M an..14
Value must be the same as 0020 - Interchange Control Reference in UNB.
Doc. no.
ABB AB
R
Lang.
9ADG112101
en
Rev. ind.
E
Page
26
7
Example of INVOIC-message
Mandatory segments are marked with bold font.
For details of usage, dependencies etc. please refer to the detailed description of each segment.
UNA:+.? '
UNB+UNOC:1+7365562392462:ZZ+SE04800015260:01+080808:0808+50325419085023'
UNH+2346+INVOIC:D:96A:UN'
BGM+380+925896'
DTM+137:20071027:102'
DTM+35:20071026:102'
FTX+AAB+++Payment terms?: 45 days'
FTX+MKS+++GOODS MARKING'
FTX+ZZZ+++FREE TEXT FREE TEXT FREE TEXT'
RFF+ON:49590152'
NAD+BY+++ABB AB+LV Motors+Västerås++72162'
RFF+VA:SE556029702901'
CTA+AD+:Lars Åkesson'
NAD+IV+++ABB AB+Box 6120+VÄSTERÅS++72157'
NAD+SU+++Bengtssons Mekaniska AB+Nya Hamnvägen 4+KÖPING++73136+SE'
FII+RB+4147137+BK::9::::Bankgirot'
FII+RB+5880254+PO::9::::Plusgirot'
FII+BF+SE2360000000000048805283+HANDSESS:25:5'
RFF+VA:SE556012224301'
CTA+SU+:Stina Larsson'
COM+021-10 11 12:TE'
CUX+3:EUR:4+3:SEK:3'
PAT+1+6:::60+5:3:D'
DTM+13:20081027:102'
ALC+A'
PCD+12:2'
MOA+52:735:SEK'
LIN+1'
PIA+5+40093:SA'
IMD+F++:::VATTENPASS 600 HVPM:4 st libeller'
QTY+47:10:PCE'
DTM+167:20090401:102’
DTM+168:20090430:102’
FTX+ZZZ+++FREE TEXT LINE 1:FREE TEXT LINE 2'
MOA+203:999.60:SEK'
PRI+AAA:99.96'
RFF+ON:10'
TAX+7+VAT+++:::25+S'
MOA+124:249.90:SEK'
UNS+S'
MOA+176:249.90:SEK'
MOA+79:999.60:SEK'
MOA+9:1249.5:SEK'
MOA+77:1249:SEK'
MOA+165:-0.50:SEK'
TAX+7+VAT+++:::25+S'
MOA+124:249.60:SEK'
MOA+125:999.60:SEK'
ALC+C++++FC'
MOA+24:735:SEK'
UNT+50+2346'
UNZ+1+50325419085023'
Doc. no.
ABB AB
Lang.
9ADG112101
en
Rev. ind.
E
Page
27
REVISION
Rev. ind. Page (P)
Description
Chapt. (C)
Date
Dept./Init.
A
The English version is approved
B
C
Addition of UNA segment
Addition of IBAN No in FII segment
Addition of LIN-DTM segment
Varios (text) adjustments
Adjustment of the example
Contact persons page 5 are updated
20081104
GFAC/L-BG
20090701
SASL - BG
D
Contact persons page 5 are updated
E
Contact persons page 5 are updated
Doc. no.
ABB AB
20100701
SASL - BG
20100914
SASL - BG
20110308
SASL - BG
Lang.
9ADG112101
en
Rev. ind.
E
Page
28