API

Application Programming Interface

InvoiceXpress Documentation



Invoicing


invoicing_chart.get

Returns the invoicing chart data.

You call this method by submitting an HTTP GET request to the following URL:

https://{account-name}.app.invoicexpress.com/api/charts/invoicing.xml

Parameters

Parameter Required Description
api_key Yes Your secret identifier. You can find your API Key under Account >> API in the Account section.

Return Values

These are the results that will be returned on success and error.

Success
<chart>
  <series>
    <value xid="0">Dec</value>
    <value xid="1">Jan</value>
    <value xid="2">Feb</value>
    <value xid="3">Mar</value>
    <value xid="4">Apr</value>
    <value xid="5">May</value>
  </series>
  <graphs>
    <graph gid="invoicing">
      <value xid="0">13000.0</value>
      <value xid="1">10000.0</value>
      <value xid="2">6000.12</value>
      <value xid="3">18000.0</value>
      <value xid="4">10000.0</value>
      <value xid="5">2000.0</value>
    </graph>
  </graphs>
</chart>
Error

In case of error it will return:

Code Description
HTTP: 401 Access denied The API Key parameter is missing or is incorrectly entered.