invoice should have date generated