Invoice MIG EDIFACT D.96A. Winning Appliances

Size: px
Start display at page:

Download "Invoice MIG EDIFACT D.96A. Winning Appliances"

Transcription

1 Invoice MIG EDIFACT D.96A Winning Appliances

2 Contents Introduction... 1 Introduction... 1 GS1 EANCOM About Winning Appliances... 1 About MessageXchange... 1 Change History... 2 Copyright... 3 Notes... 4 Indicators... 4 Format and picture of data elements... 4 Character type... 4 Size... 4 Examples... 4 Format and picture of actual data... 5 Numeric Formats... 5 Example... 5 Rules... 6 Winning Appliances rules for electronic ordering (Invoices)... 6 Invoice - Summary... 7 Heading Section... 7 Detail Section... 8 Section Control... 8 Summary Section... 8 Invoice - Details... 9 Sample Message Store/Warehouse Delivery... 57

3 Introduction Introduction The INVOIC message claims payment for goods and services ordered under conditions agreed between the trade partners and Winning Appliances. GS1 EANCOM 1997 The GS1 EANCOM standard is an implementation guideline on the use of subsets of relevant UN/EDIFACT messages. This Message Implementation Guideline (MIG) is based on the EANCOM 1997 Guidelines for the Invoice Message derived from the international UN/EDIFACT directory D.96A. About the Winning Group Established in 1906, the Winning Group is a proudly family-owned, Australian company driven by a single-minded focus on the satisfaction of its clients and customers. The Group incorporates four distinct business entities including traditional bricks-and-mortar retailer Winning Appliances, online business Appliances Online, national installation company Handy Crew, and clearance retailer Electro Seconds Factory Outlet. About Winning Appliances Established in 1906, Winning Appliances is a fourth generation family owned and run kitchen, cooking and laundry specialist. With seven showrooms across NSW, two in Queensland and three in Western Australia, Winning Appliances has an unmatched selection of the world's best kitchen and laundry brands. The business, through its retail stores and commercial division, also works with architects, developers and the construction industry to provide appliances for commercial projects across Australia. About Appliances Online Appliances Online was founded by John Winning in 2005 with a laptop, a rented truck, and a 1300 number diverted to a mobile phone. Also vital in the business start-up was an unfaltering belief in online retailing as the only way to service the growing number of time-poor consumers who appreciate the efficiency of shopping online. Appliances Online now employs upwards of 250 people and is Australia's largest online retailer of appliances, delivering to majority of the population, and stocking more brands than any other online whitegoods or appliance retailer, at competitive prices. Appliances Online's customer service was awarded the best in the world by the World Retail Awards in

4 About Handy Crew Handy Crew is the Winning Group's logistics and installation team. The Handy Crew logistics division has the best two-man delivery team for bulky goods in Australia. Handy Crew's installation division includes a team of appliance installation specialists operating throughout the Sydney, Melbourne, Brisbane, Adelaide and Perth metropolitan areas, as part of the Winning Group of companies. About Electro Seconds Factory Outlet Joining the Winning Group in April 2015, Electro Seconds is the only seconds retailer in Australia that offers 24/7 phone support, free delivery to metro areas and full manufacturer's warranties on all products. Electro Seconds Factory Outlet, Appliances Online's Clearance Outlet, offers the best bargains on brand new and factory second whitegoods, cooking appliances, computers and audio visual, operating 24/7 through its website and 7 days a week through its store located on Parramatta Rd, Auburn, Sydney. About MessageXchange MessageXchange is a cloud B2B integration service. We provide a multi-tenanted cloud service for hosting your B2B Gateway with elastic provisioning so you only pay for what you use but with the highest service level. The MessageXchange service is an easily accessible, high performance platform that streamlines the exchange of information (such as EDI and XML messages) between your IT systems and those of your customers, partners, suppliers and Government. MessageXchange has over 15 years of experience and processes over 100 million messages every year. Our B2B gateway cloud service is configurable so it can be flexibly applied to your requirements with minimum effort. Our integration team are specialists in message routing and mapping and are always on hand to assist you in setting up or troubleshooting your B2B gateway. MessageXchange was developed by our development team specifically for cloud B2B integration and they ensure the service is up-to-date with the latest industry standards, functionality and security so you always have the best service at your disposal. Highly secure and reliable, we guarantee the viability, continuity and efficiency of your business. Change History Version Date Nature of Amendment /12/2015 Final Version 2

5 Copyright This document is the property of Evision Pty Ltd. Unauthorized access, copying, replication and usage for a purpose other than for which this is intended is prohibited by Copyright Laws. The holder is responsible for incorporating revisions into his copy of the document and keeping the contents up-to-date. 3

6 Notes Indicators The segments are presented in the sequence in which they appear in the message. The segment or segment group tag is preceded by the User Status, and followed by the Segment Description, the Base Status (M)andatory / (C)onditional indicator, and the maximum number of occurrences. (M)andatory data elements in EDIFACT segments retain their status in EANCOM. Additionally, there are five types of status for data elements with a (C)onditional EDIFACT status, whether for simple, component or composite data elements. These are listed below and can be identified when relevant by the following abbreviations: REQUIRED R Indicates that the entity is required and must be sent. DEPENDENT D Indicates that the entity must be sent in certain conditions, as defined by the relevant explanatory note. OPTIONAL O Indicates that the entity is optional and may be sent at the discretion of the user. NOT USED X Indicated that the entity is not used and should be omitted. ADVISED A Recommended to be used. Format and picture of data elements The following conventions apply in the documentation: Character type a: alphabetic characters n: numeric characters an: alpha-numeric characters Size Fixed: all positions must be used Variable: positions may be used up to a specified maximum. Examples a3 : 3 alphabetic characters, fixed length n3 : 3 numeric characters, fixed length an3 : 3 alpha-numeric characters, fixed length a..3 : up to 3 alphabetic characters n..3 : up to 3 numeric characters an..3 : up to 3 alpha-numeric characters 4

7 Format and picture of actual data Numeric Formats Z: Single digit which may or may not be present 9: Single digit which will be present Example ZZZ9.99 5

8 Rules This section describes how electronic invoices (INVOIC document) are to be used in trading electronically with Winning Appliances. Winning Appliances rules for electronic ordering (Invoices) 1. The Supplier will send the invoice to Winning Appliances. 2. At a future date and with the agreement of Winning Appliances suppliers may send Credit Notes via EDI as outlined below. 3. An Invoice is related to a single delivery and a single purchase order. For example if you have two deliveries for a purchase order there should be two invoices, one for each delivery. 4. Suppliers are not to send duplicate Invoices or Credit Memos. 5. Zero Value Invoices are not accepted via EDI. 6. The Supplier must provide their ABN number on the Invoice. 6

9 Invoice - Summary This section contains an overview of the content and structure of the Invoice message as an aid to understanding. It should be noted that while this is indicative of the content and structure of an Invoice message, the detailed implementation guideline that forms the majority of the document is the only authoritative source of content and structure. In the event of a discrepancy between the information in this section and the information in the detailed implementation guideline, the detailed implementation guideline should prevail. Heading Section Page Pos. Seg. Base User Group Notes and No. No. ID Name Status Status Max.Use Repeat Comments 0003 UNA Service String Advice M M UNB Interchange Header M M UNH Message header M M BGM Beginning of message M M DTM Date/time/period M M Segment Group 1: RFF C R RFF Reference M M Segment Group 2: NAD-SG3 C R NAD Name and address M M Segment Group 3: RFF C O RFF Reference M M Segment Group 2: NAD-SG3 C R NAD Name and address M M Segment Group 3: RFF C O RFF Reference M M Segment Group 7: CUX C O CUX Currency M M Segment Group 8: PAT-DTM-PCD-MOA C O PAT Payment terms basis M M DTM Date/time/period C O PCD Percentage details C O MOA Amount C O Segment Group 15:ALC-SG19-SG21 C O ALC Allowance or Charge M M Segment Group 19: MOA C R MOA Reference M M Segment Group 21:TAX-MOA C O TAX Tax M M MOA Monetary amount C O 1 7

10 Detail Section Page Pos. Seg. Base User Group Notes and No. No. ID Name Status Status Max.Use Repeat Comments 0890 Segment Group 28: LIN-PIA-IMD-QTY- C D 999 MOA-FTX-SG28-SG LIN Line item M M PIA Additional product id C R IMD Item description C R QTY Quantity C R Segment Group 26: MOA C R MOA Monetary amount M M Segment Group 28: PRI C R PRI Price details M M Segment Group 29: RFF C R RFF Reference M M Segment Group 33: TAX-MOA C D TAX Duty/tax/fee details M M MOA Monetary amount C O 1 Section Control Page Pos. Seg. Base User Group Notes and No. No. ID Name Status Status Max.Use Repeat Comments 1790 UNS Section control M M 1 Summary Section Page Pos. Seg. Base User Group Notes and No. No. ID Name Status Status Max.Use Repeat Comments 1800 CNT Control total C R Segment Group 48: MOA M M MOA Monetary amount M M Segment Group 50: TAX-MOA C D TAX Duty/tax/fee details M M MOA Monetary amount C R UNT Message trailer M M 1 UNZ Interchange trailer M M 1 8

11 Invoice - Details Segment: UNA Service String Advice Position: 0003 Group: Level: 0 Usage: Mandatory Purpose: To define the characters selected for use as delimiters and indicators in the rest of the interchange that follows. Example: UNA:+.? ' Data Component M 0010 COMPONENT DATA ELEMENT SEPERATOR M 1 an1 : Colon M 0020 DATA ELEMENT SEPERATOR M 1 an1 + Plus sign M 0030 DECIMAL NOTATION M 1 an1. Fill stop / Period M 0040 RELEASE INDICATOR M 1 an1? Question mark M 0050 RESERVED FOR FUTURE USE M 1 an1 Not Used M 0060 SEGMENT TERMINATOR M 1 an1 ' Apostrophe 9

12 Segment:UNB Interchange Header Position: 0005 Group: Level: 0 Usage: Mandatory Purpose: To start, identify and specify an interchange. Example: UNB+UNOA:3+TRADEPARTNER:ZZZ : : ' Data Component M S001 SYNTAX IDENTIFIER M 1 M 0001 Syntax identifier M a4 UNOB UN/ECE level B M 0002 Syntax version number M n1 3 Version 3 M S002 INTERCHANGE SENDER M 1 M 0004 Sender identification M an..35 R 0007 Partner identification code qualifier C an EAN International ZZZ Mutually defined M S003 INTERCHANGE RECIPIENT M 1 M 0010 Recipient identification M an..35 Production GLN: Test GLN: T R 0007 Partner identification code qualifier C an EAN International ZZZ Mutually defined M S004 DATE AND TIME OF PREPERATION M 1 M 0017 Date of preparation M n6 Date in YYMMDD format M 0019 Time of preparation M n4 Time in 24 hour-clock format M 0020 INTERCHANGE CONTROL REFERENCE M 1 an..14 The value presented here must match with the value presented in DE 0020 in segment UNZ. X S005 RECIPIENTS REFRENCE PASSWORD M 1 X 0026 APPLICATION REFERENCE M 1 an..14 X 0029 PROCESSING PRIORITY CODE C 1 a1 X 0031 ACKNOWLEDGEMNT REQUEST C 1 n1 X 0032 COMMUNICATIONS AGREEMENT ID C 1 an..35 D 0035 TEST INDICATOR C 1 n1 1 Interchange is a test 10

13 Segment: UNH Message header Position: 0010 Group: Level: 0 Usage: Mandatory Purpose: A service segment starting and uniquely identifying a message. The message type code for the Invoice message is INVOIC. Note: Invoice messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 INVOIC 0052 D A 0051 UN Example: UNH+ME INVOIC:D:96A:UN:EAN008' Data Component M 0062 MESSAGE REFERENCE NUMBER M 1 an..14 Sender's unique message reference. Sequence number of the messages in the interchange. DE 0062 in the UNT will be exactly the same. Sender generated. M S009 MESSAGE IDENTIFIER M 1 M 0065 Message type identifier M an..6 INVOIC Invoice message M 0052 Message type version number M an..3 D Draft version/un/edifact Directory M 0054 Message type release number M an..3 96A Version 96A M 0051 Controlling agency M an..2 UN UN/CEFACT R 0057 Association assigned code C an..6 EAN008 EAN Version control number 11

14 Segment: BGM Beginning of Message Position: 0020 Group: Level: 0 Usage: Mandatory Purpose: Data A segment by which the sender must uniquely identify the invoice by means of its name and number and when necessary its function. This segment is used to indicate the type and function of a message and to transmit the identifying number. Example: BGM+388:::TAX INVOICE+INV ' Component R C002 DOCUMENT/MESSAGE NAME C 1 R 1001 Document/message name, coded C an Credit note 388 Tax invoice To comply with the Australian Tax Office Rules this is the only Invoice Code allowable. X 1131 Code list qualifier C an..3 X 3055 Code list responsible agency, coded C an..3 O 1000 Document/message name C an..35 The use of this segment when DE 1001 = 388 is optional, but it may be used to state the literal text: TAX INVOICE. R 1004 DOCUMENT/MESSAGE NUMBER C 1 an..35 Invoice or Credit Memo Number. R 1225 MESSAGE FUNCTION CODED C 1 an..3 9 Original 12

15 Segment: DTM Date/time/period Position: 0030 Group: Level: 1 Usage: Mandatory Max Use: 2 Purpose: A segment specifying general dates and, when relevant, times related to the whole message. The segment must be specified at least once to identify the invoice date. Examples of the use of this DTM segment is: "shipped on date" or "delivery date". The Date/time/period segment within other Segment groups should be used whenever the date/time/period requires to be logically related to another specified data item e.g. Payment due date is specified within the PAT Segment group. This segment is used to specify the date of the Invoice and the effective date of the invoice if different. Data Example: DTM+137: :102' This example dates the message as the 2nd of October Component M C507 DATE/TIME/PERIOD M 1 M 2005 Date/time/period qualifier M an Document/message date/time Mandatory: Invoice (Message) date 454 Accounting value date (EAN Code) Optional: Invoice effective date (if different) Payment Terms would apply from this date. R 2380 Date/time/period C an..35 R 2379 Date/time/period format qualifier C an CCYYMMDD Calendar date: CC = Century ; YY = Year ; MM = Month ; DD = Day 13

16 Group: RFF Segment Group 1: Reference Position: 0080 Group: Level: 1 Usage: Conditional (Required) Max Use: 2 Purpose: A group of segments for giving references and where necessary, their dates, relating to the whole message e.g. contract number, import/export license number, reservation number. This segment group is used to send various reference numbers, including: For the Invoice - Delivery Note Number - Original Purchase Order Number For the Credit Note - Original Invoice Number Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0090 RFF Reference M 1 14

17 Segment: RFF Reference Position: 0090 (Trigger Segment) Group: Segment Group 1 (Reference) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A segment identifying the reference by its number and where appropriate a line number within a document. Data Invoice example: RFF+DQ: ' RFF+ON: ' Credit Note example: RFF+IV: ' Component M C506 REFERENCE M 1 M 1153 Reference qualifier M an..3 DQ Delivery note number Invoice: Mandatory to provide Delivery docket number IV ON Credit Memo: Not applicable Invoice number Invoice: Not applicable Credit Note: Required to refer to previous Tax Invoice. Order number (purchase) Invoice: Mandatory to provide original Purchase Order Number Credit Memo: Not applicable R 1154 Reference number C an

18 Group: NAD Segment Group 2: Name and address Position: 0110 Group: Level: 1 Usage: Conditional (Required) Max Use: 3 Purpose: A group of segments identifying the parties with associated information. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0120 NAD Name and address M Segment Group 3: Reference C 1 16

19 Segment: NAD Name and address Position: 0120 (Trigger Segment) Group: Segment Group 2 (Name and address) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the invoice. Identification of the seller and buyer parties is mandatory for the invoice message. It is recommended that where possible only the coded form of the party ID should be specified e.g. The Buyer and Seller are known to each other, thus only the coded ID is required, but the Consignee or Delivery address may vary and would have to be clearly specified, preferably in structured format. Data This segment is used to identify the trading partners involved in the invoice process. Identification of the buyer and supplier of goods and services is mandatory using DE's 3035 and C082. You must provide either the Buyer (BY) or Bill and ship to (BS) parties. You must provide the Supplier (SU) party. The Invoicee (IV) is optional. NAD+BY ::9' NAD+SU ::9' Component M 3035 PARTY QUALIFIER M 1 an..3 BS Bill and ship to Dependent: Winning Appliances GLN: BY Buyer Dependent: Winning Appliances GLN: IV Invoicee Optional: Winning Appliances GLN: SU Supplier Required: Supplier GLN R C082 PARTY IDENTIFICATION DETAILS C 1 M 3039 Party id. identification M an..35 GLN Number X 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 9 EAN (International Article Numbering association) 17

20 Group: RFF Segment Group 3: Reference Position: 0150 Group: Segment Group 2 (Name and address) Conditional (Required) Level: 2 Usage: Conditional (Dependent) Purpose: A group of segments giving references only relevant to the specified party rather than the whole invoice. Dependency rule: This Reference Segment Group is only required for the Supplier i.e. NAD DE 3035 = SU Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0160 RFF Reference M 1 18

21 Segment: RFF Reference Position: 0160 (Trigger Segment) Group: Segment Group 3 (Reference) Conditional (Dependent) Level: 2 Usage: Mandatory Purpose: A segment identifying the reference by its number and where appropriate a line number within a document. Data This segment is used to specify reference numbers related to the trading parties identified in the previous NAD segment. This RFF Segment is only required for the Supplier i.e. NAD DE 3035 = SU. Example: RFF+AMT: ' Component M C506 REFERENCE M 1 M 1153 Reference qualifier M an..3 AMT Goods and Services Tax Identification Number This code related to the Australian Business Number (ABN). VA VAT registration number This code has been superceded with the code AMT. It is included for those suppliers who have not migrated to using the AMT code. R 1154 Reference Number C an..35 Format: n11 19

22 Group: CUX Segment Group 7: Currencies Position: 0280 Group: Level: 1 Usage: Conditional (Optional) Purpose: A group of segments specifying the currencies and related dates/periods valid for the whole invoice. Currency data may be omitted in national applications but will be required for international transactions. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0290 CUX Currencies M 1 20

23 Segment: CUX Communication contact Position: 0290 (Trigger Segment) Group: Segment Group 7 (Currencies) Conditional (Optional) Level: 1 Usage: Mandatory Purpose: A segment identifying the currencies required in the order e.g. the order currency. A rate of exchange may be given to convert a reference currency into a target currency. Example: CUX+2:AUD' Data Component R C504 CURRENCY DETAILS C 1 M 6347 Currency details qualifier M an..3 2 Reference currency R 6345 Currency, coded C an..3 AUD Australian dollar 21

24 Group: PAT Segment Group 8: Payment Terms Basis Position: 0310 Group: Level: 1 Usage: Conditional (Optional) Max Use: 2 Purpose: A group of segments specifying the terms of payment applicable for the whole invoice. These segments are only applicable for Invoices. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0320 PAT Payment terms basis M 1 O 0330 DTM Date/time/period C 1 O 0340 PCD Percentage details C 1 O 0350 MOA Monetary amount C 1 22

25 Segment: PAT Payment Terms Basis Position: 0320 (Trigger Segment) Group: Segment Group 8 (Payment Terms Basis) Conditional (Optional) Level: 1 Usage: Mandatory Purpose: A segment identifying the payment terms and date/time basis. Data This segment is used by the issuer of the invoice to specify the payment terms for the complete invoice. Example: PAT+1++5:3:D:28' Component M 4279 PAYMENT TERMS TYPE QUALIFIER M 1 an..3 1 Basic Payment conditions normally applied. X C110 PAYMENT TERMS C 1 O C112 TERMS/TIME INFORMATION C 1 M 2475 Payment time reference, coded M an..3 5 Date of invoice 68 Effective date Use when an accounting value date has been stated in the DTM at header i.e. the payment terms are relative to this effective date. O 2009 Time relation, coded C an..3 3 After reference R 2151 Type of period, coded C an..3 D Day M Month WD Working days Y Year R 2152 Number of periods C n..3 23

26 Segment: DTM Date/time/period Position: 0330 Group: Segment Group 8 (Payment Terms Basis) Conditional (Optional) Level: 2 Usage: Conditional (Optional) Purpose: A segment giving the specific date/time/period, if needed, of any payments, discounts, instalments etc. This segment is used to specify the date associated with the payment of the invoice. Data Example: DTM+13: :102' This example shows the date on which payment must be made. Component M C507 DATE/TIME/PERIOD M 1 M 2005 Date/time/period qualifier M an Terms net due date. R 2380 Date/time/period C an..35 R 2379 Date or time or period format code C an CCYYMMDD Calendar date: CC = Century ; YY = Year ; MM = Month ; DD = Day 24

27 Segment: PCD Percentage Details Position: 0340 Group: Segment Group 8 (Payment Terms Basis) Conditional (Optional) Level: 2 Usage: Conditional (Optional) Purpose: A segment specifying the discount, interest, penalty as well as instalment percentage. This segment is used to specify the discount associated with payment of the invoice on or before the due date. Data Example: PCD+12:2.50' Component M C510 PERCENTAGE DETAILS M 1 M 5245 Percentage qualifier M an Discount R 5482 Percentage C n..10 Format : Numeric (Z9.ZZ) Minimum Length: 1 Maximum Length: 5 25

28 Segment: MOA Monetary amount Position: 0350 Group: Segment Group 8 (Payment Terms Basis) Conditional (Optional) Level: 2 Usage: Conditional (Optional) Purpose: A segment specifying amounts related to payment discount penalties or instalments. Example: Data MOA+52:100.00' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Cash discount 52 Discount amount R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZ9.99ZZZ) Minimum length: 4 Maximum length: 12 26

29 Group: ALC Segment Group 15: Allowance or Charge Position: 0570 Group: Level: 1 Usage: Conditional (Optional) Purpose: A group of segments specifying allowances and charges for the whole invoice. The allowance or charge specified within this Segment group may either relate to the total invoice in which case it cannot be overridden at detail level, or it can relate to the line items as a default allowance/charge and can be overridden by the ALC Segment group within the detail section. Where relevant, additional information, tax and alternate currency details are to be indicated in the TAX and MOA segments. The basis for the calculation of the allowance/charge may be a quantity, a percentage, an amount or a rate and one of the Segment group should be used accordingly. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0580 ALC Allowance or Charge M Segment Group 19: Monetary Amount C Segment Group 21: Duty/Tax/Fee Details C 1 27

30 Segment: ALC Allowance or Charge Position: 0580 (Trigger Segment) Group: Segment Group 15 (Allowance or Charge) Conditional (Optional) Level: 2 Usage: Mandatory Purpose: A segment identifying the charge or allowance and, where necessary, its calculation sequence. Example: ALC+C' Data Component M 5463 ALLOWANCE OR CHARGE QUALIFIER M 1 an..3 C Charge 28

31 Group: MOA Segment Group 19: Monetary Amount Position: 0690 Group: Segment Group 15 (Allowance or Charge) Conditional (Optional) Level: 2 Usage: Conditional (Required) Purpose: A group of segments specifying a monetary amount for an allowance or charge. A range to which the allowance or charge applies can be specified, e.g. an allowance of 5000 BEF may be specified if goods value ordered is greater than BEF. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0700 MOA Monetary Amount M 1 29

32 Segment: MOA Monetary amount Position: 0700 Group: Segment Group 19 (Monetary Amount) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A segment identifying the monetary amount for the allowance or charge. This segment is used to specify any freight charges. Data All amounts show shall be exclusive of any tax that may be applicable. The tax component shall be shown in subsequent TAX/MOA segments. Example: MOA+64:48.13' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Freight charge R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZ9.99ZZZ) Minimum length: 4 Maximum length: 12 30

33 Group: TAX Segment Group 21: Duty/tax/fee details Position: 0750 Group: Segment Group 15 (Allowance or Charge) Conditional (Optional) Level: 2 Usage: Conditional (Dependent) Purpose: A group of segments specifying tax related information for the allowance or charge and, when necessary. A group of segments specifying tax related information for the previous charge. If GST is applicable on the freight charge, this segment group is required to specify the GST amount Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0760 TAX Duty/Tax/Fee Details M 1 O 0770 MOA Monetary Amount C 1 31

34 Segment: TAX Duty/tax/fee details Position: 0760 (Trigger Segment) Group: Segment Group 21 (Duty/tax/fee details) Conditional (Optional) Level: 2 Usage: Mandatory Purpose: A segment specifying a tax type, category and rate, or exemption, related to the allowance or charge. Data This segment is used to identify the type and rate of tax that is applicable for the current allowance. Example: TAX+7+GST+++:::10.00' Component M 5283 DUTY/TAX/FEE FUNCTION QUALIFIER M 1 an..3 7 Tax R C241 DUTY/TAX/FEE TYPE C Duty/tax/fee type, coded C an..3 GST Goods and services tax X C533 DUTY/TAX/FEE ACCOUNT DETAIL C 1 X 5286 DUTY/TAX/FEE ASSESSMENT BASIS C 1 an..15 R C243 DUTY/TAX/FEE DETAIL C 1 X 5279 Duty/tax/fee rate identification C an..7 X 1131 Code list qualifier C an..3 X 3055 Code list responsible agency, coded C an..3 R 5278 Duty/tax/fee rate C an..17 Format: Numeric (Z9.ZZ) Minimum length: 1 Maximum length: 5 32

35 Segment: MOA Monetary amount Position: 0770 Group: Segment Group 21 (Duty/tax/fee details) Conditional (Optional) Level: 3 Usage: Conditional (Optional) Purpose: A segment specifying the amount for the allowance or charge. Data This segment is used to indicate tax or duty amount for the tax rates specified in the previous TAX segment. Example: MOA+124:548.13' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Tax amount Total amount of Tax on the previous charge. R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZ9.99ZZZ) Minimum length: 4 Maximum length: 12 33

36 Group: LIN Segment Group 25: Line item Position: 0890 Group: Level: 1 Usage: Conditional (Required) Max Use: 999 Purpose: A group of segments providing details of the individual invoiced items. There must be at least one occurrence of Segment group 22 within an invoice, but not necessarily in a credit note or a debit note. This Segment group may be repeated to give sub-line details. The LIN Segment Group is required on all Invoices and Credit Notes related to Products. The LIN Segment Group are not required on Credit Notes related to Once off Discounts and Quantity Discounts which were not included in the original Invoice. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 0900 LIN Line item M 1 R 0910 PIA Additional Product Id C 2 R 0920 IMD Item Description C 1 R 0940 QTY Quantity C Segment Group 26: Monetary Amount C Segment Group 28: Price Details C Segment Group 29: Reference C Segment Group 33: Duty/Tax/Fee Details C 1 34

37 Segment: LIN Line item Position: 0900 (Trigger Segment) Group: Segment Group 25 (Line item) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A segment identifying the line item by the line number and configuration level, and additionally, identifying the product or service invoiced. Other product identification numbers e.g. Buyer product number, etc. can be specified within the following PIA segment. This segment is used to identify the item being invoiced. Data Example: LIN :EN' Component R 1082 LINE ITEM NUMBER C 1 an..6 Application generated sequence number of the count of the order lines. Format: Number (ZZ9) Minimum length: 1 Maximum length: 3 X 1229 ACTION REQUEST/NOTIFICATION, CODED C 1 an..3 R C212 ITEM NUMBER IDENTIFICATION C 1 R 7140 Item number C an..35 Format: n..14 This is the GTIN of the article being invoiced. R 7143 Item number type, coded C an..3 EN International Article Numbering Association (EAN) 35

38 Segment: PIA Additional product id Position: 0910 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Required) Max Use: 2 Purpose: A segment providing either additional identification to the product specified in the LIN segment (e.g. Harmonized System number), or provides any substitute product identification. This segment is used to specify the supplier s item number and optionally the buyer s item number. Examples: PIA :IN' PIA AG:SA' Data Component M 4347 PRODUCT ID. FUNCTION QUALIFIER M 1 an..3 1 Additional identification M C212 ITEM NUMBER IDENTIFICATION M 1 R 7140 Item number C an..35 R 7143 Item number type, coded C an..3 IN Buyer's item number Optional: The item number has been allocated by the buyer. SA Supplier s article number Required: The item number has been allocated by the seller. 36

39 Segment: IMD Item description Position: 0920 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Required) Purpose: A segment for describing the product or service being invoiced as well as product characteristic. This segment should be used for products or services that cannot be fully identified by a product code or article number. Example: IMD+F++:::A1 FRIDGE 100LT' Data Component R 7077 ITEM DESCRIPTION TYPE, CODED C 1 an..3 F Free-form X 7081 ITEM CHARACTERISTIC, CODED C 1 an..3 R C273 ITEM DESCRIPTION C 1 X 7009 Item description identification C an..17 X 1131 Code list qualifier C an..3 X 3055 Code list responsible agency, coded C an..3 R 7008 Item description C an..35 Description of item O 7008 Item description C an..35 Description of item cont d 37

40 Segment: QTY Quantity Position: 0940 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Mandatory Max Use: 2 Purpose: A segment identifying the product quantities e.g. invoiced quantity. This segment is used to specify quantities related to the current line item. Example: QTY+47:48.00:EA' Data Component M C186 QUANTITY DETAILS M 1 M 6063 Quantity qualifier M an Ordered quantity Optional: Ordered quantity 47 Invoiced quantity Required: Invoiced quantity M 6060 Quantity M n..15 Numeric (ZZZZZ9) Minimum length: 1 Maximum length: 6 R 6411 Measurement unit qualifier C an..3 EA Each 38

41 Group: MOA Segment Group 26: Monetary Amount Position: 1030 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Required) Purpose: A group of segments specifying any monetary amounts relating to the products and when necessary a currency. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1040 MOA Monetary amount M 1 39

42 Segment: MOA Monetary amount Position: 1040 Group: Segment Group 26 (Monetary amount) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A segment specifying any monetary amounts relating to the product e.g. item amount, insurance value, customs value. This segment is used to indicate total amounts for the line. Data Example: MOA+128:45.56' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Total amount Total amount of the invoice line excluding GST. R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZZZZ9.99) Minimum length: 4 Maximum length: 12 40

43 Group: PRI Segment Group 28: Price details Position: 1110 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Required) Purpose: A group of segments identifying the relevant pricing information for the goods or services invoiced. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1120 PRI Price details M 1 41

44 Segment: PRI Price details Position: 1120 (Trigger Segment) Group: Segment Group 28 (Price details) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A segment to specify the price type and amount. The price used in the calculation of the line amount will be identified as 'price'. Data This segment is used to detail the price for the current product identified in the LIN segment. The calculation price detailed in the Purchase order will always be the Net Unit Price based on Standard Payment Terms, i.e., Net Price (Gross Price + Line Charges Allowances). Example: PRI+AAA:9.47' Component R C509 PRICE INFORMATION C 1 M 5125 Price qualifier M an..3 AAA Calculation net The price stated is the net price including allowances/ line charges and excluding taxes. R 5118 Price amount C n..15 Format: Numeric (ZZZZZ9.99ZZ) Minimum length: 4 Maximum length: 11 X 5375 Price type, coded C an..3 O 5387 Price type qualifier C an..3 INV Invoice price 42

45 Group: RFF Segment Group 29: Reference Position: 1160 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Required) Purpose: A group of segments for giving references and where necessary, their dates, relating to the line item. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1170 RFF Reference M 1 43

46 Segment: RFF Reference Position: 1170 (Trigger Segment) Group: Segment Group 29 (Reference) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A segment identifying the reference by its number and where appropriate a line number within a document. You should either use the LI or ON qualifier in DE 1153 Data Example: RFF+LI::1' or RFF+ON:PO132456:1' Component M C506 REFERENCE M 1 M 1153 Reference qualifier M an..3 LI Line item reference number Qualifies that the line number from the originating purchase order will be referenced in DE ON Order number (buyer) Purchase order number D 1154 Reference number C an..35 Required if DE 1153 = ON R 1156 Line number C an..6 This is the original purchase order line number, which allows for matching of the invoice line item to the original purchase order line. Format Numeric (ZZZZZZ9) Minimum length: 1 Maximum length: 7 44

47 Group: TAX Segment Group 33: Duty/tax/fee details Position: 1310 Group: Segment Group 25 (Line item) Conditional (Required) Level: 2 Usage: Conditional (Dependent) Purpose: A group of segments specifying tax related information for the line item, and when necessary, the location(s) to which that tax information relates. If GST is applicable on this invoice line, this segment group is required to specify the total GST for the line. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1320 TAX Duty/tax/fee details M 1 O 1330 MOA Monetary amount C 1 45

48 Segment: TAX Duty/tax/fee details Position: 1320 (Trigger Segment) Group: Segment Group 33 (Duty/tax/fee details) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A segment specifying a tax type, category and rate, or exemption, relating to the line item. Data This segment is used to identify the type and rate of tax that is applicable for the current line item being invoiced. Example: TAX+7+GST+++:::10.00' Component M 5283 DUTY/TAX/FEE FUNCTION QUALIFIER M 1 an..3 7 Tax R C241 DUTY/TAX/FEE TYPE C Duty/tax/fee type, coded C an..3 GST Goods and services tax X C533 DUTY/TAX/FEE ACCOUNT DETAIL C 1 X 5286 DUTY/TAX/FEE ASSESSMENT BASIS C 1 an..15 R C243 DUTY/TAX/FEE DETAIL C 1 X 5279 Duty/tax/fee rate identification C an..7 X 1131 Code list qualifier C an..3 X 3055 Code list responsible agency, coded C an..3 R 5278 Duty/tax/fee rate C an..17 Format: Numeric (Z9.ZZ) Minimum length: 1 Maximum length: 5 46

49 Segment: MOA Monetary amount Position: 1330 Group: Segment Group 33 (Duty/tax/fee details) Conditional (Required) Level: 3 Usage: Conditional (Optional) Purpose: A segment specifying the amount for the identified tax/fee. Data This segment is used to specify in monetary terms the amount of tax due on the current line item. Example: MOA+124:45.56' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an..3 Indication of type of amount. 124 Tax amount Total amount of Tax applied to this invoice line. R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZZZZ9.99) Minimum length: 4 Maximum length: 12 47

50 Segment: UNS Section control Position: 1790 Group: Level: 0 Usage: Mandatory Purpose: Data A service segment placed at the start of the summary section to avoid segment collision. Invoice Summary Section This segment is used to separate the detail and summary sections of the message. Example: UNS+S' Component M 0081 SECTION IDENTIFIER M 1 S Detail/summary section separation. 48

51 Segment: CNT Control total Position: 1800 Group: Level: 0 Usage: Conditional (Optional) Purpose: Data A segment by which control totals may be provided by the sender for checking by the receiver. This segment is used to provide message control totals. Example: CNT+2:4' There are four LIN segments in the current message. Component M C270 CONTROL M 1 M 6069 Control qualifier M an..3 2 Number of line items in message The total number of LIN segments in a message M 6066 Control value M n..18 Format: Numeric (ZZ9) Minimum length: 1 Maximum length: 3 49

52 Group: MOA Segment Group 48: Monetary Amount Position: 1810 Group: Level: 1 Usage: Mandatory Max Use: 2 Purpose: A group of segments giving total amounts for the whole invoice and - if relevant - detailing amounts pre-paid with relevant references and dates- Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1820 MOA Monetary Amount M 1 50

53 Segment: MOA Monetary amount Position: 1820 (Trigger Segment) Group: Segment Group 48 (Monetary amount) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A segment giving the total amounts for the whole invoice message such as message monetary amount, message line item total amount, amount subject to payment discount, amount subject to tax, alternative currency total amount, total additional amount, sub-total amounts prepaid, total amount prepaid. This segment is used to indicate total amount for the invoice. Data Example: MOA+128:49.83' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Total amount Net Total amount excluding tax (GST). This includes all lines and charges (including invoice level charges applied to the entire invoice), excluding GST. R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZZZZ9.99) Minimum length: 4 Maximum length: 12 51

54 Group: TAX Segment Group 50: Duty/tax/fee details Position: 1860 Group: Level: 1 Usage: Conditional (Dependent) 0 Purpose: A group of segments specifying taxes totals for the invoice. If GST is applicable on this Invoice, this Segment Group is required to specify the total GST applicable. Segment Summary Pos. Seg. Req. Max. Group: No. ID Name Des. Use Repeat M 1870 TAX Duty/tax/fee details M 1 R 1880 MOA Monetary amount C 1 52

55 Segment: TAX Duty/tax/fee details Position: 1870 (Trigger Segment) Group: Segment Group 50 (Duty/tax/fee details) Conditional (Dependent) Level: 1 Usage: Mandatory Purpose: A segment specifying the tax type to be summarized. This segment is used to specify the total taxes or duties due on the complete invoice. Data Example: TAX+7+GST+++:::10.00' - specifies a Tax Rate of 10% Component M 5283 DUTY/TAX/FEE FUNCTION QUALIFIER M 1 an..3 7 Tax R C241 DUTY/TAX/FEE TYPE C Duty/tax/fee type, coded C an..3 GST Goods and services tax X C533 DUTY/TAX/FEE ACCOUNT DETAIL C 1 X 5286 DUTY/TAX/FEE ASSESSMENT BASIS C 1 an..15 R C243 DUTY/TAX/FEE DETAIL C 1 X 5279 Duty/tax/fee rate identification C an..7 X 1131 Code list qualifier C an..3 X 3055 Code list responsible agency, coded C an..3 R 5278 Duty/tax/fee rate C an..17 Format: Numeric (Z9.ZZ) Minimum length: 1 Maximum length: 5 53

56 Segment: MOA Monetary amount Position: 1880 Group: Segment Group 50 (Duty/tax/fee details) Conditional (Dependent) Level: 2 Usage: Mandatory Purpose: A segment specifying the summary amount for the tax specified. Data This segment is used to specify the tax amounts due, for the tax rate specified in the TAX segment, covering the whole invoice. Example: MOA+124:45.56' Component M C516 MONETARY AMOUNT M 1 M 5025 Monetary amount type qualifier M an Tax amount Total amount of GST at the previous rate for the entire invoice. R 5004 Monetary amount C n..18 Format: Numeric (ZZZZZZZZ9.99) Minimum length: 4 Maximum length: 12 54

57 Segment: UNT Message trailer Position: 1930 Group: Level: 0 Usage: Mandatory Purpose: Data A service segment ending a message, giving the total number of segments in the message and the control reference number of the message. This segment is a mandatory UN/EDIFACT segment. It must always be the last segment in the message. Example: UNT+34+ME000001' Component M 0074 NUMBER OF SEGMENTS IN THE MESSAGE M 1 n..6 The total number of segments in the message is detailed here. M 0062 MESSAGE REFERENCE NUMBER M an..14 The message reference number detailed here should equal the one specified in the UNH segment. 55

58 Segment: UNZ Interchange Trailer Position: Group: Level: 0 Usage: Mandatory Purpose: To end and check for completeness of an interchange. Data Example: UNZ+1+10' Component M 0036 INTERCHANGE CONTROL COUNT M 1 n..6 M 0020 INTERCHANGE CONTROL REFERENCE M an..14 The value presented here must match with the value presented in DE 0020 in segment UNB. 56

59 Sample Message Any GTINs or GLNs in this example are for illustrative purposes only, and are not intended to reflect real products or parties. In the event of a discrepancy between the information in this section and the information in the detailed implementation guideline, the detailed implementation guideline should prevail. Store/Warehouse Delivery Message data Explanation UNA:+.? ' UNB+UNOA: :ZZZ : : ' UNH+ME INVOIC:D:96A:UN:EAN008' Message header with reference number ME BGM+388+INV ' Original invoice, number INV DTM+137: :102' Message sent 1st October 2012 RFF+ON:PO ' Invoice is related to Purchase order PO NAD+BY ::9' Buyer GLN is NAD+SU ::9' Supplier GLN is RFF+AMT: ' Supplier ABN Number of PAT+1++5:3:D:30' DTM+13: :102' Payment of Invoice must be made by 1 st November 2012 ALC+C' (Freight) Charge MOA+64:50.00' Charge of $ TAX+7+GST+++:::10.00' GST on Freight Charge is 10.00% MOA+124:5.00' GST on Freight Charge is $5.00 LIN :EN' First line item GTIN PIA :IN' Buyer s item number PIA AG:IN' Supplier s item number IMD+F++:::A1 FRIDGE 100LT' Free form description QTY+21:20:EA' Invoiced Quantity is 20 and UOM is Each MOA+128: ' Total Line Value, excluding GST is $ PRI+AAA:90.47' Price is $90.47, excluding GST per unit. RFF+LI::10000' Invoice line refers to the first Purchase Order line. TAX+7+GST+++:::10.00' GST rate is 10.00% MOA+124:180.94' Total GST on Line is $ LIN :EN' Second line item GTIN PIA EF:SA' Supplier s item number IMD+F++::: A1 FRIDGE 120LT ' Free form description QTY+47:10:EA' Invoiced Quantity is 10 and UOM is Each MOA+128: ' Total Line Value, excluding GST is $ PRI+AAA:110.58' Price is $110.58, excluding GST per unit. RFF+LI::20000' Invoice line refers to the second Purchase Order line. TAX+7+GST+++:::10.00' GST rate is 10.00% MOA+124:110.58' Total GST on Line is $

60 UNS+S' CNT+2:2' 2 line items in this invoice MOA+128: ' Total value of this invoice is $ , excluding GST. TAX+7+GST+++:::10.00' MOA+124: ' Total GST at the 10.00% Rate is $ UNT+38+ME000001' 38 segments and reference number ME UNZ+1+10' 58

61 Australia Level Bourke Street Melbourne, VIC Australia, 3000 P: E: info@messagexchange.com Technical support P: E: support@messagexchange.com Administration and billing P: E: accounts@messagexchange.com Hong Kong & Greater China Support Hong Kong HK: China: E: support@messagexchange.com Administration and billing HK: China: E: accounts@messagexchange.com