{"id":15774,"date":"2026-11-17T12:36:06","date_gmt":"2026-11-17T10:36:06","guid":{"rendered":"https:\/\/www.clickker.nl\/?post_type=knowledge_base&#038;p=15774"},"modified":"2026-11-17T14:16:00","modified_gmt":"2026-11-17T12:16:00","slug":"toevoegen-bijlage-aan-mutatie","status":"publish","type":"knowledge_base","link":"https:\/\/www.clickker.nl\/de\/knowledge_base\/toevoegen-bijlage-aan-mutatie\/","title":{"rendered":"Toevoegen bijlage aan mutatie"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><br><strong>Voorbeeld payload toevoegen bijlage aan verkooporder<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stap 1: Maak een verkooporder aan<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>POST Salesorder<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stap 2: Maak een document aan met de notitie<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>POST-Dokument<\/strong><\/p>\n\n\n\n<textarea rows=\"20\" style=\"background: #000;color: #fff;\">\n{\n  &#8220;Document&#8221;: {\n   \t\/\/&#8221;AccountID&#8221;: &#8220;D74E6BA8-747B-466F-A654-F20943C8DB05&#8243;,    \/\/code is de cmp_wwn van account \/ debiteurnr, AccountID of AccountCode is verplicht\n    \/\/&#8221;AccountCode&#8221;:&#8221;60013&#8243;, \/\/Code is de AccountCode van account \/ debiteurnr, AccountID of AccountCode is verplicht\n    \/\/&#8221;SecurityLevel&#8221;: 10, \/\/standaard beveiligings niveau, is niet verplicht\n    &#8220;Subject&#8221;: &#8220;Document bij order&#8221;, \/\/ omschrijving, is verplicht\n    &#8220;FileName&#8221;: &#8220;20018.pdf&#8221;, \/\/ bestandsnaam, is niet verplicht\n    &#8220;Type&#8221;: 24, \/\/ document type, is niet verplicht (24 = Salesorder, als veld niet opgenomen dan wordt type 0 = Divers)\n    &#8220;DebtorNumber&#8221;: &#8220;60093&#8221; \/\/ debiteurnr, AccountID of AccountCode is verplicht\n    ,&#8221;OrderNumber&#8221;: &#8220;20066&#8221;\n  },\n  &#8220;DocumentFile&#8221;: {\n    &#8220;FileName&#8221;: &#8220;20018.pdf&#8221;, \/\/ bestandsnaam, is verplicht \n    &#8220;DocumentByteArray&#8221;: &#8220;BINAIRE CODE HIER&#8221;\n  } \/\/binary base64 waarde van document, nodig om document te uploaden\n}\n<\/textarea>","protected":false},"excerpt":{"rendered":"<p>Instructie toevoegen notitie of bijlage aan mutatie aan de hand van voorbeelden van payloads<\/p>","protected":false},"featured_media":13188,"template":"","categories":[118,151],"class_list":["post-15774","knowledge_base","type-knowledge_base","status-publish","has-post-thumbnail","hentry","category-helpdesk","category-knowledge_base"],"_links":{"self":[{"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/knowledge_base\/15774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/knowledge_base"}],"about":[{"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/types\/knowledge_base"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/media\/13188"}],"wp:attachment":[{"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/media?parent=15774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.clickker.nl\/de\/wp-json\/wp\/v2\/categories?post=15774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}