*Workflows › Reference › Actions › Maintenance*

# Create repair ticket

> Creates a draft repair ticket, with one or more lines. It does not send it to the customer. Without a date, it takes today's.

## At a glance

| Property | Value |
| --- | --- |
| Domain | `purchases` |
| Group in the editor | Maintenance › Repair tickets |
| Runs as | The owner of the workflow, with their permissions |
| Permission | Edit access to Purchases. Administrators always pass; a module outside the plan blocks everyone. |
| Add-on | Maintenance |
| Destructive | No: the public MCP catalogue does not mark it as destructive |
| Also available in | REST API, MCP (`filmo_repair_tickets_create`) |

ACTION `purchases.repairTickets.create`

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `lines` | object[] | Yes | **Ticket lines.** Repair lines — at least one required. |
| `lines.description` | string | Yes | Description |
| `lines.diagnosis` | string | No |  |
| `lines.entityType` | enum<string> | No | What is being repaired `item`, `space`, `kit`, `custom` |
| `lines.entityId` | string | No | Item to repair |
| `lines.incidentId` | string | No | Source incident |
| `lines.estimatedCost` | number | No | Estimated internal cost |
| `lines.quantity` | number | No | Units |
| `lines.unitPrice` | number | No | Price to the customer (per unit) |
| `contactId` | string | No | Customer |
| `orderId` | string | No | Source order |
| `date` | string | No | Ticket date |
| `notes` | string | No |  |

## Outputs

| Name | Type | Description |
| --- | --- | --- |
| `repairTicketId` | string |  |
| `number` | string |  |
| `status` | string |  |
| `url` | string |  |

---

Canonical URL: https://docs.filmo.io/workflows/reference/actions/purchases-repairtickets-create  
Last updated: 2026-10-25