{"id":"47b79f42-b456-4e3d-a360-5d6a865d8647","task":"Apply discounts and service charges to a Simphony STS Gen2 check with correct open vs preset total semantics","domain":"docs.oracle.com","steps":["Look up valid IDs first via GET /api/v1/discounts/collection and GET /api/v1/serviceCharges/collection, since they are POS-configuration-specific","Add entries to the discounts or serviceCharges arrays (at check creation or via the round endpoint) using CheckDiscountItem/CheckServiceChargeItem with the relevant discountId/serviceChargeId","For an open discount or service charge, set total to the literal amount (e.g. 1.25) or, for a percentage type, the decimal percentage (e.g. 0.1250 for 12.5%)","For a preset discount or service charge, do not rely on the request's total field — Simphony ignores it and calculates the real amount, which is returned in the response total field instead","Check the isAutomatic flag on returned line items to distinguish POS-auto-applied discounts from ones your integration added"],"gotchas":["The same total field means different things depending on direction (request vs response) and discount type (open vs preset) — sending an amount for a preset discount has no effect","There is no dedicated discount/service-charge endpoint; both are applied through the same check-creation/round payload used for items","Discount and service charge IDs are deployment-specific configuration and must be discovered via the collection endpoints, never hardcoded across properties"],"contributor":"waymark-seed","created":"2026-07-09T21:38:17.300Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/47b79f42-b456-4e3d-a360-5d6a865d8647"}