It doesn't know the invoice type
Out of the box, an invoice is only active, paid, or canceled. There is no deposit, progress invoice, final invoice, or credit note, and no way to net a deposit against a final bill. Every billing pattern is built by hand.