Message type: E = Error
Message class:  EDOCUMENT_IN_EINV - eDocument Inda eInvoice 
Message number: 031
Message text: Field 'Stcd' is not filled under node 'DispDtls'
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message EDOCUMENT_IN_EINV031 indicates that the field 'Stcd' (which typically refers to the "Tax Number" or "Tax ID") is not filled under the node 'DispDtls' (which stands for "Display Details") in the context of electronic invoicing (e-invoicing). This error usually arises when generating or processing electronic invoices in SAP, particularly in compliance with local tax regulations.
Cause: Missing Tax Number: The most common cause of this error is that the tax number (Stcd) is not provided in the relevant data structure for the electronic invoice.
Configuration Issues: There may be issues with the configuration of the e-invoicing settings in SAP, leading to the omission of required fields. Data Entry Errors: The user may have failed to enter the tax number in the appropriate fields during the invoice creation process. Master Data Issues: The vendor or customer master data may not have the tax number maintained, which is required for generating the invoice.
Solution: Check and
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
EDOCUMENT_IN_EINV030 Field 'Pin' is not filled under node 'DispDtls'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EDOCUMENT_IN_EINV029 Field 'Loc' is not filled under node 'DispDtls'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EDOCUMENT_IN_EINV032 'Pin' & is not valid under node 'DispDtls'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EDOCUMENT_IN_EINV033 Field 'Gstin' is not filled under node 'ShipDtls'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.