Home
SMF-STF Bridge Transformation Tool - User manual
Contents
1. TABLE OF CONTENTS 1 INTRODUGTION E E ced setesetcatazacte A E E EEE 4 1 12 SUBJECT OF THE DOCUMENT tocata a a a a EEEE EA AA 4 1 2 DEFINITIONS AND ABBREVIATIONS cooooocconccnonccnnncnnnconnccnn cnn nn 4 2 RUNNING THE TO OG ea araa e a aeaa aaa aeaa e a aa A Aa Aae Ainaa ai adaa Tara ioiai 5 24 PREREQUISITES 0000 Aa da 5 212 THE O aii 5 2 37 STARTING a SAKOO ASEE EEE ais iii id 5 2 3 1 Memory Fequire mens ooommcccconncccin inicia rn 5 247 USING TAE TOO A ae ays A pe a E 6 LIA Main A ba 7 2 4 2 Transformation properties window SME STFoococicccinccononicononnnconccconnccnonnnnnnncnnncnnarnncnnnnnnn 9 2 4 3 Transformation properties window STF SMP sssccccccccescceceseeeeneeceneeeceneetsneeeeeseeeseeeessaness 10 2 07 INPUT VALIDATION e a ae ee a a Ea ad Aisa H ae ae 11 2 6 PROBLEM SOLVING iia a a a eee 11 27 ASE SIV ESHEETS ae a a e a aa a A aas 11 2 88 DISCLAIMER uo A EE A EEE EN E A 12 Created for Document name Date Version Page OECD SMF STF Bridge Transformation tool 4 30 2013 0 5 3 12 User manuall doc SMF STF Bridge Transformation Tool User manual OECD 1 INTRODUCTION 1 1 SUBJECT OF THE DOCUMENT This document explains how the OECD Bridge transformation tool should be used 1 2 DEFINITIONS AND ABBREVIATIONS SMF Standard Magnetic Format STF Standard Transmission Format for international information exchange in taxation Created for Document name Date Vers
2. F file will be created the default is UTF 8 Created for OECD Document name SMF STF Bridge Transformation tool User manual1 doc Date Version 4 30 2013 0 5 Page 10 12 SMF STF Bridge Transformation Tool User manual OECD 2 5 INPUT VALIDATION A STF document should conform to the STF XML schema When transforming a STF document into the SMF format the STF document will be validated against the STF schema When an error is found it will be logged and the transformation will be stopped A SMF file should contain records that have a length of 2760 characters following the SMF standard Each record should be separated by a new line When a record is encountered that doesn t match the required length the transformation will be stopped and an appropriate error will be displayed 2 6 PROBLEM SOLVING When the transformation fails the transformation messages area at the bottom of the main window should be consulted If not enough information is visible here to identify the actual problem the command prompt console in which the application is started can be consulted for detailed error messages When a SMF file is transformed into a STF file and the transformation failed or the result is not what is expected verify if the SMF input file is valid and whether the right encoding was selected in the Transformation parameters dialog When a STF file is transformed into a SMF file and the transformatio
3. HATSOEVER REGARDING ITS CORRECTNESS ANYONE USING THIS TRANSFORMATION TOOL WILL DO THIS UNDER HIS OR HER OWN RESPONSIBILITY AND BEFORE USING IT WILL HAVE TO TEST IT AS CONSIDERED NECESSARY NO LIABILITY WILL BE ACCEPTED BY OECD THE OECD TIES GROUP OR THE AUTHORS OF THIS TRANSFORMATION TOOL FOR ANY DIRECT OR INDIRECT DAMAGE THAT MAY RESULT FROM USING THIS TRANSFORMATION THIS TRANSFORMATION TOOL MAY BE USED AND CHANGED FREELY IF AND ONLY IF THESE CONDITIONS ARE ACCEPTED Created for Document name Date Version Page OECD SME STF Bridge Transformation tool 4 30 2013 0 5 12 12 User manual1 doc
4. Organisation for Economic Co operation and Development OECD SMF STF Bridge Transformation Tool User manual Version 0 50 Status working document internal version subject to acceptance X approved SMF STF Bridge Transformation Tool User manual OECD LISTE OF MODIFICATIONS Date Author Version Nature 20 March 2008 E Rillaerts 0 1 Created 15 May 2008 E Rillaerts 0 2 All sections are updated to comply with the new bridge tool version 0 2 Memory requirements and Input validation section are added 16 July 2008 E Rillaerts 0 3 Updated section 2 4 Using the tool 6 October 2008 E Rillaerts 0 4 Updated section 2 4 2 4 2 2 4 3 16 November 2009 E Rillaerts 0 5 Updated section 2 2 Jar executable 20 January E Tassenoy 1 0 All sections are updated to comply with the new bridge tool version 1 0 23 May E Tassenoy 1 0 Change of e mail contact address REFERENCE LisT OECD SMF Manual TIES Tax Information Exchange System Manual OECD Manual on the implementation of exchange of information provisions for tax purposes The OECD Standard Transmission Format for international information exchange in taxation An introduction Created for OECD Document name SMF STF Bridge Transformation tool User manuall doc Date Version 4 30 2013 0 5 Page 2 12 SMF STF Bridge Transformation Tool User manual OECD
5. ated for Document name Date Version Page OECD SME STF Bridge Transformation tool 4 30 2013 0 5 6 12 User manual1 doc SMF STF Bridge Transformation Tool User manual OECD 2 4 1 MAIN WINDOW OECD SMF STF Bridge o E RA N Y OECD SMF STF Bridge Transformation Tool nur fr UEC D Version 1 0 Type of transformation Transform SMF to STF Transformation Parameters Transform STF to SMF Input and Output Input file name J Target file name Start Transformation Transformation messages OECD SMF STF Bridge version 1 0 In case of problems please contact us at CTP AEOl oecd org Figure 1 The main window Created for Document name Date Version Page OECD SMF STF Bridge Transformation tool 4 30 2013 0 5 7 12 User manual1 doc SMF STF Bridge Transformation Tool User manual OECD OECD SMF STF Bridge RG N CO OPERATION O OECD SMF STF Bridge Transformation Tool OECD Version 1 0 Type of transformation Transform SMF to STF Transform STF to SMF Transformation started Estimated time required for processing this file 69 seconds Start Transformation Transformation messages OECD SMF STF Bridge version 1 0 In case of problems please contact us at CTP_AEO oecd org Transformation started Transformation ended SMF encoded in UTF 8 Figure 2 The main window An ongoing transformation displaying the esti
6. ciated transformation properties button appears and gives access to a dialog where the encoding can be specified of the SMF output file The default is UTF 8 The input file needs to be filled in the input file field or it can be selected with the file dialog This dialog can be opened by clicking the button with the three dots next to the input file field The output file needs to be filled in the target file name field it should be a fully qualified and non existing file The file name can also be selected via the file selection dialog The transformation can be started by pressing the start transformation button The transformation can be interrupted by clicking the stop button which is only visible when a transformation is ongoing When the transformation is finished a message will display the result success or failure In case of a failure the error is logged to the transformation messages box at the bottom of the main window When there was a technical problem the detailed technical error information is printed on the console that started the tool When the result of the transformation is an STF document the tool will display a Validate button which allows validating the generated STF against the XSD schema The validation errors if any will be displayed in the messages box and can also be saved to a file via the Save as button that is visible after a validation that returned validation errors Cre
7. ion Page OECD SME STF Bridge Transformation tool 4 30 2013 0 5 4 12 User manuall doc SMF STF Bridge Transformation Tool User manual OECD 2 RUNNING THE TOOL 2 1 PREREQUISITES In order to run the transformation tool you should have a Java runtime JRE installed on your PC Version 1 5 or higher is required If you do not yet have a Java JRE or an older version you can download it from the website of SUN or from www java com 2 2 THE TOOL The tool itself is packaged in a Java archive jar file All required components are stored in this archive The current version of the tool is provided in the jar file named OECD bridge 1 0 jar Since version 0 7 there is also a jar executable available wrapped Java executable which has the file extension exe It is a native Windows launcher that pre sets the Java maximum heap size to 1600 megabyte The executable has been build with the open source package JSmooth Java Executable Wrapper Since it is a native Windows executable it can only be used on a Windows platform 2 3 STARTING THE TOOL The tool can be started by double clicking the OECD bridge 1 0 jar file It is although preferred to start it from a command prompt since technical errors that might occur will be logged to the command console Starting from the command prompt can be done via following command java jar lt name of the jar file gt e g java jar OECD bridge 1 0 jar The wrapped java e
8. mated time to complete Created for Document name Date Version Page OECD SMF STF Bridge Transformation tool 4 30 2013 0 5 8 12 User manual1 doc SMF STF Bridge Transformation Tool User manual 2 4 2 TRANSFORMATION PROPERTIES WINDOW SMF STF Transformation Properties Message specification Sending country Receiving country Warning Contact Message Ref Id Tax Year list SMF input encoding Encoding Edit Tax Year List Figure 3 Transformation properties window OECD By hovering the mouse over the label of a field a tooltip will show up displaying detailed information of the field The mandatory fields are indicated by a red star The Tax Year List field is a read only field It can be edited via the Tax Year List input dialog that can be accessed by clicking the Edit Tax Year List button The encoding of the SMF file can be specified the default is UTF 8 If a wrong encoding is specified the transformed STF can contain unreadable characters Created for OECD Document name SMF STF Bridge Transformation tool User manual1 doc Date Version 4 30 2013 0 5 Page 9 12 SMF STF Bridge Transformation Tool User manual 2 4 3 TRANSFORMATION PROPERTIES WINDOW STF SMF Transformation Properties SMF output encoding Encoding Figure 4 Transformation properties window OECD The encoding can be specified in which the transformed SM
9. n failed or the result is not what is expected verify if it is a well formed STF document and verify if the XML namespace definitions are correct in the STF file The definition should look like lt STF_OECD xmlins xsd http www w3 org 2001 XMLSchema xmins xalan http xml apache org xsit xmins xsi http www w3 org 2001 XMLSchema instance xmins urn oecd ties stf v2 1 gt 2 7 XSLT STYLESHEETS The stylesheet XSL used by the transformation tool for the SMF to STF transformation is a changed version of the original version smf2stf 1 3 xsl This rather small change is required to allow the XSLT transformer to process property values for the different child elements of the MessageSpec element Sending country receiving country warning contact message ref id tax year list This allows to encode these properties in a dynamic way e g via the transformation tool properties dialog instead of having them statically defined in the XSL itself Next to this another small update of the xsl output instruction is made to make the transformer Xalan indent the output properly xalan indent amount is added Created for Document name Date Version Page OECD SMF STF Bridge Transformation tool 4 30 2013 0 5 11 12 User manual1 doc SMF STF Bridge Transformation Tool User manual OECD 2 8 DISCLAIMER THIS TRANSFORMATION TOOL HAS BEEN WRITTEN AND TESTED WITH CARE THERE WILL BE HOWEVER NO GUARANTEE W
10. xecutable exe see 2 2 The tool can be started by double clicking the icon in Windows The executable sets the Java maximum heap size by default to 1600 megabyte 2 3 1 MEMORY REQUIREMENTS When converting large STF files into SMF enough java heap memory has to be available on java 1 5 the minimum memory required is equal to the STF file size 3 Setting the java heap size can be done when starting the tool via the command prompt with the Xmx maximum Java heap size option Following command will start the tool with a maximum heap size of 500 megabyte E g java Xmx500m jar OECD bridge 1 0 jar Created for Document name Date Version Page OECD SMF STF Bridge Transformation tool 4 30 2013 0 5 5 12 User manual1 doc SMF STF Bridge Transformation Tool User manual OECD 2 4 USING THE TOOL The first step is to choose the kind of transformation transform a SMF file into a STF file or a STF file into a SMF file by clicking the appropriate radio button When the option SMF to STF is selected there is a button at the right transformation properties which opens a dialog where specific parameters can be specified used by the transformation The message specification parameters will be stored in the MessageSpec element of the generated STF document The encoding type is mandatory and needs to match the encoding of the SMF file the default is UTF 8 When the option STF to SMF is selected the asso
Download Pdf Manuals
Related Search
Related Contents
Zebra QLn320 FM/AM Clock Radio Calcium Hypochlorite BRIQUETTES MR-426 トランシーバーセット5 取扱説明書 COMPRENDRE LA CRISE ECONOMIQUE ACTUELLE - Cours 取扱説明書(2.7MB) W200-S - nvtecnologias.com King Electric HWP120 Instructions / Assembly Copyright © All rights reserved.