Create a Credit Card Account as a liability together with the rest of your accounts.
Post expenses with the Credit Card and the balance value of the Credit Card increases (505).
Post partial Payment of consumed Credit and the balance value of the Credit Card decreases (250).
Post the interests (30) on the rest of the open standing Credit Card balance value.
Post the total payment of consumed credit and the balance value is zeroed.