{"id":160401,"date":"2026-12-02T10:42:21","date_gmt":"2026-12-02T10:42:21","guid":{"rendered":"https:\/\/docs.daftra.com\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/"},"modified":"2026-12-02T10:42:21","modified_gmt":"2026-12-02T10:42:21","slug":"why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed","status":"publish","type":"faq","link":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/","title":{"rendered":"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed?"},"content":{"rendered":"<div dir=\"ltr\" lang=\"en\">\n<p style=\"margin:0 0 14px;line-height:1.9;font-size:16px;color:#1f2430;\">Because the item table on create, edit and view now follows the <strong style=\"color:#111827;\">Quantity &amp; unit price options<\/strong> of the selected printable template, to match the printout. A template set to <strong style=\"color:#111827;\">Show quantity before unit price<\/strong> puts quantity first; one set to <strong style=\"color:#111827;\">Show unit price before quantity<\/strong> puts price first. It happens immediately without a reload and entered values stay.<\/p>\n<ul style=\"margin:0 0 16px;padding-left:26px;\">\n<li style=\"margin-bottom:10px;line-height:1.9;font-size:16px;color:#1f2430;\">Covers: sales invoices, sales orders, estimates, refund receipts, credit notes, debit notes, and purchase invoices, purchase orders, purchase refunds, purchase debit and credit notes.<\/li>\n<li style=\"margin-bottom:10px;line-height:1.9;font-size:16px;color:#1f2430;\">To fix an order, edit the option in the template from <a style=\"color:#1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoice_layouts\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color:#1a56db;\">Invoice\/Estimate Layouts<\/strong><\/a> or <a style=\"color:#1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoice_layouts\/index\/20\" target=\"_blank\" rel=\"noopener\"><strong style=\"color:#1a56db;\">Purchase Invoice Layouts<\/strong><\/a>.<\/li>\n<\/ul>\n<\/div>\n","protected":false},"author":17,"template":"","categories":[2155,2067],"tags":[34029,34039,34042,34036,4221,34034,34035,34037,34033,34040,34030,34027,34038,34031,34032,34041,34028],"class_list":["post-160401","faq","type-faq","status-publish","hentry","category-sales-invoice","category-printable-templates","tag-change-printable-template-changes-column-order","tag-credit-note-and-refund-receipt-item-table","tag-entered-values-stay-when-template-changes","tag-invoice-form-column-order","tag-invoice-estimate-layouts","tag-item-table-column-order","tag-printable-template-selection","tag-purchase-invoice-form-column-order","tag-purchase-invoice-layouts","tag-purchase-order-item-table-columns","tag-quantity-unit-price-options","tag-quantity-and-unit-price-columns-swapped","tag-sales-order-and-estimate-item-table","tag-show-quantity-before-unit-price","tag-show-unit-price-before-quantity","tag-template-changes-quantity-price-order-without-reload","tag-why-did-quantity-and-price-columns-swap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Because the item table on create, edit and view now follows the Quantity &amp; unit price options of the selected printable template, to match the printout. A template set to Show quantity before unit price puts quantity first; one set to Show unit price before quantity puts price first. It happens immediately without a reload [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"caption\":\"Daftra\"},\"image\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/\",\"name\":\"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\"},\"datePublished\":\"2026-12-02T10:42:21+00:00\",\"dateModified\":\"2026-12-02T10:42:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed?\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/","og_locale":"en_US","og_type":"article","og_title":"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base","og_description":"Because the item table on create, edit and view now follows the Quantity &amp; unit price options of the selected printable template, to match the printout. A template set to Show quantity before unit price puts quantity first; one set to Show unit price before quantity puts price first. It happens immediately without a reload [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/","og_site_name":"Daftra Knowledge Base","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/en\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/en\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/#logo","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","caption":"Daftra"},"image":{"@id":"https:\/\/docs.daftra.com\/en\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/en\/#website","url":"https:\/\/docs.daftra.com\/en\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#webpage","url":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/","name":"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed? - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/en\/#website"},"datePublished":"2026-12-02T10:42:21+00:00","dateModified":"2026-12-02T10:42:21+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-did-the-quantity-and-unit-price-columns-swap-on-the-invoice-or-purchase-invoice-form-when-the-template-changed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Why did the quantity and unit price columns swap on the invoice or purchase invoice form when the template changed?"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/160401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"version-history":[{"count":0,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/160401\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=160401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=160401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=160401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}