---
id: getinvoiceinformation
title: Get Invoice Information
hide_title: true
description: "Receive info about a specific invoice"
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import Flag from '../../../../src/components/flag/flag';
import Ingress from '../../../../src/components/ingress/ingress.react';

<Ingress title="Get Invoice Information">
This operation returns information about the specified invoice.
</Ingress>

This method is available in the following countries:

<Flag country="se" />
<Flag country="no" />
<Flag country="fi" />

## Parameters

| Field           | min Occurs | nillable | Max | Type   | Description                                                                       |
| :-------------- | :--------- | :------- | :-- | :----- | :-------------------------------------------------------------------------------- |
| Username        | 1          | false    | 50  | string | The username used to authorize the request.                                      |
| Password        | 1          | false    | 50  | string | The password used to authorize the request.                                       |
| ClientIpAddress | 1          | false    | 50  | string | The IP address of the customer performing the purchase at the partner's web shop. |
| CorrelationId   | 1          | false    | 50  | string | CorrelationID is sent back in the response.                                       |
| CountryCode     | 1          | false    | 2   | string | The country code (ISO 3166-1 alpha-2) for the country.                            |
| InvoiceNumber   | 1          | false    | 50  | string | The invoice number previously returned in AddInvoice.                             |
| StoreId         | 1          | false    | -   | int    | The StoreId used for identification of store.                                     |

## Response

| Field         | min Occurs | nillable | Max | Type   | Description                            |
| :------------ | :--------- | :------- | :-- | :----- | :------------------------------------- |
| CorrelationId | 1          | true     | 50  | string | CorrelationID from the request if any. |
| Status        | 1          | true     | 50  | string | The status of the invoice              |

#### Invoice Status

- 0 = On hold
- 1 = Preliminary
- 2 = Canceled
- 3 = Delivered
- 4 = Expired
- 5 = Rejected
- 6 = Signing
- 7 = Strong customer verification

### Example Requests

| &nbsp;       | Value                                                                            |
| ------------ | :------------------------------------------------------------------------------- |
| Environment: | UAT                                                                              |
| Service:     | PaymentService                                                                   |
| URL:         | https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl               |
| Function:    | GetInvoiceInformation                                                            |
| Description: | The operation returns invoice information of a customer based on invoice number. |
| Notes:       | N/A                                                                              |

<Tabs defaultValue="reqB2C" values={[
{ label: 'B2C Request', value: 'reqB2C', },
{ label: 'B2C Response', value: 'resB2C', }]}>
<TabItem value="reqB2C">

```xml

<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>123</pay:CorrelationId>
         <pay:CountryCode>SE</pay:CountryCode>
         <pay:InvoiceNo>63062459</pay:InvoiceNo>
         <pay:StoreId>1234</pay:StoreId>
      </pay:GetInvoiceInformationRequest>
   </soapenv:Body>
</soapenv:Envelope>

```

</TabItem>
<TabItem value="resB2C">

```xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetInvoiceInformationResponse xmlns="http://schemas.ecommerce.collector.se/v30/PaymentService">
         <CorrelationId>123</CorrelationId>
         <Status>0</Status>
      </GetInvoiceInformationResponse>
   </s:Body>
</s:Envelope>

```

</TabItem>
</Tabs>

### Error Codes

Please see separate page [Error Codes](/docs/paymentsApi/integration/error-codes)

| Fault Code | Description |
| :--------- | :---------- |

