Import Compliance

Guide to Invoice/Pre-Entry

XML Message Creation

 

 

Publication Date:  March, 2008


Table of Contents

Table of Contents  2

Introduction to XML Message Creation  3

Purpose of the XML Message  3

When to Send the XML Message  3

Sample XML Messages  4

Single Commercial Invoice with 1 line item   5

Multiple Commercial Invoices  9

Single Commercial Invoice with 1 line and 1 OGA  16

Ocean Shipment – Single Commercial Invoice with multiple lines  24

Air Shipment – Single Commercial Invoice with multiple lines  29

Truck Shipment – Single Commercial Invoice with multiple lines  34

Invoice/Pre-Entry XML Message Schema  39

Appendix  68

Entry Type Codes  68

Unit of Measure Codes  70

DOT Box Codes  72

Adjustment Codes  72


 

Introduction to XML Message Creation

 

Overview

This documentation is designed to provide you with instructions and examples of XML messages that the Supplier and/or Broker can submit to the Kewill Import Compliance application.  These XML messages represent a shipment that will contain one or more Commercial Invoices or ProForma Invoices. 

 

 

Purpose of the XML Message

 

Purpose

This purpose of the XML message is to provide Commercial Invoice or ProForma Invoice data that represents the shipment in a form that can be loaded into the Import Compliance application.

 

 

When to Send the XML Message

 

Timing

The XML message must be created and sent as follows:

  • Truck Shipment – At least one (1) hour before the expected border crossing.
  • Air Shipment – Prior to the cargo arriving at the destination, or, if a “wheels-up” approach is being used for filing of the Customs Entry, prior to “wheels-up”
  • Ocean Shipment – Best practice is at least one (1) calendar week prior to the arrival of the Vessel at the Port of Unloading.

 


Sample XML Messages

 

Sample XML Messages

 


Single Commercial Invoice with 1 line item

 

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

<Consolidated xmlns="http://www.tradepointsystems.com/ic/upload/invoice" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoCAtion="http://www.tradepointsystems.com/ic/upload/invoice">

 <Invoice>

  <Invoice_No>JDE00015220</Invoice_No>

  <Invoice_Type>PI</Invoice_Type>

  <ReleasePort>0401</ReleasePort>

  <Invoice_Date>2007-02-09T00:00:00</Invoice_Date>

  <Currency>US</Currency>

  <TransType>AIR</TransType>