async function transitionToIndividualBilling(billingGroupId) { const group = await getBillingGroup(billingGroupId); // Log for records console.log(`Deleting group: ${group.groupName}`); console.log(`Subscriptions reverting to individual billing: ${group.rentalIds.length}`); // Delete the group await deleteBillingGroup(billingGroupId); return { deleted: true, affectedSubscriptions: group.rentalIds };}