{"id":49648,"date":"2025-06-13T13:20:05","date_gmt":"2025-06-13T13:20:05","guid":{"rendered":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/?p=49648"},"modified":"2025-06-16T11:43:14","modified_gmt":"2025-06-16T11:43:14","slug":"auto-purchase-invoice-settings","status":"publish","type":"post","link":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/?p=49648","title":{"rendered":"Auto Purchase Invoice Settings"},"content":{"rendered":"\n<p>Starting in Season version 2025.1, purchase invoice PDFs can be assigned against a purchase invoice and moved to an archive folder when the invoice is posted.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"305\" data-id=\"49665\" src=\"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-16-123846.png\" alt=\"\" class=\"wp-image-49665\" srcset=\"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-16-123846.png 703w, https:\/\/vger.datos.co.uk\/Clientknowledgebase\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-16-123846-300x130.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">PDF Working Directorys<\/h2>\n\n\n\n<p>The PDF working directories are the full directory path or the sub folder path within the main Season directory where purchase PDFs are stored for processing. You may have up to two working folders, one for Nominal Invoices and one for Stock, or you can choose to keep both the same.<\/p>\n\n\n\n<p>For Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\Season\\Documents\\Purchases\\_ToPost\\Nominal<\/code><\/pre>\n\n\n\n<p>or <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Documents\\Purchases\\_ToPost\\Nominal<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">PDF Archive Settings<\/h2>\n\n\n\n<p>PDF Archiving can be enabled by ticking the &#8216;Archive PDFs when posting&#8217; check box.<\/p>\n\n\n\n<p>If enabled, when the purchase invoice is posted, the PDF file attached to the invoice will be moved from it&#8217;s current location to the location specified in the &#8216;Archive File Format&#8217; field. <\/p>\n\n\n\n<p>The archive format can include tokens for replacement surrounded by % signs. e.g.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Documents\\Purchases\\%INV_DATE_YEAR%\\%INV_DATE_MONTH\"\\%INV_NO%_%PDF_FILENAME%.pdf<\/code><\/pre>\n\n\n\n<p>Possible Tokens are:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Token<\/th><th class=\"has-text-align-left\" data-align=\"left\">Description<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">%CRED_CODE%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Creditor Code<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_PERIOD%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Period Number e.g. 202501<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_PERIOD_TITLE%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Period Title e.g. Jan 2025<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_DATE_YEAR%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Date Year e.g. 2025<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_DATE_MONTH&#8221;<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Date Month e.g. 01<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_DATE_MMM%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Date Month e.g. Jan<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_DATE_MMMM%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Date Month e.g. January<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_DATE_DAY%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Invoice Date Month e.g. 15<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%INV_NO%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Season Invoice Number<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%SUPP_INV_NO%<\/td><td class=\"has-text-align-left\" data-align=\"left\">Supplier Invoice Number<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%PDF_FOLDER%<\/td><td class=\"has-text-align-left\" data-align=\"left\">The current folder path of the PDF<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%PDF_FILENAME%<\/td><td class=\"has-text-align-left\" data-align=\"left\">The current filename of the PDF<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">%PDF_FILEEXT%<\/td><td class=\"has-text-align-left\" data-align=\"left\">The current file extension of the pdf e.g. .pdf<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>These will be replaced when the PDF is archived.<\/p>\n\n\n\n<p>For example, based on the example path above, the archive path for an invoice with filename &#8216;DATOS_Invoice.pdf&#8217;, Season Invoice number &#8216;12345&#8217;, and dated &#8217;01\/01\/2025&#8242; might be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Documents\\Purchases\\2025\\01\\12345_DATOS_Invoice.pdf<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting in Season version 2025.1, purchase invoice PDFs can be assigned against a purchase invoice and moved to an archive folder when the invoice is posted. PDF Working Directorys The PDF working directories are the full directory path or the sub folder path within the main Season directory where purchase PDFs are stored for processing. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,20],"tags":[422,474,649],"class_list":["post-49648","post","type-post","status-publish","format-standard","hentry","category-howtoguides","category-howtooffice","tag-settings","tag-invoice","tag-purchase"],"_links":{"self":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/49648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49648"}],"version-history":[{"count":13,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/49648\/revisions"}],"predecessor-version":[{"id":49724,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/49648\/revisions\/49724"}],"wp:attachment":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}