Message type: E = Error
Message class:  FDM_INVHISTORY - Messages for Invoice History 
Message number: 013
Message text: Posting item &1 is posted to &3 and not to customers &2
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 FDM_INVHISTORY013 indicates that there is a discrepancy in the posting of an item. Specifically, it states that the posting item (identified by &1) is posted to a specific account (identified by &3) instead of being posted to the expected customer account (identified by &2). This error typically arises in the context of financial document management and invoicing processes.
Cause: Incorrect Account Assignment: The item may have been incorrectly assigned to a different account during the posting process.
Configuration Issues: There may be issues with the configuration of the financial document types or account determination settings in the system. Data Entry Errors: Manual data entry errors during invoice creation or posting can lead to incorrect account assignments. Missing Customer Master Data: If the customer master data is incomplete or incorrect, it may lead to postings not being directed to the correct customer account.
Solution: Review the Posting Document: Check the details of the posting
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FDM_INVHISTORY012 Posting item &1 is posted to customer &3 and not customer &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FDM_INVHISTORY011 Currently, only documents with account type &1 can be processed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FDM_INVHISTORY020 Error branching to document display
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FDM_INVHISTORY021 Document has not been posted yet; document display not possible
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.