chalk it up
(slang) put it to (something's) credit.