isValidBusinessTaxId
Overview
This query takes the required input of a business tax id as a string and checks if it is unique to borderless.
Special Considerations
- Business tax id must be unique to borderless.
- Business tax id has no restrictions on character length or format.
Inputs
isValidBusinessTaxIdArgs
Required Data
businessTaxId (required): string
Returns
Promise<SuccessResult>
A promise containing the following data:
message: string
Will be a success message, stating ID is valid.
Example
Running this query:
query {
isValidBusinessTaxId (businessTaxId:"test") {
message
}
}
Gives us:
{
"data": {
"isValidBusinessTaxId": {
"message": "Valid business tax id."
}
}
}
Common Errors
When running this query some of the common errors encountered include:
- This business tax id is already taken. (I-4311)
- The business tax id has already been registered with borderless