Patrick Schubert Posted February 2 Share Posted February 2 (edited) So I am having huge issues with the creation of sales invoices. It seems to me, that especially the fields 'invoice_number_prefix' and 'invoice_number' are highly problematic. It is nowhere documented, how these 2 values should look like and I wasted hours playing around with these 2 values, until the API would eventually accept my requests. But now I am still running into 422 errors all the time, which is highly frustrating for our customers! This is a huge issue for us and I have no way to debug this due to the very poor error reporting of the sage API. I attached 2 different JSON bodies I sent to the endpoint - one worked, one didn't ... and I don't understand why at all! Can someone help? What is going on with the 2 attributes I talked about? What are the limitations on these? How can I finally solve this weird issue? Thank you, best, Patrick ---- Worked: Error: Edited February 2 by Patrick Schubert Link to comment Share on other sites More sharing options...
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now