The PR
Title: Add sales tax to invoice calculations Summary: Currently, invoices show line items and totals, but no sales tax. This PR adds tax calculation based on the customer’s location and item categories. Changes:- New
calculateTax()function that calls a tax rate API - Tax amount added to invoice total
- Invoice template updated to show tax line item
Factor Analysis
Verdict
… (rest of file unchanged)