GET /invoices/totals

Get the totals of invoices

by netsi1964

HTML

<h2>Output</h2>

<pre id="output"></pre>

JavaScript

$.ajax({
    url: "https://restapi.e-conomic.com/invoices/booked/10001",
    dataType: "json",
    headers: {
        'X-AppSecretToken': "demo",
        'X-AgreementGrantToken': "demo",
        'Content-Type': "application/json"
    },
    type: "GET"
})
    .always(function (data) {
   // $("#output").text(Object.keys(data));
     $("#output").text(JSON.stringify(data, null, 4));
});