Skip to main content

Cubex Integration

Learn about how to enable, and utilize our integration with Cubex.

Written by Blake Nadilo

🚨This integration is currently undergoing beta testing with our product team and a limited number of clinics, with a broader release planned in the near future.

📝 Overview

Cubex machines are automated inventory and medication management systems designed to help veterinary practices improve efficiency, accuracy, and compliance. These smart cabinets securely store and track medications, supplies, and controlled substances, ensuring real-time inventory monitoring, reduced waste, and enhanced security. This article will go through how to enable, configure and use the integration.

⚠️ If you don’t already have a Cubex account and cabinet(s), you’ll need to onboard with Cubex before enabling this integration. Click the button below to visit Cubex’s website to book a demo.


🛠️ How to Enable and Configure the Cubex Integration

The first step in enabling the Cubex integration from your account. This will allow your system and Cubex to communicate.

Enabling Cubex, Default Configurations & Enabling Polling

Click the arrow to learn how to enable Cubex

Before You Enable the Integration

Complete the following steps before syncing items between Cubex and DaySmart. Skipping these steps may result in mismatched records, missing lot/expiration data, or incorrect invoicing.

1. Match item names across both systems.


Every item stored in the Cubex cabinet must have a matching name in DaySmart Vet. If you use Cubex's second name field, match it to the Display Name in DaySmart Vet.

2. Match item statuses.


Confirm that active and inactive statuses are consistent between Cubex and DaySmart Vet for all cabinet items. Use the export list's active/inactive filter to verify alignment.

3. Set billable items in Cubex.


For any item stored in the Cubex cabinet that you want to appear as a medical record or on invoices in DaySmart Vet, mark it as Billable in Cubex. If you don't want the item to show on a client's invoice, set Print on Invoice to No in DaySmart Vet.

4. Configure lot and expiration tracking in Cubex.


To maintain compliance for controlled logs and printed Rx labels, enable lot and expiration tracking on each item in Cubex. Always enter this information in Cubex when receiving stock — it will transfer to DaySmart Vet on imported purchases and on medical records at the time of dispense.

5. Identify items with alternate uses before syncing.


Items such as vaccines or parasiticides may have multiple uses (e.g., single dose, box, sample, or different reminder intervals). Set up all uses in DaySmart Vet first, then work with Cubex support to configure the corresponding alternate IDs in Cubex before syncing.

Enabling Polling

When the Cubex integration is first enabled, polling is turned off by default. This ensures that patient records are not transmitted prematurely — before the clinic has completed the required item mapping and sync process that Cubex performs during initial setup. Sending records too early could result in active patient data being pushed to Cubex before all items have been properly configured.

⚠️ Once the clinic, Cubex, and DaySmart onboarding and support teams have aligned and confirmed setup is complete, an authorized user can enable polling to activate the integration.

How to Enable Cubex in DaySmart Vet

  1. Navigate to Settings

  2. Click in the Integrations tab

  3. Find Cubex in the list (easily search from the search bar on top right), and select the gear icon on the right. This will direct you to the dedicated Cubex Configurations page

  4. From the Cubex Settings option, you need to fill out the Database Name, Database User, and Database Password

  5. Set the Default Expiry Days, which refers to how many days the clinic has to retrieve the item from the Cubex machine, before the patient's record expires

  6. Set the Buffer Time, which refers to the extra time given for the clinic to dispense an item after the payment has been made on an invoice. Minimum is 20 minutes and maximum is 1440 minutes (24 hours).

  7. When the Auto Update Records Upon Dispense/When Dispensing option is enabled (default setting), any record containing a Cubex item will automatically update to reflect the quantity dispensed from the Cubex cabinet. With this setting turned on, Cubex serves as the single source of truth, eliminating the need for manual reconciliation.

  8. Once the information is completed, click "Submit" on the top right of the page

Automatically Clear Expired Orders

When the configuration Auto Update Records Upon Dispense/When Dispensing is turned on the following will happen.

When an order expires without being dispensed, the system will automatically:

  • Zero out the quantity on the medical record and invoice item

  • Remove any associated charges, fees, and tax from the invoice

  • Issue an overpayment credit automatically if the invoice had already been paid

  • Log the change in the dispensing audit trail, noting the quantity and marking the status as "Expired"

  • Notify the staff member who created the order by billing notification (or the invoice creator, if the original staff member can't be determined)

  • Mark the Cubex order as discontinued, just like it already does today

When this setting is OFF:

Nothing changes — expired orders will simply be marked as "Expired," and the existing charges and quantities will stay as they are.

Let me know if you'd like me to adjust the tone (more casual, more formal, shorter, etc.) or format it differently for your help center's style.

Cubex Integration Configurations - Export Staff

Click the arrow to learn how to export staff members

In order to give the staff members access to your Cubex machine(s), you need to export the staff members which will give them their access code to your machine.

  1. Navigate to Settings

  2. Click on Integrations

  3. Click on the gear icon next to the Cubex Integration which will direct you to the dedicated Cubex Configurations

  4. Click on the Export Staff option

  5. You will need to select which staff members will have access to your Cubex machine. To select the staff member, click on the box next to the staff members name. You can also use the search bar on the top right to search any staff

  6. Once you have added all the staff that need Cubex access, click the Export button on the top right

  7. Click on the Download button (CSV file will be downloaded)

⚠️ Email this CSV file to Cubex in order for the staff to be added.

Cubex Integration Configurations - Export Items

Click the arrow to learn how to export items in order to sync with Cubex

To sync your inventory items from your DaySmart Vet account to your MyCubex account, you will need to export the inventory items that you are using with your Cubex machine in order to generate the item ID.

💡Items that are already synced to the clinics MyCubex account will not show in the Export Items list.

💡 Large inventory imports will be done by the Cubex data team. Items can also be synced by the clinic, by entering the item in MyCubex. This is recommended for situations where you need to add a single or a few items.

Follow the steps below to export and download the needed inventory items:

  1. Navigate to Settings

  2. Click on Integrations

  3. Click on the gear icon next to the Cubex Integration which will direct you to the dedicated Cubex Configurations

  4. Click on the Export Items option

  5. Easily find the item(s) that need exporting by using the search and filter option on the top right

  6. Click on the Export button

  7. Select Download button (CSV file will be downloaded)

⚠️ If it is a large amount of items, email the downloaded .csv file to Cubex in order to have the items synced.

💡 Any items you select will stay in the Export queue, even if you leave and return to the Export Items configuration—making it easy to pick up right where you left off.

Inactive Items

Marking an item as Inactive prevents it from appearing in search results during normal workflows, so users can't create new charges or records with it — while still preserving the item's history in the inventory module.

When DaySmart is synced with Cubex, a status mismatch can occur if an item's active/inactive status differs between the two systems. To avoid disrupting time-sensitive workflows, records initiated from Cubex will still process in DaySmart even when a mismatch exists — but you'll receive a notification when this happens.

⚠️ Please Note: To receive notifications about inactive items, users must opt in to Inventory notifications. Navigate to your initials in the top-right corner, select Notification Settings, and toggle Inventory on.

If you receive this alert, review the item's status on both sides and update accordingly:

  • Reactivate the item in DaySmart if it's actively being used

  • Mark the item inactive in Cubex to redirect users to the correct synced item

🧠 Example of Inactive Item in Export Item List

🧠 Example of Notification of Inactive Item

Adding Items to MyCubex Without Cubex Data Team

To add a new item to MyCubex without contacting the Cubex data team, create the item directly in MyCubex and note the item ID from the downloaded .csv file. DaySmart Vet syncs with Cubex automatically once per day.

💡 If you need the item available immediately, click Sync Inventory from the top right of the Export Items page.


💊 Important Inventory Information

This section covers how synced Cubex items are managed in your account, including items with uses, purchases, adjustments and expiration dates.

Click the arrow to learn about the important inventory information

Sync Status

Once an item is synced, it will say CUBEX next to the item name.

Important: Understanding Sync Status for Items with Uses

Parent Items in Cubex

Users cannot select a parent item directly when it has associated uses — only the child use items appear in record and item search. However, Cubex does not hide the parent item from users in its interface. If a clinic user selects the parent item in Cubex instead of the correct child use, the record will still transfer to DaySmart but may carry incorrect pricing, reminder triggers, or item mapping.

To reduce this risk:

  • Name parent items in Cubex in a way that signals they should not be selected for dispensing (e.g., "STOCK-PARENT" or "DO NOT USE" as a prefix). Note that Cubex has character limits on item names due to label space constraints, so keep naming concise.

  • Train clinic staff to always select the appropriate use item, tied to the alternate ID in Cubex, not the parent. If the parent/stock item is dispensed in Cubex, it may lead to incorrect dosage, quantity and pricing being applied to the record in DaySmart Vet.

Syncing Uses for Cubex

Items with uses (child items tied to a parent stock item) require special attention. DaySmart can only confirm that a use is synced with Cubex after the item has been dispensed from the cabinet — there is no way to verify sync status for uses in advance.

Because of this:

  • Only the parent item is marked as synced in DaySmart at time of export. Individual uses will remain on the unsynced export list until they are actually dispensed and the sync status is confirmed.

  • The Synced view on the export list shows all synced items in one place, but this list refreshes on a daily basis. To see the most current status, manually trigger a sync refresh.

  • Use items appearing in the Synced view should be verified directly with Cubex, as their status may not be reliable until confirmed through a dispense event.

    Best practice: Sync all uses for a given item and manage inventory entirely within Cubex. If you notice inconsistencies with overrides or item availability, use the sync detail view to confirm which uses are and aren't synced.

Making Inventory Adjustments and Purchase Edits for Cubex Items

Manual Inventory Adjustments

You can now create manual adjustments directly on inventory items that sync with Cubex. From the item's Adjustments tab, select New Adjustment to record a change, and use the standard adjustment list actions (such as delete) just as you would for any other inventory item. These adjustments update the item's current balance right away, so you no longer need to make the change in MyCubex and wait for it to sync.

Editing Purchase Records

On the Purchases tab, what you can edit depends on where the purchase record came from:

If a purchase was entered directly in the system (not through Cubex), you can edit it fully using the Edit action on that row, just as before. If a purchase came from Cubex (shown with CUBEX as the supplier), you can still update four fields to keep records accurate: lot number, expiration date, cost, shipping, and tax. Other fields on Cubex-sourced purchases remain locked, since that information is managed by Cubex directly.

Lot Selection on Medical Records

When adding or editing a lot purchase on a Cubex item's medical record, you'll now need to wait until the item has actually been dispensed from the cabinet before you can select a lot. This prevents locking in a lot number before Cubex confirms the dispense, helping keep your lot and inventory data accurate and in sync with what actually left the cabinet.

⚠️ Please Read Regarding Percentage Markup on Cubex Items: Cubex does not currently transfer purchase cost information. If a Cubex item requires a percentage markup, you can edit the purchase and enter the cost amount manually. This allows the system to apply the percentage set in the item's Base Price field and mark up the item accordingly.

Automatic Expiration Dates for Purchased Lots

When you dispense inventory through Cubex, DaySmart now automatically pulls the lot's expiration date from Cubex and applies it to the corresponding purchase record. This helps ensure purchases created through Cubex carry accurate expiration data, supporting features that rely on expiration tracking, such as first-expired-first-out (FEFO) shelf-life management.

Key points for users:

  • If a product in Cubex has "Expiration Date on Issue" enabled, its real expiration date will automatically appear on the matching purchase record in DaySmart, with no manual entry needed.

  • If that setting is not enabled for a product in Cubex, no expiration date will be available, and the purchase record's expiry will remain blank. In this case, you can still manually add or edit the expiration date on the purchase yourself.

  • If a restock occurs, the expiration date on the purchase record will be updated automatically based on the latest Cubex data.

💡 If you rely on expiration tracking for inventory managed through Cubex, we recommend checking that "Expiration Date on Issue" is enabled for relevant items in your Cubex settings to take full advantage of this automation.


🏥 Workflow

This section will go through how Cubex works on a day to day basis. Much of your workflow will not change. Now that Cubex is connected, it will help streamline your workflow as your system and Cubex are now communicating.

Creating Medical Records

Click the arrow to learn how to create medical records for Cubex items

Once a patient is checked in, it creates the gateway from your account to your Cubex machine. Creating a new record for a Cubex item follows the same workflow as adding any standard item. Simply search for the item, select it, and complete any relevant fields in the new record form.

There will be a Status field on any Cubex item. Once the record is created, the item needs to be dispensed in the timeframe that was configured in the Default Expiry Days configuration. If it is not dispensed in the set time, the order will expire.

The 3 statuses are as follows:

  • Pending: The record has been created for the item, but has not been dispensed from the Cubex machine yet.

  • Dispensed: The item has successfully been dispensed.

  • Partial Dispensed: Less than the total quantity on the record was dispensed.

  • Expired: The record has gone past the set timeframe in the Default Expiry Days configuration.

When the Auto-update records upon dispense/when dispensing setting is enabled, the invoice quantity will automatically update based on the amount dispensed from your Cubex machine. This ensures MyCubex remains the source of truth and eliminates the need for manual reconciliation on the invoice or medical record.

⚠️ Printing Labels: Prescription labels can be printed before an item is dispensed. A warning will display notifying you to reprint the label if the dispense details change after printing the initial label.

💡 Tip: In emergency situations where the client and patient do not yet exist in your system, you can create a temporary client and patient in MyCubex to dispense the required item from the cabinet. After the emergency has been addressed, create the actual client and patient records, then link the dispensed items to the correct client and patient in MyCubex. Please refer to Cubex if you need help learning how to create a temporary client and patient in MyCubex.

Change Log

There is a change log that will serve as a audit trail for Cubex dispensed items. This is a way to track the status history of the item, with associated times that changes were made. To access an items change log, click the gear icon to the right of an item, and select View Changes.

⚠️ If the setting Auto-update records upon dispense/when dispensing is disabled, you will have to manually update record quantity as needed. Click the blue icon next to the invoice item name. This icon appears when the dispensed quantity differs from the ordered quantity and alerts the clinic to review and update the invoice item as needed.

Unassigned Cubex - Waste & Returns

Click the arrow to learn more about the unassigned Cubex tab

Waste

Cubex is the source of truth for medication waste, as it tracks inventory counts moving in and out of the cabinet.

⚠️ Waste actions must be completed directly in MyCubex. Please refer to Cubex to learn how to create returns or waste in MyCubex.

To avoid creating separate or confusing entries in a patient’s medical history, waste records are not automatically linked to existing medical records. Instead, users are prompted to manually link the waste to the appropriate medical record. This ensures the dispensed quantity accurately reflects what the patient received.

To simplify this process, there is the Unassigned Cubex tab on the Patient Dashboard.

The Type can be selected from the dropdown, and the patient, client or item name can be searched on the top right.

The system provides filters (such as item name) and pre-populates recent records to help users quickly select the correct medical record, while still allowing the clinic to make the final, accurate association. To assign a waste, click Assign next to the applicable option.

A form will appear, and a record will need to be selected from the Select Record field.

Once the correct record has been selected, click the Assign option.

Additionally, you can delete the Cubex transaction by selecting the Delete option next to the applicable record.

Returns

Return transactions from Cubex are automatically mapped to their original record when a matching transaction is found, reducing manual reconciliation. If no match is found, the return will appear on the Patients > Unassigned Cubex page for manual mapping, as before.

Treatment Board - Cubex Implications

Click the arrow to learn more about using Cubex items on the Treatment Board

💡 To learn how to use the treatment board, click the button below.

When using the treatment board with a Cubex item, it is important to note the following:

How Medical Records and Charges Are Created for Cubex Treatments

When an activity is added to a treatment using a Cubex item, the system immediately creates a medical record. This ensures there is a record available to send if needed. At this stage:

  • The medical record is created with Do not charge and Do not deduct from inventor” selected in the billing fields.

  • No charge is created yet.

What happens when the activity is completed

When the activity is Completed, the system updates the medical record based on the settings chosen at that time:

  • The actual administration time is recorded.

  • Billing and inventory settings are applied according to what the user selects.

  • If charging is enabled, the charge is created at completion.

What happens if the treatment is discharged

If the treatment is discharged without completing the activity:

  • The medical record is deleted automatically.

  • No charge exists, so there is nothing to remove or reverse.

Why completion is required

We require users to complete the activity to confirm that the medication was actually administered to the patient. Dispensing an item from the Cubex cabinet does not always mean the treatment was performed. Completion ensures accurate medical records, billing, and inventory tracking.

When a patient is discharged from the treatment board, all pending orders in Cubex will be closed.


🎥Video Playlist

This section contains overview videos for configuring Cubex and using the integration once enabled. For more detailed information, refer to the relevant sections of this article.

🎥 Enabling & Configuring Video Tutorial

🎥 Video Overview on Cubex Workflow


❓ Frequently Asked Questions (FAQs)

Find answers to common questions or additional details that may not be covered in the main instructions.

1. What does Cubex do for my clinic?

Click the arrow to see the answer

Cubex securely stores and tracks medications and supplies while automatically syncing with DaySmart Vet. This helps your clinic reduce errors, prevent inventory loss, and stay compliant—especially for controlled substances.

2. Will Cubex change my daily workflow?

Click the arrow to see the answer

Very little. You’ll continue creating medical records and invoices the same way. The main difference is that Cubex items must be physically dispensed from the cabinet within the allowed timeframe, and inventory updates automatically when items are dispensed.

3. How do I dispense a Cubex item for a patient?

Click the arrow to see the answer

Once a patient is checked in and a medical record is created for a Cubex item, the order is sent to the Cubex cabinet. You then dispense the item directly from the machine using your access code.

4. What do the Cubex item statuses mean?

Click the arrow to see the answer

  • Pending – The item has been ordered but not yet dispensed

  • Dispensed – The full quantity was successfully dispensed

  • Partial Dispensed – Only part of the ordered quantity was dispensed

  • Expired – The item was not dispensed within the allowed time

These statuses help you track exactly where each medication order stands.

5. What happens if the dispensed quantity doesn’t match the invoice?

Click the arrow to see the answer

If auto-update is enabled (recommended), DaySmart Vet will automatically update the invoice based on what was dispensed from Cubex. If it’s disabled, you’ll see an alert icon prompting you to review and manually update the invoice.

6. Can I adjust Cubex inventory in DaySmart Vet?

Click the arrow to see the answer

No. All purchases, adjustments, waste, and returns must be completed in MyCubex. Cubex is the system that controls inventory counts, while DaySmart Vet reflects what was dispensed to the patient.

7. How do waste and returns work with patient records?

Click the arrow to see the answer

Waste and returns are recorded in MyCubex first. In DaySmart Vet, you’ll assign those transactions to the correct patient record using the Unassigned Cubex tab to ensure accurate medical documentation.

8. What should I do in an emergency if the client or patient isn’t in DaySmart Vet yet?

Click the arrow to see the answer

In emergencies, you can create a temporary client and patient in MyCubex to dispense medication immediately. Afterward, create the correct records in DaySmart Vet and link the dispensed items in MyCubex to the correct patient.

Did this answer your question?