{"id":15673,"date":"2024-04-03T11:43:37","date_gmt":"2024-04-03T11:43:37","guid":{"rendered":"https:\/\/docs.daftra.com\/user_manual\/%d8%a7%d9%84%d8%ad%d9%82%d9%88%d9%84-%d8%a7%d9%84%d8%a5%d8%b6%d8%a7%d9%81%d9%8a%d8%a9-%d9%84%d9%81%d9%88%d8%a7%d8%aa%d9%8a%d8%b1-%d8%a7%d9%84%d8%b4%d8%b1%d8%a7%d8%a1\/"},"modified":"2026-01-13T08:14:32","modified_gmt":"2026-01-13T08:14:32","slug":"purchase-invoice-custom-fields","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/","title":{"rendered":"Purchase Invoice Custom Fields"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1744285686989{margin-left: 200px !important;}&#8221;]<\/p>\n<p data-sider-select-id=\"72b98175-1528-4b87-9953-f9278d06ab51\">Additional fields for purchase invoices allow you to add various custom fields for the data you want to include in the purchase invoice. You will find in the system various fields, diverse in their usage to serve all your business purposes. We will learn about the types of these fields and how to customize them in this guide.<\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;How to Add Custom Fields for Purchase Invoices&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1713170879129{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1768292008715{margin-left: 200px !important;}&#8221;]<\/p>\n<div class=\"post-content-body-container\">\n<article class=\"post-content-body\">\n<section class=\"wpb-content-wrapper\">\n<div class=\"vc_row wpb_row vc_row-fluid\">\n<div class=\"wpb_column vc_column_container vc_col-sm-12\">\n<div class=\"vc_column-inner\">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element vc_custom_1711448354587\">\n<div class=\"wpb_wrapper\">\n<p data-sider-select-id=\"87d010f3-6f6b-42e6-a393-4bc9da1b436d\">Now, you see a part of the default screen for a purchase invoice, which you can suffice with if you don&#8217;t need to create a new field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-44512 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png\" alt=\"\" width=\"1366\" height=\"567\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice--300x125.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice--1024x425.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice--768x319.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>If you want to add a field to purchase invoices, you can go to &#8220;<strong>Purchase Invoice Settings<\/strong>&#8221; from the dropdown menu under &#8220;<strong>Purchases<\/strong>&#8221; in the main menu. Then click on &#8220;<strong>Custom Fields<\/strong>&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-44514 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/Invoice-Custom-Fields-.png\" alt=\"\" width=\"1364\" height=\"631\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/Invoice-Custom-Fields-.png 1364w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/Invoice-Custom-Fields--300x139.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/Invoice-Custom-Fields--1024x474.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/Invoice-Custom-Fields--768x355.png 768w\" sizes=\"auto, (max-width: 1364px) 100vw, 1364px\" \/><\/p>\n<p>You will see a list of available field types that can be added. All you need to do is drag and drop and adjust the properties.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15694 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf.png\" alt=\"\" width=\"1366\" height=\"592\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf-300x130.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf-1024x444.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/asdf-768x333.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The field key should be unique; it&#8217;s not allowed to repeat the same key for more than one field, otherwise an error message will appear:<\/p>\n<p>&#8220;(Field Name) Duplicate value.&#8221;<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15704 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh.png\" alt=\"\" width=\"1366\" height=\"592\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh-300x130.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh-1024x444.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dfsgh-768x333.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>After saving, the custom fields in the purchase invoices will appear like this.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15706 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ghjn.png\" alt=\"\" width=\"1366\" height=\"592\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ghjn.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ghjn-300x130.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ghjn-1024x444.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ghjn-768x333.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>In addition to the previous field properties, there are dynamic fields related to dropdown lists, which are linked to the database.<\/p>\n<p>They appear automatically as choices when you click on the dropdown menu of the field, without the need for you to manually input these choices when creating the custom field.<\/p>\n<p><strong>Properties of Dynamic Fields:<\/strong><\/p>\n<p><strong>Entity<\/strong>: You choose the database associated with the field.<\/p>\n<p><strong>Listing Field<\/strong>: You choose the part that you want to display as a choice for the field from this database.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15708 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert.png\" alt=\"\" width=\"1366\" height=\"592\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert-300x130.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert-1024x444.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/ert-768x333.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>Notice the automatic appearance of the countries&#8217; database from the system due to the nature of the dynamic field, which is linked to the countries&#8217; database.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15710 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd.png\" alt=\"\" width=\"1160\" height=\"548\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd.png 1160w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd-300x142.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd-1024x484.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/uytrfd-768x363.png 768w\" sizes=\"auto, (max-width: 1160px) 100vw, 1160px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/article>\n<\/div>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":13,"template":"","categories":[2188,2191],"tags":[8132,4983,3250,3333],"class_list":["post-15673","user_manual","type-user_manual","status-publish","hentry","category-purchases","category-purchases-settings","tag-purchase-invoices","tag-purchases","tag--en","tag---en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Purchase Invoice Custom Fields - 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\/user_manual\/purchase-invoice-custom-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Purchase Invoice Custom Fields - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1744285686989{margin-left: 200px !important;}&#8221;] Additional fields for purchase invoices allow you to add various custom fields for the data you want to include in the purchase invoice. You will find in the system various fields, diverse in their usage to serve all your business purposes. We will learn about the types of these fields and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-13T08:14:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png\",\"width\":1366,\"height\":567},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/\",\"name\":\"Purchase Invoice Custom Fields - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#primaryimage\"},\"datePublished\":\"2024-04-03T11:43:37+00:00\",\"dateModified\":\"2026-01-13T08:14:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Purchase Invoice Custom Fields\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Purchase Invoice Custom Fields - 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\/user_manual\/purchase-invoice-custom-fields\/","og_locale":"en_US","og_type":"article","og_title":"Purchase Invoice Custom Fields - Daftra Knowledge Base","og_description":"[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1744285686989{margin-left: 200px !important;}&#8221;] Additional fields for purchase invoices allow you to add various custom fields for the data you want to include in the purchase invoice. You will find in the system various fields, diverse in their usage to serve all your business purposes. We will learn about the types of these fields and [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-01-13T08:14:32+00:00","og_image":[{"url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#primaryimage","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/New-Purchase-Invoice-.png","width":1366,"height":567},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/","name":"Purchase Invoice Custom Fields - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#primaryimage"},"datePublished":"2024-04-03T11:43:37+00:00","dateModified":"2026-01-13T08:14:32+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/purchase-invoice-custom-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Purchase Invoice Custom Fields"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/user_manual"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":4,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15673\/revisions"}],"predecessor-version":[{"id":44516,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15673\/revisions\/44516"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=15673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=15673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=15673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}