Configuration for the projected StatutoryDueDate on tasks created from a recurring task.
Different properties are required based on the Type value:
- None: no statutory date is set.
- SpecificDate: Date (a full date) when Statutory drives the schedule, otherwise FixedMonth + FixedDay
(DD/MM annual; invalid days clamped to end-of-month). - ClientKeyDate: ClientDateSourceType + Timing + OffsetDays (OffsetMonths optional), plus
ClientDateType (KeyDate source) or CustomFieldDefinitionCode (CustomField source). - DayOfMonth: DayOfMonth (1-31; clamped to last day for shorter months).
- Sequence: SequenceSeedDate + Recurrence.Sequence (Statutory advances through the repeating
periods from the seed) - requires TaskDateBasis=StatutoryDate.
Properties
| Name | Type | Description |
|---|---|---|
| type | enum | None SpecificDate ClientKeyDate DayOfMonth Sequence |
None SpecificDate ClientKeyDate DayOfMonth Sequence | ||
| date | string | The first Statutory date of the cycle, year included. Required when Type is SpecificDate and the |
The first Statutory date of the cycle, year included. Required when Type is SpecificDate and the | ||
| fixedMonth | integer | Month (1-12). Required when Type is SpecificDate and Statutory does not drive the schedule; otherwise taken from Date. |
Month (1-12). Required when Type is SpecificDate and Statutory does not drive the schedule; otherwise taken from Date. | ||
| fixedDay | integer | Day of month (1-31). Required when Type is SpecificDate and Statutory does not drive the schedule; otherwise taken from Date. Clamped to last day of month at projection time. |
Day of month (1-31). Required when Type is SpecificDate and Statutory does not drive the schedule; otherwise taken from Date. Clamped to last day of month at projection time. | ||
| dayOfMonth | integer | Nth day of month (1-31). Required when Type is DayOfMonth. Clamped to last day for shorter months. |
Nth day of month (1-31). Required when Type is DayOfMonth. Clamped to last day for shorter months. | ||
| clientDateSourceType | enum | KeyDate CustomField |
KeyDate CustomField | ||
| clientDateType | enum | IncorporationDate YearEnd AccountsNextDue AccountsNextPeriodStart AccountsNextPeriodEnd AccountsLastPeriodFiled AccountsLastPeriodStart AccountsLastPeriodEnd AccountsLastMadeUpTo ConfirmationStatementDue ConfirmationStatementNextMadeUpTo LastConfirmationStatementFiled LastConfirmationStatementMadeUpTo NextVatReturnDueAnnual NextVatPeriodEndQuarterly NextVatReturnDueQuarterly NextVatPeriodEndMonthly NextVatReturnDueMonthly NextTaxQuarterPeriodEnd NextTaxQuarterSubmissionDeadline NextPayeCisFilingDue PensionReEnrolmentDate CharityAnnualReturnDue CharityAccountsDue CharityLastAnnualReturnReceived CharityLastAccountsReceived CharityFinancialYearEnd |
IncorporationDate YearEnd AccountsNextDue AccountsNextPeriodStart AccountsNextPeriodEnd AccountsLastPeriodFiled AccountsLastPeriodStart AccountsLastPeriodEnd AccountsLastMadeUpTo ConfirmationStatementDue ConfirmationStatementNextMadeUpTo LastConfirmationStatementFiled LastConfirmationStatementMadeUpTo NextVatReturnDueAnnual NextVatPeriodEndQuarterly NextVatReturnDueQuarterly NextVatPeriodEndMonthly NextVatReturnDueMonthly NextTaxQuarterPeriodEnd NextTaxQuarterSubmissionDeadline NextPayeCisFilingDue PensionReEnrolmentDate CharityAnnualReturnDue CharityAccountsDue CharityLastAnnualReturnReceived CharityLastAccountsReceived CharityFinancialYearEnd | ||
| customFieldDefinitionCode | string | Custom field code. Required when Type is ClientKeyDate and ClientDateSourceType is CustomField. |
Custom field code. Required when Type is ClientKeyDate and ClientDateSourceType is CustomField. | ||
| customFieldDefinitionLabel | string | Custom field label. Populated in responses only. |
Custom field label. Populated in responses only. | ||
| timing | enum | OnActualDate DaysBefore DaysAfter |
OnActualDate DaysBefore DaysAfter | ||
| offsetDays | integer | Days portion of the offset relative to the client date. Required when Type is ClientKeyDate. |
Days portion of the offset relative to the client date. Required when Type is ClientKeyDate. | ||
| offsetMonths | integer | Months portion of the offset relative to the client date. Optional alongside OffsetDays - e.g. |
Months portion of the offset relative to the client date. Optional alongside OffsetDays - e.g. | ||
| sequenceSeedDate | string | The first Statutory date of the repeating cycle (the sequence seed). Required when Type is |
The first Statutory date of the repeating cycle (the sequence seed). Required when Type is | ||
JSON Example
{
"type": "None",
"date": "2024-01-01T00:00:00Z",
"fixedMonth": 0,
"fixedDay": 0,
"dayOfMonth": 0
}