Show Sage Accounting data in Salesforce
Connect Sage Accounting and Salesforce to Portal. Sage Accounting customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every a Sage Accounting sales quote, which expires after the number of days you set (30 by default) can be tracked as an opportunity.
What reaches Salesforce from Sage Accounting.
| Salesforce | From Sage Accounting | Direction |
|---|---|---|
| Account | Each Sage Accounting customer, the Sage Accounting customer contact, on credit hold when its notes contain the text you choose (CREDIT HOLD by default): name, phone and the website from the email domain, matched on a Portal ID field | Portal writes; unmatched Salesforce accounts come in as company leads |
| Contact | The Sage Accounting contacts of each linked customer | Portal writes; contacts made only in Salesforce come into Portal, and an edit to a Sage Accounting contact becomes a change for your team to approve |
| Account summary fields (optional) | The customer's open balance and customer number, the count of open orders, the last five orders with status, and credit hold | Portal writes, as text fields on the account |
| Opportunity | One per a Sage Accounting sales quote, which expires after the number of days you set (30 by default) or order, with its total and close date | Portal writes; Salesforce changes to it are not read back |
| Product (optional) | Item code, the quantity in stock of each Sage Accounting Plus stock item, kept in one place as on hand and available, and the base price | Portal writes |
| Lead, Task, Note | Salesforce leads, tasks and notes | Portal reads them; workflows, agents and staff can create new ones |
Connect Sage Accounting and Salesforce.
Connect Portal to your Sage Accounting business
Under Setup, ERP, ERP system in Portal, choose Sage Accounting and click Connect with Sage Accounting, then sign in to Sage and approve access. Portal takes the first business on that Sage login and sends its ID as the X-Business header on every call; if your login has several businesses, type the right business ID in the settings. Then set the bank account that receives portal payments, the credit hold text and, if you want, the price type used as the list price.
Connect Salesforce
In Connect, Integrations, Salesforce, choose Connect Salesforce and sign in as a Salesforce administrator. Portal adds a Portal ID field to accounts, contacts and opportunities, the account summary and product stock fields, and a Portal integration permission set, then runs a first sync of your Sage Accounting customers and contacts.
Choose what Portal writes
Tick Also write balance, open orders, recent orders and credit hold on each Salesforce account so reps see the Sage Accounting numbers on the account page. Turn on Products and stock to send item stock and base prices. Accounts Portal cannot match with confidence wait under Companies to check for staff to approve.
Track quotes as opportunities
Add the Create CRM deal action to a workflow that runs when a quote is sent, and Change CRM deal when it is won or lost. Each a Sage Accounting sales quote, which expires after the number of days you set (30 by default) becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal creates a draft sales invoice from the quote through Sage's own invoice-from-quote, a step Sage says cannot be undone.
Give reps the rest in the rep portal
Reps sign in to their own Portal site and see only their assigned customers with balance, credit limit and credit hold. They can open each customer's released Sage Accounting sales invoices and credit notes, with the amount still outstanding and place orders, quotes and returns on the customer's behalf, logged under their name.
How Portal reads Sage Accounting.
Portal uses the Sage Accounting API v3.1. Your administrator chooses Connect with Sage Accounting in Portal, signs in to Sage and approves access; Portal then stores the business ID and sends it as the X-Business header on every call, so it never falls back to another business. Portal refreshes the five-minute access token as needed and saves each new refresh token Sage returns.
Because the API has no sales orders, a Portal order is written as a draft sales invoice, which your team releases in Sage to invoice it; an accepted quote becomes a draft invoice through Sage's own invoice-from-quote, which marks the quote Invoiced. Quotes, invoices and payments carry Sage's idempotency ID, and quotes and orders also carry a portal reference that Portal searches for before creating, so a retry returns the first document. Credit hold is a marker you choose in the customer notes, since Sage contacts have no hold flag.
| Sage Accounting record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | Yes | Credit hold from a marker in the customer notes |
| Products and services | Yes | Yes | |
| Prices | Yes | No | One price per price type; no quantity breaks |
| Stock | Yes | No | Accounting Plus only, one location |
| Quotes and estimates | Yes | Yes | Turned into a draft invoice on acceptance |
| Orders | Yes | Yes | Draft sales invoices, released in Sage to invoice |
| Sales invoices and credit notes | Yes | Yes | |
| Customer payments (receipts) | Yes | Yes | Allocated to the invoices paid; a surcharge is not posted |
| Attachments | No | Yes | On customers, quotes and invoices |
| Shipments and returns | No | No | Sage Accounting has no shipment or return document |
What it does not do.
- Invoice lines, payment status and credit limits from Sage Accounting are not written to Salesforce; reps see them in the rep portal.
- Portal syncs with Salesforce every 15 minutes, and soon after customers or contacts change in the ERP. It is not instant.
- Changes made to opportunities in Salesforce are not read back, so winning one there does not start a workflow in Portal.
- The Salesforce connection is tested against a Salesforce stand-in so far, so your Portal team sets it up with you on your org.
Sage Accounting and Salesforce, answered.
Can reps see Sage Accounting payment status in Salesforce?
Not invoice by invoice. With the account summary turned on, each Salesforce account shows the customer's open balance, open and recent orders and credit hold. Reps open released Sage Accounting sales invoices and credit notes, with the amount still outstanding themselves in the rep portal.
Does Salesforce write anything back into Sage Accounting?
No. Sage Accounting owns customers and their contacts. A Salesforce edit to a Sage Accounting contact becomes a proposed change that staff approve in Portal, and nothing is written into Sage Accounting from Salesforce.
What stops duplicates?
Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching Sage Accounting carry Sage's idempotency ID plus a portal marker in the document notes, searched for in the customer's last 7 days of documents before every create.
Why do portal orders show up as draft invoices in Sage Accounting?
The Sage Accounting API v3.1 has no sales order, only quotes, estimates and invoices. Portal writes each order as a draft sales invoice, which does not touch your ledger until your team releases it in Sage and it gets its invoice number.