WEBCentralizedShoppingCartMembershipOpenInvoiceGetList
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
XML results |
This method returns a list of open invoices for the provided CustomerKey.
Parameters
Name | Data Type | Occurs | Description |
---|---|---|---|
CustomerKey | guid | 1..1 | This is the Customer Key of the customer for whom open invoices should be returned. |
Response
XML Results. A list of the open invoices for the specified customer, including the invoice date, code, total, paid amount, balance, and member type.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>***********************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCentralizedShoppingCartMembershipOpenInvoiceGetList>
<ns:CustomerKey>cec29726-4a26-4c07-9162-048020e42241</ns:CustomerKey>
</ns:WEBCentralizedShoppingCartMembershipOpenInvoiceGetList>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>1be16158-7d91-489a-97c4-fbdbfb0be1d6</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartMembershipOpenInvoiceGetListResponse xmlns="http://www.avectra.com/2005/">
<WEBCentralizedShoppingCartMembershipOpenInvoiceGetListResult>
<Results recordReturn="1">
<Result>
<inv_key>83a4965c-ae53-4d4d-a725-ef4069c399ab</inv_key>
<inv_date>11/03/2011</inv_date>
<inv_code_cp>70145</inv_code_cp>
<inv_total>600.0000000</inv_total>
<inv_paid>0.0000</inv_paid>
<inv_balance>600.0000</inv_balance>
<mbt_code>AV_Inst Mbr</mbt_code>
</Result>
<Result>
<inv_key>49e789c8-c49a-4eb0-8c37-746386225c7f</inv_key>
<inv_date>02/09/2013</inv_date>
<inv_code_cp>107106</inv_code_cp>
<inv_total>296.0000</inv_total>
<inv_paid>118.4000</inv_paid>
<inv_balance>177.6000</inv_balance>
<mbt_code/>
</Result>
</Results>
</WEBCentralizedShoppingCartMembershipOpenInvoiceGetListResult>
</WEBCentralizedShoppingCartMembershipOpenInvoiceGetListResponse>
</soap:Body>
</soap:Envelope>