Tags:
- Action Required
- Admin GraphQL API
Cash transaction rounding for Point of Sale purchases in selected countries
For specific currencies, cash transactions on Point of Sale now automatically round to the nearest denomination. This applies to cash payments and refunds using the following currencies and regions: CAD (Canada), AUD (Australia), NZD (New Zealand), EUR (Switzerland, Belgium, Finland), DKK (Denmark), SEK (Sweden), NOK (Norway). Additional currencies may be supported in the future.
Additionally, in GraphQL Admin API versions 2024-10 and later, we’ve introduced new fields to simplify queries of cash rounding adjustments for both orders and transactions.
Order-level cash rounding adjustments
On the Order
object, we've introduced the field, which indicates the total cash rounding adjustments applied to all payment and refund transactions within a Point of Sale order.
To calculate rounded totals:
- Rounded total payment:
+
- Rounded total refund:
+
Transaction-level cash rounding adjustments
On the object, we've introduced the
field, which indicates the cash rounding adjustment applied to an individual cash payment or refund transaction on Point of Sale.
To identify a cash transaction, check that the gateway
field equals cash
.
To calculate the rounded transaction amount:
Rounded transaction amount = +
Example
Consider an example Point of Sale order:
- Cash payment:
9.99
, rounded up by+0.01
to10.00
- Partial cash refund:
5.02
, rounded down by-0.02
to5.00
Order example
Field | Value |
---|---|
| 9.99 |
| +0.01 |
Rounded total payment | 10.00 |
| 5.02 |
| -0.02 |
Rounded total refund | 5.00 |
Transaction example
Transaction Type |
|
| Rounded Transaction Amount |
---|---|---|---|
Payment | 9.99 | +0.01 | 10.00 |
Refund | 5.02 | -0.02 | 5.00 |