Add credit type to account
Similar to #6601 (closed) but for credit. This is needed because the account domain are always based on the type of the account. So we can have cases for example where normally debited account like receivable must change of type when it has a credit balance for a type that is not receivable but payable.