Only setting invoiceno if not set before and one less line of code when creating transaction.