Invoices are generated by the charge service operation, which Billdozer runs automatically every hour.