feat(backend): GET /api/reconciliation/unmatched

This commit is contained in:
Tyler
2026-06-19 23:34:25 -06:00
parent 0d172d0682
commit a4c59587c6
2 changed files with 122 additions and 0 deletions
+12
View File
@@ -499,6 +499,18 @@ def list_claims(
}
@app.get("/api/reconciliation/unmatched")
def get_reconciliation_unmatched() -> dict:
"""Return unmatched Claims (left) and unmatched Remittances (right).
Powers the reconciliation review surface: every Claim with no
paired Remittance appears on the left, every Remittance with no
paired Claim appears on the right. The two lists are always present
(empty list, never absent) so the UI can index unconditionally.
"""
return store.list_unmatched(kind="both")
@app.get("/api/remittances")
def list_remittances(
request: Request,