Go to Reports > Financial > Item sales. Generate the report on uninvoiced sales for the sales transactions of the patients hospitalized over the month end.  Part of the invoice is then generated during the reporting month. That sum may be calculated by selecting the Invoice status filter Draft.

Uninvoiced