StatutoryDateConfigDto
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 set; the column stays null.
- SpecificDate: FixedMonth + FixedDay (DD/MM annual; invalid days clamped to end-of-month)
- ClientKeyDate: ClientDateSourceType + Timing + Offset (days), plus ClientDateType (KeyDate) or CustomFieldDefinitionCode (CustomField)
- RelativeToStart: IntervalValue + IntervalUnit added to the projected start date
Properties
| Name | Type | Description |
|---|---|---|
| type | enum | None RelativeToStart SpecificDate ClientKeyDate |
None RelativeToStart SpecificDate ClientKeyDate | ||
| intervalValue | integer | Interval value (e.g. 2 in "2 weeks after start"). Required when Type is RelativeToStart. |
Interval value (e.g. 2 in "2 weeks after start"). Required when Type is RelativeToStart. | ||
| intervalUnit | enum | Day Week Month Year |
Day Week Month Year | ||
| fixedMonth | integer | Month (1-12). Required when Type is SpecificDate. |
Month (1-12). Required when Type is SpecificDate. | ||
| fixedDay | integer | Day of month (1-31). Required when Type is SpecificDate. Clamped to last day of month at projection time. |
Day of month (1-31). Required when Type is SpecificDate. Clamped to last day of month at projection time. | ||
| clientDateSourceType | enum | KeyDate CustomField |
KeyDate CustomField | ||
| clientDateType | enum | IncorporationDate YearEnd AccountsNextDue AccountsNextPeriodStart AccountsNextPeriodEnd AccountsLastPeriodFiled AccountsLastPeriodStart AccountsLastPeriodEnd AccountsLastMadeUpTo ConfirmationStatementDue ConfirmationStatementNextMadeUpTo LastConfirmationStatementFiled LastConfirmationStatementMadeUpTo NextVatReturnDue NextPayeCisFilingDue PensionReEnrolmentDate |
IncorporationDate YearEnd AccountsNextDue AccountsNextPeriodStart AccountsNextPeriodEnd AccountsLastPeriodFiled AccountsLastPeriodStart AccountsLastPeriodEnd AccountsLastMadeUpTo ConfirmationStatementDue ConfirmationStatementNextMadeUpTo LastConfirmationStatementFiled LastConfirmationStatementMadeUpTo NextVatReturnDue NextPayeCisFilingDue PensionReEnrolmentDate | ||
| 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 | ||
| offset | integer | Number of days before or after the client date. Required when Type is ClientKeyDate. |
Number of days before or after the client date. Required when Type is ClientKeyDate. | ||
JSON Example
{
"type": "None",
"intervalValue": 0,
"intervalUnit": "Day",
"fixedMonth": 0,
"fixedDay": 0
}