Skip to main content
Skip table of contents

Connecting CourseCo & Xero

If you want to enable Xero integration within CourseCo (e.g. syncing invoices and payments), Xero requires a secure connection to be set up using their developer platform.

This is not something CourseCo can configure on your behalf, as it involves access to your Xero account and permissions. Instead, your team (or IT/admin) will need to create a Xero app and provide the required credentials.

This guide walks you through that process step by step. Once completed, CourseCo will be able to securely send transaction data to your Xero account.Step 1: Create a Xero App (Client ID & Secret)

  1. Go to https://developer.xero.com/

  2. Log in with your Xero account

  3. Select My AppsNew App

  4. Complete the setup:

    • App name: e.g. CourseCo Integration

    • Integration type: Web app

    • Company URL: your website

  5. Add the following Redirect URI:

    CODE
    https://yourdomain.courseco.co/admin/messaging/oauth_set
    or 
    https://yourdomain.ie/admin/messaging/oauth_set

    (Replace yourdomain with your CourseCo domain)

  6. Click Create App


Step 2: Generate Credentials

  1. Open your app → Configuration

  2. Copy the Client ID

  3. Click Generate a secret

  4. Copy the Client Secret

Keep these safe.


Step 3: Add Credentials in CourseCo

  1. Log into CourseCo as Admin

  2. Go to: /admin/settings

    • Settings → Xero 2

  3. Enter:

    • Client ID

    • Client Secret

  4. Save

  5. Return to the Home dashboard

  6. Open the Xero 2 left menu

  7. Click Connect to Xero


Step 4: Authorise & Complete Setup

  1. You will be redirected to Xero

  2. Log in and approve access to your organisation

  3. Once connected:

    • Generate/retrieve the Tenant ID in Xero

    • Enter this into CourseCo Settings → Xero 2

  4. From Xero also add within settings:

    • Invoice Account Code

    • Payment Account Code

  5. Save your settings


Step 5: Test the Connection

  1. Navigate to:

    • Reports → Xero Transactions Report

  2. Open the report

    • This will list all CourseCo transactions

  3. Perform a manual test:

    • Select a transaction

    • Click Sync to Xero

  4. Confirm in Xero:

    • Invoice/payment has been created

    • Values and account codes are correct

    • Enter the tax code title as entered in Xero (case sensitive)

What to Check

  • Connection is active

  • Tenant ID is populated

  • Account codes are valid in Xero

  • No sync errors appear

  • Transactions successfully push to Xero


Common Issues

  • Redirect URI does not match exactly

  • Incorrect Client ID or Secret

  • Tenant ID missing or wrong

  • Account codes not set up in Xero

  • User did not select the correct Xero organisation during authorisation

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.