<?xml version="1.0" encoding="utf-8"?>
<!-- Schema: FORM C/O (ทั่วไป) version 1.1 -->
<!-- Updated: 26/12/2013 - ปรับปรุงการระบุหน่วยน้ำหนัก (Gross weight) ในการออกหนังสือรับรองถิ่นกำเนิดสินค้า ช่องที่ 9 จากเดิมใช้ KGS ปรับปลี่ยนเป็น KGM ตามมาตรฐาน UNECE RECOMMENDATION 20 ตั้งแต่วันที่ 1/1/2014 เป็นต้นไป - Edited by Prayut -->
<!-- Updated: 08/12/2020 - ปรับปรุงให้รองรับระบบ ESS => เพิ่ม Element SealSignSupported/SignRefID สำหรับรองรับการออกหนังสือรับรองฯ แบบลงลายมือชื่อและตราประทับอิเล็กทรอนิกส์ (Electronic Signature and Seal:ESS) เปิดใช้งาน 3 มกราคม 2021  -->
<xs:schema xmlns="http://edi.dft.go.th/schema/Form2.xsd" 
	xmlns:mstns="http://edi.dft.go.th/schema/Form2.xsd" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="http://edi.dft.go.th/schema/Form2.xsd" 
	elementFormDefault="qualified" id="Form2">
	<xs:element name="Form2">
		<xs:complexType>
			<xs:sequence>
				<!-- ข้อมูลส่วนหลัก -->
				<xs:element name="Form2Header">
					<xs:complexType>
						<xs:sequence>
							<!-- ข้อมูลช่องที่ 1 (ส่วนหลัก) -->
							<xs:element name="CompanyDetailEDI">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="card_id">
											<xs:annotation>
												<xs:documentation>บัตรประจำตัวกรรมการผู้มีอำนาจ/ผู้รับมอบอำนาจ เลขที่ </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:length value="9"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="company_email" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Email</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="site_id" type="Site_Code">
											<xs:annotation>
												<xs:documentation>รหัสสถานที่ที่จะไปรับ (ใช้รหัส ดูรายละเอียดได้จาก Comment ด้านล่างของข้อมูล)</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 1 (ส่วนรอง)-->
							<xs:element name="CompanyOBDetailEDI">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="dest_remark" default="- - - - -">
											<xs:annotation>
												<xs:documentation>O/B หรือ C/O</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="- - - - -"/>
													<xs:enumeration value="O/B"/>
													<xs:enumeration value="C/O"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="ob_address" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ที่อยู่</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="400"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="ob_email" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Email</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 2 (ส่วนปลายทาง) -->
							<xs:element name="DestinationDetailEDI">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="destination_company">
											<xs:annotation>
												<xs:documentation>ชื่อบริษัทผู้ซื้อหรือผู้รับ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_taxID" minOccurs="0">
											<xs:annotation>
												<xs:documentation>เลขประจำตัวผู้เสียภาษี</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="30"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_address">
											<xs:annotation>
												<xs:documentation>ที่อยู่</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_province">
											<xs:annotation>
												<xs:documentation>เมือง</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_receive_country">
											<xs:annotation>
												<xs:documentation>ประเทศ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="dest_remark1" default="- - - - -">
											<xs:annotation>
												<xs:documentation>O/B หรือ C/O (ผู้ซื้อหรือผู้รับประเทศปลายทาง)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="- - - - -"/>
													<xs:enumeration value="O/B"/>
													<xs:enumeration value="C/O"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="ob_dest_address" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ที่อยู่ O/B หรือ C/O</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="400"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_phone" minOccurs="0">
											<xs:annotation>
												<xs:documentation>โทรศัพท์ </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_fax" minOccurs="0">
											<xs:annotation>
												<xs:documentation>โทรสาร</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_email" minOccurs="0">
											<xs:annotation>
												<xs:documentation>destination email</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_email2" minOccurs="0">
											<xs:annotation>
												<xs:documentation>destination email 2</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="destination_port" minOccurs="0">
											<xs:annotation>
												<xs:documentation>เฉพาะผู้ที่ต้องการระบุ Port ประเทศปลายทาง</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 2 (ส่วนประเทศปลายทาง) -->
							<xs:element name="DestinationDetailEDICountry">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="destination_country" type="Form2_Country_List">
											<xs:annotation>
												<xs:documentation>ประเทศปลายทาง (ใช้รหัสประเทศ ดูรายละเอียดได้จากข้อมูล รหัสประเทศ)</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 3 (ส่วนยานพาหนะที่ส่งออก) -->
							<xs:element name="TransportDetailEDI">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ship_by">
											<xs:annotation>
												<xs:documentation>ยานพาหนะที่ส่งออก (0=เรือ,1=เครื่องบิน,2=ทางบก,3=ไปรษณีย์,4=นำติดตัว)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="0"/>
													<xs:enumeration value="1"/>
													<xs:enumeration value="2"/>
													<xs:enumeration value="3"/>
													<xs:enumeration value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="vasel_name">
											<xs:annotation>
												<xs:documentation>Vessel's name / Flight No.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="70"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="place_departure" minOccurs="0">
											<xs:annotation>
												<xs:documentation>place of departure</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 4 (ส่วน gross weight และ Quantity) -->
							<xs:element name="WeightAndQuantity">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="gross_weight">
											<xs:annotation>
												<xs:documentation>น้ำหนักรวม (Gross Weight)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="g_unit_code" type="Unit_Code">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย น้ำหนักรวม (Gross Weight)(ใช้รหัส ดูรายละเอียดได้จาก Comment ด้านล่างของข้อมูล)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity1" minOccurs="1" maxOccurs="1">
											<xs:annotation>
												<xs:documentation>ปริมาณ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="q_unit_code1" type="Unit_Code" minOccurs="1">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity2" default="0" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ปริมาณ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="q_unit_code2" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity3" default="0" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ปริมาณ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="q_unit_code3" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity4" default="0" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ปริมาณ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="q_unit_code4" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity5" default="0" minOccurs="0">
											<xs:annotation>
												<xs:documentation>ปริมาณ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="q_unit_code5" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 5 (Invoice ต่างประเทศ) -->
							<xs:element name="InvoicesThirdCountry" minOccurs="0">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="InvoicesThirdCountryDetail" minOccurs="0" maxOccurs="unbounded">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="invoiceno_thirdcountry" minOccurs="0">
														<xs:annotation>
															<xs:documentation>หมายเลข Invoice ต่างประเทศ</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="250"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="invoicedate_thirdcountry" type="Date" minOccurs="0">
														<xs:annotation>
															<xs:documentation>วันที่ Invoice ต่างประเทศ รูปแบบ ปี ค.ศ.เดือนวันที่ (YYYYMMDD) เช่น 20101231 </xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 5 (Invoice List) -->
							<xs:element name="Invoices">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="invoice_no1">
											<xs:annotation>
												<xs:documentation>หมายเลข Invoice 1</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_date1">
											<xs:annotation>
												<xs:documentation>วันที่ออก Invoice 1 (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:length value="8"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_no2" minOccurs="0">
											<xs:annotation>
												<xs:documentation>หมายเลข Invoice 2</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_date2" type="Date" minOccurs="0">
											<xs:annotation>
												<xs:documentation>วันที่ออก Invoice 2 (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="invoice_no3" minOccurs="0">
											<xs:annotation>
												<xs:documentation>หมายเลข Invoice 3</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_date3" type="Date" minOccurs="0">
											<xs:annotation>
												<xs:documentation>วันที่ออก Invoice 3 (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="invoice_no4" minOccurs="0">
											<xs:annotation>
												<xs:documentation>หมายเลข Invoice 4</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_date4" type="Date" minOccurs="0">
											<xs:annotation>
												<xs:documentation>วันที่ออก Invoice 4 (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="invoice_no5" minOccurs="0">
											<xs:annotation>
												<xs:documentation>หมายเลข Invoice 5</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="invoice_date5" type="Date" minOccurs="0">
											<xs:annotation>
												<xs:documentation>วันที่ออก Invoice 5 (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="bill_type">
											<xs:annotation>
												<xs:documentation>ประเภทใบตราส่งสินค้า (B/L=0, AWB=1, ใบรับไปรษณีย์=2, อื่นๆ=3)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="0"/>
													<xs:enumeration value="1"/>
													<xs:enumeration value="2"/>
													<xs:enumeration value="3"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="bill_type_other" minOccurs="0">
											<xs:annotation>
												<xs:documentation>รายละเอียดของอื่นๆ</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="bill_no">
											<xs:annotation>
												<xs:documentation>เลขที่ ใบตราส่งสินค้า (B/L หรือ AWB)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="35"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="bill_date">
											<xs:annotation>
												<xs:documentation>วันที่ ใบตราส่งสินค้า (B/L หรือ AWB) (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:length value="8"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="export_date">
											<xs:annotation>
												<xs:documentation>วันที่ส่งออก (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:length value="8"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ข้อมูลช่องที่ 6 (เอกสารที่แนบประกอบการพิจารณา)  -->
							<xs:element name="AttachFile">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="attach_file">
											<xs:annotation>
												<xs:documentation>เอกสารที่แนบประกอบการพิจารณา</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!-- ยกเลิก ข้อมูลช่องที่ 7 (รับรอง) - ไม่ต้องส่งข้อมูล เนื่องจากระบบจะดึงข้อมูลมาให้อัตโนมัติ -->
							<xs:element name="CompanyEndorseDetail" minOccurs="0">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="factory">
											<xs:annotation>
												<xs:documentation>
                          (1) สินค้าตามรายการดังกล่าวข้างต้นเป็นสินค้าที่ผลิตและมีถิ่นกำเนิดในประเทศไทย โดยผลิต/ซื้อจาก ( โรงงาน/บริษัท/ห้าง/ร้าน )
                        </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_taxid">
											<xs:annotation>
												<xs:documentation>เลขประจำตัวผู้เสียภาษี </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="30"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_address">
											<xs:annotation>
												<xs:documentation>ตั้งอยู่ที่</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_province">
											<xs:annotation>
												<xs:documentation>จังหวัด</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_country">
											<xs:annotation>
												<xs:documentation>ประเทศ </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_phone" minOccurs="0">
											<xs:annotation>
												<xs:documentation>โทรศัพท์  </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="factory_fax" minOccurs="0">
											<xs:annotation>
												<xs:documentation>โทรสาร </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<!--ข้อมูลซึ่งบริษัทต้องระบุสำหรับการออกหนังสือรับรองฯ แบบลงลายมือชื่อและตราประทับอิเล็กทรอนิกส์ (Electronic Signature and Seal:ESS)-->
						  <xs:element name="SealSignSupported" minOccurs="1" maxOccurs="1">
							<xs:complexType>
							  <xs:sequence>
								<xs:element name="SignRefID" type="xs:unsignedInt" minOccurs="1" maxOccurs="1">
								  <xs:annotation>
									<xs:documentation>รหัสอ้างอิงรูปภาพลายมือชื่อและตราประทับที่บันทึกไว้ในระบบเรียบร้อยแล้ว ซึ่งต้องการให้นำมาพิมพ์ลงในหนังสือรับรองฯ</xs:documentation>
								  </xs:annotation>
								</xs:element>
							  </xs:sequence>
							</xs:complexType>
						  </xs:element>  
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- ข้อมูลส่วนรายการสินค้า และ การตรวจสอบต้นทุน -->
				<xs:element name="Form2Detail">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Form2Product" minOccurs="1" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<!-- ข้อมูลรายการสินค้าและราคา -->
										<xs:element name="Form2DetailProduct">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="product_title" minOccurs="0" maxOccurs="1">
														<xs:annotation>
															<xs:documentation>ข้อความ title ที่ต้องการแสดงในช่อง 7 ซึ่งจะไว้ก่อนแสดงรายการสินค้า (สำหรับกลุ่มชิ้นส่วนรถยนต์)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="250"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="tariff_code">
														<xs:annotation>
															<xs:documentation>พิกัดสินค้า(ต้องใส่ให้ครบ  8 ตัว)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="6"/>
																<xs:maxLength value="20"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="product_name">
														<xs:annotation>
															<xs:documentation>ชื่อสินค้า</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="255"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="product_description">
														<xs:annotation>
															<xs:documentation>รายละเอียดสินค้า</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="255"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="net_weight">
														<xs:annotation>
															<xs:documentation>น้ำหนักสุทธิ</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="unit_code2" default="KGM">
														<xs:annotation>
															<xs:documentation>รหัสหน่วยของ น้ำหนักสุทธิ (เริ่มใช้ KGM ตั้งแต่ 1/1/2014)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:enumeration value="KGM"/>
																<xs:enumeration value="KGS"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="fob_amt" minOccurs="1" maxOccurs="1">
														<xs:annotation>
															<xs:documentation>ราคา FOB</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="gross_weight_sep" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>ค่า Gross Weight (กรณีเลือกแสดง Gross Weight แยกตามรายการสินค้า)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="g_unit_code_sep" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>หน่วยของ Gross Weight (กรณีเลือกแสดง Gross Weight แยกตามรายการสินค้า)</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="mark">
														<xs:annotation>
															<xs:documentation>Mark</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="500"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="show_hs_code" default="1">
														<xs:annotation>
															<xs:documentation>กำหนดไม่ต้องแสดง H.S. Code (พิกัดสินค้า) ที่หนังสือรับรอง (1=ไม่แสดง, 0=แสดง)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:unsignedInt">
																<xs:enumeration value="1"/>
																<xs:enumeration value="0"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- ข้อมูลส่วนไฟล์ Scan เอกสารแนบ -->
				<xs:element name="Form2Attach" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AttachDetail" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="file_name">
											<xs:annotation>
												<xs:documentation>ชื่อไฟล์</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="5"/>
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="document_type">
											<xs:annotation>
												<xs:documentation>
                          ประเภทของเอกสาร:
                          0 = ใบกำกับสินค้า (Invoice)
                          1 = หลักฐานแสดงการส่งสินค้า (Bill of Landing หรือ Air Way Bill)
                          2 = เอกสารประกอบการพิจารณาอื่นๆ
                        </xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:enumeration value="0"/>
													<xs:enumeration value="1"/>
													<xs:enumeration value="2"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="document_description">
											<xs:annotation>
												<xs:documentation>รายละเอียดของเอกสาร</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="255"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- ข้อมูล Invoices Data -->
				<xs:element name="InvoiceData" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Invoices" minOccurs="1" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="InvoiceDetail">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="invoice_no">
														<xs:annotation>
															<xs:documentation>Invoice no.</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="50"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="invoice_date">
														<xs:annotation>
															<xs:documentation>วันที่ของ Invoice (รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:length value="8"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="shipper">
														<xs:annotation>
															<xs:documentation>Shipper/Exporter</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="300"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="destination_address">
														<xs:annotation>
															<xs:documentation>Destination Address</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="300"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="from_port">
														<xs:annotation>
															<xs:documentation>from port name</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="250"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="port_discharge">
														<xs:annotation>
															<xs:documentation>to port name</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="250"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="transport_by">
														<xs:annotation>
															<xs:documentation>Transport by</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="50"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="vasel_name">
														<xs:annotation>
															<xs:documentation>vasel name</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="250"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="etd">
														<xs:annotation>
															<xs:documentation>ETD date/Onboard date</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:length value="8"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_gross_weight" default="0">
														<xs:annotation>
															<xs:documentation>total gross weight</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="3"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_gross_weight_unit" type="Unit_Code" default="KGM">
														<xs:annotation>
															<xs:documentation>total gross weight unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_quantity1">
														<xs:annotation>
															<xs:documentation>Total quantity</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_quantity1_unit" type="Unit_Code">
														<xs:annotation>
															<xs:documentation>Total quantity unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_quantity2" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity2</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_quantity2_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity2 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_quantity3" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity3</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_quantity3_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity3 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_quantity4" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity4</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_quantity4_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity4 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_quantity5" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity4</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_quantity5_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Total quantity5 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_net_weight">
														<xs:annotation>
															<xs:documentation>Total net weight</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_net_weight_unit" type="Unit_Code" default="KGM">
														<xs:annotation>
															<xs:documentation>Total net weight unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="total_fob">
														<xs:annotation>
															<xs:documentation>Total FOB</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_cif">
														<xs:annotation>
															<xs:documentation>Total CIF</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="total_cfr">
														<xs:annotation>
															<xs:documentation>Total CRF</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="14"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="InvoiceProducts">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="ProductDetail" minOccurs="1" maxOccurs="unbounded">
														<xs:complexType>
															<xs:sequence>
																<xs:element name="product_name">
																	<xs:annotation>
																		<xs:documentation>product name</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="500"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="product_description">
																	<xs:annotation>
																		<xs:documentation>product description</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="4000"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="net_weight" default="0">
																	<xs:annotation>
																		<xs:documentation>น้ำหนักสุทธิ</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="net_weight_unit" type="Unit_Code" default="KGM">
																	<xs:annotation>
																		<xs:documentation>Net Weight unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="gross_weight" default="0">
																	<xs:annotation>
																		<xs:documentation>น้ำหนัก</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="gross_weight_unit" type="Unit_Code" default="KGM">
																	<xs:annotation>
																		<xs:documentation>Gross weight unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="quantity1" default="0">
																	<xs:annotation>
																		<xs:documentation>ปริมาณ</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="quantity1_unit" type="Unit_Code">
																	<xs:annotation>
																		<xs:documentation>quantity unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="quantity2" default="0" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>ปริมาณ 2</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="quantity2_unit" type="Unit_Code" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>quantity2 unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="quantity3" default="0" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>ปริมาณ 3</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="quantity3_unit" type="Unit_Code" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>quantity3 unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="quantity4" default="0" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>ปริมาณ 4</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="quantity4_unit" type="Unit_Code" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>quantity4 unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="quantity5" default="0" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>ปริมาณ 5</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="18"/>
																			<xs:fractionDigits value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="quantity5_unit" type="Unit_Code" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>quantity5 unit</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="unit_price_usd" default="0" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Unit Price (USD)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="14"/>
																			<xs:fractionDigits value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="fob_amt" default="0">
																	<xs:annotation>
																		<xs:documentation>FOB (USD)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:decimal">
																			<xs:totalDigits value="14"/>
																			<xs:fractionDigits value="2"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="mark" default="NO MARK">
																	<xs:annotation>
																		<xs:documentation>shipping mark</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="500"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="letter" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>letter of credit</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="100"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- ข้อมูลส่วน B/L, AWB, FCR -->
				<xs:element name="BLData" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="BLDetail" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="bl_no">
											<xs:annotation>
												<xs:documentation>B/L, AWB no.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="document_no" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Document no</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="50"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="document_owner" minOccurs="0">
											<xs:annotation>
												<xs:documentation>document owner</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="250"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="shipper">
											<xs:annotation>
												<xs:documentation>Shipper name</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="500"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="consignee">
											<xs:annotation>
												<xs:documentation>Consignee name</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="500"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="port_of_load">
											<xs:annotation>
												<xs:documentation>port of load</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="250"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="port_of_discharge">
											<xs:annotation>
												<xs:documentation>port of discharge</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:minLength value="1"/>
													<xs:maxLength value="250"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="place_of_delivery">
											<xs:annotation>
												<xs:documentation>place of delivery</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="250"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="final_destination" minOccurs="0">
											<xs:annotation>
												<xs:documentation>final destination</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="300"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="onboard_date" type="Date">
											<xs:annotation>
												<xs:documentation>date of on board (format: YYYYMMDD)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="issue_date" type="Date">
											<xs:annotation>
												<xs:documentation>date of issue (format: YYYYMMDD)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="transport_by">
											<xs:annotation>
												<xs:documentation>transport by</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="100"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="vasel_name">
											<xs:annotation>
												<xs:documentation>vasel name</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:maxLength value="250"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity1">
											<xs:annotation>
												<xs:documentation>Total quantity</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="14"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity1_unit" type="Unit_Code">
											<xs:annotation>
												<xs:documentation>Total quantity unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_quantity2" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity2</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="14"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity2_unit" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity2 unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_quantity3" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity3</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="14"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity3_unit" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity3 unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_quantity4" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity4</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="14"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity4_unit" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity4 unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_quantity5" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity4</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="14"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_quantity5_unit" type="Unit_Code" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Total quantity5 unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_gross_weight" default="0">
											<xs:annotation>
												<xs:documentation>total gross quantity</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_gross_weight_unit" type="Unit_Code">
											<xs:annotation>
												<xs:documentation>total gross weight unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="total_net_weight" default="0">
											<xs:annotation>
												<xs:documentation>total net quantity</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:decimal">
													<xs:totalDigits value="18"/>
													<xs:fractionDigits value="4"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="total_net_weight_unit" type="Unit_Code">
											<xs:annotation>
												<xs:documentation>total net weight unit</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="type" type="BL_Type" default="0" minOccurs="0">
											<xs:annotation>
												<xs:documentation>type of 0(default)=B/L,1=AWB,2=FCR</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="BLProducts">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ProductDetail" minOccurs="1" maxOccurs="unbounded">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="product_name">
														<xs:annotation>
															<xs:documentation>product name</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="500"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="product_description">
														<xs:annotation>
															<xs:documentation>product description</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="4000"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="net_weight" default="0">
														<xs:annotation>
															<xs:documentation>net weight</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="net_weight_unit" type="Unit_Code">
														<xs:annotation>
															<xs:documentation>net weight unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="gross_weight" default="0">
														<xs:annotation>
															<xs:documentation>gross weight</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="gross_weight_unit" type="Unit_Code" default="KGM">
														<xs:annotation>
															<xs:documentation>gross weight unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="quantity1" default="0">
														<xs:annotation>
															<xs:documentation>ปริมาณ</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="quantity1_unit" type="Unit_Code">
														<xs:annotation>
															<xs:documentation>quantity unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="quantity2" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>ปริมาณ 2</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="quantity2_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>quantity2 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="quantity3" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>ปริมาณ 3</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="quantity3_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>quantity3 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="quantity4" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>ปริมาณ 4</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="quantity4_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>quantity4 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="quantity5" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>ปริมาณ 5</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="quantity5_unit" type="Unit_Code" minOccurs="0">
														<xs:annotation>
															<xs:documentation>quantity5 unit</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="measurement" default="0" minOccurs="0">
														<xs:annotation>
															<xs:documentation>measurement</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:decimal">
																<xs:totalDigits value="18"/>
																<xs:fractionDigits value="4"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="mark">
														<xs:annotation>
															<xs:documentation>shipping mark</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="500"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- ข้อมูลวันที่ -->
	<xs:simpleType name="Date">
		<xs:union>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="8"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value=""/>
				</xs:restriction>
			</xs:simpleType>
		</xs:union>
	</xs:simpleType>
	<!-- รหัสประเภทของใบตราส่งสินค้า -->
	<xs:simpleType name="BL_Type">
		<xs:restriction base="xs:integer">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<!--
      รหัสข้อมูล
      0 = B/L
      1 = AWB
      2 = FCR
      -->
		</xs:restriction>
	</xs:simpleType>
	<!-- รหัสสถานที่ ที่จะไปรับฟอร์ม -->
	<xs:simpleType name="Site_Code">
		<xs:restriction base="xs:string">
			<xs:enumeration value="CB-003"/>
			<xs:enumeration value="CM-001"/>
			<xs:enumeration value="ST-001"/>
			<xs:enumeration value="ST-002"/>
			<xs:enumeration value="ST-003"/>
			<xs:enumeration value="ST-004"/>
			<!--xs:enumeration value="ST-001R" />
      <xs:enumeration value="ST-001T" />
      <xs:enumeration value="ST-005" />
	  <xs:enumeration value="CR-006" />
      <xs:enumeration value="HY-002" />
      <xs:enumeration value="NK-005" />
      <xs:enumeration value="SK-004" /-->
			<!-- รหัสของสถานที่รับ
        ST-001=กรมการค้าฯ (ส่วนกลาง)
        ST-001R=กรมการค้าฯ (ส่วนกลาง Rice)
        ST-001T=กรมการค้าต่างประเทศ (ส่วนกลาง Textile)
        ST-002=กรมการค้าฯ (ท่าเรือ)
        ST-003=กรมการค้าฯ (สุวรรณภูมิ)
        ST-004=กรมการค้าฯ (สอ)
        ST-005=กรมการค้าฯ (ตลาดไท)
        CB-003=สคต.เขต3 (ชลบุรี)
        CM-001=สคต.เขต1 (เชียงใหม่)
        CR-006=สคต.เขต6 (เชียงราย)
        HY-002=สคต.เขต2 (สงขลา)
        NK-005=สคต.เขต5 (หนองคาย)
        SK-004=สคต.เขต4 (สระแก้ว)
      -->
		</xs:restriction>
	</xs:simpleType>
	<!-- รหัสประเทศปลายทาง-->
	<xs:simpleType name="Form2_Country_List">
		<xs:restriction base="xs:string">
			<xs:enumeration value="AF"/>
			<xs:enumeration value="AL"/>
			<xs:enumeration value="DZ"/>
			<xs:enumeration value="AS"/>
			<xs:enumeration value="AD"/>
			<xs:enumeration value="AO"/>
			<xs:enumeration value="AG"/>
			<xs:enumeration value="AR"/>
			<xs:enumeration value="AM"/>
			<xs:enumeration value="AW"/>
			<xs:enumeration value="AU"/>
			<xs:enumeration value="AT"/>
			<xs:enumeration value="AZ"/>
			<xs:enumeration value="BS"/>
			<xs:enumeration value="BH"/>
			<xs:enumeration value="BD"/>
			<xs:enumeration value="BB"/>
			<xs:enumeration value="BY"/>
			<xs:enumeration value="BE"/>
			<xs:enumeration value="BZ"/>
			<xs:enumeration value="BJ"/>
			<xs:enumeration value="BM"/>
			<xs:enumeration value="BT"/>
			<xs:enumeration value="BO"/>
			<xs:enumeration value="BA"/>
			<xs:enumeration value="BW"/>
			<xs:enumeration value="BV"/>
			<xs:enumeration value="BR"/>
			<xs:enumeration value="IO"/>
			<xs:enumeration value="BN"/>
			<xs:enumeration value="BG"/>
			<xs:enumeration value="BF"/>
			<xs:enumeration value="BI"/>
			<xs:enumeration value="KH"/>
			<xs:enumeration value="CM"/>
			<xs:enumeration value="CA"/>
			<xs:enumeration value="CV"/>
			<xs:enumeration value="KY"/>
			<xs:enumeration value="CF"/>
			<xs:enumeration value="TD"/>
			<xs:enumeration value="CL"/>
			<xs:enumeration value="CN"/>
			<xs:enumeration value="CX"/>
			<xs:enumeration value="CC"/>
			<xs:enumeration value="CO"/>
			<xs:enumeration value="KM"/>
			<xs:enumeration value="CG"/>
			<xs:enumeration value="CK"/>
			<xs:enumeration value="CR"/>
			<xs:enumeration value="CI"/>
			<xs:enumeration value="HR"/>
			<xs:enumeration value="CU"/>
			<xs:enumeration value="CY"/>
			<xs:enumeration value="CZ"/>
			<xs:enumeration value="DK"/>
			<xs:enumeration value="DJ"/>
			<xs:enumeration value="DM"/>
			<xs:enumeration value="DO"/>
			<xs:enumeration value="TP"/>
			<xs:enumeration value="EC"/>
			<xs:enumeration value="EG"/>
			<xs:enumeration value="SV"/>
			<xs:enumeration value="GQ"/>
			<xs:enumeration value="ER"/>
			<xs:enumeration value="EE"/>
			<xs:enumeration value="ET"/>
			<xs:enumeration value="FK"/>
			<xs:enumeration value="FO"/>
			<xs:enumeration value="FJ"/>
			<xs:enumeration value="FI"/>
			<xs:enumeration value="FR"/>
			<xs:enumeration value="FX"/>
			<xs:enumeration value="GF"/>
			<xs:enumeration value="PF"/>
			<xs:enumeration value="TF"/>
			<xs:enumeration value="GA"/>
			<xs:enumeration value="GM"/>
			<xs:enumeration value="GE"/>
			<xs:enumeration value="DE"/>
			<xs:enumeration value="GH"/>
			<xs:enumeration value="GI"/>
			<xs:enumeration value="GR"/>
			<xs:enumeration value="GL"/>
			<xs:enumeration value="GD"/>
			<xs:enumeration value="GP"/>
			<xs:enumeration value="GU"/>
			<xs:enumeration value="GT"/>
			<xs:enumeration value="GN"/>
			<xs:enumeration value="GW"/>
			<xs:enumeration value="GY"/>
			<xs:enumeration value="HT"/>
			<xs:enumeration value="HM"/>
			<xs:enumeration value="HN"/>
			<xs:enumeration value="HK"/>
			<xs:enumeration value="HU"/>
			<xs:enumeration value="IS"/>
			<xs:enumeration value="IN"/>
			<xs:enumeration value="ID"/>
			<xs:enumeration value="IR"/>
			<xs:enumeration value="IQ"/>
			<xs:enumeration value="IE"/>
			<xs:enumeration value="IL"/>
			<xs:enumeration value="IT"/>
			<xs:enumeration value="JM"/>
			<xs:enumeration value="JP"/>
			<xs:enumeration value="JO"/>
			<xs:enumeration value="KZ"/>
			<xs:enumeration value="KE"/>
			<xs:enumeration value="KI"/>
			<xs:enumeration value="KR"/>
			<xs:enumeration value="KW"/>
			<xs:enumeration value="KG"/>
			<xs:enumeration value="LA"/>
			<xs:enumeration value="LV"/>
			<xs:enumeration value="LB"/>
			<xs:enumeration value="LS"/>
			<xs:enumeration value="LR"/>
			<xs:enumeration value="LY"/>
			<xs:enumeration value="LI"/>
			<xs:enumeration value="LT"/>
			<xs:enumeration value="LU"/>
			<xs:enumeration value="MO"/>
			<xs:enumeration value="MK"/>
			<xs:enumeration value="MG"/>
			<xs:enumeration value="MW"/>
			<xs:enumeration value="MY"/>
			<xs:enumeration value="MV"/>
			<xs:enumeration value="ML"/>
			<xs:enumeration value="MT"/>
			<xs:enumeration value="MH"/>
			<xs:enumeration value="MQ"/>
			<xs:enumeration value="MR"/>
			<xs:enumeration value="MU"/>
			<xs:enumeration value="YT"/>
			<xs:enumeration value="MX"/>
			<xs:enumeration value="FM"/>
			<xs:enumeration value="MD"/>
			<xs:enumeration value="MC"/>
			<xs:enumeration value="MN"/>
			<xs:enumeration value="ME"/>
			<xs:enumeration value="MS"/>
			<xs:enumeration value="MA"/>
			<xs:enumeration value="MZ"/>
			<xs:enumeration value="MM"/>
			<xs:enumeration value="NA"/>
			<xs:enumeration value="NR"/>
			<xs:enumeration value="NP"/>
			<xs:enumeration value="NL"/>
			<xs:enumeration value="AN"/>
			<xs:enumeration value="NC"/>
			<xs:enumeration value="NZ"/>
			<xs:enumeration value="NI"/>
			<xs:enumeration value="NE"/>
			<xs:enumeration value="NG"/>
			<xs:enumeration value="NU"/>
			<xs:enumeration value="NF"/>
			<xs:enumeration value="MP"/>
			<xs:enumeration value="NO"/>
			<xs:enumeration value="OM"/>
			<xs:enumeration value="PK"/>
			<xs:enumeration value="PW"/>
			<xs:enumeration value="PX"/>
			<xs:enumeration value="PG"/>
			<xs:enumeration value="PY"/>
			<xs:enumeration value="PE"/>
			<xs:enumeration value="PH"/>
			<xs:enumeration value="PN"/>
			<xs:enumeration value="PL"/>
			<xs:enumeration value="PT"/>
			<xs:enumeration value="PR"/>
			<xs:enumeration value="QA"/>
			<xs:enumeration value="PA"/>
			<xs:enumeration value="RE"/>
			<xs:enumeration value="RO"/>
			<xs:enumeration value="RU"/>
			<xs:enumeration value="RW"/>
			<xs:enumeration value="SH"/>
			<xs:enumeration value="KN"/>
			<xs:enumeration value="LC"/>
			<xs:enumeration value="PM"/>
			<xs:enumeration value="VC"/>
			<xs:enumeration value="SP"/>
			<xs:enumeration value="WS"/>
			<xs:enumeration value="SM"/>
			<xs:enumeration value="ST"/>
			<xs:enumeration value="SA"/>
			<xs:enumeration value="SN"/>
			<xs:enumeration value="RS"/>
			<xs:enumeration value="ZB"/>
			<xs:enumeration value="SC"/>
			<xs:enumeration value="SL"/>
			<xs:enumeration value="SG"/>
			<xs:enumeration value="SK"/>
			<xs:enumeration value="SI"/>
			<xs:enumeration value="SB"/>
			<xs:enumeration value="SO"/>
			<xs:enumeration value="GS"/>
			<xs:enumeration value="ZA"/>
			<xs:enumeration value="KP"/>
			<xs:enumeration value="ES"/>
			<xs:enumeration value="LK"/>
			<xs:enumeration value="SD"/>
			<xs:enumeration value="SR"/>
			<xs:enumeration value="SJ"/>
			<xs:enumeration value="SE"/>
			<xs:enumeration value="CH"/>
			<xs:enumeration value="SY"/>
			<xs:enumeration value="ZI"/>
			<xs:enumeration value="TW"/>
			<xs:enumeration value="TJ"/>
			<xs:enumeration value="TZ"/>
			<xs:enumeration value="TH"/>
			<xs:enumeration value="TG"/>
			<xs:enumeration value="TK"/>
			<xs:enumeration value="TO"/>
			<xs:enumeration value="TT"/>
			<xs:enumeration value="TN"/>
			<xs:enumeration value="TR"/>
			<xs:enumeration value="TM"/>
			<xs:enumeration value="TC"/>
			<xs:enumeration value="TV"/>
			<xs:enumeration value="US"/>
			<xs:enumeration value="UG"/>
			<xs:enumeration value="UA"/>
			<xs:enumeration value="AE"/>
			<xs:enumeration value="GB"/>
			<xs:enumeration value="UM"/>
			<xs:enumeration value="UY"/>
			<xs:enumeration value="UZ"/>
			<xs:enumeration value="VU"/>
			<xs:enumeration value="VA"/>
			<xs:enumeration value="VE"/>
			<xs:enumeration value="VN"/>
			<xs:enumeration value="VG"/>
			<xs:enumeration value="VI"/>
			<xs:enumeration value="WF"/>
			<xs:enumeration value="EH"/>
			<xs:enumeration value="YE"/>
			<xs:enumeration value="YU"/>
			<xs:enumeration value="ZR"/>
			<xs:enumeration value="ZM"/>
			<xs:enumeration value="ZW"/>
			<!-- รหัสประเทศสำหรับการตรวจสอบต้นทุน
AF = AFGHANISTAN                        
AL = ALBANIA                            
DZ = ALGERIA                            
AS = AMERICAN SAMOA                     
AD = ANDORRA                            
AO = ANGOLA                             
AG = ANTIGUA AND BARBUDA                
AR = ARGENTINA                          
AM = ARMENIA                            
AW = ARUBA                              
AU = AUSTRALIA                          
AT = AUSTRIA                            
AZ = AZERBAIJAN                         
BS = BAHAMAS                            
BH = BAHRAIN                            
BD = BANGLADESH                         
BB = BARBADOS                           
BY = BELARUS                            
BE = BELGIUM                            
BZ = BELIZE                             
BJ = BENIN                              
BM = BERMUDA                            
BT = BHUTAN                             
BO = BOLIVIA                            
BA = BOSNIA and HERZEGOVINA
BW = BOTSWANA                           
BV = BOUVET ISLAND                      
BR = BRAZIL                             
IO = BRITISH INDIAN OCEAN TERRITORY     
BN = BRUNEI DARUSSALAM                  
BG = BULGARIA                           
BF = BURKINA FASO                       
BI = BURUNDI                            
KH = CAMBODIA                           
CM = CAMEROON                           
CA = CANADA                             
CV = CAPE VERDE                         
KY = CAYMAN ISLANDS                     
CF = CENTRAL AFRICAN REP.               
TD = CHAD                               
CL = CHILE                              
CN = CHINA                              
CX = CHRISTMAS ISLAND                   
CC = COCOS (KEELING) IS.S               
CO = COLOMBIA                           
KM = COMOROS                            
CG = CONGO                              
CK = COOK ISLANDS                       
CR = COSTA RICA                         
CI = COTE D IVOIRE                      
HR = CROATIA                            
CU = CUBA                               
CY = CYPRUS                             
CZ = CZECH REPUBLIC                     
DK = DENMARK                            
DJ = DJIBOUTI                           
DM = DOMINICA                           
DO = DOMINICAN REPUBLIC                 
TP = EAST TIMOR                         
EC = ECUADOR                            
EG = EGYPT                              
SV = EL SALVADOR                        
GQ = EQUATORIAL GUINEA                  
ER = ERITREA                            
EE = ESTONIA                            
ET = ETHIOPIA                           
FK = FALKLAND ISLANDS (MALVINAS)        
FO = FAROE ISLANDS                      
FJ = FIJI                               
FI = FINLAND                            
FR = FRANCE
FX = FRANCE, METROPOLITAN               
GF = FRENCE GUIANA                      
PF = FRENCH POLYNESIA                   
TF = FRENCH SOUTHERN TERRITORIES        
GA = GABON                              
GM = GAMBIA                             
GE = GEORGIA                            
DE = GERMANY                            
GH = GHANA                              
GI = GIBRALTAR                          
GR = GREECE                             
GL = GREENLAND                          
GD = GRENADA                            
GP = GUADELOUPE                         
GU = GUAM                               
GT = GUATEMALA                          
GN = GUINEA                             
GW = GUINEA-BISSAU                      
GY = GUYANA                             
HT = HAITI                              
HM = HEARD ISLAND AND MCDONALD ISLANDS  
HN = HONDURAS                           
HK = HONG KONG                          
HU = HUNGARY                            
IS = ICELAND
IN = INDIA                              
ID = INDONESIA                          
IR = IRAN                               
IQ = IRAQ                               
IE = IRELAND                            
IL = ISRAEL                             
IT = ITALY                              
JM = JAMAICA                            
JP = JAPAN                              
JO = JORDAN                             
KZ = KAZAKHSTAN                         
KE = KENYA                              
KI = KIRIBATI                           
KR = KOREA,REPUBLIC OF                  
KW = KUWAIT                             
KG = KYRGYZSTAN                         
LA = LAO REPUBLIC                       
LV = LATVIA                             
LB = LEBANON                            
LS = LESOTHO                            
LR = LIBERIA                            
LY = LIBYAN ARAB JAMAHIRIYA             
LI = LIECHTENSTEIN                      
LT = LITHUANIA                          
LU = LUXEMBOURG                         
MO = MACAU                              
MK = MACEDONIA                          
MG = MADAGASCAR                         
MW = MALAWI                             
MY = MALAYSIA                           
MV = MALDIVES                           
ML = MALI                               
MT = MALTA                              
MH = MARSHALL ISLAND                    
MQ = MARTINIQUE                         
MR = MAURITANIA                         
MU = MAURITIUS                          
YT = MAYOTTE                            
MX = MEXICO                             
FM = MICRONESIA (FEDERATED STATES OF)   
MD = MOLDOVA REPUBLIC OF                
MC = MONACO                             
MN = MONGOLIA                           
ME = MONTENEGRO
MS = MONTSERRAT                         
MA = MOROCCO                            
MZ = MOZAMBIQUE                         
MM = MYANMAR                            
NA = NAMIBIA                            
NR = NAURU                              
NP = NEPAL                              
NL = NETHERLANDS                        
AN = NETHERLANDS ANTILLES               
NC = NEW CALEDONIA                      
NZ = NEW ZEALAND                        
NI = NICARAGUA                          
NE = NIGER                              
NG = NIGERIA                            
NU = NIUE                               
NF = NORFOLK ISLAND                     
MP = NORTHERN MARIANA ISLANDS           
NO = NORWAY                             
OM = OMAN                               
PK = PAKISTAN                           
PW = PALAU                              
PX = PANAMA
PG = PAPUA NEW GUINEA                   
PY = PARAGUAY                           
PE = PERU                               
PH = PHILIPPINES                        
PN = PITCAIRN                           
PL = POLAND                             
PT = PORTUGAL                           
PR = PUERTO RICO                        
QA = QATAR                              
PA = REPUBLIC OF PANAMA                             
RE = REUNION                            
RO = ROMANIA                            
RU = RUSSIAN FEDERATION                 
RW = RWANDA                             
SH = SAINT HELENA                       
KN = SAINT KITTS AND NEVIS              
LC = SAINT LUCIA                        
PM = SAINT PIERRE AND MIQUELON          
VC = SAINT VINCENT AND THE GRENADINES   
SP = SAIPAN
WS = SAMOA                              
SM = SAN MARINO                         
ST = SAO TOME AND PRINCIPE              
SA = SAUDI ARABIA                       
SN = SENEGAL                            
RS = SERBIA
ZB = SERBIA AND MONTENEGRO
SC = SEYCHELLES                         
SL = SIERRA LEONE                       
SG = SINGAPORE                          
SK = SLOVAKIA                           
SI = SLOVENIA                           
SB = SOLOMON ISLANDS                    
SO = SOMALIA                            
GS = SOUTH                              
ZA = SOUTH AFRICA                       
KP = KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF                             
ES = SPAIN                              
LK = SRI LANKA                          
SD = SUDAN                              
SR = SURINAME                           
SJ = SVALBARD AND JAN MAYEN             
SE = SWEDEN                             
CH = SWITZERLAND                        
SY = SYRIAN ARAB REPUBLIC               
ZI = TAHITI
TW = TAIWAN
TJ = TAJIKISTAN                         
TZ = TANZANIA UNITED REPUBLIC OF        
TH = THAILAND                           
TG = TOGO                               
TK = TOKELAU                            
TO = TONGA                              
TT = TRINIDAD AND TOBAGO                
TN = TUNISIA                            
TR = TURKEY                             
TM = TURKMENISTAN                       
TC = TURKS AND CAICOS ISLANDS           
TV = TUVALU                             
US = U.S.A.                   
UG = UGANDA                             
UA = UKRAINE                            
AE = UNITED ARAB EMIRATES               
GB = UNITED KINGDOM                     
UM = UNITED STATES MINOR                
UY = URUGUAY                            
UZ = UZBEKISTAN                         
VU = VANUATU                            
VA = VATICAN CITY                       
VE = VENEZUELA                          
VN = VIETNAM                            
VG = VIRGIN ISLANDS (BRITISH)           
VI = VIRGIN ISLANDS (U.S.)              
WF = WALLIS AND FUTUNA ISLANDS          
EH = WESTERN SAHARA                     
YE = YEMEN                              
YU = YUGOSLAVIA                         
ZR = ZAIRE                              
ZM = ZAMBIA                             
ZW = ZIMBABWE                           
-->
		</xs:restriction>
	</xs:simpleType>
	<!-- รหัสประเทศ ตรวจสอบต้นทุน-->
	<xs:simpleType name="Asset_Country">
		<xs:restriction base="xs:string">
			<xs:enumeration value=""/>
			<xs:enumeration value="10"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="30"/>
			<xs:enumeration value="AD"/>
			<xs:enumeration value="AE"/>
			<xs:enumeration value="AF"/>
			<xs:enumeration value="AG"/>
			<xs:enumeration value="AL"/>
			<xs:enumeration value="AM"/>
			<xs:enumeration value="AN"/>
			<xs:enumeration value="AO"/>
			<xs:enumeration value="AR"/>
			<xs:enumeration value="AS"/>
			<xs:enumeration value="AT"/>
			<xs:enumeration value="AU"/>
			<xs:enumeration value="AW"/>
			<xs:enumeration value="AZ"/>
			<xs:enumeration value="BB"/>
			<xs:enumeration value="BD"/>
			<xs:enumeration value="BE"/>
			<xs:enumeration value="BF"/>
			<xs:enumeration value="BG"/>
			<xs:enumeration value="BH"/>
			<xs:enumeration value="BI"/>
			<xs:enumeration value="BJ"/>
			<xs:enumeration value="BM"/>
			<xs:enumeration value="BN"/>
			<xs:enumeration value="BO"/>
			<xs:enumeration value="BR"/>
			<xs:enumeration value="BS"/>
			<xs:enumeration value="BT"/>
			<xs:enumeration value="BV"/>
			<xs:enumeration value="BW"/>
			<xs:enumeration value="BY"/>
			<xs:enumeration value="BZ"/>
			<xs:enumeration value="CA"/>
			<xs:enumeration value="CC"/>
			<xs:enumeration value="CF"/>
			<xs:enumeration value="CG"/>
			<xs:enumeration value="CH"/>
			<xs:enumeration value="CI"/>
			<xs:enumeration value="CK"/>
			<xs:enumeration value="CL"/>
			<xs:enumeration value="CM"/>
			<xs:enumeration value="CN"/>
			<xs:enumeration value="CO"/>
			<xs:enumeration value="CR"/>
			<xs:enumeration value="CU"/>
			<xs:enumeration value="CV"/>
			<xs:enumeration value="CX"/>
			<xs:enumeration value="CY"/>
			<xs:enumeration value="CZ"/>
			<xs:enumeration value="DE"/>
			<xs:enumeration value="DJ"/>
			<xs:enumeration value="DK"/>
			<xs:enumeration value="DM"/>
			<xs:enumeration value="DO"/>
			<xs:enumeration value="DZ"/>
			<xs:enumeration value="EC"/>
			<xs:enumeration value="EE"/>
			<xs:enumeration value="EG"/>
			<xs:enumeration value="EH"/>
			<xs:enumeration value="ER"/>
			<xs:enumeration value="ES"/>
			<xs:enumeration value="ET"/>
			<xs:enumeration value="FI"/>
			<xs:enumeration value="FJ"/>
			<xs:enumeration value="FK"/>
			<xs:enumeration value="FM"/>
			<xs:enumeration value="FO"/>
			<xs:enumeration value="FR"/>
			<xs:enumeration value="FX"/>
			<xs:enumeration value="GA"/>
			<xs:enumeration value="GB"/>
			<xs:enumeration value="GD"/>
			<xs:enumeration value="GE"/>
			<xs:enumeration value="GF"/>
			<xs:enumeration value="GH"/>
			<xs:enumeration value="GI"/>
			<xs:enumeration value="GL"/>
			<xs:enumeration value="GM"/>
			<xs:enumeration value="GN"/>
			<xs:enumeration value="GP"/>
			<xs:enumeration value="GQ"/>
			<xs:enumeration value="GR"/>
			<xs:enumeration value="GT"/>
			<xs:enumeration value="GU"/>
			<xs:enumeration value="GW"/>
			<xs:enumeration value="GY"/>
			<xs:enumeration value="HK"/>
			<xs:enumeration value="HM"/>
			<xs:enumeration value="HN"/>
			<xs:enumeration value="HR"/>
			<xs:enumeration value="HT"/>
			<xs:enumeration value="HU"/>
			<xs:enumeration value="ID"/>
			<xs:enumeration value="IE"/>
			<xs:enumeration value="IL"/>
			<xs:enumeration value="IN"/>
			<xs:enumeration value="IO"/>
			<xs:enumeration value="IQ"/>
			<xs:enumeration value="IR"/>
			<xs:enumeration value="IS"/>
			<xs:enumeration value="IT"/>
			<xs:enumeration value="JM"/>
			<xs:enumeration value="JO"/>
			<xs:enumeration value="JP"/>
			<xs:enumeration value="KE"/>
			<xs:enumeration value="KG"/>
			<xs:enumeration value="KH"/>
			<xs:enumeration value="KI"/>
			<xs:enumeration value="KM"/>
			<xs:enumeration value="KN"/>
			<xs:enumeration value="KP"/>
			<xs:enumeration value="KR"/>
			<xs:enumeration value="KW"/>
			<xs:enumeration value="KY"/>
			<xs:enumeration value="KZ"/>
			<xs:enumeration value="LA"/>
			<xs:enumeration value="LB"/>
			<xs:enumeration value="LC"/>
			<xs:enumeration value="LI"/>
			<xs:enumeration value="LK"/>
			<xs:enumeration value="LR"/>
			<xs:enumeration value="LS"/>
			<xs:enumeration value="LT"/>
			<xs:enumeration value="LU"/>
			<xs:enumeration value="LV"/>
			<xs:enumeration value="LY"/>
			<xs:enumeration value="MA"/>
			<xs:enumeration value="MC"/>
			<xs:enumeration value="MD"/>
			<xs:enumeration value="MG"/>
			<xs:enumeration value="MH"/>
			<xs:enumeration value="MK"/>
			<xs:enumeration value="ML"/>
			<xs:enumeration value="MM"/>
			<xs:enumeration value="MN"/>
			<xs:enumeration value="MO"/>
			<xs:enumeration value="MP"/>
			<xs:enumeration value="MQ"/>
			<xs:enumeration value="MR"/>
			<xs:enumeration value="MS"/>
			<xs:enumeration value="MT"/>
			<xs:enumeration value="MU"/>
			<xs:enumeration value="MV"/>
			<xs:enumeration value="MW"/>
			<xs:enumeration value="MX"/>
			<xs:enumeration value="MY"/>
			<xs:enumeration value="MZ"/>
			<xs:enumeration value="NA"/>
			<xs:enumeration value="NC"/>
			<xs:enumeration value="NE"/>
			<xs:enumeration value="NF"/>
			<xs:enumeration value="NG"/>
			<xs:enumeration value="NI"/>
			<xs:enumeration value="NL"/>
			<xs:enumeration value="NO"/>
			<xs:enumeration value="NP"/>
			<xs:enumeration value="NR"/>
			<xs:enumeration value="NU"/>
			<xs:enumeration value="NZ"/>
			<xs:enumeration value="OM"/>
			<xs:enumeration value="OT"/>
			<xs:enumeration value="PA"/>
			<xs:enumeration value="PE"/>
			<xs:enumeration value="PF"/>
			<xs:enumeration value="PG"/>
			<xs:enumeration value="PH"/>
			<xs:enumeration value="PK"/>
			<xs:enumeration value="PL"/>
			<xs:enumeration value="PM"/>
			<xs:enumeration value="PN"/>
			<xs:enumeration value="PR"/>
			<xs:enumeration value="PT"/>
			<xs:enumeration value="PW"/>
			<xs:enumeration value="PY"/>
			<xs:enumeration value="QA"/>
			<xs:enumeration value="RE"/>
			<xs:enumeration value="RO"/>
			<xs:enumeration value="RU"/>
			<xs:enumeration value="RW"/>
			<xs:enumeration value="SA"/>
			<xs:enumeration value="SB"/>
			<xs:enumeration value="SC"/>
			<xs:enumeration value="SD"/>
			<xs:enumeration value="SE"/>
			<xs:enumeration value="SG"/>
			<xs:enumeration value="SH"/>
			<xs:enumeration value="SI"/>
			<xs:enumeration value="SJ"/>
			<xs:enumeration value="SK"/>
			<xs:enumeration value="SL"/>
			<xs:enumeration value="SM"/>
			<xs:enumeration value="SN"/>
			<xs:enumeration value="SO"/>
			<xs:enumeration value="SR"/>
			<xs:enumeration value="ST"/>
			<xs:enumeration value="SV"/>
			<xs:enumeration value="SY"/>
			<xs:enumeration value="SZ"/>
			<xs:enumeration value="TC"/>
			<xs:enumeration value="TD"/>
			<xs:enumeration value="TF"/>
			<xs:enumeration value="TG"/>
			<xs:enumeration value="TH"/>
			<xs:enumeration value="TJ"/>
			<xs:enumeration value="TK"/>
			<xs:enumeration value="TM"/>
			<xs:enumeration value="TN"/>
			<xs:enumeration value="TO"/>
			<xs:enumeration value="TP"/>
			<xs:enumeration value="TR"/>
			<xs:enumeration value="TT"/>
			<xs:enumeration value="TV"/>
			<xs:enumeration value="TW"/>
			<xs:enumeration value="TZ"/>
			<xs:enumeration value="UA"/>
			<xs:enumeration value="UG"/>
			<xs:enumeration value="UM"/>
			<xs:enumeration value="US"/>
			<xs:enumeration value="UY"/>
			<xs:enumeration value="UZ"/>
			<xs:enumeration value="VA"/>
			<xs:enumeration value="VC"/>
			<xs:enumeration value="VE"/>
			<xs:enumeration value="VG"/>
			<xs:enumeration value="VI"/>
			<xs:enumeration value="VN"/>
			<xs:enumeration value="VU"/>
			<xs:enumeration value="WF"/>
			<xs:enumeration value="WS"/>
			<xs:enumeration value="YE"/>
			<xs:enumeration value="YT"/>
			<xs:enumeration value="YU"/>
			<xs:enumeration value="ZA"/>
			<xs:enumeration value="ZM"/>
			<xs:enumeration value="ZR"/>
			<xs:enumeration value="ZW"/>
			<!-- รหัสประเทศสำหรับการตรวจสอบต้นทุน
10=ASEAN
20=EU
30=GSTP
AD=ANDORRA                            
AE=UNITED ARAB EMIRATES               
AF=AFGHANISTAN                        
AG=ANTIGUA AND BARBUDA                
AL=ALBANIA                            
AM=ARMENIA                            
AN=NETHERLANDS ANTILLES               
AO=ANGOLA                             
AR=ARGENTINA                          
AS=AMERICAN SAMOA                     
AT=AUSTRIA                            
AU=AUSTRALIA                          
AW=ARUBA                              
AZ=AZERBAIJAN                         
BB=BARBADOS                           
BD=BANGLADESH                         
BE=BELGIUM                            
BF=BURKINA FASO                       
BG=BULGARIA                           
BH=BAHRAIN                            
BI=BURUNDI                            
BJ=BENIN                              
BM=BERMUDA                            
BN=BRUNEI DARUSSALAM                  
BO=BOLIVIA                            
BR=BRAZIL                             
BS=BAHAMAS                            
BT=BHUTAN                             
BV=BOUVET ISLAND                      
BW=BOTSWANA                           
BY=BELARUS                            
BZ=BELIZE                             
CA=CANADA                             
CC=COCOS (KEELING) IS.S               
CF=CENTRAL AFRICAN REP.               
CG=CONGO                              
CH=SWITZERLAND                        
CI=COTE D IVOIRE                      
CK=COOK ISLANDS                       
CL=CHILE                              
CM=CAMEROON                           
CN=CHINA                              
CO=COLOMBIA                           
CR=COSTA RICA                         
CU=CUBA                               
CV=CAPE VERDE                         
CX=CHRISTMAS ISLAND                   
CY=CYPRUS                             
CZ=CZECH REPUBLIC                     
DE=GERMANY                            
DJ=DJIBOUTI                           
DK=DENMARK                            
DM=DOMINICA                           
DO=DOMINICAN REPUBLIC                 
DZ=ALGERIA                            
EC=ECUADOR                            
EE=ESTONIA                            
EG=EGYPT                              
EH=WESTERN SAHARA                     
ER=ERITREA                            
ES=SPAIN                              
ET=ETHIOPIA                           
FI=FINLAND                            
FJ=FIJI                               
FK=FALKLAND ISLANDS (MALVINAS)        
FM=MICRONESIA (FEDERATED STATES OF)   
FO=FAROE ISLANDS                      
FR=FRANCE                             
FX=FRANCE, METROPOLITAN               
GA=GABON                              
GB=UNITED KINGDOM                     
GD=GRENADA                            
GE=GEORGIA                            
GF=FRENCE GUIANA                      
GH=GHANA                              
GI=GIBRALTAR                          
GL=GREENLAND                          
GM=GAMBIA                             
GN=GUINEA                             
GP=GUADELOUPE                         
GQ=EQUATORIAL GUINEA                  
GR=GREECE                             
GT=GUATEMALA                          
GU=GUAM                               
GW=GUINEA-BISSAU                      
GY=GUYANA                             
HK=HONG KONG                          
HM=HEARD ISLAND AND MCDONALD ISLANDS  
HN=HONDURAS                           
HR=CROATIA                            
HT=HAITI                              
HU=HUNGARY                            
ID=INDONESIA                          
IE=IRELAND                            
IL=ISRAEL                             
IN=INDIA                              
IO=BRITISH INDIAN OCEAN TERRITORY     
IQ=IRAQ                               
IR=IRAN                               
IS=ICELAND                            
IT=ITALY                              
JM=JAMAICA                            
JO=JORDAN                             
JP=JAPAN                              
KE=KENYA                              
KG=KYRGYZSTAN                         
KH=CAMBODIA                           
KI=KIRIBATI                           
KM=COMOROS                            
KN=SAINT KITTS AND NEVIS              
KP=KOREA                              
KR=KOREA,REPUBLIC OF                  
KW=KUWAIT                             
KY=CAYMAN ISLANDS                     
KZ=KAZAKHSTAN                         
LA=LAO REPUBLIC                       
LB=LEBANON                            
LC=SAINT LUCIA                        
LI=LIECHTENSTEIN                      
LK=SRI LANKA                          
LR=LIBERIA                            
LS=LESOTHO                            
LT=LITHUANIA                          
LU=LUXEMBOURG                         
LV=LATVIA                             
LY=LIBYAN ARAB JAMAHIRIYA             
MA=MOROCCO                            
MC=MONACO                             
MD=MOLDOVA REPUBLIC OF                
MG=MADAGASCAR                         
MH=MARSHALL ISLAND                    
MK=MACEDONIA                          
ML=MALI                               
MM=MYANMAR                            
MN=MONGOLIA                           
MO=MACAU                              
MP=NORTHERN MARIANA ISLANDS           
MQ=MARTINIQUE                         
MR=MAURITANIA                         
MS=MONTSERRAT                         
MT=MALTA                              
MU=MAURITIUS                          
MV=MALDIVES                           
MW=MALAWI                             
MX=MEXICO                             
MY=MALAYSIA                           
MZ=MOZAMBIQUE                         
NA=NAMIBIA                            
NC=NEW CALEDONIA                      
NE=NIGER                              
NF=NORFOLK ISLAND                     
NG=NIGERIA                            
NI=NICARAGUA                          
NL=NETHERLANDS                        
NO=NORWAY                             
NP=NEPAL                              
NR=NAURU                              
NU=NIUE                               
NZ=NEW ZEALAND                        
OM=OMAN                               
OT=OTHER COUNTRY                      
PA=PANAMA                             
PE=PERU                               
PF=FRENCH POLYNESIA                   
PG=PAPUA NEW GUINEA                   
PH=PHILIPPINES                        
PK=PAKISTAN                           
PL=POLAND                             
PM=SAINT PIERRE AND MIQUELON          
PN=PITCAIRN                           
PR=PUERTO RICO                        
PT=PORTUGAL                           
PW=PALAU                              
PY=PARAGUAY                           
QA=QATAR                              
RE=REUNION                            
RO=ROMANIA                            
RU=RUSSIAN FEDERATION                 
RW=RWANDA                             
SA=SAUDI ARABIA                       
SB=SOLOMON ISLANDS                    
SC=SEYCHELLES                         
SD=SUDAN                              
SE=SWEDEN                             
SG=SINGAPORE                          
SH=SAINT HELENA                       
SI=SLOVENIA                           
SJ=SVALBARD AND JAN MAYEN             
SK=SLOVAKIA                           
SL=SIERRA LEONE                       
SM=SAN MARINO                         
SN=SENEGAL                            
SO=SOMALIA                            
SR=SURINAME                           
ST=SAO TOME AND PRINCIPE              
SV=EL SALVADOR                        
SY=SYRIAN ARAB REPUBLIC               
SZ=SWAZILAND                          
TC=TURKS AND CAICOS ISLANDS           
TD=CHAD                               
TF=FRENCH SOUTHERN TERRITORIES        
TG=TOGO                               
TH=THAILAND                           
TJ=TAJIKISTAN                         
TK=TOKELAU                            
TM=TURKMENISTAN                       
TN=TUNISIA                            
TO=TONGA                              
TP=EAST TIMOR                         
TR=TURKEY                             
TT=TRINIDAD AND TOBAGO                
TV=TUVALU                             
TW=TAIWAN                             
TZ=TANZANIA UNITED REPUBLIC OF        
UA=UKRAINE                            
UG=UGANDA                             
UM=UNITED STATES MINOR                
US=UNITED STATES                      
UY=URUGUAY                            
UZ=UZBEKISTAN                         
VA=VATICAN CITY                       
VC=SAINT VINCENT AND THE GRENADINES   
VE=VENEZUELA                          
VG=VIRGIN ISLANDS (BRITISH)           
VI=VIRGIN ISLANDS (U.S.)              
VN=VIETNAM                            
VU=VANUATU                            
WF=WALLIS AND FUTUNA ISLANDS          
WS=SAMOA                              
YE=YEMEN                              
YT=MAYOTTE                            
YU=YUGOSLAVIA                         
ZA=SOUTH AFRICA                       
ZM=ZAMBIA                             
ZR=ZAIRE                              
ZW=ZIMBABWE                           
-->
		</xs:restriction>
	</xs:simpleType>
	<!-- รหัสหน่วย -->
	<xs:simpleType name="Unit_Code">
		<xs:restriction base="xs:string">
			<xs:enumeration value=""/>
			<xs:enumeration value="ADMT"/>
			<xs:enumeration value="BAG"/>
			<xs:enumeration value="BAGS"/>
			<xs:enumeration value="BALE"/>
			<xs:enumeration value="BALES"/>
			<xs:enumeration value="BAR"/>
			<xs:enumeration value="BASKET"/>
			<xs:enumeration value="BASKETS"/>
			<xs:enumeration value="BOARD"/>
			<xs:enumeration value="BOARDS"/>
			<xs:enumeration value="BOTTLE"/>
			<xs:enumeration value="BOTTLES"/>
			<xs:enumeration value="BOX"/>
			<xs:enumeration value="BOXES"/>
			<xs:enumeration value="BUNDLE"/>
			<xs:enumeration value="BUNDLES"/>
			<xs:enumeration value="CANS"/>
			<xs:enumeration value="CBF"/>
			<xs:enumeration value="CBFS"/>
			<xs:enumeration value="CARDS"/>
			<xs:enumeration value="CARTRIDGE"/>
			<xs:enumeration value="CASE"/>
			<xs:enumeration value="CASES"/>
			<xs:enumeration value="CNTR"/>
			<xs:enumeration value="COIL"/>
			<xs:enumeration value="COILS"/>
			<xs:enumeration value="CONE"/>
			<xs:enumeration value="CRATE"/>
			<xs:enumeration value="CRATES"/>
			<xs:enumeration value="CTN"/>
			<xs:enumeration value="CTNS"/>
			<xs:enumeration value="DOZ"/>
			<xs:enumeration value="DOZS"/>
			<xs:enumeration value="DRUM"/>
			<xs:enumeration value="DRUMS"/>
			<xs:enumeration value="EACH"/>
			<xs:enumeration value="FLAT CARD"/>
			<xs:enumeration value="FLAT CARDS"/>
			<xs:enumeration value="FLEXITANK"/>
			<xs:enumeration value="FLEXITANKS"/>
			<xs:enumeration value="FOOT"/>
			<xs:enumeration value="GLL"/>
			<xs:enumeration value="GAYLOADBOX"/>
			<xs:enumeration value="GMS"/>
			<xs:enumeration value="GYDS"/>
			<xs:enumeration value="GRS"/>
			<xs:enumeration value="GRSES"/>
			<xs:enumeration value="HANKS"/>
			<xs:enumeration value="HEADS"/>
			<xs:enumeration value="IBC"/>
			<xs:enumeration value="IDC"/>
			<xs:enumeration value="IDCS"/>
			<xs:enumeration value="IST"/>
			<xs:enumeration value="ISTS"/>
			<xs:enumeration value="JUMBO BAGS"/>
			<xs:enumeration value="KARAT"/>
			<xs:enumeration value="KGS"/>
			<xs:enumeration value="KGM"/>
			<xs:enumeration value="LBS"/>
			<xs:enumeration value="LENGTHS"/>
			<xs:enumeration value="LOT"/>
			<xs:enumeration value="LOTS"/>
			<xs:enumeration value="M/T"/>
			<xs:enumeration value="M3"/>
			<xs:enumeration value="MCTN"/>
			<xs:enumeration value="MCTNS"/>
			<xs:enumeration value="METER"/>
			<xs:enumeration value="MTON"/>
			<xs:enumeration value="MTONS"/>
			<xs:enumeration value="MT"/>
			<xs:enumeration value="MTS"/>
			<xs:enumeration value="PACK"/>
			<xs:enumeration value="PACKAGES"/>
			<xs:enumeration value="PAIL"/>
			<xs:enumeration value="PAILS"/>
			<xs:enumeration value="PAIR"/>
			<xs:enumeration value="PAIRS"/>
			<xs:enumeration value="PALLET"/>
			<xs:enumeration value="PALLETS"/>
			<xs:enumeration value="PARCEL"/>
			<xs:enumeration value="PARCELS"/>
			<xs:enumeration value="PCS"/>
			<xs:enumeration value="PIECE"/>
			<xs:enumeration value="PIECES"/>
			<xs:enumeration value="POUNDS"/>
			<xs:enumeration value="RACK"/>
			<xs:enumeration value="RACKS"/>
			<xs:enumeration value="REELS"/>
			<xs:enumeration value="ROLL"/>
			<xs:enumeration value="ROLLS"/>
			<xs:enumeration value="S/PACKS"/>
			<xs:enumeration value="S/TRAY"/>
			<xs:enumeration value="S/TRAYS"/>
			<xs:enumeration value="SACKS"/>
			<xs:enumeration value="SET"/>
			<xs:enumeration value="SETS"/>
			<xs:enumeration value="SHPRS"/>
			<xs:enumeration value="SMLBUNDLES"/>
			<xs:enumeration value="SPACEKRAFT"/>
			<xs:enumeration value="SPOOL"/>
			<xs:enumeration value="SPOOLS"/>
			<xs:enumeration value="SQF"/>
			<xs:enumeration value="SQU FEETT"/>
			<xs:enumeration value="SQU FOOTS"/>
			<xs:enumeration value="SQM2"/>
			<xs:enumeration value="MTK"/>
			<xs:enumeration value="STACK"/>
			<xs:enumeration value="STEEL BULK"/>
			<xs:enumeration value="SC"/>
			<xs:enumeration value="SCS"/>
			<xs:enumeration value="STEELCRATE"/>
			<xs:enumeration value="STEELPLT"/>
			<xs:enumeration value="STEELPLTS"/>
			<xs:enumeration value="TIN"/>
			<xs:enumeration value="TINCN"/>
			<xs:enumeration value="TON"/>
			<xs:enumeration value="TOTE"/>
			<xs:enumeration value="TOTES"/>
			<xs:enumeration value="TRAY"/>
			<xs:enumeration value="TRAYP"/>
			<xs:enumeration value="TRAYSP"/>
			<xs:enumeration value="TRAYS"/>
			<xs:enumeration value="UNIT"/>
			<xs:enumeration value="UNITS"/>
			<xs:enumeration value="VIAL"/>
			<xs:enumeration value="VIALS"/>
			<xs:enumeration value="WDCRATE"/>
			<xs:enumeration value="WDCRATES"/>
			<xs:enumeration value="WBOX"/>
			<xs:enumeration value="WBOXS"/>
			<xs:enumeration value="WCASE"/>
			<xs:enumeration value="WCASES"/>
			<xs:enumeration value="WOODENPLT"/>
			<xs:enumeration value="WOODENPLTS"/>
			<xs:enumeration value="YARD"/>
			<xs:enumeration value="YARDS"/>
			<!-- รหัสของหน่วย 
ADMT=ADMT
BAG=BAG
BAGS=BAGS
BALE=BALE
BALES=BALES
BAR=BAR
BASKET=BASKET
BASKETS=BASKETS
BOARD=BOARD
BOARDS=BOARDS
BOTTLE=BOTTLE
BOTTLES=BOTTLES
BOX=BOX
BOXES=BOXES
BUNDLE=BUNDLE
BUNDLES=BUNDLES
CANS=CANS
CBF=CARDBOARD FIBRITE
CBFS=CARDBOARD FIBRITES 
CARDS=CARDS
CARTRIDGE=CARTRIDGE
CASE=CASE
CASES=CASES
CNTR=CNTR
COIL=COIL
COILS=COILS
CONE=CONE
CRATE=CRATE
CRATES=CRATES
CTN=CTN
CTNS=CTNS
DOZ=DOZ
DOZS=DOZS
DRUM=DRUM
DRUMS=DRUMS
EACH=EACH
FLAT CARD=FLAT CARD
FLAT CARDS=FLAT CARDS
FLEXITANK=FLEXITANK
FLEXITANKS=FLEXITANKS
FOOT=FOOT
GLL=GALLON
GAYLOADBOX=GAYLOADBOX
GMS=GMS
GYDS=GROSS YARD
GRS=GRS
GRSES=GRSES
HANKS=HANKS
HEADS=HEADS
IBC=IBC(INTERMEDIATE BULK CONTAINER)
IDC=IDC
IDCS=IDCS
IST=IST
ISTS=ISTS
JUMBO BAGS=JUMBO BAGS
KARAT=KARAT
KGS=KGS
KGM=KGM
LBS=LBS
LENGTHS=LENGTHS
LOT=LOT
LOTS=LOTS
M/T=M/T
M3=M3
MCTN=MCTN
MCTNS=MCTNS
METER=METER
MTON=METRIC TON 
MTONS=METRIC TONS 
MT=MT
MTS=MTS
PACK=PACK
PACKAGES=PACKAGES
PAIL=PAIL
PAILS=PAILS
PAIR=PAIR
PAIRS=PAIRS
PALLET=PALLET
PALLETS=PALLETS
PARCEL=PARCEL
PARCELS=PARCELS
PCS=PCS
PIECE=PIECE
PIECES=PIECES
POUNDS=POUNDS
REELS=REELS
ROLL=ROLL
ROLLS=ROLLS
S/PACKS=S/PACKS
S/TRAY=S/TRAY
S/TRAYS=S/TRAYS
SACKS=SACKS
SET=SET
SETS=SETS
SHPRS=SHIPPERS
SMLBUNDLES=SMLBUNDLES
SPACEKRAFT=SPACEKRAFT
SPOOL=SPOOL
SPOOLS=SPOOLS
SQF=SQUARE FEETT
SQU FEETT=SQUARE FEETT
SQU FOOTS=SQUARE FOOTS
SQM2=SQUARE METRE 
MTK=SQUARE METRE 
STACK=STACK
STEEL BULK=STEEL BULK
SC=STEEL CASE
SCS=STEEL CASES
STEELCRATE=STEELCRATE
STEELPLT=STEELPLT
STEELPLTS=STEELPLTS
TIN=TIN
TINCN=TIN-CAN
TON=TON
TOTE=TOTE
TOTES=TOTES
TRAY=TRAY
TRAYP=TRAY/PACK
TRAYSP=TRAY/PACKS
TRAYS=TRAYS
UNIT=UNIT
UNITS=UNITS
VIAL=VIAL
VIALS=VIALS
WDCRATE=WDCRATE
WDCRATES=WDCRATES
WBOX=WOODEN BOX
WBOXS=WOODEN BOXS
WCASE=WOODENCASE
WCASES=WOODENCASES
WOODENPLT=WOODENPLT
WOODENPLTS=WOODENPLTS
YARD=YARD
YARDS=YARDS
-->
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
