Jump to content

Recommended Posts

Posted

HI,

One of my customers is unable to post a particular sales credit note through the api (having posted many before). They're getting a 422 response code and this error:

[{"$severity":"error","$dataCode":"RecordInvalid","$message":"This field is required.","$source":"main_address"}]
 

Has anyone seen this before? I've not had to supply the main_address field before, so I can't understand why this has come up.

Cheers

Reg

Posted

Hi Reg,

Thanks for your question.

If this is a UK business, the main_address will be required if the contact does not have an address set and the business is registered for UK VAT.

Thanks

Mark

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...