Prompt
How do I troubleshoot missing payments in Xero invoice sync?
Latest observation
Here’s a practical way to troubleshoot missing payments in a Xero invoice sync:
1) Confirm the payment exists in the source system
First, verify the payment was actually recorded where the invoice originated:
- Check the invoice status
- Confirm the payment date, amount, currency, and method
- Make sure it was marked as paid/completed, not just pending
2) Check whether the payment synced at all
In your sync tool or integration log:
- Look for the invoice sync event
- Look for a separate payment sync event
- Search for errors, warnings, or skipped records
- Check whether the sync ran after the payment was created
Many integrations sync invoices and payments separately, so the invoice may appear in Xero while the payment does not.
3) Verify the invoice in Xero matches the source invoice
Payments usually only attach if Xero can match the invoice exactly. Check:
- Invoice number/reference
- Contact/customer name
- Currency
- Amount
- Invoice status in Xero
- Whether the invoice already has a partial or full payment recorded
If the invoice was recreated or edited in Xero, the payment may fail to match.
4) Look for payment-matching issues
Common causes:
- Different invoice number between systems
- Customer/contact mismatch
- Currency mismatch
- Partial payment logic not supported
- Overpayment or underpayment
- Multiple invoices with the same reference
- Payment applied to a deleted/voided invoice
- Payment date outside expected sync window
5) Check Xero connection permissions
If the integration lost access or scopes changed:
- Reconnect Xero
- Confirm the integration has permission to create payments
- Check whether the Xero tenant/org is still linked correctly
6) Review Xero audit history
In Xero:
- Open the invoice
- Check the history/audit trail
- See whether a payment was created and later removed, or never created at all
This can tell you whether the issue is with sync creation or a later manual change.
7) Inspect any filters or mapping rules in the integration
Some sync tools only sync payments when:
- Payment status is “paid”
- Payment method is mapped
- Certain gateways are enabled
- The invoice is in a specific state
- The payment is within a date range
Also check whether failed payments are intentionally excluded.
8) Re-run or force a resync if available
If the integration supports it:
- Re-sync the invoice
- Resync payments only
- Replay failed sync jobs
- Clear and reprocess the record
9) Check for duplicate or stale records
Sometimes the payment is missing because:
- The invoice was synced twice
- A duplicate invoice exists in Xero
- The payment attached to a different invoice copy
- The original payment record was archived or superseded
10) Test with a new sample invoice/payment
To isolate the problem:
- Create a new invoice
- Create a small test payment
- Sync again
- Compare the result with the missing payment
If the test works, the issue is likely with the original record’s data or history.
If you want to narrow it down quickly, check these first:
- Payment exists in source system
- Payment sync event/log
- Invoice number/contact/currency match
- Xero permissions
- Integration error logs
If you tell me which app/integration you’re using with Xero and whether the payment is missing entirely vs partially applied, I can give you more specific steps.
Brands