You can do this with the Document API after you get some information about the relevant document from the company’s filing history in the Public Data API
Documentation: https://developer-specs.company-information.service.gov.uk/
The best post on using it and closest you’ll get to a tutorial (thanks VE): Document API Implementation - #5 by voracityemail