API: Create Invoice with existing Stock Items

Question asked by Lisa Porter 3 years ago

Hello,

I am attempting to create an invoice with line items that are existing Stock Items.

I want to be able to say something like 1 x StockItemId as a line item and it would pull the pricing automatically. This is the way it works in the web front end. It's possible to select one of the stock items from a drop-down list.

Looking at the documentation https://www.clearbooks.co.uk/support/api/docs/soap/createinvoice/ it seems that I have to specify the complete item details, like description, price etc... which i don't want to do..

How can i create an invoice with an existing stock item please?

3 Replies

Hi Lisa,

  1. I do not believe we have the option to set Stripe as a payment option via the API.
  2. This is not possible.
  3. This can be achieved via our auto sender under Contacts > Emails > Email settings without the use of the API.

All the best,

Mohamed.

Hi Lisa,

I am afraid that the API does not support the use of the stock feature. My apologies.

All the best,

Mohamed.

Thanks for the reply. That does cause a number of problems with out planned integration :(

I am wondering the API enables me to complete some of the other requirements?

  1. I need to be able to add "Stripe" as a payment option to the invoice when creating it.
  2. Set the invoice email template
  3. Send the invoice by email

are these possible please?

Hi Lisa,

  1. I do not believe we have the option to set Stripe as a payment option via the API.
  2. This is not possible.
  3. This can be achieved via our auto sender under Contacts > Emails > Email settings without the use of the API.

All the best,

Mohamed.

Reply to this question

Attach images by dragging and dropping or upload
 

Your comments will be public and can be answered by anyone in the Clear Books community.

Find out what we do and who we are