The question
Which open invoices match this currency, account and permitted amount range?
Apply the matching rules.
Explore SQLFinancial services & payments
Match payments to invoices using transaction details, remittance messages and settlement records. Show operators which references match and which differences need checking.
Compare a payment reference with the invoice it may settle.
Illustrative use case01 / Use case guide
Compare the data models behind everyday industry tasks, from finding records to following connections.
Suggested model combination
Scroll across to compare all four models| Use case | How the data models help | SQL | Vector | Graph | Full-text | Source |
|---|---|---|---|---|---|---|
| Payment to invoice matching Operations teams need candidates for payments with incomplete remittance references. | SQL checks amounts and currencies, Full-text finds invoice references, and Vector suggests similar invoice descriptions for operator review. | SQL included | Vector included | Graph not needed for this example | Full-text included | |
| Cross border payment tracing Support teams need to locate a delayed payment along its processing route. | SQL retrieves timestamped payment statuses, while Graph follows linked intermediary and beneficiary events. | SQL included | Vector not needed for this example | Graph included | Full-text not needed for this example | |
| Merchant payout batch reconciliation Finance teams need to explain the difference between sales totals and bank payouts. | SQL totals charges, fees and adjustments, while Graph traces each payout to its recorded settlement transactions. | SQL included | Vector not needed for this example | Graph included | Full-text not needed for this example | |
| Card dispute evidence gathering Dispute teams need relevant receipts, delivery records and customer correspondence. | SQL selects the dispute and deadline, Graph links order and delivery evidence, and Full-text finds relevant customer messages. | SQL included | Vector not needed for this example | Graph included | Full-text included | |
| Missing refund status investigation Support teams need trace references for a refund that a customer cannot see. | SQL retrieves refund status and network references, while Full-text finds those references in support correspondence. | SQL included | Vector not needed for this example | Graph not needed for this example | Full-text included | |
| Payment decline pattern analysis Operations teams need to distinguish issuer declines from blocked payments and integration errors. | SQL groups failure codes and excludes repeat attempts, while Vector finds similar incident descriptions for troubleshooting. | SQL included | Vector included | Graph not needed for this example | Full-text not needed for this example | |
| Merchant onboarding document review Onboarding teams need to resolve inconsistent business, identity and payout details. | SQL checks verification status, Graph connects merchant entities and documents, and Full-text finds names in submitted evidence. | SQL included | Vector not needed for this example | Graph included | Full-text included | |
| Subscription payment failure review Billing teams need to understand which failed invoices still need customer follow-up. | SQL selects unpaid invoices and retry history, while Graph traces subscriptions to their configured payment methods. | SQL included | Vector not needed for this example | Graph included | Full-text not needed for this example | |
| Beneficiary payment detail checks Operators need to resolve account and routing discrepancies before resubmitting a payment. | SQL compares stored payment fields with validation results, while Full-text retrieves the original beneficiary instructions. | SQL included | Vector not needed for this example | Graph not needed for this example | Full-text included | |
| Payment screening exception review Compliance teams need the message context behind a flagged payment. | SQL retrieves the payment and screening result, while Full-text locates party names and remittance wording for analyst review. | SQL included | Vector not needed for this example | Graph not needed for this example | Full-text included |
Use the query interfaces you need, then connect their results through shared record IDs in your application.
These sources describe real industry workflows. The model combinations above are proposed OriginChainDB designs, not customer deployment claims.
02 / A closer look
A payment reaches the bank but cannot be matched confidently to an invoice. A reference is incomplete, fees change the amount, and the remittance explanation lives in a message. Operations must distinguish a valid match from a coincidence.
Payment, invoice and settlement identifiers do not always align.
Amounts differ because of fees, partial payments or currency conversion.
An exception needs an explanation, not just a suggested match.
Match references, currencies and amounts using approved rules. For unresolved payments, search remittance wording for possible invoices and send the candidates to an operator.
03 / Queries
Select a model to see the question it answers.
The question
Apply the matching rules.
Explore SQLThe question
Suggest a candidate from wording.
Explore VectorThe question
Trace the payment lifecycle.
Explore GraphThe question
Locate exact message references.
Explore Full-textUse shared record IDs to combine results from the different query interfaces in your application.
04 / Implementation
Choose one payment rail. Set currency and amount tolerances, and decide which exceptions require an operator. Use masked historical records.
Link payment, invoice and settlement IDs. Keep original messages, timestamps and corrected versions. Index the remittance text.
Run exact checks first. Search descriptions for unresolved payments. Your application ranks candidates and shows the references and differences behind each suggestion.
Compare with approved matches. Include duplicate payments, reversals and partial payments. Measure false matches before introducing assisted review.
05 / Testing
Compare these results with your current process before rollout.
Track suggestions that operators reject, especially wrong-counterparty and duplicate matches.
Compare time to gather evidence and resolve equivalent exception categories.
Measure delay between settlement updates and their appearance in the review workspace.
06 / Sources
Published projects and reference material relevant to this use case.
Scotiabank
Scotiabank describes embedding ISO 20022 into its systems and using richer remittance information to support payment-to-invoice reconciliation. This is Scotiabank’s own industry example, not an OriginChainDB customer story.
Read the sourceSwift
Swift explains how richer payment information can support reconciliation and reduce manual correction and investigation. Adopting a message standard still leaves downstream systems responsible for using that information effectively.
Read the sourceThese are industry references, not OriginChainDB customer stories. The implementation above is a proposed example.
Build with OriginChainDB