Skip to main content

Xero API Link settings

Create application

Visit this URL App management – Xero
Click the new app button

image.png


Application URL should be the web address of the server
Redirect URI should be https://{serverHostName}/csp/sys/oauth2/OAuth2.Response.cls

Click on the app and then select the Configuration menu.

image.png


Server Settings

Go to System administration -> Security -> Client, in the management portal for the server.

image.png

Click the Create Server Description button.

image.png
Issuer endpoint should be 
https://login.xero.com/identity/connect


An SSL config will be needed for this, which is selected as the SSL/TLS configuration

Click on Client Configurations for the server description just created

image.png

image.png

Click on the Create Client Configuration button.

image.png

For "Application Name", "Client name" and "Description" enter "xero-{namespance}". 
Client type should be "Confidential".
Enter the servers host name into the "Host name" text box.


Click on the "Client Credentials" tab

image.png

Enter the details shown here in the configuration section of the Xero app that was created earlier.

image.png


API Huge ERP

 Configuration Module> Security> API Setup

Add as shown below into the API setup in the SCM module 
"xero-hugeerp" should be replaced with "xero-{namepsace}"

image.png


Tick the functions that are needed to activate the link between Huge ERP and Xero

image.png

Xero Sales Acc Here you can specify which sales Xero items must go to 
Xero COS Acc Here you can specify which Cost of Sales Xero items must go to 
Xero Division Here you can set up your Xero Division as default 
Xero Sales Rep Here you can select a Sales Rep as a default 
Set Xero Tenant Once you have Authenticated your Debtors, Creditors and Inventory, you will need to set the Xero Tenant which is a once off setup.

Click "save" and then the "Authenticate sign in" button.

Enter the login details for your Xero company into the window that opens.