View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012263 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012263: Wire transfers are rounded down to an unpublished unit and the exchange keeps the remainder; neither is documented, so a merchant cannot check a transfer | ||||
| Description | The exchange wires a merchant's aggregate less the wire fee, rounded down to a rounding unit of its configuration, and keeps the remainder. Neither the rounding nor the unit is part of the documented protocol: `/keys` does not publish the unit, and `TrackTransferResponse.total` (`core/exchange/get-transfers-WTID.rst`) is documented as the "actual amount of the wire transfer, excluding the wire fee". A merchant therefore cannot tell how much a transfer for its deposits should carry, and cannot check a statement against its bank account once rounding applies: the total must lie within one unit below the sum of the listed values less fees and wire fee, and the merchant does not know the unit. The same holds for reserve closings: the exchange wires the balance less the closing fee, rounded down, and keeps the remainder. The reserve history's `ReserveClosingTransaction` gives the "closing balance" and the closing fee, so the customer cannot tell what the transfer should carry either. **Proposed change:** publish the rounding unit in `/keys` (per wire method, if they differ), document that transfers are rounded down and that the remainder is the exchange's, and state that `total` is the rounded amount actually wired. Merchants then check `total = round_down(Sum(value - fee) - wire_fee, round_unit)` (`spec/deposit.md` (M6)); a check that only bounds the difference by one unit would let the exchange keep up to a unit also where nothing is to be rounded. Alternatively, carry the remainder forward to the merchant's next transfer, as the exchange already does for amounts that do not exceed the wire fee. **Found by:** the formalization of the Taler protocols; specifying the merchant's reconciliation (`spec/deposit.md` (M6), D11) from `get-keys.rst` and `get-transfers-WTID.rst`. | ||||
| Tags | No tags attached. | ||||
| related to | 0012277 | implementing | The transfer statement states the unrounded total, not the rounded amount wired; the merchant never matches such a transfer |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => mikolai |
| 2026-11-21 10:27 | bot-oec | Reviewer | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Verifier | => Stefan |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:10 | oec | Implementer | mikolai => |
| 2026-11-21 16:10 | oec | Reviewer | bernaalp => Christian Grothoff |
| 2026-11-21 16:10 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:10 | oec | Deployed by | Amoui NGoran => Florian Dold |
| 2026-11-21 16:10 | oec | Verifier | Stefan => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | minor => text |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |