Symptom
Error when eDocuments are submitted to tax authority 'Enter a 9 digit tax number for company code'
(The tax number assign to your company code XXXX has not a valid length of 9 digits)
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- eDocument cockpit
- Create the document
- Select the source document
- Submit
- Error occurs
Cause
Configuration
Resolution
This error occurs due to Tax code not appended with country name . For the respective company code XXXX, maintain TAX ID in the STCEG field with prefix "ES".
For example, if the tax code is A12345678 - maintain as ESA12345678.
See Also
Keywords
S4_1C,S4_PC, EDOC_COCKPIT, SPAIN, ES, S/4HANA Cloud Public Edition, eDocument, EDOCUMENT_ES_SII011, eInvoice, Tax code , KBA , CA-GTF-CSC-EDO-ES , Spain , Problem