Settlement is Odd
I only just realised this while talking tonight with James from Decillion, but any settlement process should always involve an odd number of parties.
To prove it, we'll first need some definitions:
Call the party that owes money the debtor
Call the party that is owed money the creditor
Call the party that holds the account the debtor will pay out of, the debtor's settlement agent
Call the party that holds the account the creditor will be paid in to, the creditor's settlement agent
The simplest case is if the debtor and the creditor both hold accounts at the same insitution. Then there are 3 parties - the debtor, the creditor, and the single insitution that acts as settlement agent for both parties .
If the debtor and the creditor do NOT hold accounts at the same institution, then settling between the debtor and the creditor creates a debt between the two agents. I.e. the debtor's settlement agent itself becomes a debtor to the creditor's settlement agent, and that debt needs to be settled using accounts held at some third insitutution in the name of the agents.
So settlement is a recursive function, and each level of recursion adds 2 parties, while the final call adds 1. And 2*n+1 is always odd for an integer value of n.
Here's the settlement algorithm as pseudo C#
static void SettleDebt(Party creditor, Party debtor, double amount) {
if (creditor.SettlementAgent == debtor.SettlementAgent)
{
Party agent = creditor.SettlementAgent;
agent.FindAccount(debtor).Balance -= amount;
agent.FindAccount(creditor).Balance += amount;
} else {
SettleDebt(creditor.SettlementAgent, debtor.SettlementAgent, amount);
debtor.SettlementAgent.FindAccount(debtor).Balance -= amount;
creditor.SettlementAgent.FindAccount(creditor).Balance += amount;
}
}
Let's apply this to direct deposit transactions, and assume Alice has bought a 2nd hand copy of Applied Cryptography on eBay, so she need's to transfer $98.36 to Bob. Also assume Alice banks at the CBA. She uses the CBA website to initiate a transfer to Bob's account.
If Bob also banks at the CBA, then the settlement process is completed by CBA updating it's record of the current balance of both Alice's and Bob's accounts. In this case there are a total of 3 parties involved (Bob,Alice, the CBA).
But if Bob's account is at NAB, then as well as both NAB and CBA updating their records of Bob's and Alice's accounts, a debt is created beween NAB and CBA that gets settled by the RBA updating the NAB and CBA Exchange Settlement accounts. That makes a total of 5 parties (Bob,Alice, the CBA,NAB and the RBA).
I haven't talked about transfers to overseas accounts yet, so for the moment I'll just confirm there can be 7 parties to the transaction, one of them being the Bank for International Settlements, and interested readers can fill in the blanks themselves.
Comments
I am not sure this is so for international payments, I am quite sure that you do not need to settle via BIS. I think the seven party model may fit if you are talking about settling via CLS Bank - Continuous Linked Settlement Bank (think RTGS for FX exchange - see http://www.cls-group.com/cls_bank/index.cfm), however not all currencies are part of CLS. International settlement is completed generally via corespondant banking relationships, and involves Nostro accounts.
If Alice wants to pay Bob-san for the second hand nunchucks she bought from ebay.co.jp and she banks with AusBank then I think it could flow as follows.
In the case that AusBank does not have a Nostro account in Japan, AusBank would need to send an instruction to Westpac, who provide correspondent banking services to AusBank. Westpac, which has a nostro account in Japan with Muziho, sends an instruction to Muziho to transfer the funds to the bank which is the account holder for the recipient of the payment. If Bob-san banks with Muziho there it ends. If Bob-san banks with Sumitomo, then Westpac may (if my memory serves me right) send a customer credit transfer message to Sumitomo to tell it to expect the payment, and then send a Financial Institution Transfer message to Muziho to transfer the funds from Westpacs Nostro account to Sumitomo.
Its getting late at night so take this whole thing with a pinch, or more, of salt.
Posted by: James | March 8, 2006 09:04 PM
James,
My cunning plan to draw out your SWIFT expertise with my half-informed assumptions has paid off :-)
Just one thing though - in the transaction you describe above, you talk about 'instructions' i.e. messages, but I think that is only half the story.
Assuming AusBank are an ADI with their own ESA, then Westpac must hold (in Westpac's ESA) some of AusBanks funds that AusBank's transactions are settled in and out of. So as well as sending (presumably via SWIFT) the instruction to Westpac to pay funds out of that account to Muziho, there must also be another transaction that moves the money from Ausbank's own ESA to Westpacs ESA - presumably via RITS?.
Posted by: Jonno | March 13, 2006 03:49 PM