The Spanish government is in the process of passing legislation which will automatically classify large amounts of undeclared cash brought into or taken out of the country as having been obtained illegally.