HMRC Settings
The tenant's HMRC gateway settings for CIS submissions (contractor module only): sender, references, test flags and agent details, or a reference to one of the owner's shared credentials. Passwords are never returned; a PUT without one keeps the stored one. A test sends a dummy verification through the gateway.
-
GET Get HMRC SettingsThe tenant's HMRC gateway settings: sender, references and flags. hasPassword says whether a password is stored (it is never returned); with useShared.../tenants/{tenant}/settings/hmrc
-
PUT Update HMRC SettingsReplaces the tenant's HMRC settings. A null password keeps the stored one; with useSharedCredentials the tenant's own sender id, password and agent ar.../tenants/{tenant}/settings/hmrc
-
POST Test HMRC SettingsSends a dummy subcontractor verification through the gateway with the stored settings and reports whether HMRC accepted the credentials. Slow: it wait.../tenants/{tenant}/settings/hmrc/test