{"id":1422,"date":"2014-05-21T13:34:18","date_gmt":"2014-05-21T12:34:18","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=1422&#038;lang=en"},"modified":"2019-03-11T12:30:00","modified_gmt":"2019-03-11T11:30:00","slug":"supplier-invoice","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=1422","title":{"rendered":"Supplier invoice"},"content":{"rendered":"<h3><b><span style=\"text-decoration: underline;\">SUPPLIER INVOICES (header)<\/span><\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<th width=\"350\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"15\">Mandatory<\/th>\n<th width=\"250\">Description<\/th>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Record<\/span> <span style=\"color: #ff0000;\">Type<\/span>=&#8221;<span style=\"color: #0000ff;\">24<\/span>&#8220;&gt;<\/td>\n<td>Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Type of object to import. 24 is for supplier invoice<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;DBId&gt;&lt;\/DBId&gt;<\/span><\/td>\n<td>Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Database ID in DeMaSy<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Number&gt;&lt;\/Number&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Number of the invoice<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;SupplierName&gt;&lt;\/SupplierName&gt;<\/span><\/td>\n<td>Char(75)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Supplier Name (has to match existing supplier name)<br \/>\nNB: If the unique supplier file number is provided the name can be omitted<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Date&gt;&lt;\/Date&gt;<\/span><\/td>\n<td>Date\/Time<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Date of the invoice (YYYYMMDD)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Currency&gt;&lt;\/Currency&gt;<\/span><\/td>\n<td>Char(10)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Currency used in the invoice<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;CurrencyRate&gt;&lt;\/CurrencyRate&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Currency rate if the used currency is not capital currency<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Description&gt;&lt;\/Description&gt;<\/span><\/td>\n<td>Char(255)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Description of the invoice<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Type&gt;&lt;\/Type&gt;<\/span><\/td>\n<td>Integer<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Type of transaction:<br \/>\n1 = Invoice \/ 8 = Credit Note<br \/>\n3 = Permanent order \/ 6 = Initial<br \/>\n7 = Advance payment<br \/>\n9=WriteOff<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;SupplierFileNumber&gt;&lt;\/SupplierFileNumber&gt;<\/span><\/td>\n<td><span style=\"display: inline !important; float: none; background-color: transparent; color: #191e23; cursor: text; font-family: 'Noto Serif'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;\">Double<\/span><\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Supplier Number (mandatory is no name specified)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;\/Record&gt;<\/span><\/td>\n<td><\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>End of block<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><b><span style=\"text-decoration: underline;\">SUPPLIER INVOICES (details)<br \/>\n<\/span><\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<th width=\"350\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"15\">Mandatory<\/th>\n<th width=\"250\">Description<\/th>\n<\/tr>\n<tr>\n<td>&lt;<span style=\"color: #993300;\">Record <\/span><span style=\"color: #0000ff;\">Type<\/span>=&#8221;<span style=\"color: #ff0000;\">25<\/span>&#8220;&gt;<\/td>\n<td>Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Type of object to import. 25 is for supplier invoice detail<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;DBId&gt;&lt;\/DBId&gt;<\/span><\/td>\n<td>Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Database Id in DeMaSy.<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;InvoiceNumber&gt;&lt;\/InvoiceNumber&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Invoice number linked to the detail<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;ArticleCode&gt; &lt;\/ArticleCode&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Article Code<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;CyArticlePrice&gt;&lt;\/CyArticlePrice&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Unit price (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;ArticlePrice&gt;&lt;\/ArticlePrice&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Unit price (capital currency)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;ArticleNumber&gt;&lt;\/ArticleNumber&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Quantity of article<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;CyAmount&gt;&lt;\/CyAmount&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Amount (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Amount&gt;&lt;\/Amount&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Amount (capital currency) &#8211; optional<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;VATCode&gt;&lt;\/VATCode&gt;<\/span><\/td>\n<td>Char 20<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>Vat Code<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;VATCodeRate&gt;&lt;\/VATCodeRate&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>VAT Rate<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;CyVATValue&gt;&lt;\/CyVATValue&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>VAT Value (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;VATValue&gt;&lt;\/VATValue&gt;<\/span><\/td>\n<td>Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>VAT Value (capital currency) &#8211; optional<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;Description&gt; &lt;\/Description&gt;<\/span><\/td>\n<td>Char(255)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Description<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;DGLAccountNumber&gt;&lt;\/DGLAccountNumber&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Debit Account (empty = supplier default)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;CGLAccountNumber&gt;&lt;\/CGLAccountNumber&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Credit Account (empty = supplier default)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;PLCenterCode&gt;&lt;\/PLCenterCode&gt;<\/span><\/td>\n<td>Char(50)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td>Profit and Loss center code<\/td>\n<\/tr>\n<tr>\n<td><span style=\"color: #993300;\">&lt;\/Record&gt;<\/span><\/td>\n<td><\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td>End of block<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>If an article code is specified, an article price and an article number must be specified.<\/li>\n<li>The Amount must be equal to the ArticleNumber * ArticlePrice<\/li>\n<li>The CyAmount must be equal to the ArticleNumber * CyArticlePrice<\/li>\n<li>The VATValue must be equal to the Amount * VATCodeRate \/ 100.<\/li>\n<li>The CyVATValue must be equal to the CyAmount * VATCodeRate \/ 100.<\/li>\n<li>If the DGLAccountNumber is specified and not the CGLAccountNumber the CGLAccountNumber will be replaced by the supplier account specified in the options. As counterpart the expenses account will be used according to the default logic for the supplier expenses account .<\/li>\n<li>If the CGLAccountNumber is specified and not the DGLAccountNumber the DGLAccountNumber will be replaced by the supplier account specified in the options. As counterpart the expenses account will be used according to the default logic for the supplier expenses account .<\/li>\n<li>If the 2 Accounts are specified, one of the two accounts must be the supplier general ledger account.<\/li>\n<li>If there is no account specified the system will use as the following defaults:<br \/>\nInvoice: D = default expenses account \/ C = supplier account<br \/>\nCredit Note: D = supplier account \/ C = default expenses account.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/sdna.lu\/?media_dl=4883\">PDF version<\/a><br \/>\n<a href=\"https:\/\/sdna.lu\/?media_dl=5061\">Excel version<\/a><br \/>\n<a href=\"https:\/\/sdna.lu\/?media_dl=5258\">Excel version (combined)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SUPPLIER INVOICES (header) Name Type Mandatory Description &lt;Record Type=&#8221;24&#8220;&gt; Long Y Type of object to import. 24 is for supplier invoice &lt;DBId&gt;&lt;\/DBId&gt; Long Y Database ID in DeMaSy &lt;Number&gt;&lt;\/Number&gt; Char(50) Y Number of the invoice &lt;SupplierName&gt;&lt;\/SupplierName&gt; Char(75) Y Supplier Name (has to match existing supplier name) NB: If the unique supplier file number is provided [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[15,66,12],"class_list":["post-1422","post","type-post","status-publish","format-standard","hentry","category-technical","tag-interface","tag-supplier-invoice","tag-xml"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1422"}],"version-history":[{"count":35,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1422\/revisions"}],"predecessor-version":[{"id":7004,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1422\/revisions\/7004"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}