It will be Vat Credit for Tamil Nadu Branch and not for Delhi branch
Both states have different Vat Act and different State Govt,so Input of one state cant be used in other state
For Tamil Nadu Branch
Output Vat/CST=0
Input Vat=500
Vat Credit=5000
For Delhi Branch
Input Vat=0
Vat Credit=0