Problem
The wrong code is being added to memberships. This code does not exist in the pricebook, but the billing template still includes it.
Solution
Fix the billing template to prevent the wrong code from being added to more membership invoices. Then, find and fix the incorrect memberships.
Fix the Billing Template
Go to Settings
> Invoicing > Membership Types.Click Edit for the Membership Type that needs to be fixed.
Click Billing > Billing Template.
Remove or update the wrong task from the billing template.
Save your changes.
Find and fix incorrect memberships
Go to the navigation bar and click Reports.
Open the Active Memberships report.
Look for the membership type in question that was sold, especially around and after the date you noticed the issue.
For each membership found, go to the customer's membership.
Edit the membership.
Check the Billing Template. If the incorrect task is added to the billing template, manually edit the membership to fix it. You can also cancel and resell the membership with the correct dates and template.