> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/getting-started/get-started-with-esw/finance-and-settlement/order-flow-from-confirmation-to-settlement/order-settlement.md).

# Order Settlement

## File Attributes

{% tabs %}
{% tab title="Attributes" %}

* **Brand Name:** Go Casual
* **Settlement File Date:** 08/09/2025
* **Transaction Date/Time:** 04/09/2025 11:37
* **Order Number:** PT1250904113524817GB
* **ESW Reference:** 5.00104E+12
* **Transaction Type:** Sale
* **Settlement Currency:** EUR
* **Country ISO:** GB
* **Gift Card Identifier / PSP Reference:** (blank in row)
  {% endtab %}
  {% endtabs %}

## Totals (per order confirmation)

| Currency | Total paid by shopper |
| :------: | :-------------------: |
|    GBP   |        `20.99`        |
|    EUR   |        `23.51`        |

{% hint style="warning" icon="money-bill-transfer" %}
GBP is the shopper’s charge; EUR is the retailer/settlement currency.
{% endhint %}

## Basket Breakdown

<table><thead><tr><th align="center">Line item</th><th align="center" valign="middle">GBP</th><th align="center">EUR</th><th align="center">Notes</th></tr></thead><tbody><tr><td align="center">Goods</td><td align="center" valign="middle">12.50</td><td align="center">14.00</td><td align="center">Merchandise (net of tax)</td></tr><tr><td align="center">Shipping</td><td align="center" valign="middle">4.99</td><td align="center">5.59</td><td align="center">Consumer-paid shipping (net of tax)</td></tr><tr><td align="center">Taxes on goods @20%</td><td align="center" valign="middle">2.50</td><td align="center">2.80</td><td align="center">VAT on goods</td></tr><tr><td align="center">Taxes on delivery @20%</td><td align="center" valign="middle">1.00</td><td align="center">1.12</td><td align="center">VAT on shipping</td></tr><tr><td align="center"><strong>Total</strong></td><td align="center" valign="middle"><code>20.99</code></td><td align="center"><code>23.51</code></td><td align="center">Matches shopper/retailer totals</td></tr></tbody></table>

* **Duty:** ESW calculates local D\&T; retained/remitted by ESW to authorities on importation (if applicable).
* **Return Fee:** Deducted from settlement if applicable.
* **Total Amount:** Total to be settled before fees; net of tax.
* **Fee Basis:** Total basket value including taxes paid by the consumer.
* **Retailer Fee:** Fee as per contract; net of tax.
* **Net Amount:** Amount paid by ESW to the retailer; net of tax.

## Settlement Summary

|      Column      |   EUR   |                     Meaning                     |
| :--------------: | :-----: | :---------------------------------------------: |
|       Goods      |  14.00  |                Merchandise value                |
|     Shipping     |   5.59  |              Shopper-paid shipping              |
|        VAT       |   3.92  |          2.80 (goods) + 1.12 (delivery)         |
|       Duty       |    —    |           Not charged in this example           |
|     Other Tax    |    —    |                        —                        |
| **Total Amount** | `19.59` |            Goods + Shipping (ex VAT)            |
|   **Fee Basis**  |  23.51  |      Total basket incl. shopper-paid taxes      |
| **Retailer Fee** |   1.06  |          Contract fee on the fee basis          |
|  **Net Amount**  | `18.53` | Payout to retailer after fees (and remittances) |

{% hint style="info" icon="calculator" %}
**Total Amount (ex-VAT)** = 14.00 + 5.59 = `19.59`\
**Net Amount ≈ Total Amount - Retailer Fee** = 19.59 - 1.06 = `18.53`
{% endhint %}

{% code title="Payload" expandable="true" %}

```json
{
  "retailerCartId": "PT1250904113524817GB",
  "shopperOrderNumber": "ce8b284a-c202-4578-affe-75cacf0d0ec0",
  "checkoutTotal": {
    "retailer": { "currency": "EUR", "amount": "23.51" },
    "shopper":  { "currency": "GBP", "amount": "20.99" }
  },
  "pricingSynchronizationId": null,
  "paymentDetails": {
    "time": "2025-09-04T13:07:15.3334631Z",
    "method": "PaymentCard",
    "methodCardBrand": "Visa",
    "fraudHold": null,
    "amountPaid": "20.99",
    "isOverCounter": null,
    "ticketDetails": null
  },
  "retailerPromoCodes": [],
  "lineItems": [
    {
      "quantity": 1,
      "product": {
        "productCode": "123456789",
        "hsCode": "62114900",
        "title": "Test product",
        "description": "Test product description"
      },
      "productUnitPriceInfo": {
        "price": {
          "retailer": { "currency": "EUR", "amount": "16.80" },
          "shopper":  { "currency": "GBP", "amount": "15.00" }
        }
      },
      "discounts": [],
      "imageUrl": "https://i.pining.com/736x/ae/23/32/ae233275ce831208cc677538d95ed66c.jpg",
      "color": "Blk"
    }
  ]
}
```

{% endcode %}

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esw.com/getting-started/get-started-with-esw/finance-and-settlement/order-flow-from-confirmation-to-settlement/order-settlement.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
