Home / API Documentation

Get Invoice Totals By Events

Method: GET api/v1/Invoice/GetInvoiceTotalsByEvent?companyid={companyid}&fromdate={fromdate}&todate={todate}

Response Format:

application/json

Required Parameters Description Additional information
companyid

Define this parameter in the request URI.

fromdate

Define this parameter in the request URI.

todate

Define this parameter in the request URI.

application/json, text/json

Sample Response:
                        [
  {
    "accountid": "sample string 1",
    "category": "sample string 2",
    "woheaderid": 3,
    "invoiceid": "sample string 4",
    "invoicedate": "sample string 5",
    "branchname": "sample string 6",
    "employeenumber": "sample string 7",
    "count": 8,
    "name": "sample string 9",
    "routename": "sample string 10",
    "AccountUDF1": "sample string 11",
    "itemdescription": "sample string 12",
    "glsubtotalcreditnum": "sample string 13",
    "gldescription": "sample string 14",
    "source": "sample string 15",
    "invoicesfrommiscdebit": 1.0,
    "invoicesfromrenewals": 1.0,
    "invoicesfromwo": 1.0,
    "amount": 1.0,
    "discountamount": 1.0,
    "adjustedamount": 1.0,
    "taxtotals": 1.0,
    "totalwithtax": 1.0,
    "streetnumber": "sample string 16",
    "predirection": "sample string 17",
    "streetname": "sample string 18",
    "streetsuffix": "sample string 19",
    "city": "sample string 20",
    "state": "sample string 21",
    "postalcode": "sample string 22",
    "salesperson": "sample string 23",
    "sourcetext": "sample string 24"
  },
  {
    "accountid": "sample string 1",
    "category": "sample string 2",
    "woheaderid": 3,
    "invoiceid": "sample string 4",
    "invoicedate": "sample string 5",
    "branchname": "sample string 6",
    "employeenumber": "sample string 7",
    "count": 8,
    "name": "sample string 9",
    "routename": "sample string 10",
    "AccountUDF1": "sample string 11",
    "itemdescription": "sample string 12",
    "glsubtotalcreditnum": "sample string 13",
    "gldescription": "sample string 14",
    "source": "sample string 15",
    "invoicesfrommiscdebit": 1.0,
    "invoicesfromrenewals": 1.0,
    "invoicesfromwo": 1.0,
    "amount": 1.0,
    "discountamount": 1.0,
    "adjustedamount": 1.0,
    "taxtotals": 1.0,
    "totalwithtax": 1.0,
    "streetnumber": "sample string 16",
    "predirection": "sample string 17",
    "streetname": "sample string 18",
    "streetsuffix": "sample string 19",
    "city": "sample string 20",
    "state": "sample string 21",
    "postalcode": "sample string 22",
    "salesperson": "sample string 23",
    "sourcetext": "sample string 24"
  }
];