quarterly-results.get
This method allows you to obtain the quarterly results.
Each quarter has:
- The amount invoiced before taxes
- Taxes amount
- Year to date (YTD) which consists on the difference between the invoiced on the current quarter less the invoiced on the same quarter one year ago
You call this method by submitting a HTTP GET request to the following URL :
https://screen-name.invoicexpress.net/api/charts/quarterly-results.xml
Parameters
Parameters are the data you pass with the call.
api_key
Your secret identifier. Instructions here on how to obtain the API KEY
Rules: Required
year
This parameter should be submitted on the query string. By default year is the current year. It should obey the format YYYY (ex.: 2010)
Rules: Optional
Return Values
This is the result that is passed back to you.
Success
<?xml version="1.0" encoding="UTF-8"?> <quarterly-results> <year>2011</year> <currency>€</currency> <quarter-01> <invoicing>220654.38</invoicing> <taxes>48498.91</taxes> <ytd>49526.67</ytd> </quarter-01> <quarter-02> <invoicing>209082.81</invoicing> <taxes>46624.8</taxes> <ytd>-75897.07</ytd> </quarter-02> <quarter-03> <invoicing>267101.09</invoicing> <taxes>59306.64</taxes> <ytd>-10674.32</ytd> </quarter-03> <quarter-04> <invoicing>319438.52</invoicing> <taxes>71782.48</taxes> <ytd>-6025.96</ytd> </quarter-04> </quarterly-results>
Error
HTTP: 401 Access denied
The API Key parameter is missing or incorrect.
The API Key parameter is missing or incorrect.