Skip to content

Document template · generic.operations.work_order

Work Order

  • Render-verified
  • Informational
  • Version 1.0.0

Field-service or maintenance work order authorising a technician to perform a scheduled or corrective intervention at a customer site or internal asset. Structure aligned with EN 13306 maintenance terminology and common field-service management practice.

JSON Schema

Fields in this template

Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 28 fields:

Field Required Type Description
work_order_number Required string
issued_on Required date
issued_by Required object
issued_by.name Required string
issued_by.role Required string
issued_by.entity Optional string
assigned_to Required object
assigned_to.name Required string
assigned_to.role Required string
assigned_to.contact Optional string
customer_or_site Required object
customer_or_site.name Required string
customer_or_site.address Required string
customer_or_site.contact Optional string
equipment Optional object
equipment.id Optional string
equipment.description Optional string
equipment.serial Optional string
priority Required enum
requested_completion Required date
work_description Required string
tasks Required array
parts_used Optional array
labour Required object
totals Optional object
status Required enum
completion_date Optional date
signoff Optional object

POST /render

Generate it

One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.

curl
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "generic.operations.work_order",
    "data": { ... },
    "options": {"language": "en"}
  }' -o work-order.pdf

Frequently asked questions

What is “Work Order”?

Field-service or maintenance work order authorising a technician to perform a scheduled or corrective intervention at a customer site or internal asset. Structure aligned with EN 13306 maintenance terminology and common field-service management practice. On papii this document is available as template generic.operations.work_order: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Work Order with AI?

Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.

Is the Work Order template legally compliant?

This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.