SAP Knowledge Base Article - Public

2766682 - Modelo 340 VAT Tax Return Run Error 'Invalid Phone Number, Must Contain 9 Digits Only'

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

  1. Go to the Tax Management work center.
  2. Go to the Periodic Tasks view.
  3. Go to the VAT Return Runs subview.
  4. Find the Modelo 340 VAT Return Run XY.
  5. Open the relevant Application Log.
  6. Open the Results tab.
  7. 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:

  1. Go to the Tax Management work center.
  2. Go to the Tax Authorities view.
  3. Find the Spanish Tax Authority and open it.
  4. Click View All.
  5. Open the Company Tax Arrangements tab.
  6. Open the Tax Return Arrangements subtab.
  7. 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:

  1. Go to the Business Partner Data work center.
  2. Go to the Employees view.
  3. Find the Person Responsible and select it.
  4. Click the Edit button.
  5. You can modify the phone number maintained in the In-House Communication field.
  6. 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

Product

SAP Business ByDesign all versions