Customers need their invoices to consistently sync with the correct approval status when integrated with Xero. Currently, some invoices are incorrectly marked as "awaiting approval" instead of "awaiting payment" when they are approved in our system, requiring manual correction. This inconsistency can lead to extra work and potential delays in financial processing. To address this, we will investigate the underlying status-mapping logic to identify and resolve the cause of these inconsistencies. Our goal is to ensure all invoices accurately reflect their approval state in Xero without manual intervention, streamlining financial workflows for our users.