I can’t seem to get anything other than a 404 response with an empty body (no error messages) when trying to post a new invoice. See my request below. Is there anything I’m missing?
I’ve located your requests in our log files and, after reading the stack trace, I think I’ve spotted the subtle problem.
The invoice_items parameter needs to be an array of hashes.
Currently, your request is just a single hash, which is confusing our API when it tries to process your request.
Changing your request to the following, should solve your problem: