Create Xero invoice from Salesforce membership payment

CRMMarketingSalesAccounting

What it does

When a payment transaction is created or updated in Salesforce, this automation checks if it meets membership purchase criteria. If the payment is banked and not from a demo facility, it creates a corresponding invoice in Xero.

Who it's for

Accounting teams who need invoices in Xero to sync automatically when membership payments are recorded in Salesforce.

How teams use this

Sync membership payments to accounting

When a membership payment is banked in Salesforce, an invoice is automatically created in Xero. The team no longer needs to manually enter the transaction in the accounting system.

Filter out demo facility transactions

The automation excludes payments from demo facilities so test transactions never create invoices in Xero. Only real membership payments flow through to the accounting system.

Extend to other payment types

Add conditions to include additional payment types beyond Membership so other transaction categories also generate invoices. Set up separate line items for each payment type to keep invoices organized.

How it works

  1. Monitor for new or updated payment. Detect when a payment transaction is created or updated in Salesforce, including the banked status, payment type, transaction type, and merchant facility.
  2. Check payment conditions. Verify the payment is banked, the payment type is Membership, the transaction type is Purchase, and the merchant facility is not a demo facility.
  3. Create invoice in Xero. Create an invoice with a single line item in Xero using the payment details from Salesforce so accounting records are complete.