Class diagram of the Intrastat system
 Class diagram of the Intrastat system
|
Description |
Class diagram of the Intrastat system |
This class diagram shows the static structure of the
Intrastat system for application purpose, it describes the application
domain. Class and attributes related to the optional response to the Intrastat declaration
are included in this class diagram.
It is the basis of the class diagrams associated with the INSTAT EDI
message and the INSRES EDI message. This EDI message can be in XML format for example.
The classes contain attributes, which are not sent in the Intrastat
declaration neither in the response but are necessary for the
application of entry of Intrastat data and generation of the Intrastat
declaration and its optional response.
Operations are not defined for the classes. Attributes have a type defined in the W3C recommendation on XML schema.
The following types of attributes are described:
-
"string": represents a character string,
-
"decimal": is a finite-length sequence of decimal digits (#x30-#x39) separated by a decimal indicator;
an optional leading sign is allowed; if the sign is omitted, "+" is assumed.
-
"integer": is represented by a finite-length sequence of decimal digits (#x30-#x39) with an optional
leading sign; if the sign is omitted, "+" is assumed,
-
"anyURI": represents finite-length character sequences, which result in strings which are
legal URIs according to [RFC 2396], as amended by [RFC 2732]
-
"boolean": represents the set of literals {true, false},
-
"date": is represented by CCYY-MM-DD where "CC" represents the century, "YY" the year,
"MM" the month and "DD" the day,
-
"time": is represented by hh:mm:ss where "hh", "mm", "ss" represent
hour, minute and second respectively [ISO 8601].
Code lists associated with attributes are represented by the stereotype
"enumeration". Codes of small code lists are enumerated into brackets.
|
Classes |
Additional national subdivision of the Commodity code provided by the Member States in
accordance with the combined nomenclature.
Public Attributes:
This class contains the address attributes common to the PSI, TDP, Collecting
Centre, CNA, Contact person like postal address, phone, fax, e-mail, URL.
Public Attributes:
- streetName : string
Name of the street.
-
streetNumber : string
Number identifying the position of a building on a street.
-
postalCode : string
Postal Code.
-
cityName :
string
Name of the city.
-
countryName :
string
Country name.
-
phoneNumber :
string
Phone number.
-
faxNumber :
string
Fax number.
-
e-mail :
string
Electronic mail address.
-
URI: URI
Uniform Resource Locator.
Commodity code: eight-digit code of the appropriate subdivision in the version of the
combined nomenclature in force at the time.
Public Attributes:
- CN8Code : string - enumeration
Eight-digit code of the combined nomenclature.
-
CN8Description :
string
Description of the eight-digit code of the combined nomenclature.
-
SUCode :
string
Supplementary units code attached to the CN8 code (if any).
Data collection office designated by the Competent National Authorities.
Derived from Party
Person to be contacted for the Intrastat declaration.
Public Attributes:
- contactPersonId : string
Identification of the contact person.
-
contactPersonName : string
Name of the contact person for the Intrastat declaration.
-
contactPersonRole :
string
Role of the contact person.
Country where the goods originate for Intrastat purposes, when flow is arrival.
Public Attributes:
-
ISOCountryCode : string - enumeration
ISO code of the country.
-
countryName : string
Name of the country.
Currency.
Public Attributes:
-
currencyCode : string - enumeration
Currency code (including Euro).
-
currencyName : string
Name of the currency.
Intrastat declaration: Statistical declaration of intra-Community trade in goods.
Public Attributes:
-
declarationId : string
Identification of the Intrastat declaration.
-
referencePeriod : string
Reference period is composed of:
-
Periodicity: monthly, quarterly or yearly,
-
Year of the period,
-
Period number:
- 1 to 12 for a monthly declaration,
- 1 to 4 for a quarterly declaration,
- Nothing for a yearly declaration.
-
dateTimeOfDeclaration : date
Date and time of creation of the Intrastat declaration.
-
firstLast : string - enumeration = {F,L}
Information indicating if the declaration is the first declaration of the PSI or the
last declaration of the PSI.
-
totalInvoicedAmount : decimal
Total invoiced amount of the goods.
- totalNetMass : integer
Total quantity of goods in net mass.
-
totalStatisticalValue : decimal
Total statistical value of the goods.
-
totalNumberLines : integer
Total number of lines of the declaration.
-
totalNumberDetailedLines : integer
Total number of detailed lines of the declaration before aggregation.
-
previousDeclarationId : string
Identification of the declaration to be corrected.
-
declarationActionCode: string - enumeration = {AC,RE}
Used in response only: Code indicating acceptance or rejection (the action taken)
of the received Intrastat declaration.
-
declarationErrorCode: string - enumeration
Used in response only: Code of the application error found in the received
Intrastat declaration.
-
declarationComment: string
Used in response only: Comment or description of the application error found
in the received Intrastat declaration.
-
lateIndicator: boolean
Used in response only: Indicates if the Intrastat declaration arrived late in
the Collecting Centre.
-
rTotalInvoicedAmount: decimal
Used in response only: Total invoiced amount of the goods, for the received
Intrastat declaration.
-
rTotalStatisticalValue: decimal
Used in response only: Total statistical value of the goods, for the received
Intrastat declaration.
-
rTotalNumberLines: integer
Used in response only: Total number of lines of the received Intrastat
declaration.
Euro or currency of the Member State in which the declaration is made.
Derived from Currency
Depending on the MS, the statistical threshold ranges imply different types of declarations:
-
Fiscal return (F),
-
Simplified return (1),
-
Detailed return (2),
-
Very detailed return (3).
Public Attributes:
-
declarationTypeCode : string - enumeration = {F,1,2,3}
Code of the declaration type.
-
declarationTypeName : string
Name of the declaration type.
Terms of delivery (TOD) for the goods.
Public Attributes:
-
TODCode :
string - enumeration
Code of the Delivery terms.
The code list is {EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAF, DES, DEQ,
DDU, XXX}-
TODDescription :
string
Description of the delivery terms.
Used in response only: Header for the submission of one or more responses to received Intrastat
declarations.
Public Attributes:
-
envelopeId : string
Identification code of the envelope.
-
dateTimeOfEnvelope : date
Date and time of creation of the envelope.
-
testIndicator: boolean
Code indicating if the submission is a test.
Header for the submission of one or more Intrastat declarations.
Public Attributes:
-
envelopeId : string
Identification code of the envelope.
-
dateTimeOfEnvelope : date
Date and time of creation of the envelope.
-
acknowledgementRequest : boolean
Request for acknowledgement of the receipt of the envelope.
-
authentication : string
Authentication code resulting from an authentication procedure (e.g. use of PSI
password in France or electronic signature in Austria).
-
testIndicator : boolean
Code indicating if the submission is a test.
-
numberOfDeclarations : integer
Number of declarations contained in the envelope (check).
-
applicationReference : string
Application reference assigned by the CNA to the application, which must receive the
message.
-
softwareUsed : string
Software used by the PSI or TDP for generating the declarations (e.g. IDEP/CN8).
-
envelopeActionCode: string – enumeration = {AR,AC,RE}
Used in response only: Code indicating acknowledgement of receipt, acceptance
or rejection (the action taken) of the envelope containing the received
declarations.
-
envelopeErrorCode: string - enumeration
Used in response only: Code of the application error found in the envelope
containing the Intrastat declarations.
-
envelopeComment: string
Used in response only: Comment or description of the application error found
in the envelope containing the Intrastat declarations.
Flow of goods reported in the Intrastat declaration:
- Arrival,
- Dispatch.
Public Attributes:
-
flowCode : string - enumeration = {A, D}
Code of the flow of the goods reported in the Intrastat declaration.
-
flowName : string
Name of the flow of the goods reported in the Intrastat declaration.
Function of the declaration:
- Original (O),
- Replace (R),
- Delete (D),
- Modification (M),
- Nil return (N).
Public Attributes:
-
functionCode : string - enumeration = {O,R,D,M,N}
Code of the function of the declaration.
-
functionName : string
Name of the function of the declaration.
Item or line of the Intrastat declaration.
Public Attributes:
-
itemNumber : integer
Serial item (or line) number.
-
goodsDescription : string
Description of the goods (CN8 or PSI description): Usual trade name of the goods.
-
netMass : integer
Quantity of goods in net mass, net of all packaging.
-
quantityInSU : integer
Quantity of goods in supplementary units, in so far as the combined nomenclature
provides for a supplementary unit of measurement for the goods in question.
-
numberOfConsignments : integer
Number of consignments relating to the goods.
-
invoicedAmount : decimal
Invoiced amount of goods, exclusive of VAT.
-
statisticalValue : decimal
Statistical value of the goods.
-
invoicedAmountInCurrency : decimal
Invoiced amount of goods in a currency different from the currency of the Member
State in which the declaration is made.
-
invoiceNumber : string
Invoice number associated with the item.
-
TODDetails : string
Precise statement of the terms of delivery, if the TOD code is "XXX".
-
TODPlace : string
Place of delivery terms.
-
itemErrorCode: string - enumeration
Used in response only: Error code related to the item.
-
itemComment: string
Used in response only: Comment or description of the application error found
in the item of the received Intrastat declaration.
Identification of the second subdivision of delivery terms.
Public Attributes:
-
locationCode : string - enumeration = {1,2,3}
Code of the location of the delivery terms:
- 1: Place located in the territory of the MS concerned,
- 2: Place located in another MS,
- 3: Other (place located outside the Community).
-
locationName : string
Name of the location of the delivery terms.
Member State of the European Union of consignment of destination of the goods.
Public Attributes:
-
ISOCountryCode : string - enumeration
ISO code of the country.
-
countryName : string
Name of the country.
Presumed mode of transport of the goods.
Public Attributes:
-
modeOfTransportCode : string - enumeration = {1,2,3,4,5,7,8,9}
Code of the presumed mode of transport.
-
modeOfTransportName : string
Name of the presumed mode of transport.
Nature of transaction column A.
Public Attributes:
-
natureTransationACode : string - enumeration
Code from column A of the table "Nature of transaction".
-
natureTransactionAName : string
Name from column A of the table "Nature of transaction".
Nature of transaction column B.
Public Attributes:
-
natureTransactionBCode : string - enumeration
Code from column B of the table "Nature of transaction",
corresponding to A.
-
natureTransactionBName : string
Name from column B of the table "Nature of transaction",
corresponding to A.
Partner in one Member State of the European Union involved in the exchange of the goods
(different from the Member State in which the declaration is made).
Public Attributes:
-
partnerId : string - enumeration
Identification of the partner.
-
partnerName : string
Name of the partner.
Party means the entities involved in the exchange of the envelope containing the
Intrastat declarations which are:
- the Collecting Centre which will receive the envelope,
- either the PSI sending the envelope,
- or the TDP sending the envelope and 1 to n PSIs responsible of
the declarations contained in the envelope.
Public Attributes:
-
partyID : string
Identification code of the Party, which can be:
-CCId: Identification code of the Collecting Centre,
-PSIId: Identification code of the PSI,
-TDPId: Identification code of the Declaring Third Party.
-
partyName : string
Name of the party, which can be:
-CCName: Name of the Collecting Centre,
-PSIName: Name of the PSI,
-TDPName: Name of the TDP.
Port, airport or inland port of loading or unloading of goods in the Member State in
which the declaration is made.
Public Attributes:
-
portAirportInlandportCode : string - enumeration
Code of the port/airport/inland port of loading/unloading of goods defined by
the Member State in which the declaration is made.
-
portAirportInlandportName : string
Name of the port/airport/inland port of loading/unloading of goods defined by
the Member State in which the declaration is made.
Party responsible for providing statistical information in the Intrastat system.
Derived from Party
Public Attributes:
-
interchangeAgreementId : string
Identification code of the interchange agreement existing between the two parties.
-
password : string
Password to permit access to the CNA system. This would be specified in a prior
interchange agreement between the parties.
Region of origin or destination of goods in the Member State in which the declaration is
made.
-
Public Attributes:
-
regionCode : string - enumeration
Code of the region of origin or destination of goods defined by the Member
State in which the declaration is made.
-
regionName : string
Name of the region of origin or destination of goods defined by the Member
State in which the declaration is made.
Statistical procedure defined by the Member State in which the declaration is made.
Public Attributes:
-
statisticalProcedureCode : string - enumeration
Code of the statistical procedure defined by the Member State in which the
declaration is made.
-
statProcedureName : string
Name of the statistical procedure defined by the Member State in which the
declaration is made.
Declaring Third Party submitting the Intrastat declarations on behalf of a PSI.
Derived from Party
Public Attributes:
-
interchangeAgreementId : string
Identification code of the interchange agreement existing between the two parties.
-
password : string
Password to permit access to the CNA system. This would be specified in a prior
interchange agreement between the parties.
|
Top
of page |
|