# after_invoicefullpaid

Invoice has been fully paid

# Hook parameter

An array is passed to hook containing following keys/values:

Key Type Description
id int Invoice ID
status string Current invoice status
client_id int Owner of invoice
date string Invoice generation date
subtotal float Subtotal
credit float Credit applied to invoice
tax float Tax applied to invoice
total float Invoice total
payment_module int ID of gateway used with invoice
currency_id int ID of invoice currency, default =0
notes string Invoice notes
items array Invoice items

The items array contains invoice items that are listed under this key, sample item:

Key Type Description
type string Item type (ie. Hosting, Domain)
item_id int Item id, for type=Hosting this relates to hb_accounts.id field
description string Item line text
amount float Item price
taxed int Is item taxed? 1/0
qty int Item quantitiy

# Sample hook files

Last Updated: 3/17/2023, 8:40:19 AM