Chris Graham Posted January 26, 2022 Share Posted January 26, 2022 Hello, I am suddenly receiving an error when trying to create a n invoice: Quote [{"$severity":"error","$dataCode":"InvalidRequest","$message":"The request contained parameters that are restricted for Start in United Kingdom [invoice_lines:quantity]","$source":""}] Any ideas what I am doing wrong? I am not aware of any breaking changes published in the API. This wasn't happening yesterday and no changes to my integration code have taken place. My JSON looks ok: { "sales_invoice":{ "contact_id":"xxx", "editable":true, "displayed_as":null, "$path":null, "payments_allocations":null, "total_amount":"96", "tax_amount":"16", "net_amount":"80", "status":null, "date":"2022-01-01", "DueDate":null, "currency_id":"GBP", "invoice_lines":[ { "description":"blah", "ledger_account_id":"xx", "unit_price":"120", "net_amount":"120", "tax_rate_id":"GB_STANDARD", "tax_amount":"24", "quantity":"1" }, { "description":"blah", "ledger_account_id":"xx", "unit_price":"-40", "net_amount":"-40", "tax_rate_id":"GB_STANDARD", "tax_amount":"-8", "quantity":"1" } ], "Paid":false } } Thanks in advance Paul Link to comment Share on other sites More sharing options...
Steel, Mark Posted January 27, 2022 Share Posted January 27, 2022 Hi Paul, thank you for your post. We're currently investigating a change that went live on Tuesday evening. I hope to be able to update you later today. Thanks Mark Link to comment Share on other sites More sharing options...
Steel, Mark Posted January 27, 2022 Share Posted January 27, 2022 Hi Paul Do you have the business id or business details of the Start business which returned the error please? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now