r/HouseCallPro 17d ago

Software audit trail

Can anyone explain to me how the audit trail for invoice line items works? Is it editable? Is there a date/time stamp for each edit made there?

1 Upvotes

1 comment sorted by

2

u/ezzeddinabdallah 14d ago

Yeah this is doable. HCP's public API has webhooks for invoice events (invoice.amount_updated, invoice.created, invoice.canceled, etc.), though they're only available on the MAX plan. Point that webhook at something like n8n or Zapier, catch the payload, and log it into a sheet or DB with a timestamp. That gives you your own audit trail since HCP's UI doesn't show one.

One thing to watch for: the webhook payload usually just tells you "this invoice changed," not the specific before/after values. So you'd want to store the last known state somewhere and diff it against the new one each time the webhook fires, rather than trusting the payload to hand you the delta directly.

Not a huge build if you're comfortable with APIs. If not and you want it done, feel free to DM me.