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

#153 in Web programming

Download history 1/week @ 2024-11-13 2/week @ 2024-11-20 3/week @ 2024-12-04 15/week @ 2024-12-11 61/week @ 2025-02-05 67/week @ 2025-02-12 4/week @ 2025-02-19 3/week @ 2025-02-26

135 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

~15–31MB
~518K SLoC