View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012252 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012252: KYC: the API documentation does not state which account a rule counts for | ||||
| Description | The API documentation does not state which account a KYC rule's operations are counted for. Withdrawals count for the reserve's origin bank account, over all reserves credited from it (design document 023: "key: IBAN"); a reserve created by a merge has no origin and is limited by the `MERGE` rules only. `CLOSE` ("(reserve)") counts for the target of a close request to an account other than the origin; closings to the origin, also at the deadline, are not limited. Counting withdrawals per reserve instead lets an amount be split over reserves from one bank account (TLA+ configuration `models/tla/MCKycPerReserve.cfg` violates KY1 of `spec/kyc.md`). **Proposed change:** state for each operation type the account it is counted for, as above (`spec/kyc.md`, Rules). **Found by:** the formalization of the Taler protocols; the TLA+ model of KYC limits (`MCKycPerReserve`), against KY1 in `spec/kyc.md`. | ||||
| Tags | No tags attached. | ||||
| Proposed patch (taler-docs master b3970cce): KycRule.operation_type states the account each type counts for, as the exchange counts (iterate_*_amounts_for_kyc_check) and spec/kyc.md (Rules) states it. It also covers 0012257 (REFUND rules: the merchant's account, before a refund); the exchange does not check REFUND rules yet (#12278). Open payment requests into the reserve count once #12281 is fixed; TRANSACTION is left as it is. diff --git a/core/exchange/get-aml-OFFICER_PUB-decisions.rst b/core/exchange/get-aml-OFFICER_PUB-decisions.rst index 69a1f792..eb81f6a1 100644 --- a/core/exchange/get-aml-OFFICER_PUB-decisions.rst +++ b/core/exchange/get-aml-OFFICER_PUB-decisions.rst @@ -206,6 +206,20 @@ // (p2p) "MERGE", (wallet) "BALANCE", // (reserve) "CLOSE", "AGGREGATE", // "TRANSACTION" or "REFUND". + // + // The account whose operations a rule counts: + // "WITHDRAW": withdrawals from all reserves funded + // from the bank account; + // "DEPOSIT", "AGGREGATE": deposits for, and transfers + // to, the merchant's bank account; + // "REFUND": refunds of the merchant whose bank account + // the deposits were for, checked before a refund; + // "MERGE": merges into the reserve (the wallet's + // account), and payment requests into it while open; + // "CLOSE": closings to the bank account a close + // request names, if it is not the account the reserve + // was funded from; + // "BALANCE": the wallet's balance, checked by the wallet. operation_type: string; // Name of the configuration section this rule | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Reviewer | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Verifier | => Emmanuel |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:05 | oec | Implementer | Amoui NGoran => |
| 2026-11-21 16:05 | oec | Reviewer | Alexis_Lafargue => Christian Grothoff |
| 2026-11-21 16:05 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:05 | oec | Deployed by | Antoine A => Florian Dold |
| 2026-11-21 16:05 | oec | Verifier | Emmanuel => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | minor => text |
| 2026-11-21 23:22 | bot-oec | Note Added: 0030726 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |