Vehicle condition report

Lease return inspection with damage map, photos and recharges

Download template

Sample data

Template
DOCX
Export as
PDF, DOCX, ODT, HTML, PNG +25 more
Carbone
5.18+

Generate vehicle inspection reports from your fleet or rental app

Leasing companies, rental operators and fleet managers inspect every vehicle at check-out and at return. The inspector walks around the car with a tablet, takes photos, records each damage with its size, and the app decides what is fair wear and tear and what is charged to the customer. The report is signed on the spot and sent to the driver and the fleet customer as a PDF, often hundreds of times a day.

This example is an end of contract return inspection for a UK lease, assessed against the BVRLA Fair Wear and Tear Guide. Your app sends the inspection as JSON, with the photos and the damage map as Base64 images, and Carbone fills the DOCX template.

In this example, you will:

  • Switch the report title between check-out and return with a condition
  • Insert the damage map and the vehicle photos from Base64 data
  • Build a checklist grouped by area with a nested loop and pass, advisory and fail boxes
  • Repeat one damage row per item, with its photo, and sum the charges

How to build a vehicle inspection report

1. Fill the header and the vehicle block

Write tags where the values go, like {d.vehicle.registration}, {d.vehicle.vin} or {d.vehicle.inMileage:formatN(0)} mi. Dates use formatD with quotes around the pattern, because it holds a comma: {d.report.date:formatD('DD MMM YYYY, HH:mm')}.

The subtitle changes with the type of inspection, thanks to an inline condition:

{d.report.checkType:ifEQ(return):show('Return inspection'):elseShow('Check-out inspection')}

2. Insert the damage map and the photos

Insert a temporary picture where each image goes, then write its tag in the alternative text: {d.report.diagram} for the damage map and {d.photos[0].photo} to {d.photos[3].photo} for the four overview photos. The app draws the numbered markers on the map, so the numbers always match the damage record. Learn more about Base64 images.

3. Build the checklist with a nested loop

The checklist table has four rows. The first shows the area, {d.checklist[i].area}, and the second shows each item of the area, {d.checklist[i].items[i].label}. The third row holds {d.checklist[i].items[i+1].label} and the fourth {d.checklist[i+1].area}: they mark the end of the two loops and do not appear in the report.

Each state column prints a filled or an empty box:

{d.checklist[i].items[i].status:ifEQ(pass):show(■):elseShow(□)}
{d.checklist[i].items[i].status:ifEQ(advisory):show(■):elseShow(□)}
{d.checklist[i].items[i].status:ifEQ(fail):show(■):elseShow(□)}

The box takes the color of its column: green, amber or red.

4. Repeat the damage rows and sum the charges

In the damage table, the first row holds the item: a temporary picture with {d.damages[i].photo} in its alternative text, {d.damages[i].area}, {d.damages[i].size} mm and the assessment, {d.damages[i].decision:ifEQ(chargeable):show('Chargeable'):elseShow('Fair wear and tear')}. The next row holds {d.damages[i+1].no} to end the loop.

The net damage charge is the sum of the rows, computed by the aggregator {d.damages[].cost:aggSum:formatN(2)}, and the summary counts the items with {d.damages[].no:aggCount}.

Check out these similar templates to learn more:

Trusted by 800+ paid customers in 40+ countries

Finance
Healthcare
Insurance
Legal
Public
Retail
Energy
Software
Telecom
Dior
Thales
Younited
Danfoss
CMA CGM
Illumina
KparK
Scalingo
French Ministry of the Armed Forces
BMW
Telus
Bestseller
Flagship Biosciences
Insly
Ninox
Sodexo