Message type: E = Error
Message class:  9J1UFDI - Messages for Ukraine E-Invoices 
Message number: 540
Message text: Posting date of &1 will be in tax reporting period &2
You can only create a Tax Invoice of type CM4 if its reporting period is
later than the date of the incoming XML file.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message 9J1UFDI540 indicates that the posting date of a document is falling within a tax reporting period that is closed or not open for posting. This typically occurs when you attempt to post a financial document (like an invoice or journal entry) with a posting date that is outside the allowed range for the current tax reporting period.
Cause: Closed Tax Reporting Period: The tax reporting period for the specified posting date is closed, meaning that no further postings can be made for that period. Incorrect Posting Date: The posting date of the document is set to a date that does not align with the open periods defined in the system.
Configuration Issues: There may be configuration settings in the financial module that restrict postings to certain periods.
Solution: Change Posting Date: Adjust the posting date of the document to a date that falls within an open tax reporting period. Open the Tax Reporting
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
9J1UFDI539 Posting date of &1 will be earlier than tax reporting period &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UFDI538 The tax document &3 has posting date &1 in tax reporting period &2
What causes this issue?  You can only create a Tax Invoice of type CM4 if its reporting period is later than the date of the incoming XML file.System ...
9J1UFDI541 Create TI of type CM2 for XML &1 first
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
9J1UFDI542 You can process negative CTIs together if they are related to the same TI
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.