Search Results :

×

How to Sync Salesforce Data to QuickBooks Sales Receipts?

Many organizations need a seamless way to synchronize Salesforce donation data with QuickBooks Sales Receipts while ensuring customer, line item, and transaction details remain accurate. Because Salesforce and QuickBooks don’t provide native automation for creating Sales Receipts from Salesforce records, the miniOrange QuickBooks Integration package fills this gap by enabling low-code configuration using object mappings and Salesforce Flows.

The miniOrange QuickBooks Integration package allows you to define mappings between Salesforce objects and corresponding QuickBooks entities such as Customers, Sales Receipt Line Items, and Sales Receipts. By configuring these object and field mappings and building record-triggered flows, Salesforce data is automatically transformed and synchronized to QuickBooks without writing custom code.

Before starting the QuickBooks authentication setup, ensure you have the following:

  • Access to the Intuit Developer Portal
  • A QuickBooks Sandbox or Production Account
  • Salesforce Administrator Access
  • The miniOrange QuickBooks Integration Package installed in Salesforce
  • Log in to the Intuit Developer Portal.
  • Select Workspace then navigate to the Apps tab.
  • Click the + button to create a new application.
Salesforce QuickBooks Receipts Sync | Create New Application

  • Click Get Started button.
Salesforce QuickBooks Receipts Sync | Get Started

  • Enter an App Name of your choice and click Next.
Salesforce QuickBooks Receipts Sync | App Name

  • Check the com.intuit.quickbooks.accounting and com.intuit.quickbooks.payment permissions, then click the Done button.
Salesforce QuickBooks Receipts Sync | Check the Permissions

  • Enable Show credentials to view the Development Client ID and Client Secret.
Salesforce QuickBooks Receipts Sync | Show credentials

Note and Contact Us - How to Embed Power BI Dashboard

Note: If you are using the QuickBooks Sandbox, you may use sandbox credentials. For production, follow the next steps to generate production credentials.


  • Click Open app to access the app dashboard.
Salesforce QuickBooks Receipts Sync | Open app

  • In the app dashboard, open Keys and Credentials then select Production as the credential type.
Salesforce QuickBooks Receipts Sync | Keys and Credentials

  • Complete the QuickBooks questionnaire to unlock production access.
Salesforce QuickBooks Receipts Sync | QuickBooks Questionnaire

  • Once completed, click Show credentials. Copy the Client ID and Client Secret and store them securely for use in Salesforce.
Salesforce QuickBooks Receipts Sync | Show credentials

Named Credentials

  • Login to your Salesforce instance and navigate to Setup.
  • In the Quick Find box, search for Named Credentials.
  • Click Named Credentials tab.
  • The following records are provided by the miniOrange package:

    • Named Credential: mo QuickBooks Named Credential
    • External Credential: moQuickBooksExternalCredential
    • External Auth Identity Provider: moQuickBooksExternalAuthProvider
Salesforce QuickBooks Receipts Sync | Named Credentials

Configure External Auth Identity Providers Credentials

  • Click the External Auth Identity Providers tab and Edit the moQuickBooksExternalAuthProvider record.
Salesforce QuickBooks Receipts Sync | External Auth Identity Providers

  • Enter the Client ID and Client Secret copied from QuickBooks. Click on Save.
Salesforce QuickBooks Receipts Sync | Enter Client and Secret ID

  • Reopen the record, scroll to Identity Provider URLs section, and copy the Callback URL to use in QuickBooks Redirect URIs.
Salesforce QuickBooks Receipts Sync | Copy Callback URL

Add Redirect URI in QuickBooks

  • Return to the Intuit Developer Portal and open the app dashboard.
  • Navigate to Settings >> Redirect URIs.
  • Select Development or Production based on your environment.
  • Click Add URI.
Salesforce QuickBooks Receipts Sync | Add URL

  • Paste the Callback URL (generated in previous step: External Auth Provider Credentials).
  • Click Save.
Salesforce QuickBooks Receipts Sync | Paste Callback URL

Grant Profile Access for External Credential

  • In Salesforce Setup, search for Profiles in the Quick Find Search Box.
  • Navigate to Profile >> System Administrator profile.
Salesforce QuickBooks Receipts Sync | System Administrator

  • Hover over the Enabled External Credential Principal Access and click on the Edit button.
Salesforce QuickBooks Receipts Sync | Edit Enabled External Credential Principal Access

  • Then select the moQuickBooksExternalCredintial - Connection and click on the Save.
Salesforce QuickBooks Receipts Sync | Select Connection

Authenticate the QuickBooks Connection

  • In Setup, navigate to Named Credentials >> External Credentials.
  • Open moQuickBooksExternalCredential record.
Salesforce QuickBooks Receipts Sync | External Credentials

  • Scroll to the Principals section, for the Connection record and under Actions column, click Authenticate.
Salesforce QuickBooks Receipts Sync | Connection Authenticate

  • You will be redirected to the QuickBooks login page. Select the Workspace used when creating the app, then click Next.
Salesforce QuickBooks Receipts Sync | Connection Authenticate

  • Enter QuickBooks credentials and authenticate. Once authenticated, you are redirected back to Salesforce.
Salesforce QuickBooks Receipts Sync | Successful Authentication

Configure QuickBooks Company Settings

  • In Setup, search for Custom Metadata Types.
  • Open Custom Metadata Types tab.
  • Click Manage Records close to QuickBooks Settings.
Salesforce QuickBooks Receipts Sync | Manage Records

  • Click on Edit button for Default Record.
  • Enter your Salesforce QuickBooks Company ID in the Company ID field.
  • Click Save button.
Salesforce QuickBooks Receipts Sync | Enter Salesforce QuickBooks Company ID

  • Log in to Salesforce and navigate to the Setup tab.
  • Click App Launcher and select View All to open the App Launcher window.
Salesforce QuickBooks Receipts Sync | App Launcher

  • Search for QuickBooks Integration by miniOrange.
  • Open the app to access the miniOrange QuickBooks Integration Dashboard.
Salesforce QuickBooks Receipts Sync | QuickBooks Integration Dashboard

Object Mapping for Sales Receipt Customer

  • To add new object mapping, click New Object Mapping button.
Salesforce QuickBooks Receipts Sync | New Object Mapping

  • From the QuickBooks Object dropdown, select Customer.
  • From the Salesforce Object dropdown, select the object used to sync customer data. (In this case account is selected)
  • Click Create Mapping button.
Salesforce QuickBooks Receipts Sync | Create Mapping

  • Click Configure Field Mapping for the newly created object mapping.
Salesforce QuickBooks Receipts Sync | Configure Field Mapping

  • Click New Field Mapping.
Salesforce QuickBooks Receipts Sync | New Field Mapping

  • In the Salesforce Field dropdown, select the field containing the customer name. (In this setup guide, Account Name is selected).
  • In the QuickBooks Field dropdown, select DisplayName.
  • In Field Type, select Primary Key if you want QuickBooks to check for existing customers and prevent duplicates. Otherwise, leave it as default.
  • Click Create Mappings to save the configuration.

Object Mapping for Sales Receipt Line Items

  • Click New Object Mapping.
  • From the QuickBooks Object dropdown, select Sales Receipt Line Items.
  • From the Salesforce Object dropdown, select the object used to sync line item data. (In this setup guide donation_c is selected).
  • Click Create Mapping.
Salesforce QuickBooks Receipts Sync | Create Mapping

  • Click Configure Field Mapping for the created object mapping.
  • Click New Field Mapping.
  • From the Product/Service dropdown, select the QuickBooks Product or Service to be synced as a line item.
  • In the Salesforce Field Input, enter the Salesforce field API name containing the amount in the following format: ${Salesforce_Field_API_Name}
  • If the value is from a related object, use the following format: ${Related_Object_API_Name.Related_Field_API_Name}
Salesforce QuickBooks Receipts Sync | New Field Mapping

  • Click Create Mappings to save the configuration.

Object Mapping for Sales Receipt

  • Click New Object Mapping.
  • From the QuickBooks Object dropdown, select Sales Receipt.
  • From the Salesforce Object dropdown, select the object used to sync sales receipt data. (In this setup guide donation_c is selected).
  • Click Create Mapping.
Salesforce QuickBooks Receipts Sync | Create Mapping

  • Click Configure Field Mapping for the created object mapping.
  • Click New Field Mapping.
  • In the Salesforce Field Input, enter the Salesforce field value using the following format: ${Salesforce_Field_API_Name}
  • For related object fields, use: ${Related_Object_API_Name.Related_Field_API_Name}
  • From the QuickBooks Field dropdown, select the QuickBooks field where the value should be synced.
Salesforce QuickBooks Receipts Sync | Configure Field Mapping

  • Click Create Mappings to save the configuration.

Create Record-Triggered Flow for Donation Object

  • Navigate to the Setup tab in Salesforce.
  • In the Quick Find search box, search for Flows.
  • Navigate to Flows >> New Flow.
Salesforce QuickBooks Receipts Sync | New Flow

  • Select Record-Triggered Flow.
Salesforce QuickBooks Receipts Sync | Record-Triggered Flow

  • From the Object dropdown, select Donation.
  • Under Configure Trigger, select A record is created.
Salesforce QuickBooks Receipts Sync | Select Donation Option

  • Scroll down and enable Add Asynchronous Path toggle under Is this flow making an external callout or connecting to an external system?
Salesforce QuickBooks Receipts Sync | Add Asynchronous Path

Add Flow Element – Create QuickBooks Customer and Payment Method

  • In the Run Asynchronously path, click the + icon.
  • Search for and select Create QuickBooks Customer and Payment Method.
Salesforce QuickBooks Receipts Sync | Create QuickBooks Customer and Payment Method

  • Enter the Label and API Name.
  • Under Set Input Values section, configure the following:
    • Record ID: Select the current triggered Donation record ID
    • Enable Customer Record ID and select the field referencing the Account object
    • Enable Payment Method Name and select the field containing the payment method
    • Enable Transaction Date and select the donation transaction date field
  • Click Save then click Activate to activate the flow.
Salesforce QuickBooks Receipts Sync | Set Input Values

Create Record-Triggered Flow for QB Customer and Payment Method Reference

  • Navigate to Flows >> New Flow again.
  • Select Record-Triggered Flow.
  • From the Object dropdown, select QB Customer and Payment Method Reference.
  • Under Configure Trigger, select A record is created option.
Salesforce QuickBooks Receipts Sync | Set Input Values

  • Enable Add Asynchronous Path toggle.
Salesforce QuickBooks Receipts Sync | Set Input Values

Add Flow Element – Create Sales Receipt Line Items

  • In the Run Asynchronously path, click the + icon.
  • Search for and select Create Sales Receipt Line Items for QuickBooks.
Salesforce QuickBooks Receipts Sync | Create Sales Receipt Line Items for QuickBooks

  • Enter the Label and API Name.
  • Under Set Input Values, pass the current triggered record ID as the Salesforce Record ID.
Salesforce QuickBooks Receipts Sync | Set Input Values

Add Flow Element – Create Sales Receipt in QuickBooks

  • Click the + icon again to add another flow element.
  • Search for and select Create Sales Receipt in QuickBooks.
Salesforce QuickBooks Receipts Sync | Create Sales Receipt in QuickBooks

  • Enter the Label and API Name.
  • Under Set Input Values, configure the following:
    • Customer ID: Pass the QuickBooks Customer ID from the QB Customer and Payment Method Reference record
    • Line Items JSON: Pass the Line Items output from the previous flow element
    • Salesforce Record ID: Pass the Salesforce Record ID from the reference object
    Salesforce QuickBooks Receipts Sync | Set Input Values

  • Click Save button.
Salesforce QuickBooks Receipts Sync | Click Save

  • Click Activate to activate the flow.
Salesforce QuickBooks Receipts Sync | Click Activate

Test the Configuration

  • Create a new Donation record in Salesforce.
Salesforce QuickBooks Receipts Sync | Create Donation Record in Salesforce

  • The flow triggers automatically and creates a Sales Receipt in QuickBooks.
Salesforce QuickBooks Receipts Sync | Automatic Sync of Sales Receipt in QuickBooks

  • Verify the Salesforce Donation Record and the corresponding QuickBooks Sales Receipt Record.


 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again


ADFS_sso ×
Hello there!

Need Help? We are right here!

support