Invoice Ninja v5 is a great application and I’d like to thank you all for the investment of your time and effort to bring this to the world!!
Having got v5 set up and working as expected, I’m taking it to the next level and trying to add a Zapier integration to enable an automated payment once a relevant transaction hits my bank account. My bank is a Zapier partner, and so far that side of the integration works fine.
When I try to connect to my self-hosted Invoice Ninja v5 installation, I’m getting an error as follows:
I’ve searched fairly extensively on this issue, and the only thing I think is that the current Zapier integration is setup for v4, and the X-Ninja-Token token type rather than the v5 X-Api-Token type.
Can anyone provide any insight as to what might be happening here, and how I can maybe get it to work?
Hi @hillel, this worked great, thanks. However I now have a different problem:
when using the Find Invoice Search action, the component is retrieving the first invoice in the invoices table, irrespective of which value I put in the Invoice Number search field. I’m not sure if I’m misunderstanding how to use this, or if there is an underlying issue in the component.
In this attempt, I’m using the text “ThisIsNotAnInvoiceNumber” as the search value to test with:
As you can see from the data retrieved, the Invoice Number is “IN2021:TES_Deleted”, which is the first row (of 3) in the invoices table. It does not seem to matter whether I send a correct Invoice Number or random text as the search criteria, I always get the first row back.
Are you able to post the info from data in/out in the Zapier logs, it’d be helpful to see the API request to determine if it’s a problem with Zapier or the app.