Magento + Business Central
Everything you need to connect Magento and Business Central: how to connect, which data moves, which settings there are and what to do when something goes wrong.
- 8 data flows
- Connect in about 13 minutes
On this page1. Getting started
1. Getting started
Prepare both systems first, then connect them in Junipeer.
- about 10 minutes
Prepare Magento
- Open the integrations page
- Create a new integration
- Grant API permissions
- Save the integration
- Activate the integration
- Copy all four credentials
- Paste the credentials into Junipeer
- about 3 minutes
Prepare Business Central
- Open the Business Central connector in Junipeer
- Click Connect
- Sign in with the right Microsoft account
- Review and approve the OAuth consent
- Confirm environment or company if needed
- Return to Junipeer and verify the connection
Connect and test
Enter the details in Junipeer, switch on the flows you need and test with one order before you go live.
Getting started with Junipeer
Connect both systems
Junipeer needs a connection to each system. When both are connected, the first order can go through.
2. How the data flows
What Junipeer can move between the two systems. The arrow shows which way the data goes.
- Orders
- Order status
- Products
- Prices
- Stock levels
- Customers
- Shipments
- Refunds
3. Settings
The settings you see in Junipeer, in plain words. Open one to read more. The key is the technical name.
In Junipeer every setting has a ? that opens the same explanation next to the form, right when you need it. With the Junipeer MCP your AI assistant can also propose the settings from your own data.
How the Junipeer MCP worksSettings for Magento (41)
| Setting | What it controls | Key |
|---|---|---|
| Attribute to set external (Fortnox) customer number | Enter the Magento customer attribute where Junipeer should save the customer's Fortnox customer number , when customers are sent to Magento. | magento_attribute_external_customer_no |
| Capture Invoice | Decide whether the invoice should be captured when it is created in Magento. | magento_capture_invoice |
| Create Invoice in Magento | Decide whether an invoice should be created in Magento when the order is invoiced in Fortnox. | magento_create_invoice |
| Create Shipment in Magento | Decide whether a shipment should be created in Magento when the order is invoiced in Fortnox. | magento_create_shipment |
| Create products | Decide whether products that don't exist in Magento yet should be created there. | magento_create_articles |
| Customer Group - Pricelist map | Connect Magento customer groups with price lists from your ERP. | magento_customer_group_pricelist_map |
| Default Attribute Set | Choose the Magento attribute set that new products get when Junipeer creates them. | magento_default_attribute_set_id |
| Default Category | Choose the Magento category that new products are added to when Junipeer creates them. | magento_default_category_id |
Show all 41 settings
| Setting | What it controls | Key |
|---|---|---|
| Default Company Customer Group | Choose the customer group that new company customers get when Junipeer creates them in Magento. | magento_default_company_customer_group |
| Default Customer Group | Choose the customer group that new customers get when Junipeer creates them in Magento. | magento_default_customer_group |
| Default Magento Store View | Enter the code of the store view that Junipeer uses when it talks to Magento. | magento_store_view |
| Default Store pricelist | Choose the price list from your ERP that gives the base prices for the Default store in Magento. | magento_store_pricelist_default |
| Default Website | Choose the Magento website that Junipeer uses by default when it sends customers and products to Magento. | magento_default_website_id |
| Define attributes | Tell Junipeer which Magento attribute to use for some product details, such as description, EAN and unit. | magento_product_attribute_keys |
| Disable new products in Magento | Decide whether new products that Junipeer creates in Magento should be disabled. | magento_disable_new_products |
| Exclude Orders created before this date | Choose a date to skip older orders. | stdintegration_filter_magento_order_created_date |
| Fields to update | If products in Magento are updated, choose which fields may be updated. | magento_product_fields_to_update |
| Ignore children (with price = 0) for fixed price bundle product | Decide what happens to the products inside a fixed price bundle when orders and refunds are synced. | magento_ignore_children_when_not_children_calculated |
| Language - Store map | Choose which Magento store each extra language should be taken from when products are sent from Magento. | magento_language_store_map |
| Magento Access Token | Enter the access token that lets Junipeer connect to your Magento. | magento_access_token |
| Magento Article Weight Unit | Choose the weight unit you use in Magento, if it is different from the other system. | magento_article_weight_unit |
| Magento Catalog Price Scope | Choose the same price scope as in Magento. | magento_price_scope |
| Magento Delivery Date attribute | If your Magento orders have a delivery date , enter the name of the (extension) attribute that holds it. | magento_order_delivery_date_attribute |
| Magento External Customer Nr | If you keep an external customer number on your Magento customers, enter the name of the (extension) attribute that holds it. | magento_external_customer_nr |
| Magento Order Statuses | Choose which order statuses an order must have in Magento before it is synced. | magento_sync_order_with_statuses |
| Magento REST API Url | Enter the full address to your Magento API. | magento_api_url |
| Magento VAT Calculation Mode | Some ERPs also need the VAT percent when products are sent to them. | magento_vat_calculation_mode |
| Magento VAT percent | Enter the VAT percent to use for products, for example 25 . | magento_vat_fix_percent |
| Magento shipping method attribute | Choose which value on the Magento order is used as the order's shipping code , when orders and refunds are synced. | magento_shipping_method_attribute |
| Notify Customer on Invoice creation | Decide whether Magento should notify the customer when the invoice is created. | magento_invoice_notify |
| Notify Customer on Shipment creation | Decide whether Magento should notify the customer when the shipment is created. | magento_shipment_notify |
| Price Incl Taxes | Tell Junipeer whether the prices in your Magento include VAT (taxes). | magento_use_price_with_vat |
| Remove Reference Prefix | Decide whether the order's payment reference should be sent without its prefix. | magento_remove_reference_prefix |
| Remove incompatible (advanced) prices | Magento can't have an advanced price for a customer group on All Websites and on a specific website at the same time. | magento_remove_incompatible_prices |
| Replace advanced/tier prices | Choose how advanced (tier) prices are updated in Magento. | magento_replace_advanced_prices |
| Set Out Of Stock | Decide whether a product should be marked as out of stock in Magento when its quantity is 0. | magento_set_out_of_stock |
| Store - Currency Price map | Choose which Fortnox price currency each Magento store should get its product price from. | magento_store_currency_price_map |
| Store - Pricelist map | Connect each Magento website with a price list from your ERP. | magento_store_pricelist_map |
| Update / Load updated products | This setting works in both directions, depending on which way products are synced: Products sent to Magento – decides whether products that already exist in Magento are updated. | magento_update_articles |
| Update customers | Decide whether customers that already exist in Magento should be updated when customers are sent to Magento. | magento_update_customers |
| Website/Customer Group - Pricelist map | Connect Magento customer groups on a specific website with price lists from your ERP. | magento_website_customer_group_pricelist_map |
Settings for Business Central (47)
| Setting | What it controls | Key |
|---|---|---|
| Add return fee as a Return Line | Decide whether the return fee should be added as its own line on returns in Business Central. | bc_add_return_fee_row |
| Add shipping fee as an Order Line | Decide whether the shipping fee should be added as its own line on orders in Business Central. | bc_add_shipping_on_order_rows |
| Add shipping fee as an Order/Return Line | Decide whether the shipping fee should be added as its own line on orders and returns in Business Central. | bc_order_add_shipping_fee_row |
| Company ID | Enter the Company ID of the company in Business Central that Junipeer should connect to. | bc_company_id |
| Create missing articles in Business Central | Decide what happens when an order contains an article that doesn't exist in Business Central. | bc_create_missing_order_products |
| Create payout after order invoiced in Business Central | Decide whether a payout transaction should be created in Business Central when an order is invoiced there. | bc_create_payout_on_order_invoiced |
| Customer number by currency | Use a different Business Central customer number depending on the order's currency. | bc_houdini_customer_number_by_currency |
| Default General Product Posting Group | Choose the general product posting group given to articles that Junipeer creates in Business Central. | bc_default_general_product_posting_group_id |
Show all 47 settings
| Setting | What it controls | Key |
|---|---|---|
| Default Payment Journal for Payout Transactions in Business Central | Choose the payment journal in Business Central where payout transactions are created. | bc_default_payment_journal_id |
| Default Payment Method in Business Central | Choose the payment method Junipeer uses on orders in Business Central by default. | bc_default_payment_method |
| Default Shipping Item number in Business Central | Enter the Business Central item number used for the shipping fee line on orders. | bc_default_shipment_article_no |
| Default Terms of Payment in Business Central | Choose the terms of payment Junipeer uses on orders in Business Central by default. | bc_default_terms_of_payment |
| Default customer number | Enter the Business Central customer number used on orders when no customer number is set for the order's currency in Customer number by currency . | bc_houdini_default_customer_number |
| Default order type | Choose the order type set on orders when no order type is set for the order's currency in Order type by currency . | bc_houdini_default_order_type |
| Default payment method | Choose the Business Central payment method used on orders when no payment method mapping matches in Map payment methods . | bc_houdini_default_payment_method |
| Environment | Choose which Business Central environment Junipeer connects to. | bc_env |
| Exclude Orders created before this date | Orders created before this date are not synced. | stdintegration_filter_business_central_order_created_date |
| Include parent item when using variants | Decide whether the main (parent) item should be included together with its variants. | bc_variants_include_parent_item |
| Map Payment Methods | Connect the payment methods in your webshop with the payment methods in Business Central. | bc_payment_methods |
| Map Shipping methods | Connect the shipping methods in your webshop with the shipping methods in Business Central. | bc_shipping_methods |
| Map payment methods | Connect the payment methods in your webshop with the payment methods in Business Central. | bc_houdini_payment_methods |
| Match shipping methods by name | Use this if your shipping methods have the same names in both systems, so you don't have to map them one by one. | bc_match_shipping_methods_by_name |
| OData Sales Order Updates | Set specific fields on the sales order in Business Central to a fixed value when the order is updated. | bc_update_order_odata_fields_step_2 |
| OData Sales Order Updates | Set specific fields on the sales order in Business Central to a fixed value when the order is updated. | bc_update_order_odata_fields |
| Order Filters | Only sync orders from Business Central that have specific values in specific fields. | bc_retrievable_order_filters |
| Order create API profile | Choose which way Junipeer creates orders in Business Central. | bc_order_store_profile |
| Order type by currency | Use a different order type depending on the order's currency. | bc_houdini_order_type_by_currency |
| Order/Shipment retrieve API profile | Choose which way Junipeer reads orders and shipments from Business Central. | bc_order_retrieve_profile |
| Payment Method to Update in Business Central | Choose the payment method that is set on the sales order and the customer in Business Central when the order is updated. | bc_update_selected_payment_method_step_2 |
| Release order after create | Decide whether orders should be released in Business Central right after Junipeer creates them. | bc_houdini_release_order |
| Return Fee Item number in Business Central | Enter the Business Central item number used for the return fee line. | bc_default_return_fee_article_no |
| Shipping Agent Code | Enter the shipping agent code to use. | shipping_agent_code |
| Shipping Fee Item number in Business Central | Enter the Business Central item number used for the shipping fee line. | bc_default_shipping_fee_article_no |
| Shipping Service Code | Enter the shipping service code to use. | shipping_service_code |
| Shipping fee map | Use different Business Central items for the shipping fee depending on the shipping method the customer chose. | bc_shipment_article_no |
| Stock warehouse filter | Enter a warehouse (location code) to only load stock for that warehouse. | bc_stock_location |
| Sync only 'person' customers | Decide whether only private customers (persons) should be synced, and company customers skipped. | bc_customers_sync_person_only |
| Terms of Payment to Update in Business Central | Choose the terms of payment that orders are updated to in Business Central. | bc_update_selected_terms_of_payment_step_2 |
| Terms of Payment to Update in Business Central | Choose the terms of payment that orders are updated to in Business Central. | bc_update_selected_terms_of_payment |
| Update Business Central Customers | Decide whether customers that already exist in Business Central should be updated when customers are imported from your webshop. | bc_update_customers |
| Update Terms of Payment in Business Central | Decide whether the terms of payment on orders should be updated in Business Central. | bc_update_terms_of_payment_step_2 |
| Update Terms of Payment in Business Central | Decide whether the terms of payment on orders should be updated in Business Central. | bc_update_terms_of_payment |
| Update customer information in Business Central | Decide whether the customer in Business Central should be updated each time one of their orders is sent to Business Central. | bc_update_customer_when_order_is_synced |
| Use Multi Stock | Decide whether stock should be synced per warehouse or as one total per item. | bc_use_multistock |
| Use variants | Decide whether variants should be included when items are read from Business Central. | bc_use_variants |
| VAT included in order rows | Tell Junipeer whether the prices on order rows are sent to Business Central including or excluding VAT. | bc_vat_included_order_rows_price |
| Variant SKU delimiter | Enter the character placed between the item number and the variant code when Junipeer builds the SKU for a variant. | bc_variant_sku_delimiter |
4. Troubleshooting
Choose what you see. Each case shows the cause and the solution.
High"Authorization failed" errors
- Magento flows stop and the Junipeer log shows "Authorization failed".
Junipeer can't log in to Magento with the details saved on the Magento connection. Usually the Magento Access Token or the Magento REST API Url is wrong, or the integration was deactivated and reactivated in Magento, which replaces the access token.
In Magento, go to System → Integrations and check that the Junipeer integration is active.
Copy the Access Token and check the Magento REST API Url (for example
https://yourshop.example/api/). Junipeer only needs these two; the Consumer Key, Consumer Secret and Access Token Secret aren't used.Save them on the Magento connection in Junipeer.
If you deactivated and reactivated the integration in Magento, it created a new access token: enter the new one.
See Magento setup.
MediumNo products syncing
- check that the integration has Catalog permissions and that the products are assigned to the correct website/store scope that Junipeer is configured to read from.
See symptoms and resolution for details.
check that the integration has Catalog permissions and that the products are assigned to the correct website/store scope that Junipeer is configured to read from.
Medium"Resource not accessible" errors
- the integration is missing API permissions for the data type you are trying to sync. Go to System → Integrations, edit the integration, and add the missing resource permissions.
See symptoms and resolution for details.
the integration is missing API permissions for the data type you are trying to sync. Go to System → Integrations, edit the integration, and add the missing resource permissions.
5. More guides
- Magento SetupHow to create a Magento 2 integration user, set API resource permissions, and connect to Junipeer.
- Business Central SetupHow to connect Business Central to Junipeer with a Microsoft login, pick the right environment and company, and check number series, VAT, currencies and payment journals.
Did this page help you?
