Foreign Income Exclusion

Hi,

I am working on my taxes and I am not sure how to proceed with completing the 2555 for foreign income exclusion for 2023. I was out of the country for all of 2022 and part of 2023. Based on the guidance for the physical presence test I have a 12-month period in which I was out of the country which started in 2022 and ended in 2023. I used the dates 19 July 2022 to 18 July 2023 (or vis versa whichever worked in TT). We were in the country from 20 July to the present. So in 2023, we were in the country for 165 days, from 20 July until the end of the year but we did not leave the US. I entered the July date in TT but what about the end date? The field calls for the date we left the country but we did not leave at the end of December. How to enter this in TT. 

Additionally, the field that asked the number of days I was in the country on business but when I entered 0 the TT informe me the number had to be greater than zero. I was not in the country for business, we returned home after my overseas contract expired. How to handle this? 

Thanks