#cli-tool #vat #submit #uk #query #client-secret #mtd

app mtd-vat-cli

CLI tool to query & submit UK VAT returns

4 releases (stable)

1.0.2 May 1, 2024
1.0.1 Feb 4, 2024
1.0.0 Nov 11, 2022
0.1.0 Aug 29, 2022

#166 in Command line utilities

Download history 19/week @ 2024-02-14 19/week @ 2024-02-21 18/week @ 2024-02-28 18/week @ 2024-03-27 35/week @ 2024-04-03 144/week @ 2024-05-01

144 downloads per month

MIT license

23KB
407 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

~13–31MB
~476K SLoC