Skip to main content

Check if legal name and vat are unique

POST 

/name-vat-unique-check

Check if legal name and vat are unique. Here we have excludedId parameter. It represents biz_core.biz_partner.id. The Api will search all ids except excludedID, if excludedID <> 0 it will skip this value. The default value is 0, which means that all IDs will be serached. CompareDate is a parameter when we have date for compare. If the date of briefName before compareDate we will not check this briefName. Default date is "2007-01-01".

Privileges: none

Audit event: biz.partners.put

Validation errors:

  • BIZ_CORE:NAME_MUST_BE_PROVIDED - Name must be provided.
  • BIZ_CORE:NAME_CANNOT_BE_LONGER_THAN_150_CHARACTERS - Name cannot be longer than 150 characters.
  • BIZ_CORE:PARTNER_COMPARE_DATE_IS_NOT_VALID - Compare date is not valid.

Request

Responses

Legal name and vat are unique