Hi,
Some of our customers have auto-direct debit with us, this means we collect all invoices automatically via direct debit, when the invoice is created via a recurring profile quickfile does it automatically and we do not have any issue with this, but when we create single invoices we had to remember which customers were on auto-collection or not.
So we created an app that connected to the API and checked all client invoices and send a request if we were meant to do it.
This caused issues because of the number of API calls we were doing so we changed our approach to use Webhooks instead and that’s were we found some issues.
-
As there is no webhook for “InvoiceStatusChanged”, we do this when the invoice is created, but the direct debit request is sent when the invoice is still a draft, and if we are building an invoice and saving it (e.g. Create an invoice, add item 1 save, add item 2 save), it do the direct debit collection with the value of the item 1.
-
If we copy an invoice from a customer that is meant to be used for a different client, the direct debit collection is done for the client where the invoice was copied from.
Do you currently have a workaround this or can we have a new hook done for “InvoiceStatusChanged”?
Regards,