InvoiceXpress API

sequences.get

Returns a specific sequence.

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

https://screen-name.invoicexpress.net/sequences/:sequence-id.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

sequence-id

Id of the sequence to get.

Rules: Required

Return Values

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

Success

<?xml version="1.0" encoding="UTF-8"?>
<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>

Error

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

HTTP: 404 Not Found
No sequence matches the supplied :sequence-id.