Get Invoice Information

This operation returns information about the specified invoice.

Parameters

Fieldmin OccursnillableMaxTypeDescription
ClientIpAddress1false50stringThe IP address of the customer performing the purchase at the partner's web shop.
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 country.
InvoiceNumber1true128stringThe invoice number of the invoice to get information for.
StoreId1true4shortThe StoreId used for identification of store.

Response

Fieldmin OccursnillableMaxTypeDescription
Status1false-intStatus of the invoice. (See below.)

Invoice status

The invoice status type is an enumeration value. Defined values are:

  • On hold (0) - Collector has not yet approved the invoice.
  • Pending (1) - The invoice is approved by Collector and can be activated.
  • Activated (2) - The invoice is activated by partner. Collector has purchased the invoice.
  • Cancelled (3) - The invoice is cancelled and cannot be updated or activated.
  • Expired (4) - The invoice was not activated within the activation time.
  • Rejected (5) - The invoice is rejected by Collector.
  • Signing (6) - The invoice needs to be digitally signed by end customer before the invoice can be activated.
  • Strong Verification (7) - The invoice needs to be digitally signed by end customer before the invoice can be activated

Example Requests

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:GetInvoiceInformation
Description:The operation fetchs detailed information about a specific invoice
Notes:N/A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
<soapenv:Header>
<pay:Username>USERNAME</pay:Username>
<pay:Password>PASSWORD</pay:Password>
</soapenv:Header>
<soapenv:Body>
<pay:GetInvoiceInformationRequest>
<pay:CorrelationId>GetInvoiceInformationV10</pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:InvoiceNo>4576392</pay:InvoiceNo>
<pay:StoreId>1234</pay:StoreId>
</pay:GetInvoiceInformationRequest>
</soapenv:Body>
</soapenv:Envelope>

Error codes

Please see separate page Error Codes

Fault CodeDescription
INVOICE_NOT_FOUND