Desktop: Why is the invoice number 0?