# Create one or more jobs from job templates

**Create jobs from job templates**
Creates one or more jobs for a client from job templates. Up to 100 templates
may be provided in a single request. Each entry in `jobTemplates` can override
field-level defaults defined on the template.
**Required fields:**
- `clientId` — the client for whom the jobs are being created
- `jobTemplates` — list of job templates to instantiate (1–100 entries)
  - `jobTemplateId` — the template to create a job from

**Optional per-template overrides** (each overrides the template default if provided):
- `startDate` — job start date
- `name` — job name
- `serviceDescription` — service description
- `estimationHours` — estimated hours
- `feeAmount` — fee amount
- `requiredPrepayment` — required prepayment amount
- `includeWipType` — WIP billing behavior (`INCLUDE_WIP`, `INCLUDE_WIP_IF_FINAL`, `DO_NOT_INCLUDE`)

**Real Example:**

```bash
curl --location 'https://{{host}}/api/v1/projects/create_from_template' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
  "clientId": 420,
  "jobTemplates": [
    {
      "jobTemplateId": 7,
      "startDate": "2025-01-01",
      "name": "Tax Return 2024"
    }
  ]
}'
```

Endpoint: POST /api/v1/projects/create_from_template
Version: 1.0.0
Security: BearerAuth

## Request fields (application/json):

  - `clientId` (integer, required)
    Unique identifier of the client for whom jobs are being created
    Example: 420

  - `jobTemplates` (array, required)
    List of job templates to instantiate (1–100 entries)

  - `jobTemplates.jobTemplateId` (integer, required)
    Unique identifier of the job template to use
    Example: 7

  - `jobTemplates.startDate` (string)
    Job start date (YYYY-MM-DD); overrides the template default
    Example: 2025-01-01

  - `jobTemplates.name` (string)
    Job name; overrides the template default
    Example: Tax Return 2024

  - `jobTemplates.serviceDescription` (string)
    Service description; overrides the template default
    Example: Annual federal and state tax preparation

  - `jobTemplates.estimationHours` (number)
    Estimated hours for the job; overrides the template default
    Example: 8.5

  - `jobTemplates.feeAmount` (number)
    Fee amount for the job; overrides the template default
    Example: 1500

  - `jobTemplates.requiredPrepayment` (number)
    Required prepayment amount; overrides the template default
    Example: 500

  - `jobTemplates.includeWipType` (string)
    WIP billing behavior; overrides the template default
    Enum: "INCLUDE_WIP", "INCLUDE_WIP_IF_FINAL", "DO_NOT_INCLUDE"

