BC (SaaS) Webhook for invoice fully paid (closed)

Hi, I'm looking to implement a webhook in Business Central (SaaS) to trigger a notification whenever a vendor invoice is fully paid (closed).  However I've listed the supported webhooks using the /webhookSupportedResources endpoint, and I can't see any that are suitable.  I tried using the "v2.0/vendorPayments" resource, but that just triggers create/update/delete events when a line in a payment journal is changed.  Can anyone recommend a suitable webhook, or is it possible to write a custom one for this purpose?

Many thanks,
Jonathan

Answers

  • txerifftxeriff Member Posts: 514
    Hi,

    You may need to code some event publisher in BC so when an invoice is paid and remaining amount is zero to trigger something. I think that is the easiest way.
Sign In or Register to comment.