Great News! To offer you an even better invoicing experience, Invoice Machine is officially joining invoicely on June 22nd, 2019.
Please make sure to switch to invoicely as soon as possible to continue using our platform.

Hook up your own application with The Machine's functionality.

item.getall

This method let you get all items.

You call this method with the following URL:

Parameters

Parameters are the data you will pass with the call.

api_token

Your secret identifier. You find your API Token under Account Overview in the Account section.

Rules: Required

Return Values

This is the result that will be passed back to you when you have sent a call.

Success
<?xml version="1.0" encoding="utf-8"?>
<method request="item.getall">
    <item>
        <id>204420</id>
        <description>Office Combo Kit</description>
        <qty>1</qty>
        <kind>product</kind>
        <price>349.00</price>
        <total>349.00</total>
    </item>
    <item>
        <id>204419</id>
        <description>Aerozone Combo Kit</description>
        <qty>1</qty>
        <kind>product</kind>
        <price>349.00</price>
        <total>349.00</total>
    </item>
</method>

Success: No items where found.

The call was successful but no items where found.

Error

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.

Example

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/item.getall" method="post">
    <input type="hidden" name="api_token" value="c86cea54c71sbb05a5f8297bed641944">
</form>