<?xml version="1.0" encoding="utf-8"?>
<!-- Schema: FORM JTEPA version 1.0 -->
<!-- Updated: 10/05/2013 - ปรับปรุงให้รองรับการออกหนังสือรับรอง JTEPA แบบลงลายมือชื่อและตราประทับอิเล็กทรอนิกส์ (Electronic Signature and Seal)  - Edited by Prayut -->
<!-- Updated: 03/10/2013 - เพิ่ม  O/TOB  - Edited by Prayut -->
<!-- Updated: 26/12/2013 - ปรับปรุงการระบุหน่วยน้ำหนัก (Gross weight) ในการออกหนังสือรับรองถิ่นกำเนิดสินค้า ช่องที่ 9 จากเดิมใช้ KGS ปรับปลี่ยนเป็น KGM ตามมาตรฐาน UNECE RECOMMENDATION 20 ตั้งแต่วันที่ 1/1/2014 เป็นต้นไป - Edited by Prayut -->
<!-- Updated: 2017/11/09
       Parent : Form4_5DetailProduct
              -model_name : ระบุรุ่นของสินค้า (Model) กรณีที่ใช้พิกัดศุลกากรภายใต้พิกัดที่ 84, 85 และ 87
       Parent : Form4_5DetailCost
              -rovers_owner_company : ชื่อบริษัทผู้ยื่นขอรับรองคุณสมบัติของสินค้าทางด้านถิ่นกำเนิด
              -rovers_allow_doc_no : เลขที่หนังสือยินยอมให้ใช้ผลการตรวจสอบคุณสมบัติทางด้านถิ่นกำเนิดสินค้า
              -rovers_allow_doc_date : วันที่ออกหนังสือยินยอมให้ใช้ผลการตรวจสอบคุณสมบัติทางด้านถิ่นกำเนิดสินค้า
-->
<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns="http://edi.dft.go.th/schema/Form4_5.xsd" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="http://edi.dft.go.th/schema/Form4_5.xsd" 
	elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="Form4_5">
		<xs:complexType>
			<xs:sequence>
				<!-- ข้อมูลส่วนหลัก -->
				<xs:element name="Form4_5Header">
					<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>รหัสสถานที่ที่จะไปรับ (ใช้รหัส ดูรายละเอียดได้จาก Site_Code ด้านล่างของข้อมูล)</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 หรือ  Other (O/B)</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:enumeration value="O/TOB"/>
												</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</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="Form4_5_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:unsignedInt">
													<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="transport_by">
											<xs:annotation>
												<xs:documentation>Means of transport and route (as far as known)</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>
							<!-- ข้อมูลช่องที่ 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)(ใช้รหัส ดูรายละเอียดได้จาก Unit_Code ด้านล่างของข้อมูล)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity1">
											<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">
											<xs:annotation>
												<xs:documentation>รหัสหน่วย (ดูรายละเอียดได้จากตารางรหัสหน่วย)</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="quantity2" 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" 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" 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" 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" minOccurs="0">
											<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 (รับรอง) => 6/6/2011 ยกเลิกไม่ต้องส่งส่วนนี้เพราะระบบจะดึงข้อมูลมาให้อัตโนมัติ -->
							<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>
							<!-- ข้อมูลสำหรับบริษัทที่ต้องการออกหนังสือรับรอง JTEPA แบบลงลายมือชื่อและตราประทับอิเล็กทรอนิกส์ (Electronic Signature and Seal) -->
							<xs:element name="SealSignSupported" minOccurs="0" 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="Form4_5Detail">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Form4_5Product" minOccurs="1" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<!-- ข้อมูลรายการสินค้าและราคา -->
										<xs:element name="Form4_5DetailProduct">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="product_title" minOccurs="0" maxOccurs="1">
														<xs:annotation>
															<xs:documentation>สำหรับเฉพาะกลุ่มรถยนต์ => ข้อความ product title สำหรับแสดงก่อน HS.CODE พิกัดสินค้า (ใส่เฉพาะในลำดับที่รายการที่ต้องการแสดงเท่านั้น)</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>พิกัด</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<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="model_name" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>รุ่นของสินค้า (ต้องระบุชื่อรุ่นสินค้า กรณีใช้พิกัดกรณีที่ใช้พิกัดศุลกากรภายใต้พิกัดที่ 84, 85 และ 87)</xs:documentation>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="200" />
                              </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="mark">
														<xs:annotation>
															<xs:documentation>Mark</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="box8" minOccurs="1" maxOccurs="1">
														<xs:annotation>
															<xs:documentation>แห่งกำเนิดสินค้า</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:enumeration value="WO"/>
																<xs:enumeration value="PE"/>
																<xs:enumeration value="PS"/>
																<!--
                                  WO = สินค้าที่กำเนิดหรือผลิตโดยใช้วัตถุดิบที่กำเนิดในประเทศทั้งหมด
                                  PE = สินค้าที่ผลิตโดยใช้วัตถุดิบนำเข้าที่มีการแปรสภาพในประเทศอย่างเพียงพอจนถือเป็นถิ่นกำเนิดในประเทศ 
                                  PS = เป็นวัสดุที่นำเข้าจากต่างประเทศ
                                -->
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<!-- ข้อมูลเกี่ยวกับการตรวจสอบต้นทุน -->
										<xs:element name="Form4_5DetailCost" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="check_asset">
														<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:element name="check_asset_country" type="Asset_Country">
														<xs:annotation>
															<xs:documentation>รหัสประเทศที่ขอใช้สิทธิฯ ผลการตรวจสอบต้นทุน (กรณีใช้ต้นทุนตัวเอง)(ดูรายละเอียดได้จาก Asset_Country ด้านล่างของข้อมูล)</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="check_asset_date" type="Date" minOccurs="0">
														<xs:annotation>
															<xs:documentation>วันที่บันทึกผลการตรวจสอบต้นทุน (กรณีใช้ต้นทุนตัวเอง)(รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="asset_shares_tax">
														<xs:annotation>
															<xs:documentation>เลขประตัวผู้เสียภาษี (กรณีใช้ต้นทุนร่วม)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:maxLength value="13"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="asset_shares">
														<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:element name="asset_shares_country" type="Asset_Country">
														<xs:annotation>
															<xs:documentation>รหัสประเทศที่ขอใช้สิทธิฯ ผลการตรวจสอบต้นทุน   (กรณีใช้ต้นทุนร่วม)(ดูรายละเอียดได้จาก Asset_Country)</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="asset_shares_date" type="Date" minOccurs="0">
														<xs:annotation>
															<xs:documentation>วันที่บันทึกผลการตรวจสอบต้นทุน (กรณีใช้ต้นทุนร่วม)(รูปแบบ YYYYMMDD เช่น 20100129(ใช้ ค.ศ.))</xs:documentation>
														</xs:annotation>
													</xs:element>
                          <xs:element name="rovers_owner_company" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>ขื่อบริษัทเจ้าของผลการตรวจคุณสมบัติฯ (กรณีใช้ต้นทุนร่วม)</xs:documentation>
                            </xs:annotation>
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="200" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="rovers_allow_doc_no" 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="rovers_allow_doc_date"  type="Date" minOccurs="0">
                            <xs:annotation>
                              <xs:documentation>หนังสือยินยอมให้ใช้ผลการตรวจสอบคุณสมบัติทางด้านถิ่นกำเนิดสินค้า (กรณีใช้ต้นทุนร่วม) - รูปแบบ ค.ศ. YYYYMMDD เช่น 20100129</xs:documentation>
                            </xs:annotation>
                          </xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- ข้อมูลส่วนไฟล์ Scan เอกสารแนบ -->
				<xs:element name="Form4_5Attach" 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="ST-001"/>
			<xs:enumeration value="ST-002"/>
			<xs:enumeration value="ST-003"/>
			<xs:enumeration value="ST-004"/>
			<xs:enumeration value="CB-003"/>
			<xs:enumeration value="CM-001"/>
			<!--xs:enumeration value="CR-006" />
      <xs:enumeration value="HY-002" />
      <xs:enumeration value="NK-005" />
      <xs:enumeration value="SK-004" />
      <xs:enumeration value="ST-001R" />
      <xs:enumeration value="ST-001T" />
      <xs:enumeration value="ST-005" /-->
			<!-- รหัสของสถานที่รับ
        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="Form4_5_Country_List">
		<xs:restriction base="xs:string">
			<xs:enumeration value="JP"/>
			<!-- รหัสประเทศปลายทาง
         JP=JAPAN      
      -->
		</xs:restriction>
	</xs:simpleType>
	<!-- รหัสประเทศ ตรวจสอบต้นทุน-->
	<xs:simpleType name="Asset_Country">
		<xs:restriction base="xs:string">
			<xs:enumeration value=""/>
			<xs:enumeration value="40"/>
			<!-- รหัสประเทศสำหรับการตรวจสอบต้นทุน
	  
		40=JAPAN-Form JTEPA (FTA)                        
-->
		</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>
