All Posts
Testing the HMRC Modules

Testing the HMRC Modules

Lee  ·  April 6, 2026  ·  4 views

The module we want help with first is the VAT module, specifically we're looking for a business or sole trader that is VAT registered, and who is happy to test against real financial data.

I'm not VAT Registered, so it's impossible to test against real comparable financial info. The VAT Module works in theory, I've tested it, it works, and we get the correct success message from HMRC, but that's just using imaginary data.

So Lighthouse comes with a .env.example file, that contains the credentials placeholders, rename this file to .env (remove the .example).

HMRC_REDIRECT_URI=https://api.lighthousefinance.io/hmrc/callback.php
HMRC_BASE_URL=https://test-api.service.hmrc.gov.uk
HMRC_AUTH_URL=https://test-www.tax.service.gov.uk
HMRC_ENVIRONMENT=sandbox

# HMRC Test User
HMRC_TEST_USER_ID=
HMRC_TEST_PASSWORD=
HMRC_TEST_VRN=
HMRC_TEST_EMAIL=
HMRC_TEST_VAT_REG_DATE=
HMRC_TEST_LISA_REF=


Gaining Access

Anyone interested in helping let me know through the community, we can talk about it further, and if you're still happy I'll add you as a collaborator, and provide the HMRC test user credentials, so you can take her for a spin.


2026 Venture Logistics Ltd — Moving the world forward | Lighthouse is Free & Open Source software.