CUSDEC Declaración situación aduanera previa a la carga



Documentos relacionados
CUSDEC Declaración situación aduanera previa a la carga

Customs declaration message CUSDEC. Declaración situación aduanera previa a la carga. Portic GUÍA PARA EL MENSAJE CUSDEC FORMATO EDISIMPLEX

Customs declaration message CUSDEC. Declaración situación aduanera previa a la carga. Portic

Modulo de Integración del Levante Sin Papeles de Exportación

Procedimiento de tramitación aduanera de exportación

Intercambios de información entre la Autoridad Portuaria de Barcelona y las terminales de carga

DECLARACIONES SUMARIAS DE DESCARGA

DECLARACIÓN SUMARIA DE DESCARGA

DEPARTAMENTO DE INFORMÁTICA TRIBUTARIA Subdirección General de Aplicaciones de Aduanas e II.EE. C/ Santa Maria Magdalena 16, Madrid

Procedimiento de Listas de descarga y carga

Guía rápida de la Oficina Virtual Área Web y Administración Electrónica

MANIFIESTOS DE CARGA

GUIA DE IMPLANTACIÓN MEXICANA (GIM)

Anexo 6. Procesos documentales informatizados del Servicio Nacional de Aduanas

Sistema de comunicación Transporte - Distribución

Añadido de Funcionalidades en D2 para su lanzamiento en BATCH

Manual de uso de la Administración ITALO

PROCEDIMIENTOS DE DECLARACIONES SUMARIAS Y MANIFIESTOS DE CARGA

MANUAL DE USUARIO FACTURACIÓN ELECTRÓNICA

Formato de Mensaje de Solicitud de Creación de Viajes

GUÍA PARA INICIAR UN TRÁMITE DESDE LA OFICINA VIRTUAL

INSTRUCCIONES DE LLENADO DOCUMENTO DE TRANSPORTE AÉREO PROYECTO ISIDORA

GUÍA DEL USUARIO Subset del Mensaje IFCSUM Directorio EDIFACT D93.A DECLARACIONES SUMARIAS Versión 3.3 de Septiembre de 2010

GUIA DE IMPLANTACIÓN MEXICANA (GIM)

MANIFIESTO MARITIMO DE IMPORTACION

P/. Factura Electrónica D/. Manual de Usuario Proveedores

MARFIL CONTABILIDAD ACTUALIZACIÓN FEBRERO 2011

OFICINA INTERNET EMPRESAS

MINISTERIO DE AGRICULTURA, ALIMENTACIÓN Y MEDIO AMBIENTE

DOCUMENTO CONTRATO DEL SERVICIO

500 SUBCONJUNTO DE CUSDEC y CUSRES GUIA DE USUARIO UN / EDIFACT. II.EE. Documento de Acompañamiento 500 / 503

Sistema de Liquidación Directa

CONTROL VIAJES 1) Concepto: fin de viaje salida de viaje Nota importante:

FSE2007. Formato de fichero de Verificaciones UAFSE-FSE2007. Formato de fichero de Verificaciones. Página 1 de 8 FSE2007

TRANSMISIÓN ELECTRONICA DEL MANIFIESTO DE CARGA POR VIA AEREA

MANUAL DE USUARIO DE LA APLICACIÓN DE ACREDITACION DE ACTIVIDADES DE FORMACION CONTINUADA. Perfil Entidad Proveedora

Procedimiento de contratación del transporte marítimo en el Puerto de Barcelona

Guía paso a paso para la cumplimentación del formulario de candidatura

Manual de Usuario para la Recepción de Datos de Listas de Embarque

IFTSTA NOTIFICACIÓN DE EVENTO GUÍA DEL MENSAJE IFTSTA D99B EDISIMPLEX

Estructura Elemento: EstadoDeCuentaCombustible Diagrama

Versión 3.0 Última modificación: 25/04/12

Guía del Gestor de anuncios por Acuerdo de Publicación

GENERACIÓN DE ANTICIPOS DE CRÉDITO

Contenido. Complemento de Estado de Cuenta Bancario. Estructura

MANUAL DE LA APLICACIÓN HELP DESK

Contenido 1 INTRODUCCIÓN. Universidad Pablo de Olavide, de Sevilla Vicerrectorado de TIC, Calidad e Innovación

Integración SIGA-EJIS en la Comunidad Valenciana

Plan de Contingencias

PortaldelProveedor. portalproveedores.cartagena.es. Presentatu. facturaelectrónica. Ayuntamiento decartagena. enel

Manual de Usuario de la Herramienta SICRES-Tester. SIR Sistema de Interconexión de Registros. Tipo de documento. Fecha de entrega 08/04/2014

Servicio de Informática

GENERACIÓN DE TRANSFERENCIAS

DEPARTAMENTO DE INFORMÁTICA TRIBUTARIA Subdirección General de Aplicaciones de Aduanas e II.EE. C/ Santa Maria Magdalena 16, Madrid IMPORTACIÓN

1.- INTRODUCCIÓN 2.- PARÁMETROS

Introducción a la Firma Electrónica en MIDAS

(Certificado de Empresa): guía para las empresas

Agencia Tributaria. Departamento de Aduanas e Impuestos Especiales Subdirección General de Gestión Aduanera T2L ELECTRÓNICO (E-T2L).

SINAUTO. (Captura Requirimientos) GRUPO 03

Manual de Usuario Cuadratura Emitidos

SIIGO Pyme. Informes de Saldos y Movimientos de Inventarios. Cartilla I

Vicerrectorado de Planificación, Calidad, Responsabilidad Social y Comunicación

VENTANILLA UNICA NACIONAL MARITIMO PORTUARIA SISTEMA DUEPORT. Directiva 2010/65/UE RD 1334/2012, de 21 de septiembre

GVisualPDA Módulo de Almacén

Formato de Mensaje de Manifiesto de Entrega Rápida

Aclaraciones al formato Facturae para los proveedores del Servicio Canario de Salud (SCS)

MANUAL TÉCNICO Sistema Declaración Informativa de Inversiones en Jurisdicciones de Baja Imposición Fiscal (JBIF) Versión 2.0

Guía de Obtención de Certificados para la Facturación Electrónica en Adquira Marketplace.

Aplicación Comunicaciones AAPP

PREGUNTAS MÁS FRECUENTES EN RELACIÓN CON LA APLICACIÓN

SOFTWARE DE CONTROL DE CALIDAD DE MANTENIMIENTO Y LIMPIEZA

Región de Murcia Consejería de Educación, Ciencia e Investigación. Manual Usuario FCT

Cómo se hace para? 1. Descripción del trámite paso a paso para anular una boleta de honorarios electrónica. (Ver página 5)

GUÍA DE SOPORTE AL INTERCAMBIO DE FACTURAS EN FORMATO EDIFACT

SERIES DE DOCUMENTOS MARFIL GESTIÓN

Sistema de Comunicación Transporte - Distribución

MINISTERIO DE HACIENDA Dirección General de Aduanas GUÍA PARA EMPRESAS DESCONSOLIDADORAS DE CARGA MARÍTIMA

Manual de Usuario Módulo Gestión de Vistas

Formatos de Mensajes 10/09/2015

Definir las características y contenido de los archivos, donde se reporta la Elaboración de facturación por litógrafos y tipógrafos.

GUÍA DEL USUARIO LISTA DE TRIPULANTES/PASAJEROS

SERVICIO WEB ESTADO DOCUMENTOS TRAMITADOS GUÍA USO

Manual de Usuario Portic Reports Versión: 1.3. Manual de Usuario Portic Reports

Instrucciones a Terminales en valenciaportpcs.net

SSIEDI GESTOR DE COMUNICACIONES TELEPROCESO

LA FACTURA ELECTRÓNICA

ÍNDICE 1 DESCRIPCIÓN 3 2 OPERATIVA DE LA FUNCIÓN 3 3 REGISTRO DE FACTURAS 4 4 REGISTRO MASIVO DE FACTURAS 10

MINISTERIO DE HACIENDA Dirección General de Aduanas GUÍA PARA LA TRANSMISIÓN DEL MANIFIESTO DE CARGA LINEAS AÉREAS

GESTIÓN DOCUMENTAL PARA EL SISTEMA DE CALIDAD

Sistema de Información de Productos Petrolíferos PROCEDIMIENTO GENERAL DE INTRODUCCIÓN DE DATOS Y ENVÍO DE LA INFORMACIÓN

GUIA APLICACIÓN DE SOLICITUDES POR INTERNET. Gestión de Cursos, Certificados de Aptitud Profesional y Tarjetas de Cualificación de Conductores ÍNDICE

Proyecto de Facturación con Filemaker Pro 12

PROCEDIMIENTO DE ENTRADA DE MERCANCÍAS PARA TRÁFICO ÁEREO Y MARÍTIMO: ENS, AN Y DSDT Anexo Técnico

Práctica de introducción a

Seven ERP Guía De Referencia - Imágenes

ANEXO VII REFERIDO EN EL ARTICULO 2.4 (FACILITACIÓN DEL COMERCIO) RESPECTO A PROCEDIMIENTOS ADUANEROS Y FACILITACIÓN DEL COMERCIO

GUÍA PARA LA CUMPLIMENTACIÓN DE SOLICITUDES DE PARTICIPACIÓN EN PROCESOS SELECTIVOS

El registro de una Organización de Productores Agrarios en el Sistema en Línea tiene los objetivos siguientes:

CIRCULAR REGLAMENTARIA EXTERNA DCIN - 85 E. CÓDIGO DE REEMBOLSO Y CONDICIONES DE REEMBOLSO

Acceso a la aplicación de solicitud de subvenciones (Planes de Formación 2014)

Transcripción:

Port de Barcelona Customs declaration message CUSDEC Declaración situación aduanera previa a la carga Guía para el mensaje CUSDEC en formato XML Este documento no puede ser reproducido, en su totalidad o parcialmente, ni mostrado a otros, ni utilizado para otros propósitos que los que han originado su entrega, sin el previo permiso escrito de PorIC. En el caso de ser entregado en virtud de un contrato, su utilización estará limitada a lo expresamente autorizado en dicho contrato. Portic no podrá ser considerada responsable de eventuales errores u omisiones en la edición del documento. Versión 1.3 Febrero 2013

Control de versiones: Versión 1.0 Fecha entrada en vigor Cambios efectuados Versión 1.1 Fecha entrada en vigor Noviembre 2009 Cambios efectuados El mensaje cusdec será generado y enviado a los consignatarios mediante solicitud de envío. Versión 1.2 Fecha entrada en vigor Abril 2010 Cambios efectuados Añadir aclaraciones, corregir el esquema y corregir los ejemplos Versión 1.3 Fecha entrada en vigor Febrero 2013 Cambios efectuados Se reciben otros tipos de documentos además de DUAs, con su correspondiente código de documento, recibido de las cargas TDA. Se modifica el ejemplo Esta guía está elaborada a partir de la guía EDIFACT del Fórum Telemático. En caso de discrepancia se deberá hacer caso a la guía EDIFACT del Fórum Telemático.

Contenidos CONTENIDOS 1 INTRODUCCIÓN... 5 2 FORMATO DEL MENSAJE... 6 INTRODUCCIÓN... 6 DIAGRAMA... 6 Uso del diagrama... 6 Elemento CUSDEC... 7 Elemento InterchangeHeader... 7 Elemento MessageHeader... 8 Elemento BeginningOfMessage... 9 Elemento PlaceLocationIdentification... 9 Elemento DateTimePeriod... 9 Elemento DetailsOfTransportGroup... 10 Elemento SectionControl... 10 Elemento CustomsGroup... 11 Elemento DetailsOfTransport... 11 Elemento CustomsStatusOfGoods... 12 Elemento Measurements... 12 Elemento NameAndAddress... 13 Elemento RelatedIdentificationNumbersGroup... 13 Elemento RelatedIdentificationNumbers... 14 Elemento DocumentGroup... 14 Elemento DocumentDetails... 15 Elemento SyntaxIdentifier... 15 Elemento SyntaxVersionNumber... 15 Elemento SenderIdentification... 15 Elemento RecipientIdentification... 16 Elemento DateOfPreparation... 16 Elemento TimeOfPreparation... 16 Elemento InterchangeControlReference... 16 Elemento MessageReferenceNumber... 16 Elemento MessageTypeIdentifier... 17 Elemento MessageTypeVersionNumber... 17 Elemento MessageTypeReleaseNumber... 17 Elemento ControllingAgency... 17

Contenidos Elemento MessageSubsetIdentification... 18 Elemento MessageSubsetVersionNumber... 18 Elemento AssociationAssignedCode... 18 Elemento DocumentNameCode... 18 Elemento DocumentIdentifier... 19 Elemento MessageFunctionCode... 19 Elemento LocationFunctionCodeQualifier... 19 Elemento LocationNameCode... 19 Elemento DateFunctionQualifier... 20 Elemento DateValue... 20 Elemento DateFormatCode... 20 Elemento SectionIdentification... 21 Elemento TransportStageCodeQualifier... 21 Elemento ConveyanceReferenceNumber... 21 Elemento TransportModeNameCode... 21 Elemento TransportMeansIdentificationName... 22 Elemento GoodsItemNumber... 22 Elemento CustomsGoodsIdentifier... 22 Elemento MeasurementPurposeQualifier... 22 Elemento MeasuredAttributeCode... 23 Elemento MeasurementUnitCode... 23 Elemento MeasurementValue... 23 Elemento PartyFunctionQualifier... 24 Elemento PartyIdentifier... 24 Elemento PartyName... 24 Elemento SetTypeQualifier... 24 Elemento ObjectIdentifier... 25 Elemento ObjectIdentificationQualifier... 25 Elemento StatusDescriptionCode... 25 Elemento DocumentStatusCode... 26 3 ESQUEMA... 27 4 DTD... 31 5 EJEMPLO... 33 6 ANEXOS... 36 XML VS EDIFACT... 36 Tipos Documentos Aduaneros... 38

Introducción 1 Introducción Portic ofrece el servicio de envío del mensaje CUSDEC al consignatario, que contiene la información de los documentos aduaneros necesaria para poder realizar el levante sin papeles (LSP) en la Exportación. El consignatario debe haber enviado previamente una lista de carga, información que posteriormente se cruzará con los datos obtenidos en los documentos aduaneros de exportación. Con esta información, Portic puede generar y enviar al consignatario el mensaje CUSDEC. Para recibir el mensaje CUSDEC, el consignatario debe enviar el mensaje de solicitud LspExport, informando el número de escala. En este mensaje, el consignatario puede indicar si desea recibir el fichero CUSDEC en la versión 1.2 o 1.3. El siguiente diagrama muestra el intercambio de información entre los diferentes actores que intervienen en el proceso: Versión 1.3 Febrero 2013 Página 5 de 37

2 Formato del mensaje Introducción Un documento XML está formado por una cabecera donde le indicamos la versión del documento y la forma en que se ha codificado dicho documento. <?xml version="1.0" encoding="iso-8859-1"?> Para poder validar sintácticamente un documento XML, necesitaremos un DTD, que es un documento que define las reglas por las que se debe regir el documento XML. <!DOCTYPE elemento_principal SYSTEM "elemento_principal.dtd"> A continuación se definen todos los elementos que componen el documento XML separándolos con diferentes tags. <elemento_principal> <elemento1></elemento1> <elemento2> <subelementos></subelementos>.. </elemento2>.. </elemento_principal> Para ayudar en las integraciones, también está disponible el esquema (XSD), que además de permitir validaciones sintácticas más profundas, permite usar herramientas de programación que generan código a partir de los mismos. Estos esquemas se introducen en el documento XML de esta manera: <elemento_principal xmlns:xsi= "http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation=" elemento_principal.xsd"> Diagrama Uso del diagrama Versión 1.3 Febrero 2013 Página 6 de 37

Elemento CUSDEC Se compone de los siguientes elementos: InterchangeHeader MessageHeader BeginningOfMessage PlaceLocationIdentification DateTimePeriod DetailsOfTransportGroup SectionControl CustomsGroup Diagrama Hijos InterchangeHeader MessageHeader BeginningOfMessage PlaceLocationIdentification DateTimePeriod DetailsOfTransportGroup SectionControl CustomsGroup Elemento InterchangeHeader Se compone de los siguientes elementos: SyntaxIdentifier SyntaxVersionNumber SenderIdentification RecipientIdentification DateOfPreparation TimeOfPreparation InterchangeControlReference Versión 1.3 Febrero 2013 Página 7 de 37

Diagrama Hijos SyntaxIdentifier SyntaxVersionNumber SenderIdentification RecipientIdentification DateOfPreparation TimeOfPreparation InterchangeControlReference Elemento CUSDEC Elemento MessageHeader Se compone de los siguientes elementos: MessageReferenceNumber MessageTypeIdentifier MessageTypeVersionNumber MessageTypeReleaseNumber ControllingAgency MessageSubsetIdentification MessageSubsetVersionNumber AssociationAssignedCode Diagrama Hijos MessageReferenceNumber MessageTypeIdentifier MessageTypeVersionNumber MessageTypeReleaseNumber ControllingAgency MessageSubsetIdentification MessageSubsetVersionNumber AssociationAssignedCode Versión 1.3 Febrero 2013 Página 8 de 37

Elemento CUSDEC Elemento BeginningOfMessage Se compone de los siguientes elementos: DocumentNameCode DocumentIdentifier MessageFunctionCode Diagrama Hijos DocumentNameCode DocumentIdentifier MessageFunctionCode Elemento CUSDEC Elemento PlaceLocationIdentification Se compone de los siguientes elementos: LocationFunctionCodeQualifier LocationNameCode Diagrama Hijos LocationFunctionCodeQualifier LocationNameCode Elemento CUSDEC Elemento DocumentGroup Elemento DateTimePeriod Se compone de los siguientes elementos: DateFunctionQualifier DateValue DateFormatCode Versión 1.3 Febrero 2013 Página 9 de 37

Diagrama Hijos DateFunctionQualifier DateValue DateFormatCode Elemento CUSDEC Elemento DocumentGroup Elemento DetailsOfTransportGroup Se compone de los siguientes elementos: DetailsOfTransport Diagrama Hijos DetailsOfTransport Elemento CUSDEC Elemento SectionControl Se compone de los siguientes elementos: SectionIdentification Separar las secciones de encabezamiento, detalle y resumen de un mensaje Diagrama Hijos SectionIdentification Elemento CUSDEC Versión 1.3 Febrero 2013 Página 10 de 37

Elemento CustomsGroup Este grupo se puede repetir de 1 a 99999 veces Se compone de los siguientes elementos: CustomsStatusOfGoods Measurements NameAndAddress RelatedIdentificationNumbersGroup Diagrama Hijos CustomsStatusOfGoods Measurements NameAndAddress RelatedIdentificationNumbersGroup Elemento CUSDEC Elemento DetailsOfTransport Transporte marítimo de salida (Número de escala. Modo de transporte. Buque): Identificación del transporte donde está prevista o ha sido cargada la mercancía. Se compone de los siguientes elementos: TransportStageCodeQualifier ConveyanceReferenceNumber TransportModeNameCode TransportMeansIdentificationName Diagrama Hijos TransportStageCodeQualifier ConveyanceReferenceNumber TransportModeNameCode TransportMeansIdentificationName Elemento DetailsOfTransportGroup Versión 1.3 Febrero 2013 Página 11 de 37

Elemento CustomsStatusOfGoods Situación aduanera de las mercancías Se compone de los siguientes elementos: GoodsItemNumber CustomsGoodsIdentifier Diagrama Hijos GoodsItemNumber CustomsGoodsIdentifier Elemento CustomsGroup Elemento Measurements Se compone de los siguientes elementos: MeasurementPurposeQualifier MeasuredAttributeCode MeasurementUnitCode MeasurementValue Diagrama Hijos MeasurementPurposeQualifier MeasuredAttributeCode MeasurementUnitCode MeasurementValue Elemento Elemento CustomsGroup RelatedIdentificationNumbersGroup CUSDEC/CustomsGroup: Peso bruto de la mercancía contenida en el equipamiento (contenedor) de la RMTM. CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup: Peso datado por el documento de exportación o Bultos datados por el documento de exportación. Como máximo tiene 2 repeticiones. Versión 1.3 Febrero 2013 Página 12 de 37

Elemento NameAndAddress Se compone de los siguientes elementos: PartyFunctionQualifier PartyIdentifier PartyName Diagrama Hijos PartyFunctionQualifier PartyIdentifier PartyName Elemento CustomsGroup Hay 3 repeticiones: Código del consignatario. Línea marítima. Código de la terminal. Elemento RelatedIdentificationNumbersGroup Se compone de los siguientes elementos: RelatedIdentificationNumbers Measurements DocumentGroup Diagrama Hijos RelatedIdentificationNumbers Measurements DocumentGroup Elemento CustomsGroup Tenemos hasta 9999 repeticiones. Versión 1.3 Febrero 2013 Página 13 de 37

Elemento RelatedIdentificationNumbers Se compone de los siguientes elementos: SetTypeQualifier ObjectIdentifier ObjectIdentificationQualifier StatusDescriptionCode Diagrama Hijos SetTypeQualifier ObjectIdentifier ObjectIdentificationQualifier StatusDescriptionCode Elemento RelatedIdentificationNumbersGroup Números de identificación. Pueden haber hasta 50 repeticiones. Información del documento de datado: Número de documento de exportación. Estado del documento de datado en el momento de remitir el mensaje (despachado). Partida arancelaria a nivel de las 4primeras posiciones del código armonizado. Código del declarante (opcional). Elemento DocumentGroup Se compone de los siguientes elementos: DocumentDetails DateTimePeriod PlaceLocationIdentification Diagrama Hijos DocumentDetails DateTimePeriod PlaceLocationIdentification Elemento RelatedIdentificationNumbersGroup Versión 1.3 Febrero 2013 Página 14 de 37

Elemento DocumentDetails Se compone de los siguientes elementos: DocumentNameCode DocumentIdentifier DocumentStatusCode Diagrama Hijos DocumentNameCode DocumentIdentifier DocumentStatusCode Elemento DocumentGroup Elemento SyntaxIdentifier Identificador de sintaxis. Siempre tendrá el valor UNOA Elemento InterchangeHeader Valor fijo EDIFACT Cabecera, Segmento UNB, código 0001 Elemento SyntaxVersionNumber Número de versión de de sintaxis. Siempre tendrá el valor 2 Elemento InterchangeHeader Valor fijo EDIFACT Cabecera, Segmento UNB, código 0002 Elemento SenderIdentification Emisor del mensaje. Código de país y nif Elemento InterchangeHeader Longitud mínima 1 Longitud máxima 35 EDIFACT Cabecera, Segmento UNB, código 0004 Versión 1.3 Febrero 2013 Página 15 de 37

Elemento RecipientIdentification Receptor del mensaje. Código de país y nif Elemento InterchangeHeader Longitud mínima 1 Longitud máxima 35 EDIFACT Cabecera, Segmento UNB, código 0010 Elemento DateOfPreparation Fecha de preparación del mensaje Elemento InterchangeHeader Fecha Formato YYMMDD EDIFACT Cabecera, Segmento UNB, código 0017 Elemento TimeOfPreparation Hora de preparación del mensaje Elemento InterchangeHeader Fecha Formato hhmm EDIFACT Cabecera, Segmento UNB, código 0019 Elemento InterchangeControlReference Referencia de control de intercambio. Se puede usar la fecha en formato YYYYMMDDhhmmss Elemento InterchangeHeader Longitud mínima 1 Longitud máxima 35 EDIFACT Cabecera, Segmento UNB, código 0020 Elemento MessageReferenceNumber Número de referencia externa única del mensaje. Se puede usar la fecha en formato YYYYMMDDhhmmss Versión 1.3 Febrero 2013 Página 16 de 37

Elemento MessageHeader Longitud mínima 1 Longitud máxima 14 EDIFACT Cabecera, Segmento UNH, código 0062 Elemento MessageTypeIdentifier Identificador de tipo de mensaje. Siempre tendrá el valor CUSDEC Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0065 Elemento MessageTypeVersionNumber Versión de tipo de mensaje. Siempre tendrá el valor D Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0052 Elemento MessageTypeReleaseNumber Release de tipo de mensaje. Siempre tendrá el valor 05B Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0054 Elemento ControllingAgency Agencia controladora. Siempre tendrá el valor UN Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0051 Versión 1.3 Febrero 2013 Página 17 de 37

Elemento MessageSubsetIdentification MessageSubsetIdentification. Siempre tendrá el valor RMTM Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0115 Elemento MessageSubsetVersionNumber MessageSubsetVersionNumber. Siempre tendrá el valor 1.0 Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0116 Elemento AssociationAssignedCode Código de asociación. Siempre tendrá el valor APB Elemento MessageHeader Valor fijo EDIFACT Cabecera, Segmento UNH, código 0051 Elemento DocumentNameCode BeginningOfMessage: Nombre del mensaje. Siempre tendrá el valor 22 DocumentDetails: Nombre del documento. Código de tipo de documento recibido de las cargas TDA (DUE, T2L, EXS,TEX). Este NO es el código que debe utilizarse en el Manifiesto de carga. Elemento BeginningOfMessage Elemento DocumentDetails Longitud mínima 1 Longitud máxima 3 EDIFACT Cabecera, Segmento BGM, código 1001 Grupo 30, Segmento DOC, código 1001 Versión 1.3 Febrero 2013 Página 18 de 37

Elemento DocumentIdentifier BeginningOfMessage: Número de documento del mensaje (número de documento de carga). DocumentDetails: Número de Documento Aduanero Elemento BeginningOfMessage Elemento DocumentDetails Longitud mínima 1 Longitud máxima 35 EDIFACT Cabecera, Segmento BGM, código 1004 Grupo 30, Segmento DOC, código 1004 Elemento MessageFunctionCode Función del mensaje: Alta, adición, cambio, eliminación Elemento BeginningOfMessage Longitud mínima 1 Longitud máxima 3 EDIFACT Cabecera, Segmento BGM, código 1225 Elemento LocationFunctionCodeQualifier Este elemento es usado por los siguientes elementos CUSDEC/PlaceLocationIdentification: Calificador del recinto aduanero en el que se efectúa la RMTM. Siempre tendrá el valor 43 DocumentGroup/PlaceLocationIdentification: Calificador de la ubicación aduanera. Siempre tendrá el valor 43 Elemento PlaceLocationIdentification EDIFACT Valor fijo Cabecera, Segmento LOC, código 3227 Grupo 30, Segmento LOC, código 3227 Elemento LocationNameCode Este elemento es usado por los siguientes elementos CUSDEC/PlaceLocationIdentification: Recinto aduanero en el que se efectúa la RMTM DocumentGroup/PlaceLocationIdentification: Ubicación aduanera Elemento PlaceLocationIdentification Longitud mínima 1 Longitud máxima 25 EDIFACT Cabecera, Segmento LOC, código 3225 Grupo 30, Segmento LOC, código 3225 Versión 1.3 Febrero 2013 Página 19 de 37

Elemento DateFunctionQualifier CUSDEC/DateTimePeriod: Fecha y hora en la que se genera el mensaje RMTM. Siempre tendrá el valor 137 CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/DocumentGroup/DateTimePeriod: Fecha de autorización del documento de exportación Siempre tendrá el valor 58 Elemento DateTimePeriod Valor fijo EDIFACT Cabecera, Segmento DTM, código 2005 Grupo 30, Segmento DTM, código 2005 Elemento DateValue CUSDEC/DateTimePeriod: Fecha y hora en la que se genera el mensaje RMTM. Tendrá el formato YYYYMMDDhhmmss CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/DocumentGroup/DateTimePeriod: Fecha de autorización del documento de exportación Tendrá el formato YYYYMMDDhhmmss Elemento DateTimePeriod Longitud mínima 1 Longitud máxima 35 EDIFACT Cabecera, Segmento DTM, código 2380 Grupo 30, Segmento DTM, código 2380 Elemento DateFormatCode CUSDEC/DateTimePeriod: Fecha y hora en la que se genera el mensaje RMTM. Siempre tendrá el valor 203 CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/DocumentGroup/DateTimePeriod: Fecha de autorización del documento de exportación Siempre tendrá el valor 203 Elemento DateTimePeriod EDIFACT Valor fijo Cabecera, Segmento DTM, código 2379 Grupo 30, Segmento DTM, código 2379 Versión 1.3 Febrero 2013 Página 20 de 37

Elemento SectionIdentification SectionControl Siempre tendrá el valor D Elemento SectionControl Valor Fijo. EDIFACT Segmento UNS, código 0081 Elemento TransportStageCodeQualifier CUSDEC/DetailsOfTransportGroup/DetailsOfTransport Siempre tiene el valor: 20 Elemento DetailsOfTransport Valor Fijo. EDIFACT Grupo 4, Segmento TDT, código 8051 Elemento ConveyanceReferenceNumber CUSDEC/DetailsOfTransportGroup/DetailsOfTransport Es el número de escala. En el puerto de Barcelona es un numérico de 5 dígitos Tipo Cadena de números (puede empezar por el 0) Elemento DetailsOfTransport Longitud mínima 5 Longitud máxima 5 EDIFACT Grupo 4, Segmento TDT, código 8028 Elemento TransportModeNameCode CUSDEC/DetailsOfTransportGroup/DetailsOfTransport Elemento DetailsOfTransport Valor Fijo Versión 1.3 Febrero 2013 Página 21 de 37

EDIFACT Grupo 4, Segmento TDT, código 8067 Elemento TransportMeansIdentificationName CUSDEC/DetailsOfTransportGroup/DetailsOfTransport Nombre del buque. Elemento DetailsOfTransport Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 4, Segmento TDT, código 8212 Elemento GoodsItemNumber CUSDEC/CustomsGroup/CustomsStatusOfGoods Número secuencial del equipamiento. El primero empieza con 1 Elemento CustomsStatusOfGoods Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 30, Segmento CST, código 1496 Elemento CustomsGoodsIdentifier CUSDEC/CustomsGroup/CustomsStatusOfGoods Matrícula del equipo Elemento CustomsStatusOfGoods Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 30, Segmento CST, código 7361 Elemento MeasurementPurposeQualifier CUSDEC/CustomsGroup/Measurements: Siempre será AAE CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/Measurements: Siempre será AAE Versión 1.3 Febrero 2013 Página 22 de 37

Elemento Measurements EDIFACT Valor Fijo. Valor Fijo. Grupo 30, Segmento MEA, código 6311 Grupo 44, Segmento MEA, código 6311 Elemento MeasuredAttributeCode CUSDEC/CustomsGroup/Measurements: Siempre será G CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/Measurements: Sera G si nos referimos a un peso y nada si nos referimos a unidades Elemento Measurements Longitud mínima 1 Longitud máxima 1 EDIFACT Grupo 30, Segmento MEA, código 6313 Grupo 44, Segmento MEA, código 6313 Elemento MeasurementUnitCode CUSDEC/CustomsGroup/Measurements: Siempre será KGM CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/Measurements: Sera KGM si nos referimos a un peso y UN si nos referimos a unidades Elemento Measurements Longitud mínima 0 Longitud máxima 3 EDIFACT Grupo 30, Segmento MEA, código 6411 Grupo 44, Segmento MEA, código 6411 Elemento MeasurementValue CUSDEC/CustomsGroup/Measurements: Peso bruto CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/Measurements: Peso declarado o unidades. Elemento Measurements Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 30, Segmento MEA, código 6314 Grupo 44, Segmento MEA, código 6314 Versión 1.3 Febrero 2013 Página 23 de 37

Elemento PartyFunctionQualifier CUSDEC/CustomsGroup/NameAndAddress: Dependiendo del calificador que queramos poner tendrá un valor o otro: o CG : Código del consignatario. o CF : Código de la línea marítima. o TR: Código de la terminal. Elemento NameAndAddress Longitud mínima 2 Longitud máxima 2 EDIFACT Grupo 30, Segmento NAD, código 3035 Elemento PartyIdentifier CUSDEC/CustomsGroup/NameAndAddress: Código del dato indicado en el calificador. Elemento NameAndAddress Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 30, Segmento NAD, código 3039 Elemento PartyName CUSDEC/CustomsGroup/NameAndAddress: Nombre del dato consignatario o nombre de la línea marítima. Elemento NameAndAddress Longitud mínima 1 Longitud máxima 70 EDIFACT Grupo 30, Segmento NAD, código 3036 Elemento SetTypeQualifier Versión 1.3 Febrero 2013 Página 24 de 37

CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Siempre tiene valor 7 Elemento RelatedIdentificationNumbers Valor Fijo EDIFACT Grupo 44, Segmento GIR, código 7297 Elemento ObjectIdentifier CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Número de Documento + partida de Documento para el calificador VX CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Código arancelario para el calificador AR. Debe ser de 4 digitos CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Identificación del declarante para el identificador CL Elemento RelatedIdentificationNumbers Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 44, Segmento GIR, código 7402 Elemento ObjectIdentificationQualifier CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Siempre tiene valor VX cuando se refiere al número de Documento + partida de Documento CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Siempre tiene valor AR cuando se refiere al código arancelario. CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: Siempre tiene valor CL cuando se refiere al declarante Elemento RelatedIdentificationNumbers Valor Fijo EDIFACT Grupo 44, Segmento GIR, código 7405 Elemento StatusDescriptionCode Versión 1.3 Febrero 2013 Página 25 de 37

CUSDEC/CustomsGroup/RelatedIdentificationNumbersGroup/RelatedIdentificationNumbers: posibles valores: o DE: Despachado y correcto o DOC: No despachados o discrepancia de datos Elemento RelatedIdentificationNumbers Longitud mínima 1 Longitud máxima 35 EDIFACT Grupo 44, Segmento GIR, código 4405 Elemento DocumentStatusCode DocumentDetails: Indicador de si la exportación implica salida directa (0), indirecta del recinto (1) o indirecta por el recinto (2). Elemento DocumentDetails Longitud mínima 1 Longitud máxima 1 EDIFACT Grupo 30, Segmento DOC, código 1373 Versión 1.3 Febrero 2013 Página 26 de 37

Esquema 3 Esquema <?xml version="1.0" encoding=" ISO-8859-1"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="associationassignedcode" type="xs:string"/> <xs:element name="beginningofmessage"> <xs:complextype> <xs:sequence> <xs:element ref="documentnamecode"/> <xs:element ref="documentidentifier"/> <xs:element ref="messagefunctioncode"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="cusdec"> <xs:complextype> <xs:sequence> <xs:element ref="interchangeheader"/> <xs:element ref="messageheader"/> <xs:element ref="beginningofmessage"/> <xs:element ref="placelocationidentification"/> <xs:element ref="datetimeperiod"/> <xs:element ref="detailsoftransportgroup"/> <xs:element ref="sectioncontrol"/> <xs:element ref="customsgroup" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="controllingagency" type="xs:string"/> <xs:element name="conveyancereferencenumber" type="xs:string"/> <xs:element name="customsgoodsidentifier" type="xs:string"/> <xs:element name="customsgroup"> <xs:complextype> <xs:sequence> <xs:element ref="customsstatusofgoods"/> <xs:element ref="measurements"/> <xs:element ref="nameandaddress" maxoccurs="unbounded"/> <xs:element ref="relatedidentificationnumbersgroup" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="customsstatusofgoods"> <xs:complextype> <xs:sequence> <xs:element ref="goodsitemnumber"/> <xs:element ref="customsgoodsidentifier"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="dateformatcode" type="xs:string"/> <xs:element name="datefunctionqualifier" type="xs:string"/> <xs:element name="dateofpreparation" type="xs:string"/> <xs:element name="datetimeperiod"> <xs:complextype> <xs:sequence> <xs:element ref="datefunctionqualifier"/> <xs:element ref="datevalue"/> <xs:element ref="dateformatcode"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="datevalue" type="xs:string"/> <xs:element name="detailsoftransport"> <xs:complextype> <xs:sequence> <xs:element ref="transportstagecodequalifier"/> <xs:element ref="conveyancereferencenumber"/> <xs:element ref="transportmodenamecode"/> Versión 1.3 Febrero 2013 Página 27 de 37

Esquema <xs:element ref="transportmeansidentificationname"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="detailsoftransportgroup"> <xs:complextype> <xs:sequence> <xs:element ref="detailsoftransport"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="documentdetails"> <xs:complextype> <xs:sequence> <xs:element ref="documentnamecode"/> <xs:element ref="documentidentifier"/> <xs:element ref="documentstatuscode"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="documentgroup"> <xs:complextype> <xs:sequence> <xs:element ref="documentdetails"/> <xs:element ref="datetimeperiod"/> <xs:element ref="placelocationidentification"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="documentidentifier" type="xs:string"/> <xs:element name="documentnamecode" type="xs:string"/> <xs:element name="documentstatuscode" type="xs:string"/> <xs:element name="goodsitemnumber" type="xs:string"/> <xs:element name="interchangecontrolreference" type="xs:string"/> <xs:element name="interchangeheader"> <xs:complextype> <xs:sequence> <xs:element ref="syntaxidentifier"/> <xs:element ref="syntaxversionnumber"/> <xs:element ref="senderidentification"/> <xs:element ref="recipientidentification"/> <xs:element ref="dateofpreparation"/> <xs:element ref="timeofpreparation"/> <xs:element ref="interchangecontrolreference"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="locationfunctioncodequalifier" type="xs:string"/> <xs:element name="locationnamecode" type="xs:string"/> <xs:element name="measuredattributecode" type="xs:string"/> <xs:element name="measurementpurposequalifier" type="xs:string"/> <xs:element name="measurementunitcode" type="xs:string"/> <xs:element name="measurementvalue" type="xs:string"/> <xs:element name="measurements"> <xs:complextype> <xs:sequence> <xs:element ref="measurementpurposequalifier"/> <xs:element ref="measuredattributecode" minoccurs="0"/> <xs:element ref="measurementunitcode"/> <xs:element ref="measurementvalue"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="messagefunctioncode" type="xs:string"/> <xs:element name="messageheader"> <xs:complextype> <xs:sequence> <xs:element ref="messagereferencenumber"/> <xs:element ref="messagetypeidentifier"/> <xs:element ref="messagetypeversionnumber"/> <xs:element ref="messagetypereleasenumber"/> Versión 1.3 Febrero 2013 Página 28 de 37

Esquema <xs:element ref="controllingagency"/> <xs:element ref="messagesubsetidentification"/> <xs:element ref="messagesubsetversionnumber"/> <xs:element ref="associationassignedcode"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="messagereferencenumber" type="xs:string"/> <xs:element name="messagesubsetidentification" type="xs:string"/> <xs:element name="messagesubsetversionnumber" type="xs:string"/> <xs:element name="messagetypeidentifier" type="xs:string"/> <xs:element name="messagetypereleasenumber" type="xs:string"/> <xs:element name="messagetypeversionnumber" type="xs:string"/> <xs:element name="nameandaddress"> <xs:complextype> <xs:sequence> <xs:element ref="partyfunctionqualifier"/> <xs:element ref="partyidentifier"/> <xs:element ref="partyname" minoccurs="0"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="objectidentificationqualifier" type="xs:string"/> <xs:element name="objectidentifier" type="xs:string"/> <xs:element name="partyfunctionqualifier" type="xs:string"/> <xs:element name="partyidentifier" type="xs:string"/> <xs:element name="partyname" type="xs:string"/> <xs:element name="placelocationidentification"> <xs:complextype> <xs:sequence> <xs:element ref="locationfunctioncodequalifier"/> <xs:element ref="locationnamecode"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="recipientidentification" type="xs:string"/> <xs:element name="relatedidentificationnumbers"> <xs:complextype> <xs:choice maxoccurs="unbounded"> <xs:element ref="settypequalifier"/> <xs:element ref="objectidentifier" maxoccurs="3"/> <xs:element ref="objectidentificationqualifier" maxoccurs="3"/> <xs:element ref="statusdescriptioncode"/> </xs:choice> </xs:complextype> </xs:element> <xs:element name="relatedidentificationnumbersgroup"> <xs:complextype> <xs:sequence> <xs:element ref="relatedidentificationnumbers"/> <xs:element ref="measurements" maxoccurs="unbounded"/> <xs:element ref="documentgroup"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="sectioncontrol"> <xs:complextype> <xs:sequence> <xs:element ref="sectionidentification"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="sectionidentification" type="xs:string"/> <xs:element name="senderidentification" type="xs:string"/> <xs:element name="settypequalifier" type="xs:string"/> <xs:element name="statusdescriptioncode" type="xs:string"/> <xs:element name="syntaxidentifier" type="xs:string"/> <xs:element name="syntaxversionnumber" type="xs:string"/> <xs:element name="timeofpreparation" type="xs:string"/> <xs:element name="transportmeansidentificationname" type="xs:string"/> <xs:element name="transportmodenamecode" type="xs:string"/> Versión 1.3 Febrero 2013 Página 29 de 37

Esquema <xs:element name="transportstagecodequalifier" type="xs:string"/> </xs:schema> Versión 1.3 Febrero 2013 Página 30 de 37

DTD 4 DTD <?xml version="1.0" encoding="iso-8859-1"?> <!ELEMENT AssociationAssignedCode (#PCDATA)> <!ELEMENT BeginningOfMessage (DocumentNameCode, DocumentIdentifier, MessageFunctionCode)> <!ELEMENT CUSDEC (InterchangeHeader, MessageHeader, BeginningOfMessage, PlaceLocationIdentification, DateTimePeriod, DetailsOfTransportGroup, SectionControl, CustomsGroup+)> <!ELEMENT ControllingAgency (#PCDATA)> <!ELEMENT ConveyanceReferenceNumber (#PCDATA)> <!ELEMENT CustomsGoodsIdentifier (#PCDATA)> <!ELEMENT CustomsGroup (CustomsStatusOfGoods, Measurements, NameAndAddress+, RelatedIdentificationNumbersGroup+)> <!ELEMENT CustomsStatusOfGoods (GoodsItemNumber, CustomsGoodsIdentifier)> <!ELEMENT DateFormatCode (#PCDATA)> <!ELEMENT DateFunctionQualifier (#PCDATA)> <!ELEMENT DateOfPreparation (#PCDATA)> <!ELEMENT DateTimePeriod (DateFunctionQualifier, DateValue, DateFormatCode)> <!ELEMENT DateValue (#PCDATA)> <!ELEMENT DetailsOfTransport (TransportStageCodeQualifier, ConveyanceReferenceNumber, TransportModeNameCode, TransportMeansIdentificationName)> <!ELEMENT DetailsOfTransportGroup (DetailsOfTransport)> <!ELEMENT DocumentDetails (DocumentNameCode, DocumentIdentifier, DocumentStatusCode)> <!ELEMENT DocumentGroup (DocumentDetails, DateTimePeriod, PlaceLocationIdentification)> <!ELEMENT DocumentIdentifier (#PCDATA)> <!ELEMENT DocumentNameCode (#PCDATA)> <!ELEMENT DocumentStatusCode (#PCDATA)> <!ELEMENT GoodsItemNumber (#PCDATA)> <!ELEMENT InterchangeControlReference (#PCDATA)> <!ELEMENT InterchangeHeader (SyntaxIdentifier, SyntaxVersionNumber, SenderIdentification, RecipientIdentification, DateOfPreparation, TimeOfPreparation, InterchangeControlReference)> <!ELEMENT LocationFunctionCodeQualifier (#PCDATA)> <!ELEMENT LocationNameCode (#PCDATA)> <!ELEMENT MeasuredAttributeCode (#PCDATA)> <!ELEMENT MeasurementPurposeQualifier (#PCDATA)> <!ELEMENT MeasurementUnitCode (#PCDATA)> <!ELEMENT MeasurementValue (#PCDATA)> <!ELEMENT Measurements (MeasurementPurposeQualifier, MeasuredAttributeCode?, MeasurementUnitCode, MeasurementValue)> <!ELEMENT MessageFunctionCode (#PCDATA)> <!ELEMENT MessageHeader (MessageReferenceNumber, MessageTypeIdentifier, MessageTypeVersionNumber, MessageTypeReleaseNumber, ControllingAgency, MessageSubsetIdentification, MessageSubsetVersionNumber, AssociationAssignedCode)> <!ELEMENT MessageReferenceNumber (#PCDATA)> <!ELEMENT MessageSubsetIdentification (#PCDATA)> <!ELEMENT MessageSubsetVersionNumber (#PCDATA)> <!ELEMENT MessageTypeIdentifier (#PCDATA)> <!ELEMENT MessageTypeReleaseNumber (#PCDATA)> <!ELEMENT MessageTypeVersionNumber (#PCDATA)> <!ELEMENT NameAndAddress (PartyFunctionQualifier, PartyIdentifier, PartyName?)> <!ELEMENT ObjectIdentificationQualifier (#PCDATA)> <!ELEMENT ObjectIdentifier (#PCDATA)> <!ELEMENT PartyFunctionQualifier (#PCDATA)> <!ELEMENT PartyIdentifier (#PCDATA)> <!ELEMENT PartyName (#PCDATA)> <!ELEMENT PlaceLocationIdentification (LocationFunctionCodeQualifier, LocationNameCode)> <!ELEMENT RecipientIdentification (#PCDATA)> <!ELEMENT RelatedIdentificationNumbers (SetTypeQualifier ObjectIdentifier+ ObjectIdentificationQualifier+ StatusDescriptionCode)+> <!ELEMENT RelatedIdentificationNumbersGroup (RelatedIdentificationNumbers, Measurements+, DocumentGroup)> <!ELEMENT SectionControl (SectionIdentification)> <!ELEMENT SectionIdentification (#PCDATA)> <!ELEMENT SenderIdentification (#PCDATA)> <!ELEMENT SetTypeQualifier (#PCDATA)> <!ELEMENT StatusDescriptionCode (#PCDATA)> <!ELEMENT SyntaxIdentifier (#PCDATA)> <!ELEMENT SyntaxVersionNumber (#PCDATA)> <!ELEMENT TimeOfPreparation (#PCDATA)> <!ELEMENT TransportMeansIdentificationName (#PCDATA)> Versión 1.3 Febrero 2013 Página 31 de 37

DTD <!ELEMENT TransportModeNameCode (#PCDATA)> <!ELEMENT TransportStageCodeQualifier (#PCDATA)> Versión 1.3 Febrero 2013 Página 32 de 37

Ejemplo 5 Ejemplo <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE CUSDEC SYSTEM "CUSDEC.dtd"> <CUSDEC> <InterchangeHeader> <SyntaxIdentifier>UNOA</SyntaxIdentifier> <SyntaxVersionNumber>2</SyntaxVersionNumber> <SenderIdentification>ESA61961488</SenderIdentification> <RecipientIdentification>ESA12345678</RecipientIdentification> <DateOfPreparation>130228</DateOfPreparation> <TimeOfPreparation>1546</TimeOfPreparation> <InterchangeControlReference>20130228154635</InterchangeControlReference> </InterchangeHeader> <MessageHeader> <MessageReferenceNumber>20130228154635</MessageReferenceNumber> <MessageTypeIdentifier>CUSDEC</MessageTypeIdentifier> <MessageTypeVersionNumber>D</MessageTypeVersionNumber> <MessageTypeReleaseNumber>05B</MessageTypeReleaseNumber> <ControllingAgency>UN</ControllingAgency> <MessageSubsetIdentification>RMTM</MessageSubsetIdentification> <MessageSubsetVersionNumber>1.0</MessageSubsetVersionNumber> <AssociationAssignedCode>APB</AssociationAssignedCode> </MessageHeader> <BeginningOfMessage> <DocumentNameCode>22</DocumentNameCode> <DocumentIdentifier>20130228154635</DocumentIdentifier> <MessageFunctionCode>8</MessageFunctionCode> </BeginningOfMessage> <PlaceLocationIdentification> <LocationFunctionCodeQualifier>43</LocationFunctionCodeQualifier> <LocationNameCode>0812</LocationNameCode> </PlaceLocationIdentification> <DateTimePeriod> <DateFunctionQualifier>137</DateFunctionQualifier> <DateValue>201302281546</DateValue> <DateFormatCode>203</DateFormatCode> </DateTimePeriod> <DetailsOfTransportGroup> <DetailsOfTransport> <TransportStageCodeQualifier>20</TransportStageCodeQualifier> <ConveyanceReferenceNumber>3200900622</ConveyanceReferenceNumber> <TransportModeNameCode>1</TransportModeNameCode> <TransportMeansIdentificationName>EVOLUTION V./00933S</TransportMeansIdentificationName> </DetailsOfTransport> </DetailsOfTransportGroup> <SectionControl> <SectionIdentification>D</SectionIdentification> </SectionControl> <CustomsGroup> <CustomsStatusOfGoods> <GoodsItemNumber>1</GoodsItemNumber> <CustomsGoodsIdentifier>CLHU8786813</CustomsGoodsIdentifier> </CustomsStatusOfGoods> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasuredAttributeCode>G</MeasuredAttributeCode> <MeasurementUnitCode>KGM</MeasurementUnitCode> <MeasurementValue>27000</MeasurementValue> </Measurements> <NameAndAddress> <PartyFunctionQualifier>CG</PartyFunctionQualifier> <PartyIdentifier>A12345678</PartyIdentifier> <PartyName>CONSIGNATARIA, S.A.</PartyName> </NameAndAddress> <NameAndAddress> <PartyFunctionQualifier>CF</PartyFunctionQualifier> <PartyIdentifier>XXXU</PartyIdentifier> Versión 1.3 Febrero 2013 Página 33 de 37

Ejemplo <PartyName>XXXA NAVEGACION</PartyName> </NameAndAddress> <NameAndAddress> <PartyFunctionQualifier>TR</PartyFunctionQualifier> <PartyIdentifier>A87654321</PartyIdentifier> </NameAndAddress> <RelatedIdentificationNumbersGroup> <RelatedIdentificationNumbers> <SetTypeQualifier>7</SetTypeQualifier> <ObjectIdentifier>13ES00081210059910001</ObjectIdentifier> <ObjectIdentificationQualifier>VX</ObjectIdentificationQualifier> <StatusDescriptionCode>DE</StatusDescriptionCode> <ObjectIdentifier>9010</ObjectIdentifier> <ObjectIdentificationQualifier>AR</ObjectIdentificationQualifier> <ObjectIdentifier>DESCONOCIDO</ObjectIdentifier> <ObjectIdentificationQualifier>CL</ObjectIdentificationQualifier> </RelatedIdentificationNumbers> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasuredAttributeCode>G</MeasuredAttributeCode> <MeasurementUnitCode>KGM</MeasurementUnitCode> <MeasurementValue>25000</MeasurementValue> </Measurements> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasurementUnitCode>UN</MeasurementUnitCode> <MeasurementValue>20</MeasurementValue> </Measurements> <DocumentGroup> <DocumentDetails> <DocumentNameCode>DUE</DocumentNameCode> <DocumentIdentifier>13ES00081210059910</DocumentIdentifier> <DocumentStatusCode>0</DocumentStatusCode> </DocumentDetails> <DateTimePeriod> <DateFunctionQualifier>58</DateFunctionQualifier> <DateValue>201302191231</DateValue> <DateFormatCode>203</DateFormatCode> </DateTimePeriod> <PlaceLocationIdentification> <LocationFunctionCodeQualifier>43</LocationFunctionCodeQualifier> <LocationNameCode>0812</LocationNameCode> </PlaceLocationIdentification> </DocumentGroup> </RelatedIdentificationNumbersGroup> </CustomsGroup> <CustomsGroup> <CustomsStatusOfGoods> <GoodsItemNumber>2</GoodsItemNumber> <CustomsGoodsIdentifier>EMTU0046730</CustomsGoodsIdentifier> </CustomsStatusOfGoods> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasuredAttributeCode>G</MeasuredAttributeCode> <MeasurementUnitCode>KGM</MeasurementUnitCode> <MeasurementValue>6000</MeasurementValue> </Measurements> <NameAndAddress> <PartyFunctionQualifier>CG</PartyFunctionQualifier> <PartyIdentifier>A12345678</PartyIdentifier> <PartyName>CONSIGNATARIA, S.A.</PartyName> </NameAndAddress> <NameAndAddress> <PartyFunctionQualifier>CF</PartyFunctionQualifier> <PartyIdentifier>XXXU</PartyIdentifier> <PartyName>XXXA NAVEGACION</PartyName> </NameAndAddress> <NameAndAddress> <PartyFunctionQualifier>TR</PartyFunctionQualifier> <PartyIdentifier>A87654321</PartyIdentifier> </NameAndAddress> Versión 1.3 Febrero 2013 Página 34 de 37

Ejemplo <RelatedIdentificationNumbersGroup> <RelatedIdentificationNumbers> <SetTypeQualifier>7</SetTypeQualifier> <ObjectIdentifier>13ES00462110060700001</ObjectIdentifier> <ObjectIdentificationQualifier>VX</ObjectIdentificationQualifier> <StatusDescriptionCode>DOC</StatusDescriptionCode> <ObjectIdentifier>1098</ObjectIdentifier> <ObjectIdentificationQualifier>AR</ObjectIdentificationQualifier> <ObjectIdentifier>DESCONOCIDO</ObjectIdentifier> <ObjectIdentificationQualifier>CL</ObjectIdentificationQualifier> </RelatedIdentificationNumbers> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasuredAttributeCode>G</MeasuredAttributeCode> <MeasurementUnitCode>KGM</MeasurementUnitCode> <MeasurementValue>3800</MeasurementValue> </Measurements> <Measurements> <MeasurementPurposeQualifier>AAE</MeasurementPurposeQualifier> <MeasurementUnitCode>UN</MeasurementUnitCode> <MeasurementValue>1006</MeasurementValue> </Measurements> <DocumentGroup> <DocumentDetails> <DocumentNameCode>DUE</DocumentNameCode> <DocumentIdentifier>13ES0046211006070</DocumentIdentifier> <DocumentStatusCode>0</DocumentStatusCode> </DocumentDetails> <DateTimePeriod> <DateFunctionQualifier>58</DateFunctionQualifier> <DateValue>201302211835</DateValue> <DateFormatCode>203</DateFormatCode> </DateTimePeriod> <PlaceLocationIdentification> <LocationFunctionCodeQualifier>43</LocationFunctionCodeQualifier> <LocationNameCode>0812</LocationNameCode> </PlaceLocationIdentification> </DocumentGroup> </RelatedIdentificationNumbersGroup> </CustomsGroup> </CUSDEC> Versión 1.3 Febrero 2013 Página 35 de 37

Anexos 6 Anexos Xml vs Edifact A continuación se muestra una tabla con todos los elementos de datos del mensaje COPRAR en formato xml y su elemento equivalente del formato edifact. EDIFACT XML UNB UNH BGM LOC DTM SG4 InterchangeHeader 0001 SyntaxIdentifier 0002 SyntaxVersionNumber 0004 SenderIdentification 0010 RecipientIdentification 0017 DateOfPreparation 0019 TimeOfPreparation 0020 InterchangeControlReference MessageHeader 0062 MessageReferenceNumber 0065 MessageTypeIdentifier 0052 MessageTypeVersionNumber 0054 MessageTypeReleaseNumber 0051 ControllingAgency 0115 MessageSubsetIdentification 0116 MessageSubsetVersionNumber 0051 AssociationAssignedCode BeginningOfMessage 1001 DocumentNameCode 1004 DocumentIdentifier 1225 MessageFunctionCode PlaceLocationIdentification 3227 LocationFunctionCodeQualifier 3225 LocationNameCode DateTimePeriod 2005 DateFunctionQualifier 2380 DateValue 2379 DateFormatCode DetailsOfTransportGroup TDT DetailsOfTransport 8051 TransportStageCodeQualifier 8028 ConveyanceReferenceNumber 8067 TransportModeNameCode 8212 TransportMeansIdentificationName Versión 1.3 Febrero 2013 Página 36 de 37

Anexos UNS SG30 UNT CST MEA NAD SG44 SectionControl 0081 SectionIdentification 1496 7361 6311 6313 6411 6314 3035 3039 3036 GIR MEA SG30 7297 7402 7405 4405 6311 6313 6411 6314 DOC DTM LOC 1001 1004 1373 2005 2380 2379 3227 3225 CustomsGroup CustomsStatusOfGoods GoodsItemNumber CustomsGoodsIdentifier Measurements MeasurementPurposeQualifier MeasuredAttributeCode MeasurementUnitCode MeasurementValue NameAndAddress PartyFunctionQualifier PartyIdentifier PartyName RelatedIdentificationNumbersGroup RelatedIdentificationNumbers SetTypeQualifier ObjectIdentifier ObjectIdentificationQualifier StatusDescriptionCode Measurements MeasurementPurposeQualifier MeasuredAttributeCode MeasurementUnitCode MeasurementValue DocumentGroup DocumentDetails DocumentNameCode DocumentIdentifier DocumentStatusCode DateTimePeriod DateFunctionQualifier DateValue DateFormatCode PlaceLocationIdentification LocationFunctionCodeQualifier LocationNameCode UNZ Versión 1.3 Febrero 2013 Página 37 de 37

Anexos Tipos de documentos aduaneros El tipo de documento que aparecerá en la nueva versión del CUSDEC es el recibido en las cargas TDA provenientes de la Aduana, pero para elaborar el manifiesto de carga debe usarse otro código diferente. A modo de ejemplo, y para facilitar la elaboración del manifiesto, se añade una tabla de equivalencia entre códigos para los principales documentos implicados en la carga. Tipo Documento TDA (CUSDEC) Tipo documento a usar en el Manifiesto de carga DUE 830 T2L 825 EXS EXS TEX 821 822 826 Como se puede observar, los tránsitos TEX pueden corresponder a tres tipos de documentos diferentes en el manifiesto de carga. Versión 1.3 Febrero 2013 Página 38 de 37