Loading: querying the invoice database.