REST API Exception While Patching Tax Registration Number
Did anyone encountered below error while updating Tax Registration Number using REST API in Fusion ?
REST API
---------------------
fscmRestApi/resources/11.13.18.05/taxRegistrations/<<Tax Registration Id>>
Payload
---------------
{
"RegistrationStatusCode" : "REGISTERED",
"RegistrationNumber" : "XXXXXXXXXX"
}
Error Received
---------------
Attribute set for RegistrationNumber in entity PartyTaxProfileAM.TaxRegistration1 failed
The tax registration number doesn't conform with the country algorithm. Enter a valid tax registration number
Supplier is having same Resgitration Number assigned, behavior in intermittent/
For some supplier updating same registration number completed in success and for some throwing above exception.
Any pointer on used validation will be greatly appreciated.
regards
Sandeep