Skip to content

alexheretic/mtd-vat-cli

Repository files navigation

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.