{"id":20285,"date":"2026-05-25T11:25:19","date_gmt":"2026-05-25T15:25:19","guid":{"rendered":"https:\/\/alix.ai\/documentation\/?post_type=docs&#038;p=20285"},"modified":"2026-05-25T15:19:33","modified_gmt":"2026-05-25T19:19:33","password":"","slug":"buy-at-price-based-on-weight","status":"publish","type":"docs","link":"https:\/\/alix.ai\/documentation\/en\/doc\/purchase-orders\/buy-at-price-based-on-weight\/","title":{"rendered":"Buy at price based on weight"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-docs pdfprnt-top-right\"><a href=\"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20285?print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div><p><b><i><span lang=\"EN-CA\">-&gt; Available from ALIX 11.24.0.<\/span><\/i><\/b><span lang=\"EN-CA\">\u00a0<\/span><a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/getting-started\/user-profile\/#1-toc-title\" target=\"_blank\" rel=\"noopener noreferrer\"><b><i><span lang=\"EN-CA\">How do I find out the current version?<\/span><\/i><\/b><\/a><\/p>\n<p>The price based on weight allows buying an item at a cost defined by weight unit rather than a fixed unit cost. For example, to buy bronze bars at $1.22\/kg, the total cost depends on the actual weight of the bars received rather than on the number of bars.<\/p>\n<p>To enable this mode on an item, see the\u00a0<strong>Purchase price computing<\/strong>\u00a0section of the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/items\/purchase-tab\/\">Purchase tab<\/a>\u00a0page.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"insert\">Insert a price based on weight item in a purchase order<\/h2>\n<ol>\n<li>From the menu on the left, choose\u00a0<strong>Purchases -&gt; Purchase orders<\/strong>.<\/li>\n<li>Open the desired purchase order, then click\u00a0<strong>Edit<\/strong>\u00a0in the top right.<\/li>\n<li>Add an item. In the selection list, the cost of price based on weight items is displayed with the suffix \/ &lt;weight unit&gt;.\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20286\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h00_26.png\" alt=\"\" width=\"718\" height=\"389\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h00_26.png 829w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h00_26-300x162.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h00_26-768x416.png 768w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/p>\n<\/li>\n<\/ol>\n<p>The created line inherits the <strong>Price based on weight\u00a0<\/strong>mode, the\u00a0<strong>Unit weight<\/strong>\u00a0and the\u00a0<strong>Weight unit<\/strong>\u00a0defined on the item.<\/p>\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20287\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h01_42-1024x477.png\" alt=\"\" width=\"726\" height=\"338\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h01_42-1024x477.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h01_42-300x140.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h01_42-768x357.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h01_42.png 1156w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"edit\">Edit the line values<\/h2>\n<p>On a price based on weight line, the fields behave as follows:<\/p>\n<table>\n<tbody>\n<tr>\n<td>Quantity<\/td>\n<td>Enter the ordered quantity. The\u00a0<strong>Net weight<\/strong>\u00a0and the\u00a0<strong>Total<\/strong>\u00a0are recalculated automatically.<\/td>\n<\/tr>\n<tr>\n<td>Unit cost<\/td>\n<td>Expressed in $ \/ &lt;weight unit&gt;. Editing it recalculates the\u00a0<strong>Total<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td>Net weight<\/td>\n<td>Read-only as long as the\u00a0<strong>Quantity<\/strong> is 0. Once a quantity is entered, editing the <strong>Net weight<\/strong>\u00a0updates the stored\u00a0<strong>Unit weight<\/strong>\u00a0for the line and recalculates the\u00a0<strong>Total<\/strong>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The total of a line is calculated using the formula:<\/p>\n<p><strong>Total = Unit cost \u00d7 (1 \u2212 Discount) \u00d7 Quantity \u00d7 Unit weight<\/strong><\/p>\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20288\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h03_51.png\" alt=\"\" width=\"988\" height=\"242\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h03_51.png 988w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h03_51-300x73.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h03_51-768x188.png 768w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"split\">Split a price based on weight line<\/h2>\n<p>The\u00a0<strong>Split<\/strong>\u00a0window keeps the \/ &lt;weight unit&gt; suffix on the\u00a0<strong>Unit cost<\/strong>. The created lines inherit the <strong>Price based on weight\u00a0<\/strong>mode, the\u00a0<strong>Unit weight<\/strong>\u00a0and the\u00a0<strong>Weight unit<\/strong>\u00a0of the parent line.<\/p>\n<ol>\n<li>In a purchase order, select the desired line, then click\u00a0<strong>Split<\/strong>.\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20289\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h11_52.png\" alt=\"\" width=\"1008\" height=\"260\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h11_52.png 1008w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h11_52-300x77.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h11_52-768x198.png 768w\" sizes=\"(max-width: 1008px) 100vw, 1008px\" \/><\/p>\n<\/li>\n<li>Enter the quantity to split, then click\u00a0<strong>Confirm<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20290\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h15_56.png\" alt=\"\" width=\"313\" height=\"256\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h15_56.png 411w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h15_56-300x245.png 300w\" sizes=\"(max-width: 313px) 100vw, 313px\" \/><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2 id=\"display\">Display on the purchase order PDF<\/h2>\n<p>On the purchase order PDF, a price based on weight line is displayed as follows:<\/p>\n<ul>\n<li>The line description is prefixed with\u00a0<strong>Ordered: X &lt;unit&gt;<\/strong>.<\/li>\n<li>The\u00a0<strong>Quantity<\/strong>\u00a0column displays the net weight in &lt;weight unit&gt;.<\/li>\n<li>The\u00a0<strong>Unit cost<\/strong>\u00a0column is expressed in $ \/ &lt;weight unit&gt;.<\/li>\n<\/ul>\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20291\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h17_26-1024x943.png\" alt=\"\" width=\"628\" height=\"579\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h17_26-1024x943.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h17_26-300x276.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h17_26-768x708.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_11h17_26.png 1029w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"combine\">Combine with a purchase custom unit<\/h2>\n<p>A line can be both at price based on weight and use a purchase custom unit. In this case:<\/p>\n<ul>\n<li>The\u00a0<strong>Quantity<\/strong>\u00a0uses the custom unit and its conversion factor.<\/li>\n<li>The\u00a0<strong>Unit cost<\/strong>\u00a0remains expressed in $ \/ &lt;weight unit&gt;.<\/li>\n<li>The\u00a0<strong>Total<\/strong>\u00a0reflects the formula: Cost \u00d7 Quantity (in custom unit) \u00d7 Unit weight.<\/li>\n<\/ul>\n<p>To apply a custom unit on a line, see the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/purchase-orders\/apply-a-custom-unit-on-a-purchase-order-line\/\">Apply a custom unit on a purchase order line<\/a>\u00a0page.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"propagation\">Propagation to other documents<\/h2>\n<p>Price based on weight lines propagate automatically to documents created from the purchase order:<\/p>\n<table>\n<tbody>\n<tr>\n<td>Bill<\/td>\n<td>The created bill inherits the lines with their\u00a0<strong>Unit cost<\/strong>\u00a0in $ \/ &lt;weight unit&gt; and their\u00a0<strong>Net weight<\/strong>. See the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/invoices\/bills\/\">Bills<\/a>\u00a0page.<\/td>\n<\/tr>\n<tr>\n<td>Inventory<\/td>\n<td>The inventory created on purchase order issue (<strong>To receive<\/strong>\u00a0status) displays the unit purchase cost converted in $ \/ stock unit (discounted cost \u00d7 unit weight). See the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/inventories\/introduction-inventories\/\">Inventories<\/a>\u00a0page.<\/td>\n<\/tr>\n<tr>\n<td>Purchase order creation from planning<\/td>\n<td>The purchase order creation window from planning displays the costs in $ \/ &lt;weight unit&gt; and creates weight-based price lines.<\/td>\n<\/tr>\n<tr>\n<td>Zoho Books synchronization<\/td>\n<td>On push to Zoho Books, the\u00a0<strong>Quantity<\/strong>\u00a0sent is the net weight, the\u00a0<strong>Rate<\/strong>\u00a0is in &lt;currency&gt; \/ &lt;weight unit&gt;, and the line description is prefixed with the ordered quantity. See the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/integrations-en\/zoho-books-configurations\/\">Zoho Books configurations<\/a>\u00a0page.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>-&gt; Available from ALIX 11.24.0.\u00a0How do I find out the current version? The price based on weight allows buying an [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"doc_category":[442],"doc_tag":[],"year_month":"2026-05","word_count":585,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Genevi\u00e8ve Lamarche","author_nicename":"glamarche","author_url":"https:\/\/alix.ai\/documentation\/author\/glamarche\/"},"doc_category_info":[{"term_name":"Purchase Orders","term_url":"https:\/\/alix.ai\/documentation\/en\/docs-category\/purchase-orders\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20285"}],"collection":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/comments?post=20285"}],"version-history":[{"count":2,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20285\/revisions"}],"predecessor-version":[{"id":20336,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20285\/revisions\/20336"}],"wp:attachment":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/media?parent=20285"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_category?post=20285"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_tag?post=20285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}