GetInvoiceHistory
Description
Using this method we want to receive the outstanding invoices of the given customer.
Note that the invoices should be returned in reversed order. The invoice history is shown on the shop in a paged manner. The first page contains the most recent invoices with the latest invoice on top of the list.
The default number of invoices on a page can be set to 20. Note that the the shop's design may define a different number so it is wise to make this parameter configurable.
SOAP API:
Action
http://shoxl.com/ShoxlService/GetInvoiceHistory
Please note: this is not a working url, but a combination of namespace and method. Do not expect the url to return a result.
Style
Document
Input (Literal)
The input of this method is the document element tns:GetInvoiceHistory having the structure defined by the following table.
Complex Type: tns:GetInvoiceHistoryRequest
Description
The GetInvoiceHistoryRequest contains all the information to get the outstanding
invoices of the customer.
Output (Literal)
The output of this method is the document element tns:GetInvoiceHistoryResponse having the structure defined by the following table.
Complex Type: tns:GetInvoiceHistoryResult
Description
The GetInvoiceHistoryResult contains all the outstanding invoices of the given
customer.
Complex Type: tns:ArrayfInvoiceHistoryItem
Complex Type: tns:InvoiceHistoryItem
A InvoiceHistoryItem contains the main information of an invoice from the ERP system.
REST API:
URL: /Shoxl/v1/GetInvoiceHistory Method: POST
Request body:
GetInvoiceHistoryRequest{
}
Example:
Response body:
GetInvoiceHistoryResult{
}
InvoiceHistoryItem{
}