{"id":27917,"date":"2026-04-17T12:12:55","date_gmt":"2026-04-17T10:12:55","guid":{"rendered":"https:\/\/support.serviceprotokoll.se\/?post_type=ht_kb&#038;p=27917"},"modified":"2026-04-17T12:13:01","modified_gmt":"2026-04-17T10:13:01","slug":"example-on-excel-file-and-faq-agreement","status":"publish","type":"ht_kb","link":"https:\/\/support.serviceprotokoll.se\/en\/kb\/example-on-excel-file-and-faq-agreement\/","title":{"rendered":"Example on Excel file and FAQ &#8211; Agreement"},"content":{"rendered":"\n<p><strong>Example 1 \u2013 external file with invoiced lines<\/strong><\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>project<\/td><td>description<\/td><td>customerno<\/td><td>from date<\/td><td>valid until<\/td><td>invoicing frequency<\/td><td>row on invoice<\/td><td>desc<\/td><td>sum<\/td><\/tr><tr><td>1001<\/td><td>Service agreement hoist A<\/td><td>20010<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>12<\/td><td>1<\/td><td>Annual fee<\/td><td>12000<\/td><\/tr><tr><td>1001<\/td><td>Service agreement hoist A<\/td><td>20010<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>12<\/td><td>2<\/td><td>On-call supplement<\/td><td>2500<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p>This becomes:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>an agreement<\/li>\n\n\n\n<li>two rows in <strong>Invoiced<\/strong><\/li>\n<\/ul>\n\n<p><strong>Example 2 \u2013 mixed native import* with row type<\/strong><\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>serialnumber<\/td><td>agreementname<\/td><td>customerid<\/td><td>startdate<\/td><td>enddate<\/td><td>rowtype<\/td><td>linenumber<\/td><td>artno<\/td><td>desc<\/td><td>amount<\/td><td>grossprice<\/td><\/tr><tr><td>5001<\/td><td>Full service agreement<\/td><td>3001<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>invoiced<\/td><td>1<\/td><td>AGREEMENT<\/td><td>Annual invoicing<\/td><td>1<\/td><td>9000<\/td><\/tr><tr><td>5001<\/td><td>Full service agreement<\/td><td>3001<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>included<\/td><td>2<\/td><td>FILTER<\/td><td>Filter replacement included<\/td><td>2<\/td><td>0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p>This becomes:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>an agreement<\/li>\n\n\n\n<li>one row in <strong>Invoiced<\/strong><\/li>\n\n\n\n<li>one row in <strong>Included<\/strong><\/li>\n<\/ul>\n\n<p><strong>Example 3 \u2013 file without agreement number<\/strong><\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>agreementname<\/td><td>customerid<\/td><td>startdate<\/td><td>enddate<\/td><td>rowtype<\/td><td>desc<\/td><td>grossprice<\/td><\/tr><tr><td>Pump agreement A<\/td><td>3001<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>invoiced<\/td><td>Service fee<\/td><td>4500<\/td><\/tr><tr><td>Pump agreement A<\/td><td>3001<\/td><td>2026-01-01<\/td><td>2026-12-31<\/td><td>included<\/td><td>1 supervision included<\/td><td>0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p>This becomes:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>a new agreement<\/li>\n\n\n\n<li>serial number is created automatically<\/li>\n\n\n\n<li>the lines are grouped together into the same agreement<\/li>\n<\/ul>\n\n<h4 class=\"wp-block-heading\">FAQ<\/h4>\n\n<p><strong>Can I import both included and invoiced lines in the same file?<\/strong><\/p>\n\n<p>Yes. Use the row type column, such as rowtype, target, or row type, and specify included or invoiced.<\/p>\n\n<p><strong>What happens if the row type is missing?<\/strong><\/p>\n\n<p>The line is imported as<strong> Invoiced.<\/strong><\/p>\n\n<p><strong>What happens if the contract number is missing?<\/strong><\/p>\n\n<p>The import still tries to group the lines into the correct agreement within the file and then creates a new serial number.<\/p>\n\n<p><strong>What happens if I run the same file again?<\/strong><\/p>\n\n<ul class=\"wp-block-list\">\n<li>If the agreement number exists, or if OrderNo + customer number can be matched, existing agreements are updated.<\/li>\n\n\n\n<li>If the file lacks stable identification, the same agreement can be created again as a new one.<\/li>\n<\/ul>\n\n<p><strong>Can I use my own column headings?<\/strong><\/p>\n\n<p>Yes, but only headers that match known fields are interpreted as standard fields. Other columns are interpreted as custom fields.<\/p>\n\n<p><strong>What happens if I leave optional fields blank?<\/strong><\/p>\n\n<p>Empty optional fields do not normally prevent the import.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Example 1 \u2013 external file with invoiced lines project description customerno from date valid until invoicing frequency row on invoice desc sum 1001 Service agreement hoist A 20010 2026-01-01 2026-12-31 12 1 Annual fee 12000 1001 Service agreement hoist A 20010 2026-01-01 2026-12-31 12 2 On-call supplement 2500 This becomes:&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_searchwp_excluded":"","footnotes":""},"ht-kb-category":[1003],"ht-kb-tag":[],"class_list":["post-27917","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-upload-records"],"_links":{"self":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb\/27917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/comments?post=27917"}],"version-history":[{"count":2,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb\/27917\/revisions"}],"predecessor-version":[{"id":27921,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb\/27917\/revisions\/27921"}],"wp:attachment":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/media?parent=27917"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb-category?post=27917"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=27917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}