Salesforce to Xero – Invoice History Notes Sync
This article explains how Notes or History records created in Salesforce can be synced and displayed in Xero against an invoice.
Flow Configuration Steps
Step 1: Create Record Triggered Flow
-
Navigate to Setup → Flows
-
Click New Flow
-
Select Record Triggered Flow
-
Choose the object where notes or history is stored.
-
Configure the flow to trigger on Record Create or Update.
Step 3: Add Apex Action to the Flow
Use the following Apex Action:
HistoryEndPoint : Invoices
HistoryNotes : Defines the message that will be sent to Xero invoice history.(ex -> Invoice Approved by Team)
HistoryRecodId : {!$Record.Invoice_External_Id__c}
method : updateHistory
orgid : {!$Record.Xero_Org_Unique_Id__c}
This Apex action will:
Trigger the xero functionality to create the notes under that particular invoice
Screenshot Reference
Step 4: Activate Flow
Save and activate the flow after configuration.
Related Articles
Sync Credit Notes – Manual Option
[ Sync Credit Notes ] button on the < SFX Setup > tab allows you to synchronise any historical Credit Notes or Credit Notes that require manual sync This feature allows you to synchronise Credit Notes. Credit Notes can be synced from Xero to ...
SFX Release Notes 2.40
SFX Release Notes Greetings, SFX users! We are excited to announce SFX updated version 2.40, which we released in November 2025. The latest version promises higher performance and improved security features. What’s New? We’ve have launched the ...
SFX Release Notes 2.30
SFX Release Notes Greetings, SFX users! We are excited to announce SFX updated version 2.30, which we released in May 2024. The latest version promises higher performance and improved security features. What’s New? We’ve have launched the following ...
Manual Journal sync from Xero to Salesforce
Overview The Manual Journal sync allows journals created in Xero to be automatically reflected in Salesforce. This ensures financial data stays consistent across both platforms without the need for manual updates. How it works 1. Create a Manual ...
Will Account and Contacts from Salesforce sync with xero Customers
Yes, Accounts and Contacts from Salesforce sync from Salesforce to xero when an Invoice is created. You can also manually sync the customers in Xero by importing via data loader. Please note to include the XeroId as the external Id when you upload ...