Every human being's good & bad deeds are accounted in the heaven.This is done by the God of Death Yama.He found the work load increasing due to the growing population.One day ,ashta dighbalar( in charge of eight directions)went to Mount Kailas to see Lord Siva.God Siva observed that all of them happy except Yama.Then God Siva asked Yama why he was in a sad mood.He complained to Him that he was unable to handle the accounting work of human beings & wanted to be assisted by someone who should be reliable & keep the records secretly with out disclosing to any one.God Siva agreed to this & told him soon he will be provided a suitable assistant.He immediately asked God Brahma the creator to do the needful to Yama.Brahma after certain thinking felt that only Surya Deva could provide such a clever person to assist Yama.He created rainbow before Sun & It became a beautiful lady &They got married.Soon a son was born to them with an everlasting accounting leaf (book) & a special pen in the Tamil month of Chithirai ,in the star of Chithirai & on a full moon day(சித்திரா பௌர்ணமி) . Photos given below were from www.kanchipuramchitragupta.com As he was born in in the star of Chitirai he is called Chitra putran. Gupta means one who keeps the secrets , So he is called Chitra Guptan.Surya made his younger son read all veda sastras thoroughly.After learning vedas to test his power gained from vedas,he started creating living beings.This came to the knowledge of God Brahma who in turn brought it to the notice of Surya Deva.Then Surya advised his son to stop creating work.He got him married & sent to his elder son Yama Dharma to assist him.Yama Dharma gave his younger brother recording of human' s good deeds & sins ,out of which Yama Dharma would act. It is also said that he is born from a cow.On Chitra Pournami day it is said that he is visiting every human being' s house in the earth.So on that day people observe vradha & worship him.He is offered a cooling juice like liquid called " panagam" in Tamil. He is also offered tender co co nut, a palm leaf fan (விசிறி), mango,pulses,rice pongal,(உப்பு சேர்க்காத பொங்கல்).He is the Devata for planet Kedhu.worshiping Chitra Gupta would ward of kedhu dhosha in one's horoscope.Worsshiping Vinayaka also ward of this dosha.Chitra Gupta got this post after doing penance towards Lord Siva & got this boon.