A work order for field service and maintenance teams. It shows the customer, the job site, the technician and the reported problem, then a table of tasks where every task lists its own parts, with the parts and the labor calculated, the totals, the technician’s notes and the customer sign-off, plus an urgent stamp when needed. Download the Word file to match your trades, then generate a work order for every job.
Upload the order template, then send the structured data to get the finished document. Replace YOUR_API_KEY with your unique key and YOUR_TEMPLATE_ID with the ID of your template.
Send an array of JSON objects and get one document for each object, returned in a ZIP archive. Use the output_name parameter to customize each filename with the merge tags from your template.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"order_number": "WO-10418",
"company": {
"name": "Summit Mechanical Services",
"license": "HV-558214",
"phone": "(303) 555-0136",
"email": "service@summitmechanical.com"
},
"customer": {
"name": "Karen Whitfield",
"phone": "(303) 555-0117"
},
"job": {
"site": "1420 Aspen Court",
"city": "Boulder, CO 80304",
"date": "2027-03-02",
"window": "8 AM to 12 PM",
"equipment": "Carrier 59TP6 furnace",
"serial": "F-4410872",
"type": "Furnace repair",
"priority": "High"
},
"technician": {
"name": "Carlos Mendez",
"badge": "T-114"
},
"urgent": true,
"problem": "No heat since the night before. The furnace starts and shuts off after a few seconds.",
"tasks": [
{
"description": "Diagnose the shutdown",
"hours": 1,
"rate": 95,
"parts": [
{
"name": "Flame sensor",
"qty": 1,
"cost": 38
},
{
"name": "Gasket kit",
"qty": 1,
"cost": 12.5
}
]
},
{
"description": "Replace the draft inducer motor",
"hours": 2.5,
"rate": 95,
"parts": [
{
"name": "Inducer motor",
"qty": 1,
"cost": 214
},
{
"name": "Mounting bolts",
"qty": 4,
"cost": 1.2
}
]
},
{
"description": "Test and calibrate",
"hours": 1,
"rate": 95,
"parts": [
{
"name": "Thermostat battery set",
"qty": 1,
"cost": 9.5
},
{
"name": "Duct sealant",
"qty": 1,
"cost": 14
}
]
}
],
"rate": 95,
"labor_hours": 4.5,
"labor_total": 427.5,
"parts_total": 292.8,
"tax_rate": 0,
"tax": 0,
"total": 720.3,
"notes": "Cleaned the burner assembly and replaced the flame sensor. The inducer motor was drawing too much current. System now runs through three full cycles. Recommend an annual tune-up."
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Work Order [order_number]",
"data": [
{ "order_number": "WO-10418", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Karen Whitfield","phone":"(303) 555-0117"}, "job": {"site":"1420 Aspen Court","city":"Boulder, CO 80304","date":"2027-03-02","window":"8 AM to 12 PM","equipment":"Carrier 59TP6 furnace","serial":"F-4410872","type":"Furnace repair","priority":"High"}, "technician": {"name":"Carlos Mendez","badge":"T-114"}, "urgent": true, "problem": "No heat since the night before. The furnace starts and shuts off after a few seconds.", "tasks": [{"description":"Diagnose the shutdown","hours":1,"rate":95,"parts":[{"name":"Flame sensor","qty":1,"cost":38},{"name":"Gasket kit","qty":1,"cost":12.5}]},{"description":"Replace the draft inducer motor","hours":2.5,"rate":95,"parts":[{"name":"Inducer motor","qty":1,"cost":214},{"name":"Mounting bolts","qty":4,"cost":1.2}]},{"description":"Test and calibrate","hours":1,"rate":95,"parts":[{"name":"Thermostat battery set","qty":1,"cost":9.5},{"name":"Duct sealant","qty":1,"cost":14}]}], "rate": 95, "labor_hours": 4.5, "labor_total": 427.5, "parts_total": 292.8, "tax_rate": 0, "tax": 0, "total": 720.3, "notes": "Cleaned the burner assembly and replaced the flame sensor. The inducer motor was drawing too much current. System now runs through three full cycles. Recommend an annual tune-up." },
{ "order_number": "WO-10423", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Mohamed Rahman","phone":"(720) 555-0143"}, "job": {"site":"88 Larkspur Lane","city":"Denver, CO 80206","date":"2027-03-04","window":"12 PM to 4 PM","equipment":"50 gal gas water heater","serial":"WH-2209118","type":"Water heater replacement","priority":"Normal"}, "technician": {"name":"Jamie Fischer","badge":"T-127"}, "urgent": false, "problem": "The water heater is leaking from the bottom and the pilot keeps going out.", "tasks": [{"description":"Drain and remove the old unit","hours":1.5,"rate":88,"parts":[{"name":"Disposal fee","qty":1,"cost":35},{"name":"Pipe tape","qty":2,"cost":3.8}]},{"description":"Install a new 50 gal water heater","hours":3,"rate":88,"parts":[{"name":"Water heater, 50 gal","qty":1,"cost":612},{"name":"Flex connectors","qty":2,"cost":18.5}]},{"description":"Gas line test and startup","hours":1,"rate":88,"parts":[{"name":"Gas valve","qty":1,"cost":54},{"name":"Expansion tank","qty":1,"cost":49}]}], "rate": 88, "labor_hours": 5.5, "labor_total": 484, "parts_total": 794.6, "tax_rate": 6.5, "tax": 51.65, "total": 1330.25, "notes": "Installed to code with a new expansion tank and flex connectors. Leak test passed at working pressure. Customer shown the shutoff valves and the temperature setting." },
{ "order_number": "WO-10428", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Laura Jenkins","phone":"(970) 555-0188"}, "job": {"site":"305 Birch Street","city":"Fort Collins, CO 80521","date":"2027-03-09","window":"8 AM to 12 PM","equipment":"100 A panel","serial":"EP-0098231","type":"Electrical panel upgrade","priority":"Normal"}, "technician": {"name":"Nadia Rahimi","badge":"T-139"}, "urgent": false, "problem": "Breakers trip when the oven and dryer run at the same time. Customer wants a safe upgrade.", "tasks": [{"description":"Disconnect and remove the old panel","hours":2,"rate":105,"parts":[{"name":"Wire nuts and labels","qty":1,"cost":14},{"name":"Conduit fittings","qty":3,"cost":6.2}]},{"description":"Install a new 200 A panel","hours":4.5,"rate":105,"parts":[{"name":"200 A main panel","qty":1,"cost":348},{"name":"Breakers, 20 A","qty":8,"cost":11.4}]},{"description":"Inspection and labeling","hours":1,"rate":105,"parts":[{"name":"Surge protector","qty":1,"cost":119},{"name":"Panel labels","qty":1,"cost":7}]}], "rate": 105, "labor_hours": 7.5, "labor_total": 787.5, "parts_total": 597.8, "tax_rate": 0, "tax": 0, "total": 1385.3, "notes": "New 200 A panel installed with a whole-house surge protector. Permit pulled and passed inspection on the same day. Circuits labeled at the panel." },
{ "order_number": "WO-10433", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Teresa Alvarez","phone":"(303) 555-0120"}, "job": {"site":"211 Cottonwood Drive","city":"Longmont, CO 80501","date":"2027-03-11","window":"8 AM to 12 PM","equipment":"Main sewer line","serial":"SL-1180","type":"Drain cleaning","priority":"High"}, "technician": {"name":"Carlos Mendez","badge":"T-114"}, "urgent": true, "problem": "Water backs up in the basement shower and the floor drain after every wash.", "tasks": [{"description":"Camera inspection of the line","hours":1,"rate":90,"parts":[{"name":"Camera inspection report","qty":1,"cost":45},{"name":"Cleanout cap","qty":1,"cost":11}]},{"description":"Clear the blockage with a drain machine","hours":2,"rate":90,"parts":[{"name":"Cable head, 3 in","qty":1,"cost":38},{"name":"Enzyme treatment","qty":1,"cost":22.5}]},{"description":"Flush and test all fixtures","hours":0.5,"rate":90,"parts":[{"name":"Disposable covers","qty":2,"cost":4.5},{"name":"Disinfectant","qty":1,"cost":9.8}]}], "rate": 90, "labor_hours": 3.5, "labor_total": 315, "parts_total": 135.3, "tax_rate": 0, "tax": 0, "total": 450.3, "notes": "Found tree roots at 48 feet. Cleared with a cutter head and flushed the line. Recommend a root treatment each year to prevent a repeat." },
{ "order_number": "WO-10438", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Greg Sorensen","phone":"(970) 555-0136"}, "job": {"site":"16 Prairie View","city":"Loveland, CO 80538","date":"2027-04-13","window":"12 PM to 4 PM","equipment":"Trane 3-ton condenser","serial":"AC-7704412","type":"Air conditioner service","priority":"Normal"}, "technician": {"name":"Jamie Fischer","badge":"T-127"}, "urgent": false, "problem": "The air conditioner runs but blows warm air. Customer suspects a refrigerant leak.", "tasks": [{"description":"Leak search and diagnosis","hours":1.5,"rate":92,"parts":[{"name":"Dye test kit","qty":1,"cost":28},{"name":"Leak sealant","qty":1,"cost":36}]},{"description":"Repair the line and recharge refrigerant","hours":2.5,"rate":92,"parts":[{"name":"Refrigerant, R-410A, lb","qty":4,"cost":46},{"name":"Brazing rods","qty":2,"cost":9.5}]},{"description":"Clean the coils and test","hours":1,"rate":92,"parts":[{"name":"Coil cleaner","qty":1,"cost":18},{"name":"Filter, 16x25","qty":2,"cost":8.4}]}], "rate": 92, "labor_hours": 5, "labor_total": 460, "parts_total": 301.8, "tax_rate": 0, "tax": 0, "total": 761.8, "notes": "Located a pinhole leak at the service valve. Repaired and recharged to the manufacturer specification. Temperature drop of 19 degrees across the coil." },
{ "order_number": "WO-10443", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Priya Nandakumar","phone":"(720) 555-0171"}, "job": {"site":"502 Meadow Lark Way","city":"Arvada, CO 80003","date":"2027-04-20","window":"8 AM to 12 PM","equipment":"3/4 HP disposal","serial":"GD-3321","type":"Garbage disposal replacement","priority":"Low"}, "technician": {"name":"Nadia Rahimi","badge":"T-139"}, "urgent": false, "problem": "The disposal jams and hums, and there is a leak under the sink.", "tasks": [{"description":"Remove the old disposal","hours":0.5,"rate":85,"parts":[{"name":"Plumber putty","qty":1,"cost":6.5},{"name":"Drain gasket","qty":1,"cost":4.2}]},{"description":"Install a new 3/4 HP disposal","hours":1.5,"rate":85,"parts":[{"name":"Disposal, 3/4 HP","qty":1,"cost":189},{"name":"Power cord kit","qty":1,"cost":16.5}]},{"description":"Test and leak check","hours":0.5,"rate":85,"parts":[{"name":"Flange and sealing kit","qty":1,"cost":24},{"name":"Supply line","qty":1,"cost":12}]}], "rate": 85, "labor_hours": 2.5, "labor_total": 212.5, "parts_total": 252.2, "tax_rate": 6.5, "tax": 16.39, "total": 481.09, "notes": "Replaced the disposal and the drain gasket. Checked all connections for leaks under load. Explained what should not go down the disposal." },
{ "order_number": "WO-10448", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Hannah Dixon","phone":"(303) 555-0199"}, "job": {"site":"848 Sunrise Terrace","city":"Westminster, CO 80031","date":"2027-04-27","window":"12 PM to 4 PM","equipment":"Living room circuit","serial":"LC-0215","type":"Ceiling fan and lighting","priority":"Low"}, "technician": {"name":"Carlos Mendez","badge":"T-114"}, "urgent": false, "problem": "Install a ceiling fan in the living room and replace three failing recessed lights.", "tasks": [{"description":"Run the wiring and mount the fan box","hours":1.5,"rate":98,"parts":[{"name":"Fan-rated box","qty":1,"cost":18.5},{"name":"Cable, 14/3, ft","qty":25,"cost":0.9}]},{"description":"Install the ceiling fan","hours":1,"rate":98,"parts":[{"name":"Ceiling fan, 52 in","qty":1,"cost":229},{"name":"Wall control","qty":1,"cost":34}]},{"description":"Replace the recessed lights","hours":1.5,"rate":98,"parts":[{"name":"LED recessed kit","qty":3,"cost":21},{"name":"Dimmer switch","qty":1,"cost":29}]}], "rate": 98, "labor_hours": 4, "labor_total": 392, "parts_total": 396, "tax_rate": 0, "tax": 0, "total": 788, "notes": "Fan and wall control installed and balanced. Three LED trims installed with a new dimmer. All circuits tested and the room cleaned up." },
{ "order_number": "WO-10453", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Oliver Brandt","phone":"(303) 555-0155"}, "job": {"site":"29 Willow Bend","city":"Lakewood, CO 80228","date":"2027-05-04","window":"8 AM to 12 PM","equipment":"Weil-McLain boiler","serial":"B-5510","type":"Boiler maintenance","priority":"Normal"}, "technician": {"name":"Jamie Fischer","badge":"T-127"}, "urgent": false, "problem": "Annual maintenance. The boiler makes a banging noise when it starts.", "tasks": [{"description":"Inspect and clean the burners","hours":1.5,"rate":96,"parts":[{"name":"Burner gasket","qty":1,"cost":24},{"name":"Combustion test strip","qty":1,"cost":9}]},{"description":"Flush the system and replace the water feeder","hours":2,"rate":96,"parts":[{"name":"Water feeder valve","qty":1,"cost":76},{"name":"Boiler treatment","qty":1,"cost":28.5}]},{"description":"Bleed radiators and check pressure","hours":1,"rate":96,"parts":[{"name":"Bleeder valves","qty":2,"cost":8.8},{"name":"Pressure gauge","qty":1,"cost":17.5}]}], "rate": 96, "labor_hours": 4.5, "labor_total": 432, "parts_total": 172.6, "tax_rate": 0, "tax": 0, "total": 604.6, "notes": "Banging was caused by trapped air and low water level. The feeder valve was replaced and the system bled. Pressure and temperature are normal." },
{ "order_number": "WO-10458", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Hannah Weiss","phone":"(720) 555-0108"}, "job": {"site":"17 Brook Lane","city":"Aurora, CO 80012","date":"2027-05-11","window":"12 PM to 4 PM","equipment":"Hall bathroom","serial":"HB-120","type":"Toilet and faucet repair","priority":"Low"}, "technician": {"name":"Nadia Rahimi","badge":"T-139"}, "urgent": false, "problem": "The toilet runs constantly and the bathroom faucet drips.", "tasks": [{"description":"Repair the toilet fill and flush parts","hours":1,"rate":82,"parts":[{"name":"Fill valve","qty":1,"cost":16.5},{"name":"Flapper","qty":1,"cost":9.2}]},{"description":"Replace the faucet cartridge","hours":1,"rate":82,"parts":[{"name":"Faucet cartridge","qty":1,"cost":38},{"name":"O-ring set","qty":1,"cost":6}]},{"description":"Check shutoffs and test","hours":0.5,"rate":82,"parts":[{"name":"Supply lines","qty":2,"cost":11.5},{"name":"Caulk","qty":1,"cost":7.2}]}], "rate": 82, "labor_hours": 2.5, "labor_total": 205, "parts_total": 99.9, "tax_rate": 6.5, "tax": 6.49, "total": 311.39, "notes": "Replaced the toilet fill valve and flapper and the faucet cartridge. No more running water and no drips after testing for 20 minutes." },
{ "order_number": "WO-10463", "company": {"name":"Summit Mechanical Services","license":"HV-558214","phone":"(303) 555-0136","email":"service@summitmechanical.com"}, "customer": {"name":"Brian Keane","phone":"(303) 555-0183"}, "job": {"site":"4 Ridgecrest Circle","city":"Littleton, CO 80120","date":"2027-05-18","window":"8 AM to 12 PM","equipment":"Two-zone forced air","serial":"TZ-8801","type":"Thermostat and zoning","priority":"Normal"}, "technician": {"name":"Carlos Mendez","badge":"T-114"}, "urgent": false, "problem": "Upstairs is always hotter than downstairs. Customer wants smart thermostats and better zoning.", "tasks": [{"description":"Install two smart thermostats","hours":1.5,"rate":94,"parts":[{"name":"Smart thermostat","qty":2,"cost":129},{"name":"Wire, 18/5, ft","qty":40,"cost":0.6}]},{"description":"Adjust the zone dampers","hours":1.5,"rate":94,"parts":[{"name":"Damper actuator","qty":1,"cost":82},{"name":"Duct tape and mastic","qty":1,"cost":14}]},{"description":"Balance the airflow and set schedules","hours":1,"rate":94,"parts":[{"name":"Air flow test kit","qty":1,"cost":25},{"name":"Wall plates","qty":2,"cost":6.5}]}], "rate": 94, "labor_hours": 4, "labor_total": 376, "parts_total": 416, "tax_rate": 0, "tax": 0, "total": 792, "notes": "Both thermostats are on the home network. The upstairs damper actuator was replaced and the airflow balanced. Customer was shown the app." }
]
}' Questions frequently asked about our order templates
Get started with 20 free documents per month and our ready-to-use order templates.