Create Xero invoice from Salesforce payment

CRMMarketingSalesAccounting

What it does

When someone creates or updates a payment transaction in Salesforce, this automation checks if it meets specific criteria. If the payment is banked, the type is Orders, and the merchant is not a demo facility, it creates a corresponding invoice in Xero.

Who it's for

Accounting teams who need invoices in Xero to sync with Salesforce payment records automatically.

How teams use this

Sync purchase orders to accounting

When a banked purchase order payment is recorded in Salesforce, an invoice is automatically created in Xero. The team no longer needs to manually enter the same data in both systems.

Exclude non-production facility transactions

The automation skips any payment from a non-production facility so test transactions do not clutter the Xero books. Only live merchant payments trigger invoice creation in the accounting system.

Route invoices by payment type

Extend this automation to check additional payment types beyond Orders, or filter by merchant facility to route invoices to different Xero accounts. Add conditions to split the flow by business line.

How it works

  1. Monitor payment transactions. A new or updated payment transaction appears in Salesforce with details like banked status, payment type, transaction type, and merchant facility.
  2. Check payment conditions. Verify the payment is banked, the payment type is Orders, 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 match.