#vat #mtd

app mtd-vat-cli

CLI tool to query & submit UK VAT returns

9 stable releases

Uses new Rust 2024

1.0.9 Feb 1, 2026
1.0.8 Nov 4, 2025
1.0.7 Aug 7, 2025
1.0.5 Feb 11, 2025
0.1.0 Aug 29, 2022

#237 in Command line utilities

MIT license

29KB
406 lines

mtd-vat-cli

CLI tool to query & submit UK VAT returns via the VAT (MTD) API.

Serves as manual MTD "bridging" software to submit VAT returns.

mtd-vat [OPTIONS] --vrn <VRN> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET>

Required args:

  • --vrn VAT registration number
  • --client-id or env CLIENT_ID HMRC registered app client id.
  • --client-secret or env CLIENT_SECRET HMRC registered app client secret.

To explain how to answer the VAT return questions see the gov guidance.

Getting a CLIENT_ID

You need to apply for one. See APPLYING.

Minimum supported rust compiler

Maintained with latest stable rust.

Dependencies

~19–41MB
~553K SLoC