This method let you download the invoice with the given id.
You call this method with the following URL:
http://machine_id.invoicemachine.com/api/invoice.download
Parameters are the data you will pass with the call.
Your secret identifier. You find your API Token under Account Overview in the Account section.
Rules: Required
The ID of the invoice.
Rules: Required.
This is the result that will be passed back to you when you have sent a call.
http://machine_id.invoicemachine.com/invoice/download/24192915345543
Error: No data passed.
No data was passed to the method.
Error: API Token is invalid.
The API Token parameter is missing or is incorrectly entered.
Error: ID is invalid.
The ID parameter is missing or is incorrectly entered.
The example below is strictly a demonstration of the method and it's parameters. Methods should never be posted from a HTML form. They should be posted directly from your server script.
<form action="http://machine_id.invoicemachine.com/api/invoice.download" method="post">
<input type="hidden" name="api_token" value="c86cea54c71sbb05a5f8297bed641944">
<input type="hidden" name="id" value="205092">
</form>
We're a small company located in the deep spruce forest of Sweden. We build useful web applications with focus on usability and user interface.
Copyright The Invoice Machine 2007-2012. All Rights Reserved.
The Invoice Machine is a service of Bombia AB (Inc).
"I've just signed up for The Invoice Machine and just had to tell you I'm absolutely blown away. In fact, I feel quite giddy after using it, I'm so impressed! Fast, slick, easy and intuitive."
Read what our customers are sayingThe Invoice Machine has a powerful API, hook up your application or check out the Extras.