7 releases (stable)

1.0.5 Feb 11, 2025
1.0.4 Nov 1, 2024
1.0.3 Aug 4, 2024
1.0.2 May 1, 2024
0.1.0 Aug 29, 2022

#72 in Command line utilities

Download history 116/week @ 2024-10-29 15/week @ 2024-11-05 3/week @ 2024-11-19 1/week @ 2024-12-03 17/week @ 2024-12-10 123/week @ 2025-02-11

123 downloads per month

MIT license

25KB
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

~14–31MB
~511K SLoC