HmrcAgentCredentialDto

One set of HMRC agent details: a Government Gateway login with the ARN, agent codes and agent
contact that go with it. The password is never returned.

Properties

Name Type Description
codestring
namestring

What the practice calls this set.

What the practice calls this set.

isDefaultboolean

The set MTD uses for the ARN, and that letter-based requests use when no set is chosen.

The set MTD uses for the ARN, and that letter-based requests use when no set is chosen.

agentReferenceNumberstring

Agent Reference Number (ARN) from the Agent Services Account. Used for MTD digital authorisations.

Agent Reference Number (ARN) from the Agent Services Account. Used for MTD digital authorisations.

saAgentCodestring

Self Assessment agent code (e.g. A12345).

Self Assessment agent code (e.g. A12345).

payeAgentCodestring

PAYE/CIS agent code (e.g. 123/A12345).

PAYE/CIS agent code (e.g. 123/A12345).

ctAgentCodestring

Corporation Tax agent code.

Corporation Tax agent code.

contactFirstNamestring

First name of the agent contact. Included in HMRC XML submissions.

First name of the agent contact. Included in HMRC XML submissions.

contactLastNamestring

Last name of the agent contact. Included in HMRC XML submissions.

Last name of the agent contact. Included in HMRC XML submissions.

contactEmailstring

Email of the agent contact. Included in HMRC XML submissions.

Email of the agent contact. Included in HMRC XML submissions.

govGatewayUserIdstring

Government Gateway user ID for HMRC XML API submissions.

Government Gateway user ID for HMRC XML API submissions.

govGatewayPasswordSetboolean

Whether a Government Gateway password is stored.

Whether a Government Gateway password is stored.

JSON Example

{
  "code": "string",
  "name": "string",
  "isDefault": false,
  "agentReferenceNumber": "string",
  "saAgentCode": "string"
}

Used By Operations

Contained in Schemas