Accounting Integrations: Xero

Accounting Integrations: Xero

Introduction
Kornit X integrates with Xero Accounting API to create invoices and purchase orders. The integration uses Oauth2 for authorization as specified in the Xero Api documentation

Xero Requirements
1. This integration requires each client to create their own App and obtain the necessary credentials (i.e client_id and client_secret) on the Xero Developer Portal

While setting up the App, you will be required to provide a Redirect URL, please enter the value below in the Redirect URL field:

2. Create a contact for your company in Xero (if a contact doesn't already exist). This can be done on the Contacts tab on your Xero Dashboard.
3. Ensure the Currencies your company supports are added to CurrencyRates page in Xero.

Xero Integration Settings
- Name = Company Name
- Company URL or application URL = the customers website URL
- Select 'Web app'
- App Name = E.g Custom Gateway Integration


NOTE: Once you have clicked 'Create App' you will be taken to a new page outlining you app details. You have to click 'Generate Secret' highlighted on the screenshot below to generate the secret required for the xero integration on the Platform integration settings


Platform Integration Settings
Obtaining the Access Token:
1. Enter the Client ID, Client Secret (provided by client) and the Redirect Uri into the respective fields as seen in the screenshot below.
2. Click the Save button to save the details just entered.
3. Re-open the settings popup again and click the button 'Get Access Token'
4. This will redirect the user to the client's application and will prompt the user for the access credentials.
5. Once logged in, the user should be redirected back to the integration settings popup screen and should be automatically with the Access Token, Access Token Expiration, Refresh Token and Tenant ID.
6. Click the Save Button again to save the new credentials.

Integration Process Methods:
The integration provides two process methods: Tracked and Untracked
A 'Tracked' process method creates Purchase orders and Invoices on the clients Xero Dashboard while a 'Untracked' process method only creates Invoices
The default (i.e when nothing is selected) is the same as selecting a process stream of 'Untracked'.

Accounts Setup:
The integration requires a Cost of Goods Sold Expense Account and an Inventory Asset Account for creating Purchase Orders. A Sales Account is needed for creating Invoices.
Xero provides these account types by default but the client can also create their own accounts if desired. The code for each account should be entered in the respective fields as seen in the screenshot below.
If the default accounts are used, you can enter the codes seen in the screenshot below.

Contact Name in Xero:
The API requires each company to have a contact set up in Xero. Enter the name of the contact set up for your company in Xero in this field.

Still Need Help?
You can access our extensive knowledge base or raise a ticket with our technical support teams using the buttons below.




    • Related Articles

    • Accounting Integrations: Generic Filesystem

      The following video details the XML accounting integrations that Kornit X has created to allow order details once dispatched to pass to an XML file via SFTP to a location where they can be collected and imported into your accounts package. Still Need ...
    • Accounting Integrations: PDF Emailer

      Overview Kornit X offers the ability to invoice via our platform. Invoices can be generated on a per-company level and requires little setup.  Users must setup accurate cost pricing, shipping and tax rates against the product before hand. This allows ...
    • Accounting Integrations | Promotional Office

      Introduction The Kornit X platform has been connected to Promotional Office via an integration which allows order data to be passed for accounting. Still Need Help? You can access our extensive knowledge base or raise a ticket with our technical ...
    • Accounting Integrations: MWW

      Introduction The Kornit X platform has been connected to MWW via an integration which allows order data to be passed for accounting. Integration Setup To set this up please enter the required connection credentials and options and enable the ...
    • Accounting Integrations: Net Digitizing

      Introduction The Kornit X platform has been connected to Net Digitizing via an integration which allows order data to be passed for accounting. Integration Setup To set this up please enter the required connection credentials and options and enable ...