I have a weird issue :
I'm used to add Invoice by DI API.
Now for a reason I don't understand
The invoice is CLOSED once added from DI API and this is happening only on a certain database.
Also the Total, Tax and prices at the lower right section of the invoice has nothing and my item in the detail has nothing in the price which isn't right since I added it from the DI API