Skip to main content

Get Account Transactions

Retrieves the transactions of the account associated with the invoice number or payment reference given in request. If no account is found for the given request an exception will be returned. The account can be identified either by providing the InvoiceNo or the PaymentReference in the request, but not both.

Request Parameters​

FieldOccursnullableMaxTypeDescription
Password1false50stringThe password used to authorize the request.
Username1false50stringThe username used to authorize the request.
CorrelationId1true50stringCorrelationID is sent back in the response.
CountryCode1false2stringThe country code (ISO 3166-1 alpha-2) for the country.
InvoiceNo1true50intThe invoice number. Either InvoiceNo or PaymentReference must be set, but not both.
PaymentReference1true50stringThe payment reference. Either PaymentReference or InvoiceNo must be set, but not both.
StoreId1true-intThe StoreId used for identification of store.

Response Parameters​

FieldOccursnullableMaxTypeDescription
CorrelationId1true50stringCorrelationID from the request if any.
Transactions1true50Transactions[]A list of transactions for the invoice associated with the given request. See below for details.

Transactions​

FieldnullableTypeDescription
ArticleIdfalsestringThe ArticleId of the product.
CurrencyfalsestringThe Currency of the transaction
DescriptionfalsestringThe description of the product.
MovedFromAccounttruestringThe AccountNo the transaction has been moved from, if moved.
MovedToAccounttruestringThe AccountNo the transaction has been moved to, if moved.
OriginalCurrencyInformationtruestringThe original currency if not the same as specified in Currency.
QuantityfalseintThe quantity of the product.
TransactionDatefalsedateThe date of the transaction.
TransactionTypefalsestringThe type of the transaction, e.g. purchase, return etc.
UnitPricefalsedecimalPrice per unit incl. VAT.
VatRatefalsedecimalVAT in per cent.

Example Requests​

 Value
Environment:UAT
Service:InformationService
URL:https://ecommercetest.collector.se/v3.0/InformationServiceV2.svc?wsdl
Function:GetAccountTransactions
Description:The operation returns a list of accounts transactions for a specic invoice.
Notes:N/A

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inf="http://schemas.ecommerce.collector.se/v30/InformationService">
<soapenv:Header>
<inf:Username>USERNAME</inf:Username>
<inf:Password>PASSWORD</inf:Password>
</soapenv:Header>
<soapenv:Body>
<inf:GetInvoiceTransactionsRequest>
<inf:CorrelationId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<inf:CountryCode>SE</inf:CountryCode>
<inf:InvoiceNo>63049067</inf:InvoiceNo>
<inf:PaymentReference xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<inf:StoreId>1234</inf:StoreId>
</inf:GetInvoiceTransactionsRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes​

Fault CodeDescription
AUTHORIZATION_FAILEDCould not authorize the request, check your login credentials. Please contact Collector for more help.
ACCOUNT_NOT_FOUNDNo account found for Invoice Number.

If the error code you are looking for is not in the list above Please see separate page Error Codes