isValidPersonalTaxId
Overview
This query takes the required input of personal tax id as a string and checks if it is unique to borderless.
Special Considerations
- Personal tax id must be unique to borderless
- Personal tax id has no restrictions on character format or length
Inputs
isValidPersonalTaxIdArgs
Required Data
personalTaxId: string
Returns
Promise<SuccessResult>
A promise containing the following object / data:
message: string
Example
Running this query:
query {
isValidPersonalTaxId (personalTaxId:"test") {
message
}
}
Gives us:
{
"data": {
"isValidPersonalTaxId": {
"message": "Valid personal tax id."
}
}
}
Common Errors
When running this query some of the common errors encountered include:
- This personal tax id is already taken. (I-4312)
- The personal tax id has already been registered with borderless