Hey guys,
I have a PHP script that raises an invoice in my Kashflow account, which is a web based accounting application. So I have the API all set up and it works. The problem is my script will only raise invoices for existing customers. I need it to be able to add a new customer record if they don't already exist and then raise an invoice accordingly.
I know which functions to use (there is good documentation) but I'm not sure how to craft the code to allow for this extra functionality.
The way I understand it is that I need a wrapper function to query the customer records and create a new one if necessary and then go on to create the invoice.
I need someone to tell me how to do it. Just a good explanation really.
If interested either post here or pm. I will forward to you what I have.
Cheers guys and gals,
Vin
I have a PHP script that raises an invoice in my Kashflow account, which is a web based accounting application. So I have the API all set up and it works. The problem is my script will only raise invoices for existing customers. I need it to be able to add a new customer record if they don't already exist and then raise an invoice accordingly.
I know which functions to use (there is good documentation) but I'm not sure how to craft the code to allow for this extra functionality.
The way I understand it is that I need a wrapper function to query the customer records and create a new one if necessary and then go on to create the invoice.
I need someone to tell me how to do it. Just a good explanation really.
If interested either post here or pm. I will forward to you what I have.
Cheers guys and gals,
Vin
Last edited: