IBM Support

X12 Data Mapping

Question & Answer


Question

X12 Data Mapping

Answer

X12 Data Mapping

The ANSI X12 standard versions that are supported are:

  • 4010
  • 4040
  • 4060

In order for your invoice data to be supported without custommapping for the ANSI X12 standard it should match the following expectationsof where the information is found.

The data fields for a simpleinvoice are the same for the 40104040 and 4060 versions. The followingtable shows where the invoice information is found in each version:

Information for the:Should be in this data element of the EDI source: Qualifiers usedMandatory or Conditional (M or C)
Invoice numberBIG02 (INVOICE NUMBER)noneM
Invoice labelREF02REF02 = ?BM?M
Invoice dateBIG01(DATE)noneM
Supplier VAT IDREF02 segment in the N1 groupMap if N101 = any of:

SU (supplier)SE (seller)FH (seller as officially registered)OS (original shipper) SCO (supplier'scorporate office)

and REF01 = any of:

VX (value addedtax registration number -Europe) 4G (Provincial tax identification)4O (Canadian Goods & Services or Quebec Sales Tax Reference number)GT (Goods & Services Tax Registration Number)

M
Supplier nameN102 (NAME)N101 = any of:

SU (supplier) SE (seller) FH(seller as officially registered) OS (original shipper) SCO (supplier'scorporate office)

M
Supplier addressN301 and N302 (ADDRESS)N101 = any of:

SU (supplier) SE (seller) FH(seller as officially registered)
OS (original shipper) SCO (supplier'scorporate office)

M
Buyer VAT IDREF02 (ID CODE)N101 = any of:

BY (buyer) FG (buyer as officiallyregistered) FD (buyer's parent company) BCO (buyer's corporateoffice) OY (ordering customer) UD (ultimate customer)

andREF01 = any of:

VX (value added tax registration number -Europe)4G (Provincial tax identification) 4O (Canadian Goods & Servicesor Quebec Sales Tax Reference number) GT (Goods & Services TaxRegistration Number)

M
Buyer nameN102 (NAME)N101 = any of:

BY (buyer) FG (buyer as officiallyregistered)
FD (buyer's parent company) BCO (buyer's corporateoffice)
OY (ordering customer) UD (ultimate customer)

M
Buyer addressN301 and N302 (ADDRESS)N101 = any of:

BY (buyer) FG (buyer as officiallyregistered)
FD (buyer's parent company) BCO (buyer's corporateoffice) OY (ordering customer) UD (ultimate customer)

M
CurrencyCUR02noneM
LanguagePID09PID01 = ?F?M
SubtotalCTT01 (NUMBER OF LINE ITEMS) noneM
Total tax dueAMT02 (AMOUNT)AMT01 = ?6Q?M
Supplier COMM_IDISA06noneM
Supplier Comm CreditN/AN/AM
Total amount dueTDS01 (AMOUNT)noneM
Late payment penaltyTDS01 (AMOUNT) * ITD11 (PERCENT) / 100ITD01 = ?18?M
Payment termITD12 (DESCRIPTION)ITD01 = ?37?C
Credit note labelISA01 (AUTHORIZATION INFORMATION QUAL)noneM
Original invoice reference IDREF02 (REFERENCE ID)REF01 = ?4H?M
Original invoice dateDTM02 (DATE)DTM01 = ?186?M
Period of referenceISA01 (AUTHORIZATION INFORMATION QUAL)noneM
Credit reasonREF02REF01 = ?8V?M
Item descriptionPID05PID01 = ?F?M
Quantity invoicedIT102noneM
Unit priceIT104noneM
DiscountITD08 (DISCOUNT AMOUNT)(Total of all ITD08 values)M
VAT rate (percentage)TXI03TXI01 = ?VA? ?CG? ?CV? ?PG? or ?PS?M
VAT tax amountTXI02 (TAX AMOUNT)TXI01 = ?VA? ?CG? ?CV? ?PG? or ?PS?M
VAT amount payableIT102 (QUANTITY) * IT104 (UNIT PRICE)noneM
VAT descriptionN/AN/AM
Tax law referenceTXI05 (TAX JURISDICTION CODE)TXI01 = ?VA? ?CG? ?CV? ?PG? or ?PS?M
Supply dateDTM02 (DATE)DTM01 = ?011?M
Pay dateDTM02 (DATE)DTM01 = ?814?M

"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10759199