Our billing includes Active Memberships (as opposed to Closed Memberships) excluding those with Written Off Loans.  Use the Membership Analysis Report (Tool # 520).  When choosing your selections, be sure to use the previous month in the Date to Process field, Select Active in the Accounts to Include field and select  Report written off loans separately in the Report Option field. This total will match the Active Memberships total on your invoice.