SAP Knowledge Base Article - Public

3760143 - Error: FI_IT_DNC004 during MIGRATION testing - SAP S/4HANA Cloud Public Edition

Symptom

  • Error FI_IT_DNC004 occurs during migration testing when trying to post earlier-dated invoices after later test postings exist.
  • Error text "Posting date &1 not chronological; document &2 "  indicates Italy chronological numbering is blocked during migration testing in the quality system.

  • Deleting entries in "Assign VAT Registers to Accounting Document Types" is not possible and shows: "Delete not possible for record created by SAP."

Environment

  • SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Perform migration testing in the quality system for Italy.
  2. Post some invoices dated in May during testing.
  3. Attempt to load historical transactional invoices from January with January posting dates.
  4. Observe error FI_IT_DNC004 stating that a later document already exists in the same Italian chronological numbering sequence.
  5. Reverse the May documents and note that reversals are also posted in May, keeping the sequence blocked.
  6. Try to delete entries in "Assign VAT Registers to Accounting Document Types" and receive "Delete not possible for record created by SAP."

Cause

The error FI_IT_DNC004 is not a system defect, it is an intentional legal control built into SAP S/4HANA Cloud Public Edition for Italy. Italian VAT regulations require that invoices and credit memos be assigned a strictly progressive, uninterrupted chronological number sequence starting from January 1st of each calendar year. This is a mandatory legal requirement under Italian VAT law, and the system enforces it to ensure that the company remains compliant.

For the same reason, the VAT register / document type assignment entries delivered by SAP cannot be deleted. 

Resolution

It is recommended configuring dedicated FI document types to be used exclusively for MIGRATION TEST postings in your Quality system, leaving them unassigned to any VAT register. Since the chronological numbering check only applies to document types that are linked to a VAT register, postings using these migration document types will not trigger the FI_IT_DNC004 error, regardless of the posting date.

This approach gives a clean, isolated path for loading historical data without affecting the legal numbering sequences.

Please note that this solution is intended exclusively for migration testing purposes in a non-production environment.

Documents posted with these document types will not be included in Italian VAT reporting.

Keywords

fi_it_dnc004, italy, chronological numbering, vat register, document type, migration testing, posting date, not chronological , KBA , FI-LOC-CNT-IT , Italy , Problem

Product

SAP S/4HANA Cloud Public Edition all versions