I seem to have run into a situation where I was successfully creating an invoice with a single item but, incorrectly, the invoice had zero value.
The data I sent to FreeAgent basically looked like this:
- invoice_items (array of 1 item)
The invoice and its item were created with all the values I passed in but the invoice’s
net_value were both
0 and its status was
I then tried again but included a
1 in the invoice item data, and the newly created invoice had the right
The docs do not say that the
quantity is required – are they wrong? Or have I misunderstood?
Many thanks in advance,