{"id":1935,"date":"2014-07-11T10:41:31","date_gmt":"2014-07-11T09:41:31","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=1935&#038;lang=en"},"modified":"2021-02-11T11:39:23","modified_gmt":"2021-02-11T10:39:23","slug":"supplier-invoice-2","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=1935","title":{"rendered":"Supplier invoice Text"},"content":{"rendered":"<h3><b><span style=\"text-decoration: underline;\">SUPPLIER INVOICE (header)<\/span><\/b><\/h3>\n<table style=\"height: 113px;\" width=\"848\">\n<tbody>\n<tr>\n<td valign=\"center\">RecordType;DBId;Ref;Desc;Number;SupplierName;InvoiceDate;InvoiceFCurrency;CurrencyRate;Description;Type;<br \/>\nSupplierNumber;IntraComVATNum;DocumentPathFileName;PaidByCreditCard<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<th width=\"10\">Nr<\/th>\n<th width=\"250\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"350\">Description<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\">1<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">RecordType<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Type of object to import. 24 is for supplier invoice<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">2<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">DBId<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Database ID in DeMaSy<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">3<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Ref<\/span><\/td>\n<td valign=\"top\">Char(255)<\/td>\n<td valign=\"top\">Internal reference<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">4<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Desc<\/span><\/td>\n<td valign=\"top\">Char(255)<\/td>\n<td valign=\"top\">Internal description<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">5<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Number<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Number of the invoice<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">6<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">SupplierName<\/span><\/td>\n<td valign=\"top\">Char(75)<\/td>\n<td valign=\"top\">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 valign=\"top\">7<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Date<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td valign=\"top\">Date of the invoice (YYYYMMDD)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">8<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Currency<\/span><\/td>\n<td valign=\"top\">Char(10)<\/td>\n<td valign=\"top\">Currency used in the invoice<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">9<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CurrencyRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Currency rate if the used currency is not capital currency<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">10<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Description<\/span><\/td>\n<td valign=\"top\">Char(255)<\/td>\n<td valign=\"top\">Description of the invoice<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">11<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Type<\/span><\/td>\n<td valign=\"top\">Integer<\/td>\n<td valign=\"top\">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 valign=\"top\">12<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">SupplierFileNumber<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Supplier Number (mandatory is no name specified)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">13<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">IntraComVATNum<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Intra-community VAT Number<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">14<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">DocumentPathFileName<\/span><\/td>\n<td valign=\"top\">Char(255)<\/td>\n<td valign=\"top\">File Name of the Document<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">15<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">PaidByCreditCard<\/span><\/td>\n<td valign=\"top\">Integer<\/td>\n<td valign=\"top\">Is the invoice already paid by Credit Card ?<br \/>\n1 = True \/ 0 = False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><b><span style=\"text-decoration: underline;\">SUPPLIER INVOICE (details)<br \/>\n<\/span><\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<td valign=\"center\">RecordType;DBId;Ref;Desc;InvoiceFNumber;InvoiceFDetailCurrency;ArticleCode;CyArticlePrice;ArticlePrice;ArticleNumber;CyAmount;<br \/>\nAmount;VATCode;VATRate;CyVATValue;VATValue;Description;DGLAccount;CGLAccount;PLCenterCode<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<th width=\"10\">Nr<\/th>\n<th width=\"250\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"350\">Description<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\">1<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">RecordType<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Type of object to import. 25 is for supplier invoice detail<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">2<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">DBId<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Database Id in DeMaSy.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">3<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">InvoiceNumber<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Invoice number linked to the detail<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">4<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ArticleCode<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Article Code<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">5<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CYArticlePrice<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Unit price (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">6<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ArticlePrice<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Unit price (capital currency)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">7<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ArticleNumber<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Quantity of article<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">8<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CyAmount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">9<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Amount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount (capital currency) &#8211; optional<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">10<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">VATCode<\/span><\/td>\n<td valign=\"top\">Char 20<\/td>\n<td valign=\"top\">Vat Code<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">11<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">VATCodeRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">VAT Rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">12<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CYVATValue<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">VAT Value (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">13<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">VATValue<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">VAT Value (capital currency) &#8211; optional<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">13<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CyTotal<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Total with VAT<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">14<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Description<\/span><\/td>\n<td valign=\"top\">Char(255)<\/td>\n<td valign=\"top\">Description<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">15<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">DGLAccountNumber<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Debit Account (empty = supplier default)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">16<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CGLAccountNumber<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Credit Account (empty = supplier default)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">17<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">PLCenterCode<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Profit and Loss center code<\/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>The CyTotal must be equal to the CyAmount + CyVATValue or CyAmount + (CyAmount * CyVATRate \/ 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","protected":false},"excerpt":{"rendered":"<p>SUPPLIER INVOICE (header) RecordType;DBId;Ref;Desc;Number;SupplierName;InvoiceDate;InvoiceFCurrency;CurrencyRate;Description;Type; SupplierNumber;IntraComVATNum;DocumentPathFileName;PaidByCreditCard Nr Name Type Description 1 RecordType Long Type of object to import. 24 is for supplier invoice 2 DBId Long Database ID in DeMaSy 3 Ref Char(255) Internal reference 4 Desc Char(255) Internal description 5 Number Char(50) Number of the invoice 6 SupplierName Char(75) Supplier Name (has to match existing [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237],"tags":[],"class_list":["post-1935","post","type-post","status-publish","format-standard","hentry","category-interface-utils"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1935","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=1935"}],"version-history":[{"count":11,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1935\/revisions"}],"predecessor-version":[{"id":11299,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1935\/revisions\/11299"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}