Method returns list of invoices created from arbitrary date defined by current midnight - number of days.

The only input parameter is days (xsd:unsignedByte), which specifies the number of days from current midnight.

Output is 3D array (struct) of number (xsd:token), which carries the internal invoice number, issued (xsd:dateTime), which carries the invoice issuance date and time in ISO 8601 localtime (see ISO 8601 standart for details), open (xsd:boolean), the invoice status (true for open invoices).

Fault codes

Method returns SOAP fault (according to SOAP Version 1.2, section 2.3 Fault Scenarios) on failure or when no data found for client request. Database error may be returned with specific error prefix, when database is not ready or something unwanted happens.

Code Actor String Detail
0SERVICENo invoices found for supplied date.client input
1CLIENTNumber of days out of bounds.client input
ORA-[0-9]{1-5}DATABASEDatabase subsystem error.database error message


SOAP client must be capable of basic HTTP authentication to use this method.

Example request

POST /index.php HTTP/1.0
User-Agent:ClTest/1.0.0 (0.99)
Content-Type:text/xml; charset=UTF-8

Known bugs

SOAP fault is returned in ISO-8859-1 encoding, except of server header UTF-8 charset declaration.