# after_clientaddcredit
After client credit increase
# Hook parameter
An array
is passed to hook containing following keys/values:
Key | Type | Description |
---|---|---|
client_id | int | Related client ID |
old_credit | float | Previous credit value |
new_credit | float | New credit value |
invoice_id | int | Related invoice ID |
total | float | Credit change amount |