Message type: E = Error
Message class:  EDOCUMENT_IN_EINV - eDocument Inda eInvoice 
Message number: 024
Message text: Field 'Stcd'(State Code) is not filled under node 'BuyerDtls'
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_EINV024 indicates that the field 'Stcd' (State Code) under the node 'BuyerDtls' is not filled. This error typically occurs in the context of electronic invoicing (e-invoicing) when the system expects certain mandatory fields to be populated for compliance with legal or business requirements.
Cause: Missing Data: The most common cause of this error is that the state code for the buyer is not provided in the invoice data. This could be due to incomplete master data for the buyer or an oversight during the invoice creation process.
Configuration Issues: There may be configuration settings in the SAP system that require the state code to be filled but are not properly set up. Data Mapping Issues: If there are issues with how data is being mapped from the source system to the e-invoicing format, it could lead to missing fields.
Solution: Check Buyer Master Data: Ensure that the buyer's master data is complete
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
EDOCUMENT_IN_EINV023 Field 'Pin' is not filled under node 'BuyerDtls'
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_EINV022 Field 'Loc'(Location) is not filled under node 'BuyerDtls'
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_EINV025 'Pin' & is not valid under node 'BuyerDtls'
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_EINV026 Field 'Gstin' 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...
Click on this link to search all SAP messages.