How does SWIFT code work? I need a good answer. See this commercial bank swift code. The code is CCEYLKLX, but how can I enter for Kandy branch, and the kandy branch bank code is 7056 & branch code is 4. Likewise, see sampath bank swift code, hnb swift code, boc swift code, people's bank swift code. I understand branch bank code (eg: commercial bank kandy 7056) is not necessary, but branch code 4 is necessary. Therefore, I can say commercial bank kandy SWIFT code is CCEYLKLX4. Is this right? What is 4 digit bank code (eg: 7056)? Please someone give me good answer.