SendHmrcAuthorisationRequestDto
Request to send HMRC agent authorisation requests for multiple types at once.
Supports both digital (MTD) and letter-based (SA, CT, PAYE/CIS) flows transparently.
Properties
| Name | Type | Description |
|---|---|---|
| authorisationTypes* | array of enum | The auth types to request (must have an [HmrcDigitalAuth] attribute) |
The auth types to request (must have an [HmrcDigitalAuth] attribute) | ||
| clientId | string | The HMRC client identifier (NINO for MTD-IT, VRN for MTD-VAT). |
The HMRC client identifier (NINO for MTD-IT, VRN for MTD-VAT). | ||
| knownFact | string | The known fact for verification (postcode for MTD-IT, VAT reg date for MTD-VAT). |
The known fact for verification (postcode for MTD-IT, VAT reg date for MTD-VAT). | ||
| recipientEmails | array of string | Email addresses to send the authorisation links to. Not required if SuppressEmail is true. |
Email addresses to send the authorisation links to. Not required if SuppressEmail is true. | ||
| postcode | string | The client's postcode. Used for SA and CT letter-based requests (required by HMRC schema). |
The client's postcode. Used for SA and CT letter-based requests (required by HMRC schema). | ||
| nino | string | National Insurance number. Used for SA letter-based requests (optional). |
National Insurance number. Used for SA letter-based requests (optional). | ||
| accountsOfficeRef | string | Accounts Office Reference. Used for PAYE and CIS letter-based requests. |
Accounts Office Reference. Used for PAYE and CIS letter-based requests. | ||
| companyRegNumber | string | Companies House registration number. Used for CT letter-based requests. |
Companies House registration number. Used for CT letter-based requests. | ||
| yourReference | string | Your internal reference for this client. Used in all letter-based requests. |
Your internal reference for this client. Used in all letter-based requests. | ||
| suppressEmail | boolean | If true, create the invitations with HMRC but do not send the email to the client. |
If true, create the invitations with HMRC but do not send the email to the client. | ||
| authCodeEntryDelayDays | integer | For letter-based requests: how many days after this request to email the client the link they |
For letter-based requests: how many days after this request to email the client the link they | ||
JSON Example
{
"authorisationTypes": [
"SelfAssessment"
],
"clientId": "string",
"knownFact": "string",
"recipientEmails": [
"string"
],
"postcode": "string"
}