Merchant API: financial totals on orders
About this article
This article explains how to read financial totals from order responses via the Merchant API, covering the difference between base-currency and original-currency fields, and how to use each set correctly for accounting, reconciliation, and customer-facing invoicing.
Table of contents
Introduction
When you retrieve orders via GET /v2/orders or GET /v2/orders/new, each order response includes a full set of financial fields covering order line totals, shipping costs, VAT breakdowns, and channel fees. These fields come in two parallel sets that serve different purposes and should not be used interchangeably.
Fields without the Original prefix — such as TotalInclVat and ShippingCostsInclVat — are expressed in your shop's base currency as configured in ChannelEngine. When a customer pays in a different currency, ChannelEngine converts the amounts at the exchange rate applicable at the time of ordering. Use these fields for your own accounting, reporting, and payout reconciliation.
Fields with the Original prefix — such as OriginalTotalInclVat and OriginalShippingCostsInclVat — are expressed in the currency the customer actually paid in, identified by the CurrencyCode field on the order. Use these fields when generating customer-facing invoices, displaying the original price to the customer, or when the channel requires amounts in the transaction currency.
This article describes each financial field, explains which set to use for common integration scenarios, and provides guidance on currency conversion behavior.
Retrieve orders
Inspect the responses of your orders for fields relating to financial totals.
-
Retrieve orders:
GET /v2/orders
Returns a paginated list of orders matching your filters. Use this endpoint when you need fine-grained control — for example, filtering by status, date range, channel, or acknowledgement state. -
Retrieve new orders:
GET /v2/orders/new
Returns only orders with statusNEWthat have not yet been acknowledged. The recommended starting point for most polling-based integrations.
Financial totals
Financial fields come in two sets that are easy to confuse. Understanding the difference is important for correct invoicing and reconciliation:
-
Fields without the
Originalprefix (for example,TotalInclVat,ShippingCostsInclVat) — amounts in your shop's base currency, as configured in ChannelEngine. When the customer paid in a different currency, ChannelEngine converts the amounts using the exchange rate at the time of ordering. These are the amounts you should use for your own accounting, reporting, and payout reconciliation. -
Fields with the
Originalprefix (for example,OriginalTotalInclVat,OriginalShippingCostsInclVat) — amounts in the currency the customer actually paid in, before any conversion. The currency is identified byCurrencyCodeon the order. Use these amounts when you need to show the customer their original price, generate an invoice in the transaction currency, or when the channel itself requires amounts in the original currency.
TotalInclVat: 19.84 (EUR) alongside OriginalTotalInclVat: 3200 and CurrencyCode: "JPY". Your payout will be in EUR; the customer's invoice should show ¥3,200.
OriginalTotalInclVat + CurrencyCode as the source of truth for the customer-facing amount.
| Field | Currency | Description |
SubTotalInclVat |
Base (converted) | Total value of order lines including VAT, excluding shipping. |
SubTotalVat |
Base (converted) | Total VAT on order lines, excluding shipping. |
SubTotalExclVat |
Base (converted) | Total value of order lines excluding VAT and shipping. |
ShippingCostsInclVat |
Base (converted) | Shipping fee including VAT. |
ShippingCostsVat |
Base (converted) | VAT component of the shipping fee. |
ShippingCostsVatRate |
— | VAT rate applied to the shipping fee. |
ShippingCostsExclVat |
Base (converted) | Shipping fee excluding VAT. |
TotalInclVat |
Base (converted) | Order grand total including VAT and shipping. |
TotalVat |
Base (converted) | Total VAT on the entire order. |
TotalExclVat |
Base (converted) | Order grand total excluding VAT. |
SubTotalFee |
Base (converted) | Sum of channel fees on the order lines. |
OrderFee |
Base (converted) | Channel fee on the order itself (separate from line-level fees). |
TotalFee |
Base (converted) | Total channel fees: line fees + order fee. |
OriginalSubTotalInclVat |
Original (customer currency) | Total value of order lines including VAT, in the customer's payment currency. |
OriginalSubTotalVat |
Original (customer currency) | Total VAT on order lines, in the customer's payment currency. |
OriginalSubTotalExclVat |
Original (customer currency) | Total value of order lines excluding VAT, in the customer's payment currency. |
OriginalShippingCostsInclVat |
Original (customer currency) | Shipping fee including VAT, in the customer's payment currency. |
OriginalShippingCostsVat |
Original (customer currency) | VAT on the shipping fee, in the customer's payment currency. |
OriginalShippingCostsExclVat |
Original (customer currency) | Shipping fee excluding VAT, in the customer's payment currency. |
OriginalTotalInclVat |
Original (customer currency) | Order grand total including VAT, in the customer's payment currency. |
OriginalTotalVat |
Original (customer currency) | Total VAT on the entire order, in the customer's payment currency. |
OriginalTotalExclVat |
Original (customer currency) | Order grand total excluding VAT, in the customer's payment currency. |
OriginalSubTotalFee |
Original (customer currency) | Sum of channel fees on order lines, in the customer's payment currency. |
OriginalOrderFee |
Original (customer currency) | Channel fee on the order itself, in the customer's payment currency. |
OriginalTotalFee |
Original (customer currency) | Total channel fees, in the customer's payment currency. |
Comments
0 comments
Article is closed for comments.