Sage 50 UK
Connector Details
Name | Value |
---|---|
Platform | Sage 50 UK |
Auth Type | API Keys |
Direction | Bidirectional |
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
, where29
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 SelectODBC Data Sources (64-bit)
- Click
System DSN
. You should see a DSN starting withSageLine50
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:
- Log into Sage, and navigate to
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.
- Download the Connector launcher file.
- Run the launcher
.exe
file. This will automatically register the connector as a service and kick off the setup process. - 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
Field | Description |
---|---|
stock_code | Unique product stock code |
description | Product description |
nominal_code | Nominal code |
unit_of_sale | Unit of sale (e.g. Each ) |
Vendors
Payload file: vendors.json
Field | Description |
---|---|
account_ref | The unique account ref for this vendor, will be used for referencing this vendor in transactions. Limited to 8 characters. |
name | Name of the vendor |
address_1 | Address line 1 |
address_2 | Address line 2 |
address_3 | Address line 3 |
address_4 | Address line 4 |
address_5 | Address line 5 |
contact_name | Vendor contact name |
telephone | Telephone Number |
fax | Fax Number |
analysis_1 | |
analysis_2 | |
analysis_3 | |
terms | |
def_nom_code | Default nominal code for transactions |
vat_reg_number | Vendor VAT number |
country_code | Country code |
currency | Currency code for this vendor (e.g. GBP ) |
Customers
Payload file: customers.json
Field | Description |
---|---|
account_ref | The unique account ref for this customer, will be used for referencing this customer in transactions. Limited to 8 characters. |
name | Name of the customer |
address_1 | Address line 1 |
address_2 | Address line 2 |
address_3 | Address line 3 |
address_4 | Address line 4 |
address_5 | Address line 5 |
contact_name | Customer contact name |
telephone | Telephone Number |
fax | Fax Number |
analysis_1 | |
analysis_2 | |
analysis_3 | |
terms | |
def_nom_code | Default nominal code for transactions |
vat_reg_number | Customer VAT number |
country_code | Country code |
currency | Currency code for this customer (e.g. GBP ) |
VendorInvoices
Payload file: vendorinvoices.json
Field | Description |
---|---|
account_ref | Account ref of the vendor associated with this invoice |
date | Date of invoice |
posted_date | Posted date of invoice |
date_due | Due date of invoice |
inv_ref | Invoice ref number |
tax_amount | Tax amount |
discount | Discount amount |
discount_nominal_code | Discount nominal code |
items | Array of line items (see below for line item fields) |
items.nominal_code | Nominal code |
items.tax_code | Tax code |
items.net_amount | Net amount |
items.tax_amount | Tax amount |
items.details | Description of line item |
items.project_id | Project ID |
items.department_id | Department ID |
items.cost_code | Cost Code |
CustomerInvoices
Payload file: customerinvoices.json
Field | Description |
---|---|
account_ref | Account ref of the customer associated with this invoice |
date | Date of invoice |
posted_date | Posted date of invoice |
date_due | Due date of invoice |
inv_ref | Invoice ref number |
tax_amount | Tax amount |
discount | Discount amount |
discount_nominal_code | Discount nominal code |
items | Array of line items (see below for line item fields) |
items.nominal_code | Nominal code |
items.tax_code | Tax code |
items.net_amount | Net amount |
items.tax_amount | Tax amount |
items.details | Description of line item |
items.project_id | Project ID |
items.department_id | Department ID |
items.cost_code | Cost Code |
CustomerNotes
Payload file: customernotes.json
Field | Description |
---|---|
account_ref | Account ref of the customer associated with this credit note |
date | Date of credit note |
posted_date | Posted date of credit note |
inv_ref | Credit note ref number |
tax_amount | Tax amount |
items | Array of line items (see below for line item fields) |
items.nominal_code | Nominal code |
items.tax_code | Tax code |
items.net_amount | Net amount |
items.tax_amount | Tax amount |
items.details | Description of line item |
items.project_id | Project ID |
items.department_id | Department ID |
items.cost_code | Cost Code |