View the Invoice in Xero.
In the Invoice Options, select "Add Credit Note"
The form will be automatically filled-out, just check all the values and update the amount if necessary.
Click Approve.
The Credit Note will be synced once automatic sync is done every 20 minutes.