# RecurrenceRepetition

Type: object

Schema: [RecurrenceRepetition](https://sourcey-firefly.pages.dev/api/models/recurrencerepetition/index.md)

- `id` (optional)
  Type: string, string
  
  readOnly: true
  
  Example:
  
  ```json
  "2"
  ```

- `created_at` (optional)
  Type: string, date-time
  
  readOnly: true
  
  Example:
  
  ```json
  "2026-10-01T00:00:00+00:00"
  ```

- `updated_at` (optional)
  Type: string, date-time
  
  readOnly: true
  
  Example:
  
  ```json
  "2026-10-01T00:00:00+00:00"
  ```

- `type` (required)
  Reference: [RecurrenceRepetitionType](https://sourcey-firefly.pages.dev/api/models/recurrencerepetitiontype/index.md); Type: string, string
  
  The type of the repetition. ndom means: the n-th weekday of the month, where you can also specify which day of the week.
  
  enum: ["daily","weekly","ndom","monthly","yearly"]
  
  Example:
  
  ```json
  "weekly"
  ```

- `moment` (required)
  Type: string, string
  
  Information that defined the type of repetition.
  - For 'daily', this is empty.
  - For 'weekly', it is day of the week between 1 and 7 (Monday - Sunday).
  - For 'ndom', it is '1,2' or '4,5' or something else, where the first number is the week in the month, and the second number is the day in the week (between 1 and 7). '2,3' means: the 2nd Wednesday of the month
  - For 'monthly' it is the day of the month (1 - 31)
  - For yearly, it is a full date, ie '2026-10-01'. The year you use does not matter.
  
  
  Example:
  
  ```json
  "3"
  ```

- `skip` (optional)
  Type: integer, int32
  
  How many occurrences to skip. 0 means skip nothing. 1 means every other.
  
  Example:
  
  ```json
  0
  ```

- `weekend` (optional)
  Type: integer, int32
  
  How to respond when the recurring transaction falls in the weekend. Possible values:
  1. Do nothing, just create it
  2. Create no transaction.
  3. Skip to the previous Friday.
  4. Skip to the next Monday.
  
  
  Example:
  
  ```json
  1
  ```

- `description` (optional)
  Type: string, string
  
  Auto-generated repetition description.
  
  readOnly: true
  
  Example:
  
  ```json
  "Every week on Friday"
  ```

- `occurrences` (optional)
  Type: array
  
  Array of future dates when the repetition will apply to. Auto generated.
  
  readOnly: true
  
  Items:
    Type: string, date-time
    
    Example:
    
    ```json
    "2026-10-31T23:59:59+00:00"
    ```