Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

UpdateHmrcAgentCredentialRequest

Replaces a credential set's fields. The password follows the null/empty/value rule.

Properties

Name Type Description
name*string

What the practice calls this set. Unique within the practice.

What the practice calls this set. Unique within the practice.

agentReferenceNumberstring

Agent Reference Number (ARN) from the Agent Services Account.

Agent Reference Number (ARN) from the Agent Services Account.

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.

First name of the agent contact.

contactLastNamestring

Last name of the agent contact.

Last name of the agent contact.

contactEmailstring

Email of the agent contact.

Email of the agent contact.

govGatewayUserIdstring

Government Gateway user ID.

Government Gateway user ID.

govGatewayPasswordstring

Government Gateway password (write-only). Set to update, empty string to clear, null to leave unchanged.

Government Gateway password (write-only). Set to update, empty string to clear, null to leave unchanged.

useTestGatewayboolean

CIS Manager files this set's returns with HMRC's test gateway, not the live one.

CIS Manager files this set's returns with HMRC's test gateway, not the live one.

testInLiveboolean

CIS Manager flags this set's live returns as tests. Ignored (stored false) with the test gateway.

CIS Manager flags this set's live returns as tests. Ignored (stored false) with the test gateway.

JSON Example

{
  "name": "string",
  "agentReferenceNumber": "string",
  "saAgentCode": "string",
  "payeAgentCode": "string",
  "ctAgentCode": "string"
}

Used By Operations