Did you try to creating a document manually and check what posting date Business central takes.
It seems you are inserting the record first and afterwards modifying the record when importing excel.
Can you share your code for better answer.
The code is written in InitRecord().
if SalesSetup."Default Posting Date" = SalesSetup."Default Posting Date"::"No Date" then
"Posting Date" := 0D;