{"id":2854,"date":"2019-12-24T16:48:05","date_gmt":"2019-12-24T15:48:05","guid":{"rendered":"https:\/\/eenvoudigfactureren.be\/info\/?page_id=2854"},"modified":"2021-06-21T12:09:46","modified_gmt":"2021-06-21T11:09:46","slug":"labels-diberget","status":"publish","type":"page","link":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/","title":{"rendered":"Labels Diberget"},"content":{"rendered":"<script type=\"text\/javascript\" src=\"https:\/\/eenvoudigfactureren.be\/info\/wp-content\/uploads\/2019\/12\/DYMO.Label.Framework.3.0.js\"><\/script>\r\n\r\n<div class=\"wrap-container60 border-bottom reading-text\"><div class=\"container\">\r\n        <p>Genereer labels per factuurlijn voor DYMO LabelWriter en BPost. Gelieve aan te melden op uw account alvorens facturen te zoeken.<\/p>\r\n        <p>Voeg het label design toe en klik op &#8220;Design bewaren&#8221; om het design als standaard in te stellen in uw browser.<\/p>\r\n\r\n        <div id=\"printersDiv\">\r\n            <label for=\"printersComboBox\">Printer:<\/label>\r\n            <select id=\"printersComboBox\"><option>Printer inladen<\/option><\/select>\r\n        <\/div>\r\n        <br\/>\r\n        <br\/>\r\n\r\n        <div id=\"label-content-div\">\r\n            <label for=\"label-content\">Label design:<\/label><br\/>\r\n            <textarea id=\"label-content\" style=\"width: 50em;\" rows=\"10\"><\/textarea><br\/>\r\n            <button type=\"button\" onclick=\"saveDesign();\">Design bewaren<\/button>\r\n        <\/div>\r\n        <br\/>\r\n        <br\/>\r\n\r\n        <form onsubmit=\"searchInvoices(); return false;\">\r\n            <input type=\"text\" name=\"search\" id=\"search-invoices\" value=\"\" placeholder=\"Zoek facturen...\"\/>\r\n            <button type=\"button\" onclick=\"searchInvoices();\">Zoek<\/button>\r\n        <\/form>\r\n\r\n        <table id=\"invoice-table\" width=\"100%\">\r\n            <thead>\r\n            <tr>\r\n                <th>Nummer<\/th>\r\n                <th>Datum<\/th>\r\n                <th>Klant<\/th>\r\n                <th>Omschrijving<\/th>\r\n                <th>Bedrag<\/th>\r\n                <th><\/th>\r\n                <th><\/th>\r\n                <th><\/th>\r\n                <th><\/th>\r\n                <th><\/th>\r\n            <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"invoice-table-content\">\r\n            <\/tbody>\r\n        <\/table>\r\n\r\n<\/div><\/div>\r\n\r\n<script type=\"application\/javascript\">\r\n\r\n    function rebuildTable(invoices) {\r\n        var contentBlock = document.getElementById('invoice-table-content');\r\n        contentBlock.innerHTML = '';\r\n        invoices.forEach(function(invoice) {\r\n            var row = document.createElement(\"TR\");\r\n\r\n            var number = document.createElement('TD');\r\n            number.innerHTML = invoice.number;\r\n            row.appendChild(number);\r\n\r\n            var date = document.createElement('TD');\r\n            date.innerHTML = invoice.date;\r\n            row.appendChild(date);\r\n\r\n            var client = document.createElement('TD');\r\n            client.innerHTML = invoice.client_name;\r\n            row.appendChild(client);\r\n\r\n            var description = document.createElement('TD');\r\n            description.innerHTML = invoice.description;\r\n            row.appendChild(description);\r\n\r\n            var amount = document.createElement('TD');\r\n            amount.innerHTML = invoice.total_with_tax.replace('.', ',') + ' ' + invoice.currency;\r\n            row.appendChild(amount);\r\n\r\n            var add = document.createElement('TD');\r\n            var button = document.createElement('BUTTON');\r\n            button.innerHTML = 'Print';\r\n            button.className = 'printInvoice';\r\n            button.addEventListener('click', function() {\r\n                printInvoice(invoice);\r\n            });\r\n            add.appendChild(button);\r\n            row.appendChild(add);\r\n\r\n            var add2 = document.createElement('TD');\r\n            var button2 = document.createElement('BUTTON');\r\n            button2.innerHTML = 'BPost';\r\n            button2.className = 'printBPost';\r\n            button2.style.display = 'none';\r\n            button2.addEventListener('click', function() {\r\n                printBPost(invoice);\r\n            });\r\n\r\n            add2.appendChild(button2);\r\n            row.appendChild(add2);\r\n\r\n            var add3 = document.createElement('TD');\r\n            var button3 = document.createElement('BUTTON');\r\n            var add4 = document.createElement('TD');\r\n            var button4 = document.createElement('BUTTON');\r\n            var add5 = document.createElement('TD');\r\n            var button5 = document.createElement('BUTTON');\r\n\r\n\t\t\tbutton3.innerHTML = 'BPost';\r\n            button3.className = 'printBPostCreate';\r\n            button3.addEventListener('click', function() {\r\n                printBPostCreate(invoice, function(result) {\r\n\t\t\t\t\trow.dataset.reference = result.reference;\r\n\t\t\t\t\trow.dataset.postal = result.postal;\r\n\t\t\t\t\t\r\n                    button3.style.display = 'none';\r\n\t\t\t\t\tbutton4.style.display = 'inherit';\r\n\t\t\t\t\tbutton5.style.display = 'inherit';\r\n\t\t\t\t});\r\n            });\r\n\r\n            add3.appendChild(button3);\r\n            row.appendChild(add3);\r\n\r\n            button4.innerHTML = 'Label';\r\n            button4.className = 'printBPostLabel';\r\n\t\t\tbutton4.style.display = 'none';\r\n            button4.addEventListener('click', function() {\r\n                printBPostLabel(row.dataset.reference);\r\n            });\r\n\r\n            add4.appendChild(button4);\r\n            row.appendChild(add4);\r\n\r\n            button5.innerHTML = 'Tracking';\r\n            button5.className = 'sendBPostTracking';\r\n\t\t\tbutton5.style.display = 'none';\r\n            button5.addEventListener('click', function() {\r\n                sendBPostTracking(invoice, row.dataset.reference, row.dataset.postal);\r\n            });\r\n\r\n            add5.appendChild(button5);\r\n            row.appendChild(add5);\r\n            contentBlock.appendChild(row);\r\n        });\r\n    }\r\n\r\n    function searchInvoices() {\r\n        var search = document.getElementById('search-invoices').value;\r\n\r\n        var xhr = new XMLHttpRequest();\r\n        xhr.onreadystatechange = function() {\r\n            if (xhr.readyState === 4){\r\n                rebuildTable(JSON.parse(xhr.responseText));\r\n            }\r\n        };\r\n        xhr.open('GET', '\/api\/v1\/invoices?format=json&take=50&sort=-date%2B-number&fields=number,client_id,client_name,date,status,description,reference,total_with_tax,currency,items&search='+encodeURI(search));\r\n        xhr.send();\r\n    }\r\n\r\n    function getClient(client_id, callback) {\r\n        var xhr = new XMLHttpRequest();\r\n        xhr.onreadystatechange = function() {\r\n            if (xhr.readyState === 4){\r\n                callback(JSON.parse(xhr.responseText));\r\n            }\r\n        };\r\n        xhr.open('GET', '\/api\/v1\/clients\/'+client_id+'?format=json');\r\n        xhr.send();\r\n    }\r\n\t\r\n\tfunction callUrl(url, callback) {\r\n        var xhr = new XMLHttpRequest();\r\n        xhr.onreadystatechange = function() {\r\n            if (xhr.readyState === 4){\r\n                callback(JSON.parse(xhr.responseText));\r\n            }\r\n        };\r\n        xhr.open('GET', url);\r\n        xhr.send();\r\n\t}\r\n\r\n    function printBPost(invoice) {\r\n        var type = 'Business';\r\n        if (invoice.total_with_tax > 1000) {\r\n            type = 'Express';\r\n        } else {\r\n            if (window.confirm('Express verzenden? Klik OK om express te verzenden.')) {\r\n                type = 'Express';\r\n            }\r\n        }\r\n\r\n        getClient(invoice.client_id, function(client) {\r\n            var shipping = (client.hasOwnProperty('delivery_address') && client.delivery_address != null && window.confirm('Alternatief verzendadres gedetecteerd. Alternatief verzendadres printen?'));\r\n\r\n            var url = buildPrintUrl(client, type, shipping);\r\n\t\t\tconsole.log(url);\r\n            window.open(url);\r\n        });\r\n    }\r\n\r\n    function printBPostCreate(invoice, callback) {\r\n        var type = 'Business';\r\n        if (invoice.total_with_tax > 1000) {\r\n            type = 'Express';\r\n        } else {\r\n            if (window.confirm('Express verzenden? Klik OK om express te verzenden.')) {\r\n                type = 'Express';\r\n            }\r\n        }\r\n\r\n        getClient(invoice.client_id, function(client) {\r\n            var shipping = (client.hasOwnProperty('delivery_address') && client.delivery_address != null && window.confirm('Alternatief verzendadres gedetecteerd. Alternatief verzendadres printen?'));\r\n\r\n            var url = buildPrintUrl(client, type, shipping);\r\n\t\t\turl = url.replace('bpost.php', 'bpost_create.php');\r\n\t\t\tconsole.log(url);\r\n\t\t\t\r\n\t\t\tcallUrl(url, callback);\r\n        });\r\n    }\r\n\t\r\n\tfunction printBPostLabel(reference) {\r\n        var url = 'https:\/\/eenvoudigfactureren.com\/diberget\/bpost_print.php?reference=' + reference;\r\n\t\twindow.open(url);\r\n\t}\r\n\t\r\n\tfunction sendBPostTracking(invoice, reference, postalCode) {\r\n\t\tvar xhr = new XMLHttpRequest();\r\n        xhr.onreadystatechange = function() {\r\n            if (xhr.readyState === 4){\r\n                var response = JSON.parse(xhr.responseText);\r\n\t\t\t\tif (response.hasOwnProperty('success')) {\r\n\t\t\t\t\talert('BPost Tracking verzonden');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar error = 'Could not send tracking';\r\n\t\t\t\t\tif (response.hasOwnProperty('error')) {\r\n\t\t\t\t\t\terror = response.error;\r\n\t\t\t\t\t}\r\n\t\t\t\t\talert(error);\r\n\t\t\t\t}\r\n            }\r\n        };\r\n        xhr.open('POST', '\/api\/v1\/invoices\/'+invoice.invoice_id+'?send_mail&format=json', true);\r\n\t\txhr.setRequestHeader(\"Content-Type\", \"application\/json\");\r\n        xhr.send(JSON.stringify({\r\n\t\t\trecipient: 'first_contact',\r\n\t\t\tsubject: 'Track your shipment',\r\n\t\t\tmessage: 'Track you shipment with https:\/\/track.bpost.be\/btr\/web\/#\/search?itemCode='+encodeURI(reference)+'&postalCode='+encodeURI(postalCode)+'&lang=EN',\r\n\t\t\tdocument_type: 'none',\r\n\t\t}));\r\n\t}\r\n\t\r\n    function buildPrintUrl(client, type, shipping) {\r\n        var firstname = client.name;\r\n        var street = client.street;\r\n        if (shipping) {\r\n            street = client.delivery_address.street;\r\n        }\r\n        var zip = client.postal_code;\r\n        if (shipping) {\r\n            zip = client.delivery_address.postal_code;\r\n        }\r\n        var city = client.city;\r\n        if (shipping) {\r\n            city = client.delivery_address.city;\r\n        }\r\n        var country = client.country_code;\r\n        if (!country) {\r\n            country = client.country;\r\n        }\r\n        if (shipping) {\r\n            country = client.delivery_address.country_code;\r\n        }\r\n        var phone = client.phone_number;\r\n\r\n        var url = 'https:\/\/eenvoudigfactureren.com\/diberget\/bpost.php?method=int' + type + '&firstname='+ encodeURI(firstname) + '&lastname= &street=' + encodeURI(street) + '&zip=' + encodeURI(zip) + '&country=' + encodeURI(country) + '&phone=' + encodeURI(phone) + '&city=' + encodeURI(city);\r\n\r\n        return url;\r\n    }\r\n\r\n    function saveDesign() {\r\n        var design = document.getElementById('label-content').value;\r\n        localStorage['labelDesign'] = design;\r\n\t\t\r\n\t\tvar printersComboBox = document.getElementById('printersComboBox');\r\n        localStorage['labelPrinter'] = printersComboBox.value;\r\n    }\r\n\r\n    function getLabel(quantity, description, stockitem_code) {\r\n        var labelXml = document.getElementById('label-content').value;\r\n        labelXml = labelXml.replace('{item-quantity}', quantity);\r\n        labelXml = labelXml.replace('{item-description}', description);\r\n        labelXml = labelXml.replace('{item-stockitem_code}', stockitem_code);\r\n        return labelXml;\r\n    }\r\n\r\n    var printers = []; \/\/ caches a list of printers\r\n\r\n    function getPrinter() {\r\n        try\r\n        {\r\n            var printersComboBox = document.getElementById('printersComboBox');\r\n\r\n            var currentPrinterName = printersComboBox.value;\r\n\r\n            var printer = printers[currentPrinterName];\r\n            if (!printer) {\r\n                throw new Error(\"Selecteer een LabelWriter printer\");\r\n            }\r\n\r\n            return printer;\r\n        } catch(e) {\r\n            alert(e.message || e);\r\n            return null;\r\n        }\r\n    }\r\n\r\n    function printItem(item, invoice) {\r\n        try {\r\n            var label = dymo.label.framework.openLabelXml(getLabel(item.quantity, item.description, item.stockitem_code));\r\n            var printJob = label.print(getPrinter().name);\r\n        } catch(e) {\r\n            alert(e.message || e);\r\n        }\r\n    }\r\n\r\n    function printInvoice(invoice) {\r\n        var printer = getPrinter();\r\n        if (!printer) {\r\n            return;\r\n        }\r\n\r\n        invoice.items.forEach(function(item) {\r\n            printItem(item, invoice);\r\n        });\r\n    }\r\n\r\n    var removeChildren = function(node) {\r\n        var child;\r\n        while ((child = node.firstChild)) {\r\n            node.removeChild(child);\r\n        }\r\n    };\r\n\r\n    function onload() {\r\n        var printersComboBox = document.getElementById('printersComboBox');\r\n\r\n        \/\/ loads all supported printers into a combo box\r\n        function updatePrinters() {\r\n            \/\/ clear first\r\n            removeChildren(printersComboBox);\r\n\r\n            printers = dymo.label.framework.getPrinters();\r\n\r\n            for (var i = 0; i < printers.length; i++) {\r\n                var printerName = printers[i].name;\r\n\r\n                var option = document.createElement('option');\r\n                option.value = printerName;\r\n                option.appendChild(document.createTextNode(printerName));\r\n                printersComboBox.appendChild(option);\r\n            }\r\n\t\t\t\r\n\t\t\tprintersComboBox.value = localStorage['labelPrinter'];\r\n        };\r\n\r\n        updatePrinters();\r\n    }\r\n\r\n    function initPage() {\r\n        var defaultContent = '<?xml version=\"1.0\" encoding=\"utf-8\"?>\\n\\\r\n<DieCutLabel Version=\"8.0\" Units=\"twips\" MediaType=\"Default\">\\n\\\r\n<\/DieCutLabel>';\r\n\r\n        if (localStorage['labelDesign']) {\r\n            defaultContent = localStorage['labelDesign'];\r\n        }\r\n        document.getElementById('label-content').value = defaultContent;\r\n\r\n        searchInvoices();\r\n\r\n        if(dymo.label.framework.init) {\r\n            dymo.label.framework.init(onload);\r\n        } else {\r\n            onload();\r\n        }\r\n    }\r\n\r\n    \/\/ register onload event\r\n    if (window.addEventListener) {\r\n        window.addEventListener(\"load\", initPage, false);\r\n    } else if (window.attachEvent) {\r\n        window.attachEvent(\"onload\", initPage);\r\n    } else {\r\n        window.onload = initPage;\r\n    }\r\n\r\n<\/script>\r\n","protected":false},"excerpt":{"rendered":"Genereer labels per factuurlijn voor DYMO LabelWriter en BPost. Gelieve aan te melden op uw account alvorens facturen te zoeken. Voeg het label design toe en klik op &#8220;Design bewaren&#8221; om het design als standaard in te stellen in uw browser. Printer: Printer inladen Label design: Design bewaren Zoek Nummer Datum Klant Omschrijving Bedrag","protected":false},"author":1,"featured_media":0,"parent":446,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-2854","page","type-page","status-publish","hentry","no-wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Labels Diberget<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/\" \/>\n<meta property=\"og:locale\" content=\"nl_BE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Labels Diberget\" \/>\n<meta property=\"og:description\" content=\"Genereer labels per factuurlijn voor DYMO LabelWriter en BPost. Gelieve aan te melden op uw account alvorens facturen te zoeken. Voeg het label design toe en klik op &#8220;Design bewaren&#8221; om het design als standaard in te stellen in uw browser. Printer: Printer inladen Label design: Design bewaren Zoek Nummer Datum Klant Omschrijving Bedrag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/\" \/>\n<meta property=\"og:site_name\" content=\"EenvoudigFactureren\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-21T11:09:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eenvoudigfactureren.be\/info\/wp-content\/uploads\/2021\/09\/Logo-EenvoudigFactureren.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"222\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/\",\"url\":\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/\",\"name\":\"Labels Diberget\",\"isPartOf\":{\"@id\":\"https:\/\/eenvoudigfactureren.be\/info\/#website\"},\"datePublished\":\"2019-12-24T15:48:05+00:00\",\"dateModified\":\"2021-06-21T11:09:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/#breadcrumb\"},\"inLanguage\":\"nl-BE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eenvoudigfactureren.be\/info\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tools\",\"item\":\"https:\/\/eenvoudigfactureren.be\/info\/tools\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Labels Diberget\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eenvoudigfactureren.be\/info\/#website\",\"url\":\"https:\/\/eenvoudigfactureren.be\/info\/\",\"name\":\"EenvoudigFactureren\",\"description\":\"Online facturatie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eenvoudigfactureren.be\/info\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-BE\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Labels Diberget","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/","og_locale":"nl_BE","og_type":"article","og_title":"Labels Diberget","og_description":"Genereer labels per factuurlijn voor DYMO LabelWriter en BPost. Gelieve aan te melden op uw account alvorens facturen te zoeken. Voeg het label design toe en klik op &#8220;Design bewaren&#8221; om het design als standaard in te stellen in uw browser. Printer: Printer inladen Label design: Design bewaren Zoek Nummer Datum Klant Omschrijving Bedrag","og_url":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/","og_site_name":"EenvoudigFactureren","article_modified_time":"2021-06-21T11:09:46+00:00","og_image":[{"width":500,"height":222,"url":"https:\/\/eenvoudigfactureren.be\/info\/wp-content\/uploads\/2021\/09\/Logo-EenvoudigFactureren.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/","url":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/","name":"Labels Diberget","isPartOf":{"@id":"https:\/\/eenvoudigfactureren.be\/info\/#website"},"datePublished":"2019-12-24T15:48:05+00:00","dateModified":"2021-06-21T11:09:46+00:00","breadcrumb":{"@id":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/#breadcrumb"},"inLanguage":"nl-BE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eenvoudigfactureren.be\/info\/tools\/labels-diberget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eenvoudigfactureren.be\/info\/"},{"@type":"ListItem","position":2,"name":"Tools","item":"https:\/\/eenvoudigfactureren.be\/info\/tools\/"},{"@type":"ListItem","position":3,"name":"Labels Diberget"}]},{"@type":"WebSite","@id":"https:\/\/eenvoudigfactureren.be\/info\/#website","url":"https:\/\/eenvoudigfactureren.be\/info\/","name":"EenvoudigFactureren","description":"Online facturatie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eenvoudigfactureren.be\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-BE"}]}},"_links":{"self":[{"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/pages\/2854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/comments?post=2854"}],"version-history":[{"count":23,"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/pages\/2854\/revisions"}],"predecessor-version":[{"id":3682,"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/pages\/2854\/revisions\/3682"}],"up":[{"embeddable":true,"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/pages\/446"}],"wp:attachment":[{"href":"https:\/\/eenvoudigfactureren.be\/info\/wp-json\/wp\/v2\/media?parent=2854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}