Skip to content

[Catalog][CATD-07][P0] Reconcile royalty remittances and receiving-account evidence #2284

Open

Description

@sidneyswift

Statement earnings, a provider payment label and a posted bank receipt are different facts. Royalties can be grouped, split, withheld, corrected or paid to historical entities.

Parent: Catalog diligence and operations epic. Implementation status: progress is in review; the scoped update below distinguishes executable work from remaining acceptance.

Implementation area: shared reconciliation allocation engine and workpaper output. Priority: P0 within this epic, not a change to company-wide priority. No individual assignee is implied.

Goal

Reconcile royalty remittances and receiving-account evidence.

Implementation progress — 2026-10-22

Skills #223 implements the portable portfolio. Shared persistence is in Database #120 and API #1112; canonical documentation is in Marketing #226.

Statement-to-remittance-to-receipt allocation is implemented with exact decimals, currency/account checks, fees, validated FX evidence, signed returns, duplicate-allocation rejection and explicit residual/unverified states. Synthetic regressions pass; real receiving-account verification remains open.

This issue remains open. PR creation and synthetic checks do not satisfy unmerged, deployed, private-account or provider-outcome acceptance criteria.

Scope and deliverables

  • Model statement-to-remittance and remittance-to-receipt allocations independently with per-currency control totals and supplied account references.
  • Support many-to-many payments, partial receipts, fees, FX, withholding, minimum thresholds, holds, reversals, returns and changed payees.
  • Retain observed/user-reported evidence and missing ledger/access states; use supplied/authorized receipt data without turning the skill into generic banking automation.

Acceptance criteria

  • Provider Paid never becomes bank received without compatible receiving-account evidence.
  • Allocations cannot exceed either side unnoticed; duplicate statement credits or overlapping remittances do not inflate cash.
  • A historical statement plus later hold/removal does not establish a current payable; unavailable ledger remains unknown rather than zero.
  • Every matched/unmatched amount traces to specific sources and periods, and FX/fees explain any authorized bridge.

Dependencies and sequencing

Completion prerequisites: CATD-05 — #2282.

These are completion/integration gates, not a prohibition on parallel fixtures, documentation or independent branches. Use documentation/contract → required database change → API/skill implementation sequencing. Portable file review does not wait for unrelated hosted or provider access. Reuse existing Context/UI ownership linked below; add only missing domain behavior.

Validation and delivery evidence

Synthetic grouped/split/returned payments, duplicate exports, historical payees and missing-account fixtures; authorized private read-only dogfood with aggregate public evidence only.

Link owning-repository PRs and exact tested versions here. Record fixture-tested, implemented, deployed, connected and live-verified separately. Keep private customer originals and derived account details out of public issues/fixtures. This planning ticket does not authorize unrequested provider submissions, messages, payments, merges or deployment.

Source references

Metadata

Metadata

Assignees

No one assigned

    Labels

    codexenhancementNew feature or requestpriority:P0Required for the first shared Sites and external Widgets release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions