Symptom
Modelo 340 VAT Tax Return Run XY failed with error messages:
'Invalid phone number, must contain 9 digits only'. (XY represents the Modelo 340 VAT Tax Return Run ID)
'Tax return creation failed'
Environment
SAP Business ByDesign
Reproducing the Issue
-
Go to the Tax Management work center.
-
Go to the Periodic Tasks view.
-
Go to the VAT Return Runs subview.
-
Find the Modelo 340 VAT Return Run XY.
-
Open the relevant Application Log.
-
Open the Results tab.
-
The below errors are shown:
'Invalid phone number; must contain 9 digits only'
'Tax return creation failed'
Cause
Company Tax Arrangement for Modelo 340 requires a Person Responsible to be set up. You can check who within the company is the Person Responsible by:
- Go to the Tax Management work center.
- Go to the Tax Authorities view.
- Find the Spanish Tax Authority and open it.
- Click View All.
- Open the Company Tax Arrangements tab.
- Open the Tax Return Arrangements subtab.
- Find the Modelo 340 Tax Return Arrangement.
Under the Person Responsible column you can see the relevant name.
In this case, the phone number maintained in the profile of the Person Responsible contains spaces between the numbers, these spaces count as digits, therefore the system shows the error 'Invalid phone number, must contain 9 digits only'.
Resolution
You need to change the phone number maintained for the Person Responsible so that no spaces exist between numbers, for example, <country code> 123456789.
To do so, please follow the steps below:
-
Go to the Business Partner Data work center.
- Go to the Employees view.
- Find the Person Responsible and select it.
- Click the Edit button.
- You can modify the phone number maintained in the In-House Communication field.
- Click Save and Close.
After above changes have been performed, you can re-schedule the Modelo 340 VAT Tax Return Run XY, a new Application Log will be created showing no errors.
See Also
For more information regarding Modelo 340, please refer to the built-in document called 'Tax Reporting – Spain' that you can find in the Help Center.
Keywords
Modelo 340, Spain, Spanish, Tax, Taxation, Company Tax Arrangement, Error, 9 Digits, Phone Number, Return, Run, Tax Management, Invalid. , KBA , SRD-FIN-TAX , Tax Management , Problem