This step recognizes new and old VAT ID (DI) values. The step also cleans incorrect characters within the VAT ID, verifies checksum (if possible) and VAT ID against a dictionary file containing registered tax offices. Using the preserveInputValue property, the final output value can be selected (original or cleansed).
Note: VAT ID = DI.
<step id='alg' className='cz.adastra.cif.tasks.clean.ValidateVatIdAlgorithm'> <properties> <in>dic</in> <outFinOff>fu</outFinOff> <outCode>code</outCode> <scorer explanationColumn="expl"> <scoringEntries> <scoringEntry key="VID_NULL" score="1000" explain="true" /> <scoringEntry key="VID_FIN_OFFICE" score="1000" explain="true" /> <scoringEntry key="VID_FORMAT" score="1000" explain="true" /> <scoringEntry key="VID_COMPANY" score="1000" explain="true" /> <scoringEntry key="VID_BN_CHECK" score="100" explain="true" /> <scoringEntry key="VID_BN_DATE" score="1000" explain="true" /> <scoringEntry key="VID_IC_CHECK" score="100" explain="true" /> <scoringEntry key="VID_OLD" score="100" explain="true" /> <scoringEntry key="VID_FO_DIFF" score="100" explain="true" /> <scoringEntry key="VID_CLEANED" score="100" explain="true" /> </scoringEntries> </scorer> <foLookupFileName>data/dictionaries/fo_lookup.cif</foLookupFileName> <cnLookupFileName>data/dictionaries/ico_lookup.cif</cnLookupFileName> <treatOldVidAsInvalid>true</treatOldVidAsInvalid> </properties> </step>
iWay Software |