StockTrim / Xero Data Flow
StockTrim will read your inventory items, sales orders, purchase orders, and suppliers from Xero.
From there StockTrim will use this data to do a demand analysis and calculate your optimal inventory and order quantities to give you your optimal order plan.
Then, you can create new purchase orders, and send them to Xero to action. Sending and receiving these purchase orders should be done in Xero, which will then update your inventory in Xero.
From there StockTrim will use this data to do a demand analysis and calculate your optimal inventory and order quantities to give you your optimal order plan.
Then, you can create new purchase orders, and send them to Xero to action. Sending and receiving these purchase orders should be done in Xero, which will then update your inventory in Xero.

Step 1: Check Xero Data
In your Xero account, under "Products and Services", ensure that your intentory items are selected as "Tracked Inventory". Then, ensure that the Quantity column reflects how much actual stock you have on hand.



Also make sure that all your sales orders are recorded as invoices in Xero.
Step 2: Load data into StockTrim
In StockTrim, under "Load Data", select "Load from Xero". If this is the first time you are connecting to Xero, ensure all the boxes on the left hand side are selected.
You will need to load from Xero like this every time you wish to sync your data with Xero.
For subsequent uploads, you will only need to select "Products", "Sales Orders", and "Purchase Orders" every time. Only select "Suppliers" if you have changed your supplers in Xero and want to update StockTrim (this won't need to be done regularly)
"Load Sales Orders" only imports your most recent sales orders from Xero, since the last update, not all your history.
The "Refresh" options on the right will delete all the data points and re-import all items from Xero from scratch. This will only need to be done if you have made historical adjustments in Xero, or fixed some errors in old data, and want the new data to be re-imported into StockTrim.
You will need to load from Xero like this every time you wish to sync your data with Xero.
For subsequent uploads, you will only need to select "Products", "Sales Orders", and "Purchase Orders" every time. Only select "Suppliers" if you have changed your supplers in Xero and want to update StockTrim (this won't need to be done regularly)
"Load Sales Orders" only imports your most recent sales orders from Xero, since the last update, not all your history.
The "Refresh" options on the right will delete all the data points and re-import all items from Xero from scratch. This will only need to be done if you have made historical adjustments in Xero, or fixed some errors in old data, and want the new data to be re-imported into StockTrim.


Then select the organization in Xero you want to connect to (this should be your live account, NOT the Demo account), and select "Allow Access".

Step 3: Inventory status and order plans
On the dashboard you will see how many products you are overstocked or understocked with, as well as the related costs. Click, 'See my plan' to see the optimal reorder points and suggested order quantities to save you these costs.


Step 4: Demand Analysis
On each product, you can select the 'i' icon to bring up the demand analysis. See your trends, and see how the forecasts are calculated so you can oversee the results to have confidence they're correct.

Step 5: Global Settings
Click the settings wheel to set the lead time and service level. Make sure that the lead time is set so that you have enough stock to cover the time between when you place the orders with your suppliers and when they arrive. Review and confirm all the other settings - see FAQ if you have any questions about how these are applied.


Step 6: Create your purchase orders
On the order plan, you can see items that you are understocked with. Select create purchase orders to ensure that you order these ASAP to reduce the chance you will go out of stock. Items that are sufficiently stocked don't need to be ordered now, so you can save capital by holding off placing orders until they're needed.

Then, once you have reviewed the draft purchase orders, and approved them, you can then send them to Xero to action from there. See the links for the blog article and explainer video on-screen.

Xero FAQ's
When and how does data sync occur?
Data sync can be done whenever you like. It doesn't happen automatically, but generally just go to the load data screen and press "Load From Xero" with the default options. This should be done only as often as you place your supplier orders, and should be done first (before ordering) so that the order plan is as accurate as possible.
Data sync can be done whenever you like. It doesn't happen automatically, but generally just go to the load data screen and press "Load From Xero" with the default options. This should be done only as often as you place your supplier orders, and should be done first (before ordering) so that the order plan is as accurate as possible.
How are subscriptions and payments managed?
Your billing will be managed within StockTrim (won't appear in your Xero account). Once your free trial period is over, the app will popup the plan select screen for you to enter your credit card details and create your payment plan.
Your billing will be managed within StockTrim (won't appear in your Xero account). Once your free trial period is over, the app will popup the plan select screen for you to enter your credit card details and create your payment plan.
How can I reconcile sales data synced between Xero and StockTrim?
StockTrim only reads your sales data from Xero. So to check sales data, open up the Analysis of a product on the Order plan in StockTrim, then scroll down to the sales history table to see all sales orders transactions.
StockTrim only reads your sales data from Xero. So to check sales data, open up the Analysis of a product on the Order plan in StockTrim, then scroll down to the sales history table to see all sales orders transactions.
What if my monthly sales totals for a product in StockTrim don't match what is in Xero?
Compare the individual sales transactions. Bring up the analysis of the product, from the order plan, check the sales history, compare that with your invoices in Xero to see which individual sales transactions are different. One common reason is becuase StockTrim considers unfulfilled sales orders, since that is indicitave of actual demand that is relevant for forecasting, even if you have not fulfilled this yet.
Compare the individual sales transactions. Bring up the analysis of the product, from the order plan, check the sales history, compare that with your invoices in Xero to see which individual sales transactions are different. One common reason is becuase StockTrim considers unfulfilled sales orders, since that is indicitave of actual demand that is relevant for forecasting, even if you have not fulfilled this yet.
Where do the Stock on Hand and Stock on Order amounts come from?
Stock on Hand comes from the Inventory quantity in Xero. The On Order amounts come from your purchase orders in Xero without a delivery date, or with the delivery date in the future.
Stock on Hand comes from the Inventory quantity in Xero. The On Order amounts come from your purchase orders in Xero without a delivery date, or with the delivery date in the future.
What if a supplier purchase order is late, the delivery date in the past, but it hasn't been received, does this still say as on-order in StockTrim?
No. Ideally you should only set the Delivery Date in Xero once the order has actually arrived, so that it is accurate. For un-received purchase orders, use the Expected Arrival Date in Xero instead.
No. Ideally you should only set the Delivery Date in Xero once the order has actually arrived, so that it is accurate. For un-received purchase orders, use the Expected Arrival Date in Xero instead.
How do I manage my payments for my purchase orders?
This should be managed in Xero.
This should be managed in Xero.
Should I receive my purchase orders in Xero or StockTrim?
In Xero. You should create your purchase orders initially in StockTrim, based on the suggestions on the order plan and your capacity requirements. Then, once they are approved in StockTrim you can send them to Xero. From there, they disappear from StockTrim and should be managed from then on in Xero, so that your payments and inventory levels update in Xero when they are adjusted or received in Xero.
In Xero. You should create your purchase orders initially in StockTrim, based on the suggestions on the order plan and your capacity requirements. Then, once they are approved in StockTrim you can send them to Xero. From there, they disappear from StockTrim and should be managed from then on in Xero, so that your payments and inventory levels update in Xero when they are adjusted or received in Xero.
General FAQ's and Knowledge base
To see frequently asked questions and lots of useful help material please check out our
knowledge base
Api Instructions and Documentation
Send Support Request