Saf-t PT Suportado

InvoiceXpress API

sequences.list

Returns all your sequences.

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

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

Parameters

Parameters are the data you will pass with the call.

api_key

Your secret identifier. Your API Key is on Account Overview in the Account section.

Rules: Required

Return Values

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

Success

<sequences>
 <sequence>
  <id>1</id>
  <serie>2008</serie>
  <current_invoice_number>13</current_invoice_number>
  <current_credit_note_number>5</current_credit_note_number>
  <current_debit_note_number>6</current_debit_note_number>
  <default_sequence>0</default_sequence>
 </sequence>
 <sequence>
  <id>2</id>
  <serie>2009</serie>
  <current_invoice_number>2</current_invoice_number>
  <current_credit_note_number>0</current_credit_note_number>
  <current_debit_note_number>0</current_debit_note_number>
  <default_sequence>1</default_sequence>
  <!-- default sequence -->
 </sequence>
</sequences>

Errors

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