[{"data":1,"prerenderedAt":804},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fbills-of-material":488,"\u002Fguides\u002Fbills-of-material-surround":799,"\u002Fguides\u002Fbills-of-material-reference":793},[4,28,93,113,135,173],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17,22],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Concepts","\u002Fgetting-started\u002Fconcepts","1.getting-started\u002F2.concepts","i-lucide-shapes",{"title":18,"path":19,"stem":20,"icon":21},"Quickstart in the portal","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-mouse-pointer-click",{"title":23,"path":24,"stem":25,"icon":26},"Quickstart with the API","\u002Fgetting-started\u002Fapi-quickstart","1.getting-started\u002F4.api-quickstart","i-lucide-terminal",false,{"title":29,"icon":27,"path":30,"stem":31,"children":32,"page":27},"Guides","\u002Fguides","2.guides",[33,38,43,48,53,58,63,68,73,78,83,88],{"title":34,"path":35,"stem":36,"icon":37},"Products","\u002Fguides\u002Fproducts","2.guides\u002F01.products","i-lucide-package",{"title":39,"path":40,"stem":41,"icon":42},"Pricing","\u002Fguides\u002Fpricing","2.guides\u002F02.pricing","i-lucide-tags",{"title":44,"path":45,"stem":46,"icon":47},"Locations","\u002Fguides\u002Flocations","2.guides\u002F03.locations","i-lucide-map-pin",{"title":49,"path":50,"stem":51,"icon":52},"Inventory","\u002Fguides\u002Finventory","2.guides\u002F04.inventory","i-lucide-warehouse",{"title":54,"path":55,"stem":56,"icon":57},"Suppliers and purchasing","\u002Fguides\u002Fsuppliers-and-purchasing","2.guides\u002F05.suppliers-and-purchasing","i-lucide-truck",{"title":59,"path":60,"stem":61,"icon":62},"Transfer orders","\u002Fguides\u002Ftransfer-orders","2.guides\u002F06.transfer-orders","i-lucide-arrow-left-right",{"title":64,"path":65,"stem":66,"icon":67},"Bills of material","\u002Fguides\u002Fbills-of-material","2.guides\u002F07.bills-of-material","i-lucide-list-tree",{"title":69,"path":70,"stem":71,"icon":72},"Production","\u002Fguides\u002Fproduction","2.guides\u002F08.production","i-lucide-factory",{"title":74,"path":75,"stem":76,"icon":77},"Orders and shipments","\u002Fguides\u002Forders-and-shipments","2.guides\u002F09.orders-and-shipments","i-lucide-shopping-cart",{"title":79,"path":80,"stem":81,"icon":82},"Business hierarchy","\u002Fguides\u002Fbusiness-hierarchy","2.guides\u002F10.business-hierarchy","i-lucide-network",{"title":84,"path":85,"stem":86,"icon":87},"Users and roles","\u002Fguides\u002Fusers-and-roles","2.guides\u002F11.users-and-roles","i-lucide-users",{"title":89,"path":90,"stem":91,"icon":92},"Notifications","\u002Fguides\u002Fnotifications","2.guides\u002F12.notifications","i-lucide-bell",{"title":94,"icon":27,"path":95,"stem":96,"children":97,"page":27},"Planning and AI","\u002Fplanning-and-ai","3.planning-and-ai",[98,103,108],{"title":99,"path":100,"stem":101,"icon":102},"Miridia Planner","\u002Fplanning-and-ai\u002Fmiridia-planner","3.planning-and-ai\u002F1.miridia-planner","i-lucide-chart-line",{"title":104,"path":105,"stem":106,"icon":107},"Miridia AI Studio","\u002Fplanning-and-ai\u002Fai-studio","3.planning-and-ai\u002F2.ai-studio","i-lucide-sparkles",{"title":109,"path":110,"stem":111,"icon":112},"Miridia Console","\u002Fplanning-and-ai\u002Fconsole","3.planning-and-ai\u002F3.console","i-lucide-monitor",{"title":114,"path":115,"stem":116,"children":117,"icon":27},"Integrations","\u002Fintegrations","4.integrations\u002F1.index",[118,121,126,131],{"title":119,"path":115,"stem":116,"icon":120},"Integrations overview","i-lucide-plug",{"title":122,"path":123,"stem":124,"icon":125},"Workflows and events","\u002Fintegrations\u002Fworkflows","4.integrations\u002F2.workflows","i-lucide-workflow",{"title":127,"path":128,"stem":129,"icon":130},"Build a connector","\u002Fintegrations\u002Fconnectors","4.integrations\u002F3.connectors","i-lucide-cable",{"title":132,"path":133,"stem":134,"icon":52},"Data warehouse","\u002Fintegrations\u002Fdata-warehouse","4.integrations\u002F4.data-warehouse",{"title":136,"path":137,"stem":138,"children":139,"icon":27},"Tutorials","\u002Ftutorials","5.tutorials\u002F01.index",[140,143,148,152,157,161,165,169],{"title":141,"path":137,"stem":138,"icon":142},"Video tutorials","i-lucide-circle-play",{"title":144,"path":145,"stem":146,"icon":147},"Set up your business","\u002Ftutorials\u002Fset-up-your-business","5.tutorials\u002F02.set-up-your-business","i-lucide-building-2",{"title":149,"path":150,"stem":151,"icon":42},"Add products and prices","\u002Ftutorials\u002Fadd-products-and-prices","5.tutorials\u002F03.add-products-and-prices",{"title":153,"path":154,"stem":155,"icon":156},"Receive a purchase order","\u002Ftutorials\u002Freceive-a-purchase-order","5.tutorials\u002F04.receive-a-purchase-order","i-lucide-package-check",{"title":158,"path":159,"stem":160,"icon":62},"Replenish a branch","\u002Ftutorials\u002Freplenish-a-branch","5.tutorials\u002F05.replenish-a-branch",{"title":162,"path":163,"stem":164,"icon":72},"Cost and produce a product","\u002Ftutorials\u002Fcost-and-produce","5.tutorials\u002F06.cost-and-produce",{"title":166,"path":167,"stem":168,"icon":125},"Automate with n8n","\u002Ftutorials\u002Fautomate-with-n8n","5.tutorials\u002F07.automate-with-n8n",{"title":170,"path":171,"stem":172,"icon":26},"Call the API","\u002Ftutorials\u002Fcall-the-api","5.tutorials\u002F08.call-the-api",{"title":174,"path":175,"stem":176,"children":177,"icon":27},"Developers","\u002Fdevelopers","6.developers\u002F1.index",[178,181,186,191,234],{"title":179,"path":175,"stem":176,"icon":180},"API overview","i-lucide-braces",{"title":182,"path":183,"stem":184,"icon":185},"Authentication","\u002Fdevelopers\u002Fauthentication","6.developers\u002F2.authentication","i-lucide-key-round",{"title":187,"path":188,"stem":189,"icon":190},"Conventions","\u002Fdevelopers\u002Fconventions","6.developers\u002F3.conventions","i-lucide-list-checks",{"title":192,"icon":27,"path":193,"stem":194,"children":195,"page":27},"Global API","\u002Fdevelopers\u002Fglobal-api","6.developers\u002F4.global-api",[196,199,204,209,214,219,224,229],{"title":182,"path":197,"stem":198,"icon":185},"\u002Fdevelopers\u002Fglobal-api\u002Fauth","6.developers\u002F4.global-api\u002F01.auth",{"title":200,"path":201,"stem":202,"icon":203},"Organizations","\u002Fdevelopers\u002Fglobal-api\u002Forganization","6.developers\u002F4.global-api\u002F02.organization","i-lucide-building",{"title":205,"path":206,"stem":207,"icon":208},"Users","\u002Fdevelopers\u002Fglobal-api\u002Fuser","6.developers\u002F4.global-api\u002F03.user","i-lucide-user",{"title":210,"path":211,"stem":212,"icon":213},"Linked accounts","\u002Fdevelopers\u002Fglobal-api\u002Flinked-accounts","6.developers\u002F4.global-api\u002F04.linked-accounts","i-lucide-link",{"title":215,"path":216,"stem":217,"icon":218},"Subscriptions","\u002Fdevelopers\u002Fglobal-api\u002Fsubscription","6.developers\u002F4.global-api\u002F05.subscription","i-lucide-credit-card",{"title":220,"path":221,"stem":222,"icon":223},"Support","\u002Fdevelopers\u002Fglobal-api\u002Fsupport","6.developers\u002F4.global-api\u002F06.support","i-lucide-life-buoy",{"title":225,"path":226,"stem":227,"icon":228},"Banners","\u002Fdevelopers\u002Fglobal-api\u002Fnotification","6.developers\u002F4.global-api\u002F07.notification","i-lucide-megaphone",{"title":230,"path":231,"stem":232,"icon":233},"Signing keys","\u002Fdevelopers\u002Fglobal-api\u002Fwell-known","6.developers\u002F4.global-api\u002F08.well-known","i-lucide-shield-check",{"title":235,"icon":27,"path":236,"stem":237,"children":238,"page":27},"Core API","\u002Fdevelopers\u002Fcore-api","6.developers\u002F5.core-api",[239,255,272,285,305,327,376,409,436],{"title":240,"icon":37,"path":241,"stem":242,"children":243,"page":27},"Catalogue","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue","6.developers\u002F5.core-api\u002F01.catalogue",[244,247,251],{"title":34,"path":245,"stem":246,"icon":37},"\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fproducts","6.developers\u002F5.core-api\u002F01.catalogue\u002F01.products",{"title":248,"path":249,"stem":250,"icon":37},"Product groups","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fproduct-groups","6.developers\u002F5.core-api\u002F01.catalogue\u002F02.product-groups",{"title":252,"path":253,"stem":254,"icon":37},"Price lists","\u002Fdevelopers\u002Fcore-api\u002Fcatalogue\u002Fprice-lists","6.developers\u002F5.core-api\u002F01.catalogue\u002F03.price-lists",{"title":49,"icon":52,"path":256,"stem":257,"children":258,"page":27},"\u002Fdevelopers\u002Fcore-api\u002Finventory","6.developers\u002F5.core-api\u002F02.inventory",[259,262,266,269],{"title":49,"path":260,"stem":261,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Finventory","6.developers\u002F5.core-api\u002F02.inventory\u002F01.inventory",{"title":263,"path":264,"stem":265,"icon":52},"Inventory lots","\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Finventory-lots","6.developers\u002F5.core-api\u002F02.inventory\u002F02.inventory-lots",{"title":44,"path":267,"stem":268,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Flocations","6.developers\u002F5.core-api\u002F02.inventory\u002F03.locations",{"title":59,"path":270,"stem":271,"icon":52},"\u002Fdevelopers\u002Fcore-api\u002Finventory\u002Ftransfer-orders","6.developers\u002F5.core-api\u002F02.inventory\u002F04.transfer-orders",{"title":273,"icon":77,"path":274,"stem":275,"children":276,"page":27},"Procurement","\u002Fdevelopers\u002Fcore-api\u002Fprocurement","6.developers\u002F5.core-api\u002F03.procurement",[277,281],{"title":278,"path":279,"stem":280,"icon":77},"Suppliers","\u002Fdevelopers\u002Fcore-api\u002Fprocurement\u002Fsuppliers","6.developers\u002F5.core-api\u002F03.procurement\u002F01.suppliers",{"title":282,"path":283,"stem":284,"icon":77},"Purchase orders","\u002Fdevelopers\u002Fcore-api\u002Fprocurement\u002Fpurchase-orders","6.developers\u002F5.core-api\u002F03.procurement\u002F02.purchase-orders",{"title":286,"icon":72,"path":287,"stem":288,"children":289,"page":27},"Manufacturing","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing","6.developers\u002F5.core-api\u002F04.manufacturing",[290,293,297,301],{"title":64,"path":291,"stem":292,"icon":72},"\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fboms","6.developers\u002F5.core-api\u002F04.manufacturing\u002F01.boms",{"title":294,"path":295,"stem":296,"icon":72},"Production processes","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fproduction-processes","6.developers\u002F5.core-api\u002F04.manufacturing\u002F02.production-processes",{"title":298,"path":299,"stem":300,"icon":72},"Work orders","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fwork-orders","6.developers\u002F5.core-api\u002F04.manufacturing\u002F03.work-orders",{"title":302,"path":303,"stem":304,"icon":72},"Work order templates","\u002Fdevelopers\u002Fcore-api\u002Fmanufacturing\u002Fwork-order-templates","6.developers\u002F5.core-api\u002F04.manufacturing\u002F04.work-order-templates",{"title":306,"icon":307,"path":308,"stem":309,"children":310,"page":27},"Sales","i-lucide-receipt","\u002Fdevelopers\u002Fcore-api\u002Fsales","6.developers\u002F5.core-api\u002F05.sales",[311,315,319,323],{"title":312,"path":313,"stem":314,"icon":307},"Orders","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Forders","6.developers\u002F5.core-api\u002F05.sales\u002F01.orders",{"title":316,"path":317,"stem":318,"icon":307},"Customers","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fcustomers","6.developers\u002F5.core-api\u002F05.sales\u002F02.customers",{"title":320,"path":321,"stem":322,"icon":307},"Customer groups","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fcustomer-groups","6.developers\u002F5.core-api\u002F05.sales\u002F03.customer-groups",{"title":324,"path":325,"stem":326,"icon":307},"Sales channels","\u002Fdevelopers\u002Fcore-api\u002Fsales\u002Fsales-channels","6.developers\u002F5.core-api\u002F05.sales\u002F04.sales-channels",{"title":328,"icon":57,"path":329,"stem":330,"children":331,"page":27},"Logistics","\u002Fdevelopers\u002Fcore-api\u002Flogistics","6.developers\u002F5.core-api\u002F06.logistics",[332,336,340,344,348,352,356,360,364,368,372],{"title":333,"path":334,"stem":335,"icon":57},"Shipments","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fshipment","6.developers\u002F5.core-api\u002F06.logistics\u002F01.shipment",{"title":337,"path":338,"stem":339,"icon":57},"Carriers","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fcarriers","6.developers\u002F5.core-api\u002F06.logistics\u002F02.carriers",{"title":341,"path":342,"stem":343,"icon":57},"Rates","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Frates","6.developers\u002F5.core-api\u002F06.logistics\u002F03.rates",{"title":345,"path":346,"stem":347,"icon":57},"Waybills","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fwaybill","6.developers\u002F5.core-api\u002F06.logistics\u002F04.waybill",{"title":349,"path":350,"stem":351,"icon":57},"Delivery plans","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdelivery-plans","6.developers\u002F5.core-api\u002F06.logistics\u002F05.delivery-plans",{"title":353,"path":354,"stem":355,"icon":57},"Delivery zones","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdelivery-zones","6.developers\u002F5.core-api\u002F06.logistics\u002F06.delivery-zones",{"title":357,"path":358,"stem":359,"icon":57},"Vehicles","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fvehicle","6.developers\u002F5.core-api\u002F06.logistics\u002F07.vehicle",{"title":361,"path":362,"stem":363,"icon":57},"Drivers","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdriver","6.developers\u002F5.core-api\u002F06.logistics\u002F08.driver",{"title":365,"path":366,"stem":367,"icon":57},"Dimension presets","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fdimension-preset","6.developers\u002F5.core-api\u002F06.logistics\u002F09.dimension-preset",{"title":369,"path":370,"stem":371,"icon":57},"Fulfilment","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Ffulfillment","6.developers\u002F5.core-api\u002F06.logistics\u002F10.fulfillment",{"title":373,"path":374,"stem":375,"icon":57},"Schedules","\u002Fdevelopers\u002Fcore-api\u002Flogistics\u002Fschedule","6.developers\u002F5.core-api\u002F06.logistics\u002F11.schedule",{"title":377,"icon":102,"path":378,"stem":379,"children":380,"page":27},"Insights","\u002Fdevelopers\u002Fcore-api\u002Finsights","6.developers\u002F5.core-api\u002F07.insights",[381,385,389,393,397,401,405],{"title":382,"path":383,"stem":384,"icon":102},"Dashboard insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fdashboard-insights","6.developers\u002F5.core-api\u002F07.insights\u002F01.dashboard-insights",{"title":386,"path":387,"stem":388,"icon":102},"Sales insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fsales-insights","6.developers\u002F5.core-api\u002F07.insights\u002F02.sales-insights",{"title":390,"path":391,"stem":392,"icon":102},"Inventory insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Finventory-insights","6.developers\u002F5.core-api\u002F07.insights\u002F03.inventory-insights",{"title":394,"path":395,"stem":396,"icon":102},"Location insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Flocation-insights","6.developers\u002F5.core-api\u002F07.insights\u002F04.location-insights",{"title":398,"path":399,"stem":400,"icon":102},"Supplier insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fsupplier-insights","6.developers\u002F5.core-api\u002F07.insights\u002F05.supplier-insights",{"title":402,"path":403,"stem":404,"icon":102},"Network insights","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fnetwork-insights","6.developers\u002F5.core-api\u002F07.insights\u002F06.network-insights",{"title":406,"path":407,"stem":408,"icon":102},"AI Studio","\u002Fdevelopers\u002Fcore-api\u002Finsights\u002Fai-studio","6.developers\u002F5.core-api\u002F07.insights\u002F07.ai-studio",{"title":114,"icon":120,"path":410,"stem":411,"children":412,"page":27},"\u002Fdevelopers\u002Fcore-api\u002Fintegrations","6.developers\u002F5.core-api\u002F08.integrations",[413,416,420,424,428,432],{"title":114,"path":414,"stem":415,"icon":120},"\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fintegrations","6.developers\u002F5.core-api\u002F08.integrations\u002F01.integrations",{"title":417,"path":418,"stem":419,"icon":120},"Workflows","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fworkflow","6.developers\u002F5.core-api\u002F08.integrations\u002F02.workflow",{"title":421,"path":422,"stem":423,"icon":120},"Triggers","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Ftriggers","6.developers\u002F5.core-api\u002F08.integrations\u002F03.triggers",{"title":425,"path":426,"stem":427,"icon":120},"Order integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Forder-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F04.order-integration",{"title":429,"path":430,"stem":431,"icon":120},"Product integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fproduct-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F05.product-integration",{"title":433,"path":434,"stem":435,"icon":120},"Shipment integration","\u002Fdevelopers\u002Fcore-api\u002Fintegrations\u002Fshipment-integration","6.developers\u002F5.core-api\u002F08.integrations\u002F06.shipment-integration",{"title":437,"icon":438,"path":439,"stem":440,"children":441,"page":27},"Administration","i-lucide-settings","\u002Fdevelopers\u002Fcore-api\u002Fadministration","6.developers\u002F5.core-api\u002F09.administration",[442,446,450,454,458,462,465,468,472,476,480,484],{"title":443,"path":444,"stem":445,"icon":438},"Businesses","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fbusiness","6.developers\u002F5.core-api\u002F09.administration\u002F01.business",{"title":447,"path":448,"stem":449,"icon":438},"Configurations","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fconfigurations","6.developers\u002F5.core-api\u002F09.administration\u002F02.configurations",{"title":451,"path":452,"stem":453,"icon":438},"Roles","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Froles","6.developers\u002F5.core-api\u002F09.administration\u002F03.roles",{"title":455,"path":456,"stem":457,"icon":438},"Teams","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fteams","6.developers\u002F5.core-api\u002F09.administration\u002F04.teams",{"title":459,"path":460,"stem":461,"icon":438},"Employees","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Femployee","6.developers\u002F5.core-api\u002F09.administration\u002F05.employee",{"title":205,"path":463,"stem":464,"icon":438},"\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fuser","6.developers\u002F5.core-api\u002F09.administration\u002F06.user",{"title":89,"path":466,"stem":467,"icon":438},"\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fnotification","6.developers\u002F5.core-api\u002F09.administration\u002F07.notification",{"title":469,"path":470,"stem":471,"icon":438},"Push notifications","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fpush-notification","6.developers\u002F5.core-api\u002F09.administration\u002F08.push-notification",{"title":473,"path":474,"stem":475,"icon":438},"Files","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Ffiles","6.developers\u002F5.core-api\u002F09.administration\u002F09.files",{"title":477,"path":478,"stem":479,"icon":438},"Lookups","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Flookup","6.developers\u002F5.core-api\u002F09.administration\u002F10.lookup",{"title":481,"path":482,"stem":483,"icon":438},"Addresses","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Faddress","6.developers\u002F5.core-api\u002F09.administration\u002F11.address",{"title":485,"path":486,"stem":487,"icon":438},"PDF generator","\u002Fdevelopers\u002Fcore-api\u002Fadministration\u002Fpdf-generator","6.developers\u002F5.core-api\u002F09.administration\u002F12.pdf-generator",{"id":489,"title":64,"body":490,"description":791,"extension":792,"links":793,"meta":794,"navigation":795,"path":65,"reference":27,"seo":796,"sitemap":797,"stem":66,"__hash__":798},"docs\u002F2.guides\u002F07.bills-of-material.md",{"type":491,"value":492,"toc":779},"minimark",[493,497,502,543,547,550,553,607,614,618,621,642,645,649,652,696,699,703,706,717,720,740,744,747,751,754,760,764],[494,495,496],"p",{},"A bill of materials (BOM) is the recipe of a product. It lists the component products and the quantity of each that one output needs. Miridia uses the BOM to calculate a cost, to plan purchases, and to run production.",[498,499,501],"h2",{"id":500},"bom-types","BOM types",[503,504,505,518],"table",{},[506,507,508],"thead",{},[509,510,511,515],"tr",{},[512,513,514],"th",{},"Type",[512,516,517],{},"Use",[519,520,521,533],"tbody",{},[509,522,523,530],{},[524,525,526],"td",{},[527,528,529],"code",{},"Assembly",[524,531,532],{},"Production uses the components to make a new finished good. The components leave stock, and the finished good enters stock.",[509,534,535,540],{},[524,536,537],{},[527,538,539],{},"Kit",[524,541,542],{},"The components are packed together. Each component stays an individual product in inventory.",[498,544,546],{"id":545},"revisions-and-status","Revisions and status",[494,548,549],{},"A recipe changes over time. Miridia never changes an active recipe in place. You make a new revision.",[494,551,552],{},"Each BOM has a revision number, an effective date, and an optional expiry date. Each BOM also has a status:",[503,554,555,565],{},[506,556,557],{},[509,558,559,562],{},[512,560,561],{},"Status",[512,563,564],{},"Meaning",[519,566,567,577,587,597],{},[509,568,569,574],{},[524,570,571],{},[527,572,573],{},"Draft",[524,575,576],{},"You are still preparing the recipe.",[509,578,579,584],{},[524,580,581],{},[527,582,583],{},"Active",[524,585,586],{},"The current recipe. New work orders use it.",[509,588,589,594],{},[524,590,591],{},[527,592,593],{},"Blocked",[524,595,596],{},"Nobody can use the recipe, for example during a quality hold.",[509,598,599,604],{},[524,600,601],{},[527,602,603],{},"Superseded",[524,605,606],{},"A newer revision replaced this recipe.",[494,608,609,610,613],{},"When you activate a new revision, it becomes the default for new work. Work orders that already started keep the revision that they started with. Read ",[611,612,69],"a",{"href":70},".",[498,615,617],{"id":616},"line-items","Line items",[494,619,620],{},"Each line item names a component product and gives:",[622,623,624,628,631,639],"ul",{},[625,626,627],"li",{},"the quantity for each output",[625,629,630],{},"the unit of measure",[625,632,633,634,638],{},"the ",[635,636,637],"strong",{},"scrap factor",", as a percentage. This is the waste allowance. A scrap factor of 5% on 0.3 rolls of paper calculates the cost of 0.315 rolls.",[625,640,641],{},"a sort order and notes",[494,643,644],{},"A BOM also has an output quantity and assembly instructions.",[498,646,648],{"id":647},"production-cost-lines","Production cost lines",[494,650,651],{},"Some costs do not belong to a component. Examples are labour, packaging overhead, and inbound freight. Add them to the BOM as cost lines. Each cost line has a type:",[503,653,654,664],{},[506,655,656],{},[509,657,658,661],{},[512,659,660],{},"Cost type",[512,662,663],{},"Calculation",[519,665,666,676,686],{},[509,667,668,673],{},[524,669,670],{},[527,671,672],{},"FixedPerUnit",[524,674,675],{},"A fixed amount for each unit.",[509,677,678,683],{},[524,679,680],{},[527,681,682],{},"Percentage",[524,684,685],{},"A percentage of the material cost.",[509,687,688,693],{},[524,689,690],{},[527,691,692],{},"HourlyRate",[524,694,695],{},"A rate for each hour of work.",[494,697,698],{},"Each cost line can have a general ledger account code. The accounting integration uses the code.",[498,700,702],{"id":701},"how-miridia-calculates-the-cost","How Miridia calculates the cost",[494,704,705],{},"The BOM stores no prices. Miridia reads the purchase price of each component from its price history on the date that you ask for. It then adds the cost lines.",[707,708,715],"pre",{"className":709,"code":711,"filename":712,"language":713,"meta":714},[710],"language-text","Component costs (from the price history)\n  Paper roll      0.3 rolls  x R40.00  =  R12.00\n  Ink             50 ml               =  R 4.50\n  Cover           2 x R9.00           =  R18.00\n  Scrap factor    5% on paper         =  R 0.60\n  Material cost                       =  R35.10\n\nProduction cost lines\n  Assembly labour (fixed per unit)    =  R 8.00\n  Packaging overhead (fixed per unit) =  R 3.50\n  Inbound freight (5% of material)    =  R 1.75\n  Production costs                    =  R13.25\n\nTotal BOM cost                        =  R48.35\n\nSelling price                         =  R89.00\nGross margin                          =  R40.65 (45.7%)\n","Notebook, cost on 2026-01-31","text","",[527,716,711],{"__ignoreMap":714},[494,718,719],{},"This design has three results:",[622,721,722,728,734],{},[625,723,724,727],{},[635,725,726],{},"One source of truth."," The price history is the only place that holds a cost.",[625,729,730,733],{},[635,731,732],{},"The past cost is always available."," Ask for the cost on any date. Miridia uses the prices on that date.",[625,735,736,739],{},[635,737,738],{},"A supplier price change applies at once."," When the price of paper goes up, each BOM that uses paper shows the new cost.",[498,741,743],{"id":742},"margin-over-time","Margin over time",[494,745,746],{},"The BOM history endpoint gives the cost, the selling price, and the gross margin of a product over time. It gives one point for each date on which a component price changed, and one point for today. Use it to find a margin that decreases slowly.",[498,748,750],{"id":749},"multi-level-boms","Multi-level BOMs",[494,752,753],{},"A component can have its own BOM. An example is a sauce that you make and then use in three products. The BOM tree endpoint expands the active BOM of a product into a full tree, with the cost rolled up from the lowest level.",[755,756,757],"tip",{},[494,758,759],{},"Model a shared intermediate, for example a base mix, as its own product with its own BOM. Then you can stock it, cost it, and use it in more than one recipe.",[498,761,763],{"id":762},"api-reference","API reference",[622,765,766,770,775],{},[625,767,768],{},[611,769,64],{"href":291},[625,771,772,774],{},[611,773,34],{"href":245}," (BOM tree and BOM history)",[625,776,777],{},[611,778,298],{"href":299},{"title":714,"searchDepth":780,"depth":781,"links":782},1,2,[783,784,785,786,787,788,789,790],{"id":500,"depth":781,"text":501},{"id":545,"depth":781,"text":546},{"id":616,"depth":781,"text":617},{"id":647,"depth":781,"text":648},{"id":701,"depth":781,"text":702},{"id":742,"depth":781,"text":743},{"id":749,"depth":781,"text":750},{"id":762,"depth":781,"text":763},"Define what a product is made of. Version the recipe, add scrap factors and production costs, and calculate the cost on any date.","md",null,{},{"icon":67},{"title":64,"description":791},{"loc":65},"sMTwbZv02h5xmlv_6qlGRtPpTWXzN9CFZU9jJvx-zVs",[800,802],{"title":59,"path":60,"stem":61,"description":801,"icon":62,"children":-1},"Move stock between your own locations. Use one order type for a warehouse rebalance and for a branch request.",{"title":69,"path":70,"stem":71,"description":803,"icon":72,"children":-1},"Define how a product is made, run work orders, and post the real material use and output into inventory with a unit cost.",1790689634428]