{"id":1970,"date":"2014-07-11T11:10:33","date_gmt":"2014-07-11T10:10:33","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=1970&#038;lang=en"},"modified":"2021-01-04T15:51:54","modified_gmt":"2021-01-04T14:51:54","slug":"client-invoice-2","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=1970","title":{"rendered":"Client Invoice (TXT)"},"content":{"rendered":"<h3><span style=\"color: #ff0000;\"><b><span style=\"text-decoration: underline;\">CLIENT INVOICE (header):<\/span><\/b><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td valign=\"center\">RecordType;DBId;Ref;Desc;Number;ClientName;InvoiceDate;InvoiceTCurrency;CurrencyRate;Description;Type;ClientNumber;ReminderDate<\/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. Type 22 is for invoice headers<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">1<\/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\">2<\/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\">3<\/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\">4<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Number<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Invoice Number<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">5<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ClientName<\/span><\/td>\n<td valign=\"top\">Char(75)<\/td>\n<td valign=\"top\">Client Name (has to match existing client name)<br \/>\nNB: If the unique client file number is provided the name can be omitted<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">6<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Date<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td valign=\"top\">Invoice date (YYYYMMDD)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">7<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Currency<\/span><\/td>\n<td valign=\"top\">Char(10)<\/td>\n<td valign=\"top\">Currency (ISO code)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">8<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CurrencyRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Currency rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">9<\/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\">10<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Type<\/span><\/td>\n<td valign=\"top\">Integer<\/td>\n<td valign=\"top\">Type transaction:<br \/>\n1 = Invoice \/ 8 = Credit note<br \/>\n3 = Permanent Order \/ 6 = Initial<br \/>\n7 = Advance payment<br \/>\n9 = Write Off<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">11<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ClientFileNumber<\/span><\/td>\n<td valign=\"top\"><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 valign=\"top\">Client number<br \/>\n(mandatory if no name specified)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">12<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ReminderDate<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td valign=\"top\">Reminder date (YYYYMMDD)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span style=\"color: #ff0000;\"><b><span style=\"text-decoration: underline;\">CLIENT INVOICE (details):<\/span><\/b><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td valign=\"center\">RecordType;DBId;Ref;Desc;InvoiceNumber;ArticleCode;CyArticlePrice;ArticlePrice;ArticleNumber;<br \/>\nCyAmount;Amount;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. 23 = Client 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;\">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;\">InvoiceNumber<\/span><\/td>\n<td valign=\"top\">Char(50)<\/td>\n<td valign=\"top\">Invoice number<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">6<\/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\">7<\/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\">8<\/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\">9<\/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\">10<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CyAmount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount without VAT (transaction currency)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">11<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Amount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount without VAT (capital currency) &#8211; optional<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">12<\/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\">13<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">VATRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">VAT Rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">14<\/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\">15<\/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\">16<\/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\">17<\/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 number (empty = client default)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">18<\/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 number (empty = client default)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">19<\/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<p>If an article code is specified, an article price and an article number must be specified.<br \/>\nThe Amount must be equal to the ArticleNumber * ArticlePrice<br \/>\nThe CyAmount must be equal to the ArticleNumber * CyArticlePrice<br \/>\nThe VATValue must be equal to the Amount * VATCodeRate \/ 100.<br \/>\nThe CyVATValue must be equal to the CyAmount * VATCodeRate \/ 100.<br \/>\nIf the DGLAccountNumber is specified and not the CGLAccountNumber the CGLAccountNumber will be replaced by the Client General Ledger account specified in the options.<br \/>\nIf the CGLAccountNumber is specified and not the DGLAccountNumber the DGLAccountNumber will be replaced by the Client General Ledger account specified in the options.<br \/>\nIf the 2 Accounts are specified, one of the two accounts must be the Client General Ledger account.<br \/>\nIn the following block, a detail will be generated for the invoice number 00001 with only an amount and a VAT.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CLIENT INVOICE (header): RecordType;DBId;Ref;Desc;Number;ClientName;InvoiceDate;InvoiceTCurrency;CurrencyRate;Description;Type;ClientNumber;ReminderDate Nr Name Type Description 1 RecordType Long Type of object to import. Type 22 is for invoice headers 1 DBId Long Database ID in DeMaSy 2 Ref Char(255) Internal reference 3 Desc Char(255) Internal description 4 Number Char(50) Invoice Number 5 ClientName Char(75) Client Name (has to match existing client name) [&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":[428,15,21,481],"class_list":["post-1970","post","type-post","status-publish","format-standard","hentry","category-interface-utils","tag-client","tag-interface","tag-invoice","tag-txt"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1970","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=1970"}],"version-history":[{"count":21,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1970\/revisions"}],"predecessor-version":[{"id":11148,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1970\/revisions\/11148"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}