Hi All
I was hoping for any assistance with VBA code which can return VAT registration details from HMRC's website.
If you click on the link https://api.service.hmrc.gov.uk/organisations/vat/check-vat-number/lookup/362012792 then you get a valid response as per the attached. By changing the underlined section in the URL then you can check any UK VAT number
What I want to do be able to do is fire the request from VBA and then return the target name, VAT number and address details in to a spreadsheet. If the VAT number is invalid then you get a 'Not Found' response:
Again, I want to bring this back into the spreadsheet. I will then repeat for numerous VAT number. Final result will look like something below:
Any help with this greatly appreciated!
Thanks in advance
Steve
I was hoping for any assistance with VBA code which can return VAT registration details from HMRC's website.
If you click on the link https://api.service.hmrc.gov.uk/organisations/vat/check-vat-number/lookup/362012792 then you get a valid response as per the attached. By changing the underlined section in the URL then you can check any UK VAT number
What I want to do be able to do is fire the request from VBA and then return the target name, VAT number and address details in to a spreadsheet. If the VAT number is invalid then you get a 'Not Found' response:
Again, I want to bring this back into the spreadsheet. I will then repeat for numerous VAT number. Final result will look like something below:
Any help with this greatly appreciated!
Thanks in advance
Steve