I have been struggling for some time whether there is a way to validate if given tax number is a correct one. I have a form where customers enter their invoice data, but we create the invoice in the system when the payment arrives on our bank account.
That means if the vat id is wrong, Xero will return an error when create an invoice. I would like to validate the tax number on invoice data form, instead.
I have checked the API documentation, but I couldn't find anything there. Am I missing something?