Integrations
Connect Mathership with external systems to reduce manual work and keep inventory data up to date. Integrations are mainly used to:- Connect POS systems
- Sync locations, stores, products, or items
- Map POS sales to ingredients or recipes
- Transfer sales into inventory movements
- Import POS sales data by CSV when no direct integration is available
Connect POS systems
Connect supported POS systems such as Lightspeed K-Series and Sides POS.
Map sales to inventory
Link POS items or products to Mathership ingredients and recipes.
Create ledger movements
Turn mapped POS sales into inventory deductions in the ledger.
Available integrations
Lightspeed K-Series
Connect Lightspeed, sync locations and items, and transfer POS sales into inventory.
Sides POS
Connect Sides, sync stores and products, and process daily sales reports.
CSV Upload
Upload POS sales data manually from a configured CSV file.
POS Mapping
Map POS items to ingredients or recipes so sales can update inventory.
Storage Units
Manage the storage units used for POS sales transfers and inventory movements.
Ledger
Review inventory movements created by orders, transfers, waste, counts, and POS integrations.
Access integrations
To manage integrations:Choose an integration
Select the integration you want to configure, such as Lightspeed K-Series, Sides POS, or CSV Upload.
Connect or update the system
Connect the external system, update credentials, or configure CSV import settings.
How integrations work
Most POS integrations follow the same basic structure.Connect the system
Lightspeed uses OAuth. Sides uses username and password credentials. CSV Upload uses a configured CSV import.
Link storage units
Each active POS location or store needs a Mathership storage unit. This defines where inventory should be deducted from.
Map POS items
POS items and products can be mapped to ingredients or recipes. Recipe mappings are expanded into ingredient movements.
Direct POS integrations
Lightspeed K-Series
Lightspeed uses an OAuth connection. After connecting Lightspeed, you can:- Sync Lightspeed locations
- Link each location to a Mathership storage unit
- Activate locations
- Start a historical migration
- Sync Lightspeed items
- Map items to ingredients or recipes
- Run manual transfers for specific dates
- Pause or resume automatic transfers
Sides POS
Sides uses username and password credentials. After connecting Sides, you can:- Test the connection
- Sync stores
- Link each store to a Mathership storage unit
- Activate stores
- Start a historical migration
- Sync products
- Map products to ingredients or recipes
- Run manual transfers for specific dates
- Pause or resume automatic transfers
CSV Upload
CSV Upload is used when sales data is imported manually instead of through a live POS connection. Use CSV Upload to:- Upload POS sales data from a file
- Process sales from systems without a direct integration
- Apply configured CSV rules
- Create inventory deductions based on mapped POS codes
POS mapping
POS mapping defines how sales affect inventory. A POS item can be mapped to:- Ingredient — the ingredient is deducted directly
- Recipe — the recipe is broken down into its ingredients
- Quantity factor — defines how much inventory is affected per sale
| POS item | Mapped to | Result |
|---|---|---|
| Cheeseburger | Recipe | Deducts all recipe ingredients |
| Espresso | Ingredient | Deducts coffee directly |
| Bottle Cola | Ingredient | Deducts one bottle from stock |
Storage unit mapping
Before a POS location or store can be activated, it must be linked to a storage unit. This tells Mathership where inventory should be deducted from.| External system | External location | Mathership storage unit |
|---|---|---|
| Lightspeed | Main Restaurant | Main Storage |
| Lightspeed | Bar | Bar Storage |
| Sides | Downtown Store | Kitchen Storage |
Historical migration
Some integrations can process historical sales data. This is useful when:- You activate a new POS location or store
- You want to import recent sales history
- You added mappings after the integration was created
- You need to rerun a migration after fixing mappings
Manual transfer
Manual transfers let you process sales for a specific date. Use this when:- You want to transfer one day manually
- A previous transfer failed
- You updated mappings and want to reprocess sales
- You need to check one specific business day
- You want to test an integration before relying on automatic processing
Manual transfers are useful for testing because you can check the resulting ledger movements before enabling automatic transfers.
Automatic transfer
Some integrations support automatic sales transfers. Depending on the integration setup, automatic transfers can be:| State | Meaning |
|---|---|
| Active | Sales are processed automatically |
| Paused | Automatic processing is stopped, but setup and history are kept |
| Resumed | Automatic processing can be enabled again later |
Common setup workflow
Best practices
Set up storage units first
Create and check storage units before activating POS locations or stores.
Sync before mapping
Sync products or items before creating mappings.
Start with important items
Start with high-volume POS items and products first.
Map carefully
Check ingredient, recipe, and quantity factor before saving mappings.
Review unmapped items
Use unmapped items after the first transfer as a working list.
Check the ledger
Review ledger movements after activation and after major mapping changes.
Rerun only when needed
Rerun migrations only after correcting mappings or setup issues.
Keep names clear
Keep product and recipe names clear so mappings are easier to maintain.
Troubleshooting
Integration cannot be connected
Integration cannot be connected
Check that:
- Your credentials are correct
- The external system is available
- The integration is configured for the correct company
- You have permission to manage the company
Location or store cannot be activated
Location or store cannot be activated
Check that:
- The location or store was synced
- A storage unit is linked
- The storage unit belongs to the same company
- No migration is already running
Products or items are missing
Products or items are missing
Try syncing products or items again.For Sides, products may be loaded from cache unless you manually sync them.For Lightspeed, use the item sync option to refresh cached items.
Sales do not affect inventory
Sales do not affect inventory
Check that:
- POS items are mapped
- The mapped ingredient or recipe belongs to the same company
- The location or store is activated
- A storage unit is linked
- The transfer completed successfully
Inventory numbers look wrong
Inventory numbers look wrong
Check:
- POS mappings
- Quantity factors
- Recipe ingredients
- Storage unit assignment
- Ledger entries for the affected date
Related pages
Lightspeed K-Series
Connect Lightspeed and transfer POS sales into inventory.
Sides POS
Connect Sides and process daily sales reports.
CSV Upload
Upload POS sales data manually from CSV files.
POS Mapping
Map POS products to ingredients or recipes.
Storage Units
Set up the storage units used for inventory transfers.
Ledger
Review inventory movements created by integrations.