Login

Search

Validity

Valid XHTML 1.0 Transitional
Valid CSS!

XML message format

XSD Scheme: instat62.xsd file

<?xml version = "1.0" encoding = "ISO-8859-2"?> <INSTAT xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "instat62.xsd"> <Envelope> <envelopeId>envelopeId</envelopeId> <DateTime> <date>yyyy-mm-dd</date> <time>hh:mm:ss</time> </DateTime> <Party partyType = "partyType" partyRole = "sender"> <partyId>partyId</partyId> <organizationUnit>organizationUnit</organizationUnit> <partyName>partyName</partyName> <Address> <streetName>streetName</streetName> <postalCode>postalCode</postalCode> <cityName>cityName</cityName> </Address> </Party> <softwareUsed>softwareUsed</softwareUsed> <Declaration> <declarationId>declarationId</declarationId> <referencePeriod>yyyy-mm</referencePeriod> <PSIId>PSIId</PSIId> <organizationUnit>organizationUnit1</organizationUnit> <Party partyType = "PSI" partyRole = "PSI"> <partyId>partyId1</partyId> <organizationUnit>organizationUnit2</organizationUnit> <partyName>partyName1</partyName> <Address> <streetName>streetName1</streetName> <postalCode>postalCode1</postalCode> <cityName>cityName1</cityName> </Address> <ContactPerson> <contactPersonName>contactPersonName</contactPersonName> <Address> <streetName>streetName2</streetName> <phoneNumber>phoneNumber</phoneNumber> <faxNumber>faxNumber</faxNumber> <e-mail>e-mail</e-mail> </Address> </ContactPerson> </Party> <Function> <functionCode>functionCode</functionCode> <previousDeclarationId>previousDeclarationId</previousDeclarationId> </Function> <declarationTypeCode>declarationTypeCode</declarationTypeCode> <flowCode>flowCode</flowCode> <currencyCode>currencyCode</currencyCode> <Item> <itemNumber>itemNumber</itemNumber> <CN8> <CN8Code>CN8Code</CN8Code> <SUCode>SUCode</SUCode> </CN8> <goodsDescription>goodsDescription</goodsDescription> <MSConsDestCode>MSConsDestCode</MSConsDestCode> <countryOfOriginCode>countryOfOriginCode</countryOfOriginCode> <netMass>netMass</netMass> <quantityInSU>quantityInSU</quantityInSU> <invoicedAmount>invoicedAmount</invoicedAmount> <NatureOfTransaction> <natureOfTransactionACode>natureOfTransactionACode</natureOfTransactionACode> <natureOfTransactionBCode>natureOfTransactionBCode</natureOfTransactionBCode> </NatureOfTransaction> <modeOfTransportCode>modeOfTransportCode</modeOfTransportCode> <regionCode>regionCode</regionCode> <DeliveryTerms> <TODCode>TODCode</TODCode> </DeliveryTerms> </Item> . . . <totalNumberLines>totalNumberLines</totalNumberLines> <totalNumberDetailedLines>totalNumberDetailedLines</totalNumberDetailedLines> </Declaration> . . . <numberOfDeclarations>numberOfDeclarations</numberOfDeclarations> </Envelope> </INSTAT>


envelopeId - identification code of the envelope (e.g. AAxxxxx where xxxxx is the message number) yyyy-mm-dd - date of creation of the envelope (yyyy is year, mm is month, dd is day of creation) hh:mm:ss - time of creation of the envelope (hh is hour(0-23), mm is minute, ss is second of creation) partyType - entity type involved in the exchange of the envelope containing the Intrastat declarations (PSI for Party responsible for providing statistical information in the Intrastat system, TDP for Declaring Third Party submitting the Intrastat declarations on behalf of a PSI) partyId - identification code of the party which created the envelope organizationUnit - organization unit of the party which created the envelope (filled only for partyType = PSI) partyName - name of the party which created the envelope streetName - name of the street of the party which created the envelope postalCode - postal code of the party which created the envelope cityName - name of the city of the party which created the envelope softwareUsed - software used by the PSI or TDP for generating the declarations (usually SW=INTRASTAT-CS; Va.b-c.d-e.f; MSVersion=g.h; OS=i) declarationId - identification of the Intrastat declaration (sequential number of the declaration in a reference period) yyyy-mm - reference period of the declaration (yyyy is year, mm is month) PSIId - identification code of the PSI associated with the Intrastat declaration organizationUnit1 - organization unit of the party associated with the Intrastat declaration partyId1 - identification code of the party associated with the Intrastat declaration organizationUnit2 - organization unit of the party associated with the Intrastat declaration partyName1 - name of the party associated with the Intrastat declaration streetName1 - name of the street of the party associated with the Intrastat declaration postalCode1 - postal code of the party associated with the Intrastat declaration cityName1 - name of the city of the party associated with the Intrastat declaration contactPersonName - name of the contact person (usually person who created Intrastat declaration) streetName2 - address of the contact person (street name, postal code, city name) phoneNumber - phone number of the contact person faxNumber - fax number of the contact person e-mail - e-mail of the contact person functionCode - code of the function of the declaration (O for Original declaration, N for Nil declaration, M for Modification of a previously sent declaration, D for Deletion of a previously sent declaration) previousDeclarationId - sequential number of correction of the Intrastat declaration (filled only for functionCode=M or D) declarationTypeCode - type of declaration (1 for complete declaration, 2 for simplified declaration) flowCode - flow of goods reported in the Intrastat declaration (A for Arrival, D for Dispatch) currencyCode - currency code (SKK - for decls till 12/2008, EUR - for decls from 01/2009)Item - item or line of the Intrastat declaration, filled only for functionCode=M or O itemNumber - item number CN8Code - commodity code (according to CN8 of EU) SUCode - supplementary units code associated with CN8 code (if any) goodsDescription - description of the goods: Usual trade name of the goods (filled only for declarationTypeCode = 1) MSConsDestCode - ISO code of Member State of the European Union (country of destination of goods for flowCode = D, country of expedition of goods for flowCode = A) countryOfOriginCode - ISO code of the country where the goods originate for Intrastat purposes (filled only for declarationTypeCode = 1 and flowCode = A) netMass - quantity of goods in net mass (filled only for declarationTypeCode = 1) quantityInSU - quantity of goods in supplementary units (filled only for declarationTypeCode = 1 and  if SU is specified) invoicedAmount - invoiced amount of goods natureOfTransactionACode - A code of nature of transaction  (filled only for declarationTypeCode = 1) natureOfTransactionBCode - B code of nature of transaction  (filled only for declarationTypeCode = 1 and if any) modeOfTransportCode - code of the presumed mode of transport by which the goods are presumed to have left the statistical territory of dispatch, or to have entered the statistical territory of arrival (filled only for declarationTypeCode = 1) regionCode - region of origin of goods in the Member State (for flowCode = D), region of destination of goods in the Member State (for flowCode = A) (filled only for declarationTypeCode = 1) TODCode - code of the Delivery terms (filled only for declarationTypeCode = 1) totalNumberLines - total number of lines of the declaration (filled only for functionCode = M or O) totalNumberDetailedLines - total number of detailed lines of the declaration before aggregation (filled only for functionCode = M or O) numberOfDeclarations - number of declarations contained in the envelope