This is in production.On Friday, July 4, 2014 6:36:37 PM UTC+4, Jonathan Barrett wrote:
Hi Peter,
Can you give me an example of an invoice item ID that you’re trying to
destroy, and confirm whether you’re seeing this on the sandbox or in
production, please?
Thanks
-J
On Friday, 4 July 2014 15:08:12 UTC+1, pe...@golov.me wrote:
Hi,
I am having the same problem.
According to the API documentation ( FreeAgent Developer Dashboard), it should
delete the invoice item as you have described.
id The id of the invoice_item you would like to delete.
_destroy Should be equal to 1.
{“id”:“2945”,“_destroy”:“1”}
This does not seem to be working.
Thanks
On Tuesday, May 14, 2013 6:42:03 PM UTC+4, hardik patel wrote:
Thanks Donal
Its working fine.
On Wednesday, May 8, 2013 8:33:23 PM UTC+5:30, Donal McBreen wrote:
Hi Hardik,
You can delete an invoice item by sending a DELETE request to its url.
Thanks for that. I’m not seeing any queries to that ID: can you post the
JSON you’re submitting, along with confirming the endpoint you’re
submitting to (obviously obscuring any sensitive details!).
What I am seeing in the invoice is that the invoice item’s quantity
switches from ‘Product’ to 1. It stays in the invoice and it’s price is
added up to the total.
Thanks
PeterOn Friday, July 4, 2014 9:43:03 PM UTC+4, Jonathan Barrett wrote:
Hi Peter,
Thanks for that. I’m not seeing any queries to that ID: can you post the
JSON you’re submitting, along with confirming the endpoint you’re
submitting to (obviously obscuring any sensitive details!).
Can you give me an example of an invoice item ID that you’re trying to
destroy, and confirm whether you’re seeing this on the sandbox or in
production, please?
Thanks
-JOn Friday, 4 July 2014 15:08:12 UTC+1, pe...@golov.me wrote:
Hi,
I am having the same problem.
According to the API documentation ( FreeAgent Developer Dashboard), it should
delete the invoice item as you have described.
id The id of the invoice_item you would like to delete.
_destroy Should be equal to 1.
{“id”:“2945”,“_destroy”:“1”}
This does not seem to be working.
Thanks
On Tuesday, May 14, 2013 6:42:03 PM UTC+4, hardik patel wrote:
Thanks Donal
Its working fine.
On Wednesday, May 8, 2013 8:33:23 PM UTC+5:30, Donal McBreen wrote:
Hi Hardik,
You can delete an invoice item by sending a DELETE request to its url.
Thanks Jonathan. Will you keep this thread updated?On Tuesday, July 8, 2014 1:15:16 PM UTC+4, Jonathan Barrett wrote:
Hi Hardik,
Looks very much like you’ve uncovered a bug here. You should be able to
work around this just now by issuing a DELETE request directly to the
invoice item’s URL (as suggested by Donal above), but I’ll file this bug
and get it fixed up as soon as possible.
Thanks again,
-J
On Mon, Jul 7, 2014 at 1:59 PM, <pe...@golov.me <javascript:>> wrote:
What I am seeing in the invoice is that the invoice item’s quantity
switches from ‘Product’ to 1. It stays in the invoice and it’s price is
added up to the total.
Thanks
Peter
On Friday, July 4, 2014 9:43:03 PM UTC+4, Jonathan Barrett wrote:
Hi Peter,
Thanks for that. I’m not seeing any queries to that ID: can you post the
JSON you’re submitting, along with confirming the endpoint you’re
submitting to (obviously obscuring any sensitive details!).
Looks very much like you’ve uncovered a bug here. You should be able to
work around this just now by issuing a DELETE request directly to the
invoice item’s URL (as suggested by Donal above), but I’ll file this bug
and get it fixed up as soon as possible.
What I am seeing in the invoice is that the invoice item’s quantity
switches from ‘Product’ to 1. It stays in the invoice and it’s price is
added up to the total.
Thanks
Peter
On Friday, July 4, 2014 9:43:03 PM UTC+4, Jonathan Barrett wrote:
Hi Peter,
Thanks for that. I’m not seeing any queries to that ID: can you post the
JSON you’re submitting, along with confirming the endpoint you’re
submitting to (obviously obscuring any sensitive details!).