Activating Tax Reporting According to Model 340: Spain 
Before you can generate tax reports according to model 340, the feature must be activated.
From the SAP Business One Main Menu, choose .
Select the Extended Tax Reporting checkbox.
In the Period Type for Report Generation field, specify whether you want to generate the tax report on a monthly or quarterly basis.
To save your entry, choose the Update and OK buttons.