Skip to content

Magento + Business Central by Trimit

Everything you need to connect Magento and Business Central by Trimit: how to connect, which data moves, which settings there are and what to do when something goes wrong.

  • 7 data flows
  • Connect in about 25 minutes
On this page1. Getting started

1. Getting started

Prepare both systems first, then connect them in Junipeer.

  1. about 10 minutes

    Prepare Magento

    1. Open the integrations page
    2. Create a new integration
    3. Grant API permissions
    4. Save the integration
    5. Activate the integration
    6. Copy all four credentials
    7. Paste the credentials into Junipeer
    Show with screenshots (7)
  2. about 5-15 minutes once the credentials have been issued

    Prepare Business Central by Trimit

    1. Collect the Business Central details
    2. Get an OAuth2 client for Junipeer
    3. Check your Trimit version
    4. Enter the values in Junipeer
    5. Test the connection
    Full instructions
  3. 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
  • Refunds
Based on what each connector can fetch and send. You choose which flows to switch on in Junipeer.

3. Settings

The settings you see in Junipeer, in plain words. Open one to read more. The key is the technical name.

You don't need to read them all

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 works

Settings for Magento (41)

SettingWhat it controlsKey
Attribute to set external (Fortnox) customer numberEnter 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 InvoiceDecide whether the invoice should be captured when it is created in Magento.magento_capture_invoice
Create Invoice in MagentoDecide whether an invoice should be created in Magento when the order is invoiced in Fortnox.magento_create_invoice
Create Shipment in MagentoDecide whether a shipment should be created in Magento when the order is invoiced in Fortnox.magento_create_shipment
Create productsDecide whether products that don't exist in Magento yet should be created there.magento_create_articles
Customer Group - Pricelist mapConnect Magento customer groups with price lists from your ERP.magento_customer_group_pricelist_map
Default Attribute SetChoose the Magento attribute set that new products get when Junipeer creates them.magento_default_attribute_set_id
Default CategoryChoose the Magento category that new products are added to when Junipeer creates them.magento_default_category_id
Show all 41 settings
SettingWhat it controlsKey
Default Company Customer GroupChoose the customer group that new company customers get when Junipeer creates them in Magento.magento_default_company_customer_group
Default Customer GroupChoose the customer group that new customers get when Junipeer creates them in Magento.magento_default_customer_group
Default Magento Store ViewEnter the code of the store view that Junipeer uses when it talks to Magento.magento_store_view
Default Store pricelistChoose the price list from your ERP that gives the base prices for the Default store in Magento.magento_store_pricelist_default
Default WebsiteChoose the Magento website that Junipeer uses by default when it sends customers and products to Magento.magento_default_website_id
Define attributesTell Junipeer which Magento attribute to use for some product details, such as description, EAN and unit.magento_product_attribute_keys
Disable new products in MagentoDecide whether new products that Junipeer creates in Magento should be disabled.magento_disable_new_products
Exclude Orders created before this dateChoose a date to skip older orders.stdintegration_filter_magento_order_created_date
Fields to updateIf 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 productDecide 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 mapChoose which Magento store each extra language should be taken from when products are sent from Magento.magento_language_store_map
Magento Access TokenEnter the access token that lets Junipeer connect to your Magento.magento_access_token
Magento Article Weight UnitChoose the weight unit you use in Magento, if it is different from the other system.magento_article_weight_unit
Magento Catalog Price ScopeChoose the same price scope as in Magento.magento_price_scope
Magento Delivery Date attributeIf 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 NrIf 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 StatusesChoose which order statuses an order must have in Magento before it is synced.magento_sync_order_with_statuses
Magento REST API UrlEnter the full address to your Magento API.magento_api_url
Magento VAT Calculation ModeSome ERPs also need the VAT percent when products are sent to them.magento_vat_calculation_mode
Magento VAT percentEnter the VAT percent to use for products, for example 25 .magento_vat_fix_percent
Magento shipping method attributeChoose 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 creationDecide whether Magento should notify the customer when the invoice is created.magento_invoice_notify
Notify Customer on Shipment creationDecide whether Magento should notify the customer when the shipment is created.magento_shipment_notify
Price Incl TaxesTell Junipeer whether the prices in your Magento include VAT (taxes).magento_use_price_with_vat
Remove Reference PrefixDecide whether the order's payment reference should be sent without its prefix.magento_remove_reference_prefix
Remove incompatible (advanced) pricesMagento 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 pricesChoose how advanced (tier) prices are updated in Magento.magento_replace_advanced_prices
Set Out Of StockDecide 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 mapChoose which Fortnox price currency each Magento store should get its product price from.magento_store_currency_price_map
Store - Pricelist mapConnect each Magento website with a price list from your ERP.magento_store_pricelist_map
Update / Load updated productsThis 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 customersDecide whether customers that already exist in Magento should be updated when customers are sent to Magento.magento_update_customers
Website/Customer Group - Pricelist mapConnect Magento customer groups on a specific website with price lists from your ERP.magento_website_customer_group_pricelist_map

Settings for Business Central by Trimit (37)

SettingWhat it controlsKey
Add return fee as a Return LineDecide whether the return fee should be added as its own line on the return in Business Central.trimit_add_return_fee_row
Add shipping fee as an Order/Return LineDecide whether the shipping fee should be added as its own line on the order (or return) in Business Central.trimit_order_add_shipping_fee_row
Company IDEnter the Company ID of the company in Business Central that Junipeer should connect to.bc_company_id
Default Payment Method in Business CentralChoose the payment method that orders get in Business Central by default.trimit_default_payment_method
Default Terms of Payment in Business CentralChoose the terms of payment to use by default on orders in Business Central.trimit_default_terms_of_payment
Default order type for B2B ordersEnter the order type that B2B orders get in Business Central.trimit_default_b2b_order_type
Default order type for B2C (Direct to consumer) ordersEnter the order type that B2C (direct to consumer) orders get in Business Central.trimit_default_b2c_order_type
Enable manual Trimit Size chart mapping with CentraDecide whether you want to map Trimit's size charts to Centra's size charts yourself.trimit_enable_size_chart_map
Show all 37 settings
SettingWhat it controlsKey
EnvironmentEnter the name of the Business Central environment Junipeer should connect to.bc_environment
Exclude Companies from CustomersDecide whether customers of the type Company should be skipped when customers are exported to Centra.trimit_exclude_companies_from_customers
Exclude Orders created before this dateOrders created before this date are not synced.stdintegration_filter_business_central_order_created_date
Exclude shipments with no tracking numberDecide whether to wait for a tracking number before a shipment is created in Centra.trimit_exclude_shipments_with_no_tracking
Global Dimension CodeOnly include products that have this global dimension code in Business Central.trimit_global_dimension_code
Language Code used on productsEnter the language code to look for when product data is picked from Business Central.trimit_product_language_code
Load Products endpointsChoose where in Trimit products are loaded from when products and prices are sent to Centra.trimit_product_endpoint
Map Payment MethodsConnect the payment methods in Centra with the payment methods in Business Central, so each order gets the right payment method.trimit_payment_methods
Mark Credit Memo as Exported in BCDecide whether the posted credit memo in Business Central should be marked as exported when Junipeer creates the refund in Centra.trimit_mark_refund_as_exported
Mark Shipment as Exported in BCDecide whether the posted shipment in Business Central should be marked as exported when Junipeer creates the shipment in Centra.trimit_mark_shipment_as_exported
Merge Warehouse stockDecide whether stock from all warehouses should be added together when stock is sent to Centra.trimit_merge_warehouse_stock
Multiple pricelists (customer price groups)Decide how the pricelist code is built when prices are sent to Centra.trimit_multiple_pricelists
OAuth2 Client IDEnter the OAuth2 Client ID .bc_client_id
OAuth2 Client SecretEnter the OAuth2 Client Secret that belongs to your OAuth2 Client ID .bc_client_secret
Order type setterSet the Business Central order type based on the Centra order (delivery) type.trimit_map_order_delivery_types
Return Fee Item number in TrimitEnter the item number to use for the return fee line on returns in Business Central.trimit_default_return_fee_article_no
Shipping Agent CodeEnter the shipping agent code to use.shipping_agent_code
Shipping Fee Item number in TrimitEnter the item number to use for the shipping fee line on orders and returns in Business Central.trimit_default_shipping_fee_article_no
Shipping Methods SettingsSet shipping details in Business Central depending on the shipping method used in Centra .trimit_shipping_methods
Shipping Service CodeEnter the shipping service code to use.shipping_service_code
Size Chart MapConnect each size chart in Trimit with the size chart it belongs to in Centra.trimit_map_api_size_charts
Size Chart SetterChoose which Centra size chart products get, based on a variant dimension value in Business Central.trimit_map_size_charts
Tenant IDEnter the tenant ID of your Business Central.bc_tenant_id
Trimit API VersionSelect the version of the Trimit API that Junipeer should use to talk to your Business Central.trimit_version
Update Business Central CustomersDecide whether customers that already exist in Business Central should be updated with the details from Centra.trimit_update_customers
Use built-in Size Chart MapDecide whether to use the size chart mapping that is built into Trimit when products are sent to Centra.trimit_size_chart_from_api
VAT included in order rowsDecide whether the prices on order rows are sent to Business Central including or excluding VAT .trimit_vat_included_order_rows_price
masterVarDims.type for Color VariantEnter the type that Trimit uses to identify the color variant of a product.trimit_product_colors_type_key
masterVarDims.type for SizeEnter the type that Trimit uses to identify the size of a product.trimit_product_sizes_type_key

4. Troubleshooting

Choose what you see. Each case shows the cause and the solution.

High"Authorization failed" errors
What you see
  • Magento flows stop and the Junipeer log shows "Authorization failed".
Cause

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.

Solution
  1. In Magento, go to System → Integrations and check that the Junipeer integration is active.

  2. 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.

  3. Save them on the Magento connection in Junipeer.

  4. 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
What you see
  • 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.
Cause

See symptoms and resolution for details.

Solution

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
What you see
  • 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.
Cause

See symptoms and resolution for details.

Solution

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

Did this page help you?