Fix tons of small bugs in invoice models.