Système des contrôles à l'exportation et à l'importation - Document du participant sur les exigences

Annexe A – Transactions EDI

Cette annexe fournit des détails sur les transactions EDI.

  • La section 1 fournit des exemples de fichiers XML.
  • La section 2 présente la structure des transactions d'accusé de réception SCEI, suivie d'exemples.
  • La section 3, qui n'est pas disponible en-ligne, comprend les renseignements et la structure nécessaires à la transmission d'une demande de licence d'exportation ou d'importation; d'une annulation d'une demande de licence; et au retrait d'une demande d'annulation. Pour obtenir la section 3 de ce document veuilliez communiquez avec la Direction générale de la règlementation commerciale et des obstacles techniques.

1. Exemple de fichiers XML

1.1 Demande de licence

<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE Permit_Applications SYSTEM “EICS_Permit_Application V2R2.dtd”>
<Permit_Applications>
<User_Id>userid</User_Id>
<Application>
<Exporter_Importer>
<Exp_Imp_EICS_File_Number>17</Exp_Imp_EICS_File_Number>
</Exporter_Importer>
<Applicant>
<Applicant_EICS_File_Number>60001</Applicant_EICS_File_Number>
</Applicant>
<General_Entries General_Export_Import_Ind=”I” General_Language_Preference=”E” General_Payment_Method=”5” General_Distribution_Mode=”1” General_Delivery_Target=”3” General_Sensitive_Goods_Ind=”0”>
<General_Reference_Number>Reference 2001 05 23 1</General_Reference_Number>
<General_Comments>General comment 1</General_Comments>
<General_Entry_Exit_Date>2001/05/23</General_Entry_Exit_Date>
<General_Entry_Exit_Port>0101</General_Entry_Exit_Port>
<General_Distribution_Mechanism_Desc>Mailed</General_Distribution_Mechanism_Desc>
</General_Entries>
<Item>
<Commodity Cmdty_Document_Attached_Ind=”0” Cmdty_Canadian_Currency_Ind=”1” Cmdty_Unit_Of_Measure=”1”>
<Cmdty_Code>72142000000000</Cmdty_Code>
<Cmdty_Desc>Steel</Cmdty_Desc>
<Cmdty_Quantity>1000</Cmdty_Quantity>
<Cmdty_Value>2000</Cmdty_Value>
</Commodity>
<Export_Import_Détails>
<Exp_Imp_Det_Origin_Destination_Country>FR</Exp_Imp_Det_Origin_Destination_Country>
</Export_Import_Détails>
<Import_Specifics>
<Imp_Spec_Origin_Country>FR</Imp_Spec_Origin_Country>
<Imp_Spec_Shipment_Date>2001/05/23</Imp_Spec_Shipment_Date>
<Imp_Spec_End_Use_Desc>Structures</Imp_Spec_End_Use_Desc>
</Import_Specifics>
<Supplier_Consignee_Détails Supplier_Consignee_Role=”5”>
<Supplier_Consignee_Name>Company A</Supplier_Consignee_Name>
<Supplier_Consignee_Last_Name>Lastname</Supplier_Consignee_Last_Name>
<Supplier_Consignee_First_Name>Firstname</Supplier_Consignee_First_Name>
<Supplier_Consignee_Address_Line_1>a1</Supplier_Consignee_Address_Line_1>
<Supplier_Consignee_Address_Line_2>a2</Supplier_Consignee_Address_Line_2>
<Supplier_Consignee_Address_Line_3>a3</Supplier_Consignee_Address_Line_3>
<Supplier_Consignee_City>city x</Supplier_Consignee_City>
<Supplier_Consignee_Province_State>ON</Supplier_Consignee_Province_State>
<Supplier_Consignee_Postal_Zip>A1A1A1</Supplier_Consignee_Postal_Zip>
<Supplier_Consignee_Country>CA</Supplier_Consignee_Country>
</Supplier_Consignee_Détails>
</Item>
</Application>
</Permit_Applications>

1.2 Accusé de réception EDI

Exemple 1

<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE Acknowledgements SYSTEM “EICS_Acknowledgement V0R4.DTD”>
<Acknowledgements>
<Transactions_Received>1</Transactions_Received>
<Transactions_Processed>1</Transactions_Processed>
<Transactions_In_Error>0</Transactions_In_Error>
<Ack_Date_Time>2001-05-25 14:06:02</Ack_Date_Time>
<User_Id>pageauc</User_Id>
<Acknowledgement>
<General_Reference_Number>Reference 2001 04 05 1</General_Reference_Number>
<Pending_Permit_Application_Id>0</Pending_Permit_Application_Id>
<Permit_Application_Id>644</Permit_Application_Id>
<Permit_Id>369</Permit_Id>
<Message Severity=”NOTIFY”>
<Description>
NONE</Description>
</Message>
</Acknowledgement>
</Acknowledgements>

Exemple 2

<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE Acknowledgements SYSTEM “Eics_Acknowledgement V0R4.dtd”>
<Acknowledgements>
<Transactions_Received>1</Transactions_Received>
<Transactions_Processed>0</Transactions_Processed>
<Transactions_In_Error>1</Transactions_In_Error>
<Ack_Date_Time>2001-05-24 17:03:18</Ack_Date_Time>
<User_Id>B3</User_Id>
<Acknowledgement>
<General_Reference_Number>111716</General_Reference_Number>
<Pending_Permit_Application_Id>1680</Pending_Permit_Application_Id>
<Permit_Application_Id>0</Permit_Application_Id>
<Permit_Id>0</Permit_Id>
<Message Severity=”ERROR”>
<Description>
E005 Invalid General_Entry_Exit_Port
</Description>
</Message>
</Acknowledgement>
</Acknowledgements>

2. Fichiers de définition de type de données (DTD)

(copier-coller le contenu)

2.1 Demande de licence  (DTD Version V2R2)

--copiez au-dessous--

< <?xml version=”1.0” encoding=”UTF-8”?>
<!--à
<!ELEMENT Permit_Applications (User_Id, Application+)>
<!ELEMENT User_Id (#PCDATA)>
<!ELEMENT Application (Exporter_Importer, Applicant, General_Entries, Item+)>
<!-- Exporter/Importer information à
<!ELEMENT Exporter_Importer ((Exp_Imp_EICS_File_Number | Exp_Imp_CCRA_Business_Number))>
<!ELEMENT Exp_Imp_EICS_File_Number (#PCDATA)>
<!-- Applicant information à
<!ELEMENT Applicant ((Applicant_EICS_File_Number | Applicant_CCRA_Business_Number))>
<!ELEMENT Applicant_EICS_File_Number (#PCDATA)>
<!ELEMENT Applicant_CCRA_Business_Number (#PCDATA)>
<!-- General Entries information à
<!ELEMENT General_Entries (General_Reference_Number, General_CCRA_Transaction_Number?, General_Comments?, General_Entry_Exit_Date, General_Entry_Exit_Port?, General_Distribution_Mechanism_Desc?, General_Broker_Outpost_Number?)>
<!ATTLIST General_Entries
General_Export_Import_Ind (E | e | I | I) #REQUIRED
General_Language_Preference (E | e | F | f) #REQUIRED
General_Payment_Method (1 | 2 | 3 | 4 | 5) #REQUIRED
General_Distribution_Mode (1 | 2 | 3 | 4 | 5 | 6 | 7) #REQUIRED
General_Delivery_Target (1 | 2 | 3 | 4 | 5) #REQUIRED
General_Sensitive_Goods_Ind (0 | 1) #REQUIRED

<!ELEMENT General_Reference_Number (#PCDATA)>
<!ELEMENT General_CCRA_Transaction_Number (#PCDATA)>
<!ELEMENT General_Comments (#PCDATA)>
<!ELEMENT General_Entry_Exit_Date (#PCDATA)>
<!ELEMENT General_Entry_Exit_Port (#PCDATA)>
<!ELEMENT General_Distribution_Mechanism_Desc (#PCDATA)>
<!ELEMENT General_Broker_Outpost_Number (#PCDATA)>
<!-- Permit application item information à
<!ELEMENT Item (Commodity, Export_Import_Détails, Export_Specifics?, Import_Specifics?, Export_License_Détails?, Export_Military_Technical?, Export_Softwood_Lumber?, Supplier_Consignee_Détails+)>
<!-- Commodity information à
<!ELEMENT Commodity (Cmdty_Code?, Cmdty_Desc?, Cmdty_Quantity, Alternate_Quantity?, Cmdty_Value)>
<!ATTLIST Commodity
Cmdty_Document_Attached_Ind (0 | 1) #REQUIRED
Cmdty_Canadian_Currency_Ind (0 | 1) #REQUIRED
Cmdty_Unit_Of_Measure (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18) #REQUIRED

<!ELEMENT Cmdty_Code (#PCDATA)>
<!ELEMENT Cmdty_Desc (#PCDATA)>
<!ELEMENT Cmdty_Quantity (#PCDATA)>
<!ELEMENT Alternate_Quantity (#PCDATA)>
<!ELEMENT Cmdty_Value (#PCDATA)>
<!-- Export/import details information à
<!ELEMENT Export_Import_Détails (Exp_Imp_Det_Origin_Destination_Country, Exp_Imp_Det_Fibre_Origin_Country?, Exp_Imp_Det_Yarn_Origin_Country?, Exp_Imp_Det_Fabric_Origin_Country?)>
<!ATTLIST Export_Import_Détails
Exp_Imp_Det_NAFTA_CCFTA_Proc_Type (1 | 2 | 3 | 4) #IMPLIED

<!ELEMENT Exp_Imp_Det_Origin_Destination_Country (#PCDATA)>
<!ELEMENT Exp_Imp_Det_Fibre_Origin_Country (#PCDATA)>
<!ELEMENT Exp_Imp_Det_Yarn_Origin_Country (#PCDATA)>
<!ELEMENT Exp_Imp_Det_Fabric_Origin_Country (#PCDATA)>
<!-- Export specifics information à
<!ELEMENT Export_Specifics (Exp_Spec_Origin_Country, Exp_Spec_Shipment_Date, Exp_Spec_End_Use_Desc?)>
<!ATTLIST Export_Specifics
Exp_Spec_Spécial_Condition_Code (1 | 2) #IMPLIED

<!ELEMENT Exp_Spec_Origin_Country (#PCDATA)>
<!ELEMENT Exp_Spec_Shipment_Date (#PCDATA)>
<!ELEMENT Exp_Spec_End_Use_Desc (#PCDATA)>
<!-- Import specifics information à
<!ELEMENT Import_Specifics (Imp_Spec_Origin_Country, Imp_Spec_Shipment_Date, Imp_Spec_End_Use_Desc?)>
<!ATTLIST Import_Specifics
Imp_Spec_Multiload_Shipment_Ind (0 | 1) #IMPLIED
Imp_Spec_Spécial_Condition_Code (1 | 2) #IMPLIED

<!ELEMENT Imp_Spec_Origin_Country (#PCDATA)>
<!ELEMENT Imp_Spec_Shipment_Date (#PCDATA)>
<!ELEMENT Imp_Spec_End_Use_Desc (#PCDATA)>
<!-- Export license details information à
<!ELEMENT Export_License_Détails (Exp_License_Number?, Exp_License_Date?, Exp_License_Quantity?, Exp_License_Trade_Agrmnt_Number?)>
<!ATTLIST Export_License_Détails
Exp_License_Document_Attached_Ind (0 | 1) #IMPLIED

<!ELEMENT Exp_License_Number (#PCDATA)>
<!ELEMENT Exp_License_Date (#PCDATA)>
<!ELEMENT Exp_License_Quantity (#PCDATA)>
<!ELEMENT Exp_License_Trade_Agrmnt_Number (#PCDATA)>
<!-- Export military/technical information à
<!ELEMENT Export_Military_Technical (Exp_Mil_Tech_Unit_Value?, Exp_Mil_Tech_Net_Weight?, Exp_Mil_Tech_Percent_US_Content?)>
<!ELEMENT Exp_Mil_Tech_Unit_Value (#PCDATA)>
<!ELEMENT Exp_Mil_Tech_Net_Weight (#PCDATA)>
<!ELEMENT Exp_Mil_Tech_Percent_US_Content (#PCDATA)>
<!-- Export softwood lumber information à
<!ELEMENT Export_Softwood_Lumber (Exp_SL_US_Entry_Port, Exp_SL_Manufacturer_Business_Num, Exp_SL_Document_Entry_Number?, Exp_SL_US_Importer_Name, Exp_SL_Quota_Pool_Id?)>
<!ATTLIST Export_Softwood_Lumber
Exp_SL_Transport_Mode (1 | 2 | 3) #REQUIRED
Exp_SL_Fees_Paid_Ind (0 | 1) #IMPLIED

<!ELEMENT Exp_SL_US_Entry_Port (#PCDATA)>
<!ELEMENT Exp_SL_Manufacturer_Business_Num (#PCDATA)>
<!ELEMENT Exp_SL_Document_Entry_Number (#PCDATA)>
<!ELEMENT Exp_SL_US_Importer_Name (#PCDATA)>
<!ELEMENT Exp_SL_Quota_Pool_Id (#PCDATA)>
<!-- Supplier Consignee information à
<!ELEMENT Supplier_Consignee_Détails (Supplier_Consignee_Name, Supplier_Consignee_Last_Name?, Supplier_Consignee_First_Name?, Supplier_Consignee_Address_Line_1?, Supplier_Consignee_Address_Line_2?, Supplier_Consignee_Address_Line_3?, Supplier_Consignee_City?, Supplier_Consignee_Province_State?, Supplier_Consignee_Postal_Zip?, Supplier_Consignee_Country)>
<!ATTLIST Supplier_Consignee_Détails
Supplier_Consignee_Role (1 | 2 | 3 | 4 | 5) #REQUIRED

<!ELEMENT Supplier_Consignee_Name (#PCDATA)>
<!ELEMENT Supplier_Consignee_Last_Name (#PCDATA)>
<!ELEMENT Supplier_Consignee_First_Name (#PCDATA)>
<!ELEMENT Supplier_Consignee_Address_Line_1 (#PCDATA)>
<!ELEMENT Supplier_Consignee_Address_Line_2 (#PCDATA)>
<!ELEMENT Supplier_Consignee_Address_Line_3 (#PCDATA)>
<!ELEMENT Supplier_Consignee_City (#PCDATA)>
<!ELEMENT Supplier_Consignee_Province_State (#PCDATA)>
<!ELEMENT Supplier_Consignee_Postal_Zip (#PCDATA)>
<!ELEMENT Supplier_Consignee_Country (#PCDATA)>

--fin de copie--

2.2 Accusé de réception

<?xml version=”1.0” encoding=”UTF-8”?>
<!ELEMENT Acknowledgements (Transactions_Received, Transactions_Processed, Transactions_In_Error, Ack_Date_Time, User_Id, Acknowledgement+)>
<!ELEMENT Transactions_Received (#PCDATA)>
<!ELEMENT Transactions_Processed (#PCDATA)>
<!ELEMENT Transactions_In_Error (#PCDATA)>
<!ELEMENT Ack_Date_Time (#PCDATA)>
<!ELEMENT User_Id (#PCDATA)>
<!ELEMENT Acknowledgement (General_Reference_Number, Pending_Permit_Application_Id?, Permit_Application_Id?, Permit_Id?, Message+)>
<!ELEMENT General_Reference_Number (#PCDATA)>
<!ELEMENT Pending_Permit_Application_Id (#PCDATA)>
<!ELEMENT Permit_Application_Id (#PCDATA)>
<!ELEMENT Permit_Id (#PCDATA)>
<!ELEMENT Message (Description)>
<!ATTLIST Message Severity (NOTIFY | ERROR) #REQUIRED>
<!ELEMENT Description (#PCDATA)>