voxel.billing.invoices.list

View all of your invoice data.

Parameters

verbosity (optional)
Verbosity of response. Should be one of "compact", "normal", or "extended".

Example Response


<rsp stat="ok">
    <invoices>
        <invoice date_due="2008-01-28T00:00:00-0500" id="55532">
            <date_issued>2008-01-28T00:32:41-0500</date_issued>
            <comment>The client's credit card was successfully charged $149.00.</comment>
            <amount units="USD">149</amount>
            <amount_credited units="USD">0</amount_credited>
            <amount_paid units="USD">149</amount_paid>
            <amount_due units="USD">0</amount_due>
            <amount_tax units="USD">0</amount_tax>
            <billing_contact>
                <first_name>name</first_name>
                <last_name>last name</last_name>
                <company>Company</company>
                <address>555 Whatever St.</address>
                <city>New York</city>
                <state>New York</state>
                <zip>55555</zip>
                <country>United States</country>
            </billing_contact>
            <invoice_items>
                <invoice_item id="14999">
                    <service id="11888" type="vrap">
                        <description>somehostname.com (vrap)</description>
                    </service>
                    <start_date>2008-01-28T00:00:00-0500</start_date>
                    <end_date>2008-02-28T00:00:00-0500</end_date>
                    <unit_price units="USD">149.00</unit_price>
                    <discount units="unknown">0.00</discount>
                    <quantity>1.00</quantity>
                    <amount units="USD">149.00</amount>
                    <amount_paid units="USD">149.00</amount_paid>
                    <amount_due units="USD">0.00</amount_due>
                    <taxes/>
                    <invoice_items/>
                </invoice_item>
            </invoice_items>
        </invoice>
        ...
    </invoices>
</rsp>

Notes

Method Specific Error Codes

114: Invalid invoice_id
The passed in invoice_id can not be matched to a valid invoice.