Setup Xero
Xero Integration (Add-On)
Xero is a Software Company, which provides software solutions to manage payroll, inventory, sales, reports, and other needs of a small business.
These software solutions help to monitor expenses, create invoices and reports, track change orders and job status, and manage customers and Invoice.
You can easily bind your customers and invoices with the Xero account to manage the accounting system. Bind customers’ details such as personal details, billing address, contact details, balance statements, reports, etc. For the invoices, bind details such as Invoice Transaction Detail, Billing Address, Shipping Address, Tax, Shipping Methods, and Order Product Details.
Xero is accounting software for small businesses, where owners can manage all their customers and invoices. After successful integration, data will be sent from the OnPrintShop system to the Xero Accounting system and Xero will manage all information into their website.
Step – 1 Login to Xero Account
- Create an account in Xero at https://www.xero.com/signup/
- At first, you’ll get 30 days free trial and later you can upgrade the Xero Plan.
- Next, login into your Xero Developers Account from https://login.xero.com/
Step – 2 Create an App
- Go to, https://developer.xero.com/
- To create an app using the following values:
- App Name - your choice, but can't contain the word 'Xero'.
- OAuth 2.0 – Select the Auth code type as a Web app.
- Company or application URL – Enter the URL of your application, this needs to be an https address.
- OAuth 2.0 redirect URI - add redirect URI’s in the following format {your_website}/external_service/xerov2/callback.php to connect the application with your website. For Example - https://opssslv70.onprintshop.com/external_service/xerov2/callback.php This also needs to be https.
- Then:
Step – 3 Integration in to Admin Panel
- In the Admin Panel go to, Admin >> Store Configuration >> External Service Setting >> Accounting tab.
- Here, enter the Client ID and Client Secret Key.
- Select the Order Status for auto-synchronization mode. An invoice will be created in the Xero system only for that orders which have selected order status.
- Next, click on Connect with Xero button.
- From the organization dropdown, select your organization name.
- Click on the Continue button at the button.
- Upon successful configuration, you can sync your OPS data into Xero Account.
Click Here to Sync Manually
This helps to open search and synchronize interface with the MIS system as shown below-
- Order Range: Select the order range to synchronize.
- Date Range: Select the period.
- Order Status: Select order status to search that orders only.
- Click on the search.
- After clicking on Search, as per your selecting field, the search result will appear here and show the order list.
- Select only those Orders that you want to synchronize with Xero.
- Click on the “Sync” button.
- To update customer data of a particular invoice, click on the “Update Synchronized Data” checkbox and then click on the Sync button.
- On clicking of “Sync”, the button system will synchronize orders with Xero.
- After the customer places an order, the customer will automatically be synced with Xero.
- If an Order is already synchronized with Xero then it is marked as a green tick symbol.