# Expense claim form

> A one page A4 expense claim form (794 × 1123) for Kestrel Surveying, an Exeter firm with 22 staff, laid out as a three stop trip with seven receipts attached by dashed lines. Each line is one component row, so changing an item, an amount or a receipt label is one edit, and the stop headers, subtotals and fields are components too.

- The design, as a .vd file: https://getv.design/library/expense-claim-form.vd
- Its page: https://getv.design/library/expense-claim-form

## How it was made

Drafted from this prompt:

> A one page expense claim form for travel and meals at Kestrel Surveying in Exeter. The trip runs top to bottom as stops, each receipt is attached to its line, the total adds up and there is a line for the approver.

Then refined:

- Made each receipt slip look like a till slip with a torn edge instead of a plain box.
- Gave every row more height so the page uses its full length.

## Make it yours

- "Make an expense claim form for a different trip."
- "Add a fourth stop and another receipt line to the expense claim form."
- "Change the colours and name to my company."

## The source

```vd
version 12
kind design
title "Expense claim form"
$m = 48
$cw = 698
$blue = #1F4E79
$paper = #FFFFFF
$mark = #FFF3B0
$grey = #7A7F85
$ink = #1E2833
$hair = #D3D7DB
$gap = 24

font display = Ruda
  fallback "system-ui, sans-serif"
  face asset=ruda-600 weight=600
  face asset=ruda-700 weight=700
  face asset=ruda-800 weight=800

font body = Oxygen
  fallback "system-ui, sans-serif"
  face asset=oxygen-400 weight=400
  face asset=oxygen-700 weight=700

asset ruda-600 = font/woff2 hash=sha256-44f5427b8bbb1d14ada42ec04afe419099d1363ce3b4485ba60e722c310e5d3f bytes=12708 license=OFL
asset ruda-700 = font/woff2 hash=sha256-64ee4ed06698ebd8c8ba0607ca53a49c3d55823227f064cf7b5dd0c4dafced40 bytes=12672 license=OFL
asset ruda-800 = font/woff2 hash=sha256-caafbd6fa82eea72c20c082c171e80228fdfdd21943c7811434420c4ce02818d bytes=12692 license=OFL
asset oxygen-400 = font/woff2 hash=sha256-cb77b974327584a478f8579490a5f118da52f1062e00b5ad31cb4dc5444efb37 bytes=16288 license=OFL
asset oxygen-700 = font/woff2 hash=sha256-4414b63c51aaef6d5d77ef9b45d9a936e476ad3a9902e046cf7cb8af05ce72bc bytes=16152 license=OFL

frame claim x=0 y=0 w=794 h=1123 background=paper
  text claim.title x=$m y=44 w=420 h=60 font=display weight=800 size=46 fill=blue
    "Expense claim"
  text claim.sub x=$m y=106 w=480 h=22 font=body size=14 fill=grey
    "Kestrel Surveying, Exeter. Fill in the trip in order."
  rect claim.due x=(100% - $m - 232) y=48 w=232 h=56 fill=mark
  text claim.due.text x=(@claim.due.x + 14) y=@claim.due.y w=204 h=56 font=body size=14 lineHeight=1.3 valign=middle fill=ink
    "Finance needs this by\n"
    "Thursday 5 November" weight=700
  rect claim.rule x=$m y=136 w=$cw h=3 fill=blue

  instance claim.f1 component=c.field x=$m y=158
    override f.label
      "Name"
    override f.value
      "Hannah Reeve"
  instance claim.f2 component=c.field x=(@claim.f1.right + $gap) y=@claim.f1.y
    override f.label
      "Job code"
    override f.value
      "KS-2418, Temple Quay boundary survey"
  instance claim.f3 component=c.field x=$m y=(@claim.f1.bottom + 10)
    override f.label
      "Trip dates"
    override f.value
      "Tuesday 13 to Wednesday 14 October 2026"
  instance claim.f4 component=c.field x=(@claim.f3.right + $gap) y=@claim.f3.y
    override f.label
      "Claim month"
    override f.value
      "October 2026, travel and meals"

  instance stop.1 component=c.stop x=$m y=300
    override s.n
      "1"
    override s.title
      "Leave Exeter"
    override s.when
      "Tuesday 13 October, 06:40 from Exeter St Davids"
  text claim.attach x=(@stop.1.x + 548) y=(@stop.1.y + 6) w=150 h=36 font=body size=12 lineHeight=1.25 fill=grey
    "Each receipt is attached to its line by the dashed rule."
  instance r.1 component=c.row x=$m y=(@stop.1.bottom + 4)
    override r.desc
      "Rail return, Exeter to Bristol"
    override r.amt
      "£38.40"
    override r.slip
      "1  Rail ticket"
  instance r.2 component=c.row x=$m y=(@r.1.bottom)
    override r.desc
      "Breakfast at the station"
    override r.amt
      "£6.85"
    override r.slip
      "2  Café till slip"
  instance sub.1 component=c.sub x=$m y=(@r.2.bottom)
    override u.label
      "Leaving costs"
    override u.amt
      "£45.25"

  instance stop.2 component=c.stop x=$m y=(@sub.1.bottom + 12)
    override s.n
      "2"
    override s.title
      "Work in Bristol"
    override s.when
      "Tuesday 13 and Wednesday 14 October, Temple Quay"
  instance r.3 component=c.row x=$m y=(@stop.2.bottom + 4)
    override r.desc
      "Taxi, station to Temple Quay"
    override r.amt
      "£14.20"
    override r.slip
      "3  Taxi receipt"
  instance r.4 component=c.row x=$m y=(@r.3.bottom)
    override r.desc
      "Evening meal, Tuesday"
    override r.amt
      "£22.50"
    override r.slip
      "4  Restaurant bill"
  instance r.5 component=c.row x=$m y=(@r.4.bottom)
    override r.desc
      "Hotel, one night"
    override r.amt
      "£89.00"
    override r.slip
      "5  Hotel invoice"
  instance sub.2 component=c.sub x=$m y=(@r.5.bottom)
    override u.label
      "Working costs"
    override u.amt
      "£125.70"

  instance stop.3 component=c.stop x=$m y=(@sub.2.bottom + 12)
    override s.n
      "3"
    override s.title
      "Return to Exeter"
    override s.when
      "Wednesday 14 October, 17:55 into Exeter St Davids"
  instance r.6 component=c.row x=$m y=(@stop.3.bottom + 4)
    override r.desc
      "Taxi, Temple Quay to station"
    override r.amt
      "£13.60"
    override r.slip
      "6  Taxi receipt"
  instance r.7 component=c.row x=$m y=(@r.6.bottom)
    override r.desc
      "Lunch, Wednesday"
    override r.amt
      "£9.40"
    override r.slip
      "7  Café till slip"
  instance sub.3 component=c.sub x=$m y=(@r.7.bottom)
    override u.label
      "Returning costs"
    override u.amt
      "£23.00"

  rect stop.spine.1 x=(@stop.1.x + 18.5) y=(@stop.1.y + 40) w=3 h=(@stop.2.y - @stop.1.y - 40) fill=blue
  rect stop.spine.2 x=(@stop.2.x + 18.5) y=(@stop.2.y + 40) w=3 h=(@stop.3.y - @stop.2.y - 40) fill=blue

  rect total.bg x=$m y=(@sub.3.bottom + 16) w=$cw h=76 fill=blue
  text total.label x=(@total.bg.x + 24) y=(@total.bg.y + 12) w=380 h=28 font=display weight=700 size=22 fill=paper
    "Total to claim"
  text total.sum x=(@total.bg.x + 24) y=(@total.bg.y + 42) w=380 h=20 font=body size=13 fill=mark
    "£45.25 + £125.70 + £23.00, paid by BACS on Friday 27 November"
  text total.amount x=(@total.bg.right - 264) y=(@total.bg.y + 8) w=240 h=60 font=display weight=800 size=46 align=right valign=middle fill=paper
    "£193.95"

  text sign.l1 x=$m y=(@total.bg.bottom + 22) w=250 h=16 font=body size=12 fill=grey
    "Claimant signature"
  rect sign.b1 x=$m y=(@sign.l1.bottom + 2) w=250 h=44 fill=mark
  vector sign.mark x=(@sign.b1.x + 16) y=(@sign.b1.y + 8) w=110 h=28 view="0 0 110 28" d="M2 21 C10 2 16 2 14 17 S24 25 30 11 S40 3 44 15 S56 21 62 11 L72 19 C80 7 90 7 96 17 L108 13" fill=none stroke=blue strokeWidth=1.8 cap=round join=round
  text sign.l2 x=(@sign.b1.right + 14) y=@sign.l1.y w=250 h=16 font=body size=12 fill=grey
    "Approver, line manager"
  rect sign.b2 x=@sign.l2.x y=@sign.b1.y w=250 h=44 fill=mark
  text sign.l3 x=(@sign.b2.right + 14) y=@sign.l1.y w=170 h=16 font=body size=12 fill=grey
    "Date approved"
  rect sign.b3 x=@sign.l3.x y=@sign.b1.y w=170 h=44 fill=mark

  text claim.foot x=$m y=(@sign.b1.bottom + 14) w=$cw h=34 font=body size=12 lineHeight=1.4 fill=grey
    "Claims reach finance by the 5th of each month. A claim that arrives later is paid in the following month's run."

frame c.field x=0 y=1300 w=337 h=50 component
  text f.label x=0 y=0 w=337 h=16 font=body size=12 fill=grey
    "Label"
  rect f.box x=0 y=18 w=337 h=32 fill=mark
  text f.value x=10 y=18 w=317 h=32 font=body size=14 valign=middle fill=ink
    "Value"

frame c.stop x=400 y=1300 w=698 h=52 component
  rect s.box x=0 y=0 w=40 h=40 fill=blue radius=4
  text s.n x=0 y=0 w=40 h=40 font=display weight=700 size=20 align=center valign=middle fill=paper
    "1"
  text s.title x=56 y=0 w=440 h=26 font=display weight=700 size=21 fill=blue
    "Stop"
  text s.when x=56 y=26 w=480 h=20 font=body size=13 fill=grey
    "When"

frame c.row x=1200 y=1300 w=698 h=40 component
  connector r.rule x1=56 y1=39.5 x2=496 y2=39.5 stroke=hair strokeWidth=1
  text r.desc x=56 y=0 w=340 h=39 font=body size=14 valign=middle fill=ink
    "Item"
  text r.amt x=396 y=0 w=100 h=39 font=body weight=700 size=14 align=right valign=middle fill=ink
    "£0.00"
  ellipse r.dot x=504 y=15.5 w=8 h=8 fill=blue
  connector r.clip x1=512 y1=19.5 x2=548 y2=19.5 stroke=blue strokeWidth=1.5 dash="4 4"
  vector r.slipbg x=548 y=5 w=150 h=30 view="0 0 150 30" d="M0 0H147L150 3L147 6L150 9L147 12L150 15L147 18L150 21L147 24L150 27L147 30H0Z" fill=paper stroke=grey strokeWidth=1
  rect r.tab x=548 y=5 w=4 h=30 fill=blue
  text r.slip x=562 y=5 w=130 h=30 font=body size=12 valign=middle fill=ink
    "Receipt"

frame c.sub x=2000 y=1300 w=698 h=34 component
  connector u.rule x1=56 y1=0 x2=496 y2=0 stroke=blue strokeWidth=1.5
  text u.label x=56 y=0 w=340 h=34 font=display weight=600 size=14 valign=middle fill=blue
    "Subtotal"
  text u.amt x=396 y=0 w=100 h=34 font=display weight=700 size=15 align=right valign=middle fill=blue
    "£0.00"
```
