System validation is always based on the date of entry of the document (FT_INPUT) and it is not possible to change this validation according to EFD Contributions legislation, which establishes this rule.
The system uses the date of entry to perform the proper calculations and generate the files, ensuring that documents in different fiscal periods are not considered. This is the default system practice, except in some specific cases such as the C860 record, which requires the sum per document issue date.
However, it is important to note that, if the tax period is already closed with the MV_DATAFIS parameter setting, the system will not allow documents to be entered in this period. This means that, if it is necessary to enter a tax document in a closed period, it will be necessary to adjust the date of entry of the document according to the date in force at the time of the bookkeeping, keeping the original date of issue of the document.
Thus, it is essential to observe the restrictions imposed by the system and applicable legislation to ensure compliance of information and avoid future problems.