Connector Details

NameValue
PlatformSage 50 UK
Auth TypeAPI Keys
DirectionBidirectional
Tap Metrics

Usage:

Target Metrics

Usage:

Tenant setup guide

Use the guide below to guide your users on how to configure the Sage 50 connector.

Initial credential configuration

Before installing the connector locally, you will need to gather your credentials:

  • Username and password: You will need to create a user reserved for this integration. This is because the connector is not allowed to run by Sage if its user is logged in, so if you use the username and password for an active user, the connector will not run. To create a new user:
    • Log in as the admin (MANAGER)
    • Go to Settings > User Management > Users
    • Click New, and create a new user.
  • DSN: Sage data is stored in an underlying database, which the connector uses to read data from Sage. Sage 50 comes pre-installed with a DSN pointing to the underlying database. This default DSN looks like SageLine50v29, where 29 is your version of Sage. To confirm your DSN is present and accessible:
    • Click the Search button on the bottom left of your Windows toolbar
    • Search for ODBC and Select ODBC Data Sources (64-bit)
    • Click System DSN. You should see a DSN starting with SageLine50 that matches your version. This is the proper DSN name to configure your connector.
    • If you’d like to create a new DSN (not required), you can follow this walkthrough to generate a new DSN.
  • Company file path: This will be the full file path to your Sage 50 program data, ending in accdata. You can find your company file path from inside Sage:
    • Log into Sage, and navigate to Help > About on the top bar.
    • In the top left Program Details section, there is a Data Directory file path. Click that link.
    • This will take you to your Sage program folder, which should contain an accdata folder.
    • Click into accdata. You can then select the ribbon at the top, and copy-paste your company file path. It should look something like the below:
C:\\ProgramData\\Sage\\Accounts\\2024\\DemoData\\accdata

Once you have these credentials, provide them to support. In return, you will get the connector file, which is an exe windows program that you will run, and a connector password.

Run the connector

Now you have all you need to run the connector.

  1. Download the Connector launcher file.
The Sage 50 connector is packaged as an .exe file.
  1. Run the launcher .exe file. This will automatically register the connector as a service and kick off the setup process.
  2. The connector will open a pop-up requesting your connector password. Enter your connector password and click OK.

That’s it! Your connector is now running and ready to sync your Sage data.

Supported Objects

Write

The Sage 50 connector supports writing of several objects out of the box. The expected payloads and mappings are documented below.

In addition to the fields listed below, all objects support the optional externalid field.
This is used to associate the created record in Sage with your own id. This field is not mapped to Sage 50, and only persists within hotglue.

Products

Payload file: products.json

FieldDescription
stock_codeUnique product stock code
descriptionProduct description
nominal_codeNominal code
unit_of_saleUnit of sale (e.g. Each)

Vendors

Payload file: vendors.json

FieldDescription
account_refThe unique account ref for this vendor, will be used for referencing this vendor in transactions. Limited to 8 characters.
nameName of the vendor
address_1Address line 1
address_2Address line 2
address_3Address line 3
address_4Address line 4
address_5Address line 5
contact_nameVendor contact name
telephoneTelephone Number
faxFax Number
analysis_1
analysis_2
analysis_3
terms
def_nom_codeDefault nominal code for transactions
vat_reg_numberVendor VAT number
country_codeCountry code
currencyCurrency code for this vendor (e.g. GBP)

Customers

Payload file: customers.json

FieldDescription
account_refThe unique account ref for this customer, will be used for referencing this customer in transactions. Limited to 8 characters.
nameName of the customer
address_1Address line 1
address_2Address line 2
address_3Address line 3
address_4Address line 4
address_5Address line 5
contact_nameCustomer contact name
telephoneTelephone Number
faxFax Number
analysis_1
analysis_2
analysis_3
terms
def_nom_codeDefault nominal code for transactions
vat_reg_numberCustomer VAT number
country_codeCountry code
currencyCurrency code for this customer (e.g. GBP)

VendorInvoices

Payload file: vendorinvoices.json

FieldDescription
account_refAccount ref of the vendor associated with this invoice
dateDate of invoice
posted_datePosted date of invoice
date_dueDue date of invoice
inv_refInvoice ref number
tax_amountTax amount
discountDiscount amount
discount_nominal_codeDiscount nominal code
itemsArray of line items (see below for line item fields)
items.nominal_codeNominal code
items.tax_codeTax code
items.net_amountNet amount
items.tax_amountTax amount
items.detailsDescription of line item
items.project_idProject ID
items.department_idDepartment ID
items.cost_codeCost Code

CustomerInvoices

Payload file: customerinvoices.json

FieldDescription
account_refAccount ref of the customer associated with this invoice
dateDate of invoice
posted_datePosted date of invoice
date_dueDue date of invoice
inv_refInvoice ref number
tax_amountTax amount
discountDiscount amount
discount_nominal_codeDiscount nominal code
itemsArray of line items (see below for line item fields)
items.nominal_codeNominal code
items.tax_codeTax code
items.net_amountNet amount
items.tax_amountTax amount
items.detailsDescription of line item
items.project_idProject ID
items.department_idDepartment ID
items.cost_codeCost Code

CustomerNotes

Payload file: customernotes.json

FieldDescription
account_refAccount ref of the customer associated with this credit note
dateDate of credit note
posted_datePosted date of credit note
inv_refCredit note ref number
tax_amountTax amount
itemsArray of line items (see below for line item fields)
items.nominal_codeNominal code
items.tax_codeTax code
items.net_amountNet amount
items.tax_amountTax amount
items.detailsDescription of line item
items.project_idProject ID
items.department_idDepartment ID
items.cost_codeCost Code

Read