Saf-t PT suportado

Invoic€xpress

  • PT
  • EN
API

items.list

Returns a list of all your items.

You call this method by submitting a HTTP GET request to the following URL :

https://screen-name.invoicexpress.net/items.xml

Parameters

Parameters are the data you will pass with the call.

api_key

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

Rules: Required

Return Values

This is the result that will be passed back to you.

Success

<?xml version="1.0" encoding="UTF-8"?>
<items>
  <item>
    <id>1</id>
    <name>foo</name>
    <description></description>
    <unit_price>10.0</unit_price>
    <unit>unit</unit>
    <tax></tax>
  </item>
    <item>
    <id>25</id>
    <name>bar</name>
    <description></description>
    <unit_price>10.0</unit_price>
    <unit>unit</unit>
    <tax>
      <name>IVA20</name>
      <!-- tax value:20.0% -->
    </tax>
  </item>
  <item>
    <id>26</id>
    <name>foobar</name>
    <description></description>
    <unit_price>10.0</unit_price>
    <unit>unit</unit>
    <tax>
      <name>IVA20</name>
      <!-- tax value:20.0% -->
    </tax>
   </item>
 ...
</items>

Errors

HTTP: 401 Access denied
The API Key parameter is missing or incorrect.