Hi Guys, can you help us with the following API issue please?
Hi Guys, can you help us with the following API issue please?
Hi Guys, can you help us with the following API issue please?
Hi, Sure, I’ll pass this over to our tech team.
Louise will come back to you asap. Louise wrote the API so she’ll have an answer for you.
Thanks
Pete
I've created two invoices using https://accounts-app.bullethq.com/invoices/add.page.
Using different choices for "Prices include VAT:"
https://accounts-app.bullethq.com/invoices/view.page?id=452632
https://accounts-app.bullethq.com/invoices/view.page?id=452633
I received following data using bullethq api.
[28] => Array
(
[outstandingAmount] => 9.99
[id] => 452632
[invoiceNumber] => q111
[currency] => EUR
[dueDate] => 2015-11-07
[issueDate] => 2015-10-08
[draft] => 1
[clientName] => testerq
[clientId] => 167801
[poNumber] =>
[invoiceLines] => Array
(
[0] => Array
(
[id] => 492185
[quantity] => 1
[rate] => 9.99
[vatRate] => 0.23
[description] => testq.com
[item] => Domain
)
)
)
[29] => Array
(
[outstandingAmount] => 12.29
[id] => 452633
[invoiceNumber] => q112
[currency] => EUR
[dueDate] => 2015-11-07
[issueDate] => 2015-10-08
[draft] => 1
[clientName] => testerp
[clientId] => 167802
[poNumber] =>
[invoiceLines] => Array
(
[0] => Array
(
[id] => 492186
[quantity] => 1
[rate] => 9.99
[vatRate] => 0.23
[description] => testp.com
[item] => Domain
)
)
)
In json output;
both items have rate=>9.99, vatRate=>0.23 but there is nothing that indicates "Prices include VAT".
Also, API documentation does not say anything about what parameter to use to set Prices include VAT. It treats it as "Prices include VAT => NO" when i create an invoice using api at the moment.