Xero

Integrating with Xero

Last Updated: September 26, 2024 

 

GL Code Setup

Prior to exporting invoices to Xero, you may wish to set the default GL Code. This enables a streamlined export process wherein the nominated GL Code is selected and applied when transferring your approved invoices to Xero. A few main methods for applying these defaults exist; by Outlet, by Supplier, and by Item.

IMPORTANT: You must have the GL Code Grid Setting enabled in your Admin Settings.

Tip: If your database consists of multiple Outlets, and your GL Code is blank at lower Outlets, then details will be automatically retrieved from parent Outlets. This enables the below GL Code methods to apply default values from your Mid- or Corporate-Level Outlets unless otherwise specified.

Enable GL Code Grid Setting

To enable the GL Code Grid setting, expand the Admin heading and navigate to the Settings page:

Settings

Under the Main Settings tab, scroll down to locate the Grid Settings button:

Xero-2

Click image to enlargeEnable the Stock Maintenance - GL Code column and click Save Setting to apply:

Xero-3

Click image to enlargeDefault GL Code By Outlet

This option gives you the flexibility to establish a default GL Code for all items in your Outlet, while also having the option to later assign a different GL Code for Suppliers or items with unique requirements.

To apply a default GL Code across all of the Outlets Suppliers and items, navigate to the Integration page and select Xero.

Next, click the Configuration button.

xero-13

On the Configuration window you can enter your preferred accounts for food items, rounding, non-food items, and freight.

These default accounts will be applied to all items in your Outlet, except for those with an Individual GL Code or if you have set up specific Supplier GL Codes

Default GL Code By Supplier

To apply a default GL Code across all of a Supplier's stock items, navigate to your Address Book under the Admin page:

AddressBook

Select your desired Supplier from the list provided and open the Supplier Settings tab:

Xero-1

Click image to enlargeEnter your desired GL Code under the Default Account Code field and click Save. If required, repeat this process for any other Suppliers you wish to update.

Please Note: This default GL Code will only apply to stock items which are Food/Beverage/Default enabled. Stock items which do not fall within this category must be directed to a specific GL Code manually when exporting an invoice which contains them. Alternatively, please see GL Codes By Item below to specify individual GL Codes to bypass this requirement.

GL Codes By Item

When you assign a GL Code to an item in Stock Maintenance, this specific GL Code will always be used for that item - no matter your other settings. 

From the navigation bar, expand the Stock heading and open the Stock Maintenance page:

StockMaintenance

Under the Stock By Suppliers tab, use the drop-down to select the desired Supplier you wish to add GL Codes for. Now enter the relevant GL Code into the GL Account field and Save when done:

xero-23

Now these Brioche Buns will always transfer to Xero with a GL Code of '310' for invoices at this venue.

Connecting to Xero

To allow the transfer of invoices and other functionality, begin by connecting to Xero. This connection can be established by attempting any function on the Xero Integration page, such as by clicking Transfer Invoice, Set Tracking Category, or Check Exporting Status.

Once you have selected an applicable function, you will be prompted to connect. Click the Connect to Xero button, and the Xero login page will then be displayed:

Xero-4

Log in to your Xero account using your Xero credentials and select the desired Xero organisation. Provide the platform with access to your Xero organisation when prompted.

The Xero login page will then be closed automatically and a notification advising the connection was successful will be displayed. Click Continue to proceed and the intended function you had selected earlier will then be performed.

Xero Settings

Set Tracking Category

Returns a list of your available Tracking Categories from the selected Xero organisation for automatic association. You may select one Category Option under a maximum of two Tracking Categories from the list provided and click Select to apply your preference:

XeroTrackingCode

Any exported invoices thereafter will be automatically assigned the noted Tracking Categories.

Mark as Exported

This marks the selected invoices as Exported to the selected Xero organisation. Use this feature to allow the system to recognise that an invoice has been exported to your accounting package without actually exporting it. This function is often used when an invoice has already been entered into your accounting package and was not sent via our platform.

Check Exporting Status

Searches the selected invoices in the connected Xero organisation to determine whether they have been exported. Once checked, the Exported field will display information regarding whether the selected invoices already exist within Xero. The name of the corresponding Xero Supplier will be shown in brackets, if available:

XeroCheckStatus

Show Exported Invoices

Returns a full list of all invoices that have been exported (or marked as exported) to Xero. Click this button again to hide all exported invoices.

Set Invoice Status Code

Setting the Invoice Status Code will allow you to transfer invoices directly to the selected status in Xero:

xero-14

Begin by clicking the Configuration button:

xero-13

Under the Invoice Status Code dropdown, you can choose your desired default status:

xero-19

Selecting DRAFT will allow you to transfer invoices directly to the Draftstatus in Xero. Choosing SUBMITTED will move them to the Awaiting approval status, while selecting AUTHORISED will place them in the Awaiting payment status.

Please note: Posting your invoices with an AUTHORISED status means that the invoices will not need to be reviewed in Xero before payment is made. 

Edit Supplier Links

Edit Supplier Links enables you to establish connections between Suppliers in CTB AND CO and Xero. Simply click the Edit Supplier Links button:

xero-16

Next, use the dropdown box to select the matching Supplier from Xero:

xero-17

Pay Term

Establishing a Pay Term enables you to send Invoices to Xero with a predefined Due Date for each Supplier, determined by a specific time frame.

xero-22

To set this up, begin by heading over to your Admin Settings, and select the Company Information tab. Make sure that Xero is selected as your Accounting platform:

xero-20

Next, navigate to your Admin Address Book and select the Supplier you wish to set a Pay Term for. Now you will be able to enter the number of days and the specific time frame from the drop down box:

xero-21

For example, if the invoice date is 22nd August, the Due Date will be calculated as:
  • 5 Day(s) after invoice date (adds 5 days) = 27th August
  • 5 Day(s) after invoice month (adds 1 month and 5 days) = 27th September
  • 30 Of the invoice month (30th of the current month) = 30th August
  • 30 Of the following month (30th of the next month) = 30th September

Transferring an Invoice

1. Select Invoices to Transfer

Begin by using the checkboxes provided to select the invoices you intend to transfer:

Xero-7

Click image to enlarge2. Connect to Xero

Click the Transfer Invoice button and follow the prompts to connect to Xero (if you haven't already) and allow access to the platform. If you have already connected, simply click Continue when prompted:

TransferInvoice

3. Select an Account

To begin exporting, select the appropriate Account under the respective Class from the list provided. Once you have selected the required Account, click Continue:

Xero-9

Click image to enlarge

Please Note: Suppliers that have a Default Account Code will be automatically assigned to their nominated Account. If you selected invoices from a range of Suppliers, the Account you select at this stage will only apply to Suppliers with no specified Default Account Code. If all selected Suppliers have a Default Account Code, this step will be skipped.

All corresponding line items from the selected invoices will be recorded under the nominated Account unless the line items have GL Codes directly assigned.

4. Select corresponding Xero Supplier

Match the Supplier for each invoice will a corresponding Xero Supplier on the right by using the drop-down provided:

Xero-10

Click image to enlarge

Please Note: If you wish for all line items from each selected invoice to be combined into a single Food/Beverage/Default related item, tick the checkbox under the Combine Items column.

5. Manage Non-Food/Beverage/Default Items

If any of the selected invoices contains any Non-Food/Beverage/Default items (description is dependent on the platform used) that do not yet have a pre-configured GL Code, you will be prompted to select a Xero Account for those items:

Xero-11

Click image to enlargeSelect your desired option for these items, noting that you can combine them all into a single Account, or individually specify an Account for each applicable item.

6. Export to Xero

Once your Suppliers have been matched and any Non-Food/Beverage/Default items have been managed, click Continue to begin exporting. Take note of the progress of each individual invoice. Once the exporting process has concluded, click Finish to close the export window:

Xero-12

Click image to enlargeYour transferred invoices will then appear within Xero as a draft bill (or your Outlets configured default Invoice Status if you have one). Any PDF attachments will also be displayed in Xero for each corresponding invoice.

Disconnecting from Xero

To remove your connection to Xero, click the Disconnect from Xero button:

XeroDisconnectThis will allow you to safely close the window or otherwise re-connect to a different Xero organisation if required. A notification will be displayed confirming the connection has been removed. 

Want to find out more? Should you require further assistance, please Contact Us or start a live chat today!