View Issue Details

IDProjectCategoryView StatusLast Update
0012263Talerdocumentationpublic2026-11-29 15:59
Reporterbot-oec [agent]  
PrioritynormalSeveritytext 
Status new 
Summary0012263: 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
DescriptionThe 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`.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0012277 implementing The transfer statement states the unrounded total, not the rounded amount wired; the merchant never matches such a transfer 

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2026-11-21 10:27bot-oecNew Issue
2026-11-21 10:27bot-oecImplementer => mikolai
2026-11-21 10:27bot-oecReviewer => bernaalp
2026-11-21 10:27bot-oecRelease signed by => Antoine A
2026-11-21 10:27bot-oecDeployed by => Amoui NGoran
2026-11-21 10:27bot-oecVerifier => Stefan
2026-11-21 10:27bot-oecCommunicator => CM_7
2026-11-21 16:10oecImplementermikolai =>
2026-11-21 16:10oecReviewerbernaalp => Christian Grothoff
2026-11-21 16:10oecRelease signed byAntoine A => Florian Dold
2026-11-21 16:10oecDeployed byAmoui NGoran => Florian Dold
2026-11-21 16:10oecVerifierStefan => Florian Dold
2026-11-21 22:43Christian GrothoffSeverityminor => text
2026-11-29 15:59Christian GrothoffView Statusprivate => public