Jump to content

Error - Invoice Address is required.


 Share

Recommended Posts

This has recently started happening but the sync of invoices is getting a 422 error stating "Invoice Address is required.".

These invoices are linked to an existing customer in the address book and this error is now getting thrown up.  Looking at the API, the only address field I can see is "main_address_free_form" or "main_address".  Do these now need to be set or is it another field?

Link to comment
Share on other sites

Hi Justin,

A lot will depend on which region the business is in, the tax scheme of the business and the tax scheme and location of the customer the sales_invoice is created for.

Looking at the logs for your app we can see over 1k 422 error responses for sales_invoices POST requests made for an Irish Business over the last 7 days. What we can't ascertain from the logs are the body params you're passing.

Can you provide us with the body params passed. If you don't wish to post them publicly you can send them to [email protected] and reference this forum post  https://developer-community.sage.com/topic/1525-error-invoice-address-is-required/


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...