Message type: E = Error
Message class:  9J1UF_UATAX - Ukrainian tax messages 
Message number: 365
Message text: Position &1 of Sales Document &2 is not referred to in tax document &3
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 9J1UF_UATAX365 indicates that there is a mismatch between the sales document and the tax document in the context of tax determination. Specifically, it means that a certain position (line item) in the sales document is not being referenced correctly in the associated tax document.
Cause: Missing Reference: The specified line item in the sales document does not have a corresponding entry in the tax document. Data Inconsistency: There may be inconsistencies in the data between the sales document and the tax document, such as missing or incorrect tax codes. Document Status: The sales document may be in a status that does not allow for proper tax determination or processing.
Configuration Issues: There could be issues with the configuration of tax determination settings in the system, such as incorrect tax calculation procedures or missing tax codes.
Solution: Check Document References: Verify that the sales document and tax document are correctly linked. Ensure that all
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
9J1UF_UATAX364 Some items have no reference to a Sales Document position
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UF_UATAX363 Clearing amount exceeds available amount of the invoice &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UF_UATAX366 Not enough avail. amount for material &1 with tax rate &2 in tax doc. &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UF_UATAX367 Tax amount calculated for tax rate does not match amount in tax invoice
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.