--- title: >- Minor rounding change for custom line item discounts in POS 11.5 - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/minor-rounding-change-for-custom-line-item-discounts-in-pos-115 md: >- https://shopify.dev/changelog/minor-rounding-change-for-custom-line-item-discounts-in-pos-115.md metadata: effectiveApiVersion: '' affectedApi: - displayName: POS Extensions handle: pos-extensions primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2026-03-31T11:11:35-04:00' postedAt: '2026-04-27T12:00:00-04:00' updatedAt: '2026-03-31T12:39:50-04:00' effectiveAt: '2026-04-27T12:00:00-04:00' --- April 27, 2026 Tags: * POS Extensions # Minor rounding change for custom line item discounts in POS 11.5 Starting with POS version 11.5, we are updating the internal calculation method for custom fixed-amount line item discounts. These discounts will now be applied on a per-unit basis rather than across the entire line. Note that this change only affects fixed-amount discounts; percentage discounts remain unchanged. If your app uses `setLineItemDiscount` or `bulkSetLineItemDiscounts` from the Cart API with a `FixedAmount` discount type, you can continue to pass the total discount amount for the line item as you currently do. The POS system will automatically handle the conversion. In most cases, the total discount will remain the same. However, for amounts that don't divide evenly by quantity, there might be a rounding difference of up to one cent, the smallest denomination in the local currency. For example, a $5.00 discount applied to 3 items becomes $1.67 per unit, totaling $5.01 instead of $5.00. **No action is required** for extensions using API version 2026-04 or earlier. In a future API version, extensions will need to pass per-unit discount amounts directly. We will provide more details as the release approaches. For more information, refer to the [Cart API reference](https://shopify.dev/docs/api/pos-ui-extensions/latest/target-apis/contextual-apis/cart-api).