Jump to content

Invalid request while creating purchase invoice


 Share

Recommended Posts

The request contained parameters that are restricted for Accounting in United Kingdom [tax_address_region_id,tax_analysis,invoice_lines:is_purchase_for_resale,invoice_lines:gst_amount,invoice_lines:pst_amount,invoice_lines:tax_recoverable,base_currency_total_itc_amount,total_itc_amount,base_currency_total_itr_amount,total_itr_amount,part_recoverable]
Link to comment
Share on other sites

Hi @Ashiq Fardus,

Thank you for your question.

Those params are not suitable for a UK Business. GST and PST are attributes associated with Canada and is_purchase_for_resale is associated with purchase_invoices for the Republic of Ireland. 

I would recommend creating a purchase_invoice in your trial business(https://developer.sage.com/accounting/quick-start/set-up-the-basics/) and then using a GET request to purchase_invoices look at the params in the response to understand what you need to pass. 

Failing that, please provide the body params you are using along with the business id of the trial account you are testing with.

Thanks

Mark 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...