This method let you get all invoices.
You call this method with the following URL:
http://machine_id.invoicemachine.com/api/invoice.getall
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
This is the result that will be passed back to you when you have sent a call.
<?xml version="1.0" encoding="utf-8"?>
<request method="invoice.getall">
<invoice>
<id>205092</id>
<status>Paid</status>
<date>15 Jan 2009</date>
<due_date>16 Feb 2009</due_date>
<invoice_id>0000004</invoice_id>
<po></po>
<due>30</due>
<tax_rate>0.00</tax_rate>
<discount_rate>0.00</discount_rate>
<shipping_amount>0.00</shipping_amount>
<currency_symbol>$</currency_symbol>
<currency_code></currency_code>
<notes>Thank you!</notes>
<permalink>http://machine_id.invoicemachine.com/invoice/view/24192915345543</permalink>
<download_link>http://machine_id.invoicemachine.com/invoice/download/24192915345543</download_link >
<payment_link>http://machine_id.invoicemachine.com/invoice/payment/24192915345543</payment_link >
<client_id>204607</client_id>
<client_name>Sample Contact</client_name>
<client_email>sample@invoicemachine.com</client_email>
<client_company>Sample Company, Inc.</client_company>
<client_address_line_01>35181 Invoice Street</client_address_line_01>
<client_address_line_02></client_address_line_02>
<client_city>Invoice City</client_city>
<client_zip_code>92329</client_zip_code>
<client_state>CA</client_state>
<client_country>United States</client_country>
<client_tax_id></client_tax_id>
<your_name>Your Name</your_name>
<your_email>your@email.com</your_email>
<your_company>Your Company</your_company>
<your_address_line_01>Your Address</your_address_line_01>
<your_address_line_02></your_address_line_02>
<your_city>Your City</your_city>
<your_zip_code>33018</your_zip_code>
<your_state></your_state>
<your_country>United States</your_country>
<your_tax_id></your_tax_id>
<lines>
<line>
<qty>2</qty>
<kind>hours</kind>
<description>Web design</description>
<price>120.00</price>
<total>240.00</total>
</line>
<line>
<qty>8</qty>
<kind>hours</kind>
<description>Web development</description>
<price>120.00</price>
<total>960.00</total>
</line>
</lines>
<subtotal>1200.00</subtotal>
<tax>0.00</tax>
<discount>0.00</discount>
<shipping>0.00</shipping>
<total>1200.00</total>
<paid>1200.00</paid>
<balance_due>0.00</balance_due>
</invoice>
<invoice>
<id>205093</id>
<status>Draft</status>
<date>12 Jan 2009</date>
<due_date>13 Feb 2009</due_date>
<invoice_id>0000003</invoice_id>
<po></po>
<due>30</due>
<tax_rate>0.00</tax_rate>
<discount_rate>0.00</discount_rate>
<shipping_amount>0.00</shipping_amount>
<currency_symbol>$</currency_symbol>
<currency_code></currency_code>
<notes>Thank you!</notes>
<permalink>http://machine_id.invoicemachine.com/invoice/view/24194314345532</permalink>
<download_link>http://machine_id.invoicemachine.com/invoice/download/24194314345532 </download_link >
<payment_link>http://machine_id.invoicemachine.com/invoice/payment/24194314345532 </payment_link >
<client_id>204607</client_id>
<client_name>Sample Contact</client_name>
<client_email>sample@invoicemachine.com</client_email>
<client_company>Sample Company, Inc.</client_company>
<client_address_line_01>35181 Invoice Street</client_address_line_01>
<client_address_line_02></client_address_line_02>
<client_city>Invoice City</client_city>
<client_zip_code>92329</client_zip_code>
<client_state>CA</client_state>
<client_country>United States</client_country>
<client_tax_id></client_tax_id>
<your_name>Your Name</your_name>
<your_email>your@email.com</your_email>
<your_company>Your Company</your_company>
<your_address_line_01>Your Address</your_address_line_01>
<your_address_line_02></your_address_line_02>
<your_city>Your City</your_city>
<your_zip_code>33018</your_zip_code>
<your_state></your_state>
<your_country>United States</your_country>
<your_tax_id></your_tax_id>
<lines>
<line>
<qty>8</qty>
<kind>hours</kind>
<description>Icon design</description>
<price>120.00</price>
<total>960.00</total>
</line>
</lines>
<subtotal>960.00</subtotal>
<tax>0.00</tax>
<discount>0.00</discount>
<shipping>0.00</shipping>
<total>960.00</total>
<paid>00.00</paid>
<balance_due>0.00</balance_due>
</invoice>
</request>
Success: No invoices where found.
The call was successful but no invoices where found.
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.
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.get" method="post">
<input type="hidden" name="api_token" value="c86cea54c71sbb05a5f8297bed641944">
</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.