<?xml version="1.0" encoding="UTF-8"?>

<!-- 
	Specifying the XML namespace and schema location are optional.  However,
	any entry that is submitted via this webservice will be validated against
	the http://www.netchb.com/xml/isf/isf.xsd schema.
-->
<isf
	 xmlns="http://www.netchb.com/xml/isf"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	 xsi:schemaLocation="http://www.netchb.com/xml/isf
	     http://www.netchb.com/xml/isf/isf.xsd">
	
	<!-- transmit is optional, if present, system will transmit ISF to U.S. customs
	once it has been uploaded to this system -->
	<transmit/>
	
	<!-- reference number is optional -->
	<reference-number>12345</reference-number>
	
	<isf-submission-type>1</isf-submission-type>
	
	<shipment-type>01</shipment-type>
	<transaction-type>CT</transaction-type>
	<importer>
		<tax-id>11-1234567</tax-id>
		<!-- date-of-birth and name are required if the tax id used is the SSN -->
		<!--date-of-birth>1990-01-02</date-of-birth-->
        <!--name>IMPORTER NAME</name-->
	</importer>
	<mode-of-transport>
		<containerized/>
	</mode-of-transport>
	<carrier>ABCD</carrier>

	<bond-information>
		<bond-holder>
			<importer/>
		</bond-holder>
		<bond-holder-id>11-1234567</bond-holder-id>
		<bond-type>
			<continuous/>
		</bond-type>
		
		<!-- surety code should only be included if the bond holder is importer or broker
			and the bon-type is single-transaction -->
		<!--<surety-code>222</surety-code>-->
	</bond-information>
	
	<!-- master scac and master bill are optional -->
	<master-scac>ABCD</master-scac>
	<master-bill>1234567890</master-bill>
	
	<!-- cbp entry number is optional -->
	<!--
	<cbp-entry-number>
		<filer-code>ABC</filer-code>
		<entry-number>0000001</entry-number>
		<check-sum>1</check-sum>
	</cbp-entry-number>
	-->
	
	<!-- estimated departure and arrival dates are optional -->
	<estimated-departure-date>2013-08-01</estimated-departure-date>
	<estimated-arrival-date>2013-08-10</estimated-arrival-date>
	
	<!-- informal-shipment-information is optional, but all 6 sub-elements are required if this tag is present.
	This is used when the Shipment Type is 11 and ISF type is 10 -->
	<!--informal-shipment-information>
	    <shipment-sub-type>02</shipment-sub-type>
	    <estimated-value>7000</estimated-value>
	    <estimated-quantity>20</estimated-quantity>
	    <unit-of-measure>CAR</unit-of-measure>
	    <estimated-weight>1000</estimated-weight>
	    <weight-qualifier>K</weight-qualifier>
     </informal-shipment-information-->
	
	
	<!-- at least one bill of lading must be included -->
	<bills-of-lading>
		<bill-of-lading>
			<bill-type>BM</bill-type>
			<issuer-scac>ABCD</issuer-scac>
			<bill-number>12345678</bill-number>
		</bill-of-lading>
		<bill-of-lading>
			<bill-type>BM</bill-type>
			<issuer-scac>ABCD</issuer-scac>
			<bill-number>12345679</bill-number>
		</bill-of-lading>
	</bills-of-lading>
	
	<!-- container information is optional -->
	<!--
	<containers>
		<container>
			<description-code>20</description-code>
			<equipment-initial>1234</equipment-initial>
			<equipment-number>123456789</equipment-number>
			<check-digit>1</check-digit>
			<size-type-code>20</size-type-code>
		</container>
	</containers>
	-->
	
	<entities>
		<!-- Consignee should appear as follows, and must contain <entity-id> with a tax id -->
		<entity>
			<entity-code>CN</entity-code>
			<entity-name>A CONSIGNEE</entity-name>
			<entity-information>
				<entity-id>11-1234567</entity-id>
				<!-- date-of-birth is required if the tax id used is the SSN -->
				<!--date-of-birth>1990-01-02</date-of-birth-->
			</entity-information>
		</entity>
		<entity>
			<!-- in this case, the buyer's address is specified -->
			<entity-code>BY</entity-code>
			<entity-name>A BUYER</entity-name>
			<entity-information>
				<entity-address>
					<secondary-name-code>DH</secondary-name-code>
					<secondary-name>BUYER'S COMPANY NAME</secondary-name>
					<address-components>
						<address-component>
							<component-type>01</component-type>
							<address-information>123</address-information>
						</address-component>
						<address-component>
							<component-type>02</component-type>
							<address-information>STREET NAME</address-information>
						</address-component>
					</address-components>
					<city>SOME CITY</city>
					<!-- state-province-code and postal code should be included if known -->
					<state-province-code>CA</state-province-code>
					<postal-code>90890</postal-code>
					<country>US</country>
				</entity-address>
			</entity-information>
			<email-address>buyer@email.com</email-address>
			<email-isf/>
			<email-status-updates/>
		</entity>
		<entity>
			<!-- for the ship to party, the FIRMS code can be used -->
			<entity-code>ST</entity-code>
			<entity-name>SHIP TO PARTY</entity-name>
			<entity-information>
				<entity-id>A234</entity-id>
			</entity-information>
		</entity>
		<entity>
			<!-- in this case, the seller is identified by their DUNS number -->
			<entity-code>SE</entity-code>
			<entity-name>A SELLER</entity-name>
			<entity-information>
				<entity-id>123456789</entity-id>
			</entity-information>
		</entity>
		<entity>
			<!-- For manufacturers, product information should be included -->
			<entity-code>MF</entity-code>
			<entity-name>A Manufacturer</entity-name>
			<entity-information>
				<entity-id>987654321</entity-id>
			</entity-information>
			<product-information>
				<product>
					<tariff-number>1234567890</tariff-number>
					<country-of-origin>CN</country-of-origin>
					<!-- all of the following fields are optional -->
					<part-number>123</part-number>
					<census-quantity1>50</census-quantity1>
					<census-quantity2>60</census-quantity2>
					<invoice-quantity>5.5</invoice-quantity>
					<invoice-unit-value>10</invoice-unit-value>
					<invoice-value>55</invoice-value>
				</product>
				<product>
					<tariff-number>5678901234</tariff-number>
					<country-of-origin>CN</country-of-origin>
				</product>
			</product-information>
		</entity>
	</entities>
</isf>