# Customer case study

> A two-page US Letter case study for an invoicing tool and one freight customer. The before and after story is set as a code diff of plain sentences, with three headline figures, a month-by-month bar chart, a quote and a call to action. Every figure, sentence and the diff rows are editable text.

- The design, as a .vd file: https://getv.design/library/saas-case-study.vd
- Its page: https://getv.design/library/saas-case-study

## How it was made

Drafted from this prompt:

> A two-page case study: how Brackley Freight cut the time to get paid from 41 days to 18 with Ledgerline. Challenge, solution, results with three numbers, a quote, and a call to action.

Then refined:

- Rewrote the opening line so it no longer repeats the customer's name from the title.
- Enlarged the struck-through old figures under the three numbers so they read at print size.
- Closed the empty gap under the page two heading and made the quote bar match the height of its text.
- Made the bar chart taller and gave the call to action more room under its button.

## Make it yours

- "Swap in our customer's name and their three numbers."
- "Change the quote and who said it."
- "Add a third before and after pair to the diff."

## The source

```vd
version 12
kind design
title "Customer case study"
$ink = #23262E
$green = #2EA043
$red = #D1242F
$pale = #F6F8FA
$muted = #59636E
$line = #D0D7DE
$white = #FFFFFF
$delbg = #FFEBE9
$delgutter = #FFCECB
$addbg = #DAFBE1
$addgutter = #ACEEBB
$m = 56
$cw = 704
$gap = 32
$rh = 46
$bs = 3.3

font head = "Plus Jakarta Sans"
  fallback "system-ui, sans-serif"
  face asset=plus-jakarta-sans-400 weight=400
  face asset=plus-jakarta-sans-700 weight=700
  face asset=plus-jakarta-sans-800 weight=800

font mono = "IBM Plex Mono"
  fallback "ui-monospace, monospace"
  face asset=ibm-plex-mono-400 weight=400
  face asset=ibm-plex-mono-600 weight=600

asset plus-jakarta-sans-400 = font/woff2 hash=sha256-221a4135d06a4b33abbd535e9a0da4e565d19545ddd9267c4e678a916d54d9b6 bytes=11816 license=OFL
asset plus-jakarta-sans-700 = font/woff2 hash=sha256-2050755bf475817c96ac7d914c7f07cc3c2d11ff4b3fb4747b8d41de584aad17 bytes=12244 license=OFL
asset plus-jakarta-sans-800 = font/woff2 hash=sha256-5f301a8ef9c266c8b596e6793d3cc826daeff9849c5af035f5386439137955ad bytes=11896 license=OFL
asset ibm-plex-mono-400 = font/woff2 hash=sha256-08949f728dc52d528e69b1667d15c89a5686a4ee9a296ff90983985f99c380f7 bytes=14708 license=OFL
asset ibm-plex-mono-600 = font/woff2 hash=sha256-0d1f0b8d0722224e32e9f28261bdc86c79115be73444ae5eceb73976a1bcdf83 bytes=15620 license=OFL

frame story x=0 y=0 w=816 h=1056 background=white
  instance story.head component=runhead x=0 y=0
    override rh.page
      "1 of 2"
  text story.title x=$m y=90 w=$cw h=100 font=head size=44 weight=800 lineHeight=1.08 letterSpacing=-1 fill=ink
    "Brackley Freight now gets paid in 18 days, not 41"
  text story.lead x=$m y=(@story.title.bottom + 14) w=640 h=56 font=head size=17 lineHeight=1.45 fill=ink
    "A road haulage firm with 38 trucks moved its invoicing from a spreadsheet to Ledgerline. Cash now arrives 23 days sooner."
  rect nums.rule x=$m y=(@story.lead.bottom + 26) w=$cw h=2 fill=ink
  text nums.1 x=$m y=(@nums.rule.bottom + 16) w=210 h=66 font=mono size=60 weight=600 lineHeight=1.05 letterSpacing=-2 fill=ink
    "18"
    " days" size=22 weight=400
  text nums.1.cap x=$m y=(@nums.1.bottom + 4) w=190 h=46 font=head size=13 lineHeight=1.4 fill=muted
    "to get paid, down from "
    "41" font=mono size=18 weight=600 fill=red strike
  text nums.2 x=(@nums.1.right + 28) y=@nums.1.y w=220 h=66 font=mono size=60 weight=600 lineHeight=1.05 letterSpacing=-2 fill=ink
    "£230k"
  text nums.2.cap x=@nums.2.x y=@nums.1.cap.y w=210 h=46 font=head size=13 lineHeight=1.4 fill=muted
    "more cash in the bank, from 23 fewer days waiting on customers"
  text nums.3 x=(@nums.2.right + 28) y=@nums.1.y w=190 h=66 font=mono size=60 weight=600 lineHeight=1.05 letterSpacing=-2 fill=ink
    "2"
    " hours" size=22 weight=400
  text nums.3.cap x=@nums.3.x y=@nums.1.cap.y w=190 h=46 font=head size=13 lineHeight=1.4 fill=muted
    "a week chasing late payers, down from "
    "11" font=mono size=18 weight=600 fill=red strike
  text why.h x=$m y=(@nums.1.cap.bottom + 28) w=$cw h=30 font=head size=22 weight=800 letterSpacing=-0.5 fill=ink
    "Eleven days passed before an invoice left the building"
  text why.p x=$m y=(@why.h.bottom + 8) w=$cw h=92 font=head size=14.5 lineHeight=1.5 fill=ink
    "Brackley delivers about 900 loads a month and invoices around £3.65 million a year. All of it was billed from one spreadsheet, by one person, on Fridays. A load delivered on a Monday was invoiced on the Friday of the week after, 11 days later, and then waited for the customer's next payment run. Chasing took eleven hours a week. Month end took four days."
  frame diff x=$m y=(@why.p.bottom + 22) w=$cw h=($rh * 8 + 28) background=white radius=8 clip stroke=line strokeWidth=1
    rect diff.hunk.bg x=0 y=0 w=100% h=28 fill=pale
    text diff.hunk x=14 y=0 w=(100% - 28) h=28 font=mono size=11 valign=middle fill=muted
      "@@ from delivery to cash, first quarter 2026 and third quarter 2026 @@"
    instance d1 component=rowdel x=0 y=28
      override rd.n
        "12"
      override rd.t
        "Invoices were typed from a spreadsheet and sent on Fridays, up to 11 days after delivery."
    instance a1 component=rowadd x=0 y=@d1.bottom
      override ra.n
        "12"
      override ra.t
        "Each invoice is created and sent the hour the driver's proof of delivery is signed."
    instance d2 component=rowdel x=0 y=@a1.bottom
      override rd.n
        "13"
      override rd.t
        "Customers had to look up the bank details and wait for their next payment run."
    instance a2 component=rowadd x=0 y=@d2.bottom
      override ra.n
        "13"
      override ra.t
        "Every invoice email carries a pay-by-bank link, so customers pay the day they open it."
    instance d3 component=rowdel x=0 y=@a2.bottom
      override rd.n
        "14"
      override rd.t
        "Eleven hours a week went on chasing late payers by phone and email."
    instance a3 component=rowadd x=0 y=@d3.bottom
      override ra.n
        "14"
      override ra.t
        "Reminders go out at 7, 14 and 21 days, and chasing now takes two hours a week."
    instance d4 component=rowdel x=0 y=@a3.bottom
      override rd.n
        "15"
      override rd.t
        "Matching bank lines to invoices took four days at the end of every month."
    instance a4 component=rowadd x=0 y=@d4.bottom
      override ra.n
        "15"
      override ra.t
        "The bank feed matches payments as they arrive, and the month now closes in a day."

frame proof x=896 y=0 w=816 h=1056 background=white
  instance proof.head component=runhead x=0 y=0
    override rh.page
      "2 of 2"
  text roll.h x=$m y=90 w=$cw h=36 font=head size=28 weight=800 lineHeight=1.12 letterSpacing=-0.5 fill=ink
    "Live in six weeks, with nothing new for drivers to learn"
  group roll
    rect roll.rule x=$m y=(@roll.h.bottom + 22) w=$cw h=2 fill=ink
    text roll.1.d x=$m y=(@roll.rule.bottom + 14) w=210 h=18 font=mono size=12 weight=600 fill=ink
      "Monday 2 March"
    text roll.1.t x=$m y=(@roll.1.d.bottom + 4) w=210 h=74 font=head size=13.5 lineHeight=1.45 fill=ink
      "Customers and open invoices imported from the spreadsheet, and the bank feed connected."
    text roll.2.d x=(@roll.1.d.right + 37) y=@roll.1.d.y w=210 h=18 font=mono size=12 weight=600 fill=ink
      "Monday 16 March"
    text roll.2.t x=@roll.2.d.x y=@roll.1.t.y w=210 h=74 font=head size=13.5 lineHeight=1.45 fill=ink
      "First invoices sent straight from proof of delivery. The Friday run stopped."
    text roll.3.d x=(@roll.2.d.right + 37) y=@roll.1.d.y w=210 h=18 font=mono size=12 weight=600 fill=ink
      "Monday 6 April"
    text roll.3.t x=@roll.3.d.x y=@roll.1.t.y w=210 h=74 font=head size=13.5 lineHeight=1.45 fill=ink
      "Pay-by-bank links and automatic reminders switched on for all 212 customers."
  text chart.h x=$m y=(@roll.1.t.bottom + 26) w=$cw h=28 font=head size=20 weight=800 letterSpacing=-0.3 fill=ink
    "Days to get paid, month by month"
  text chart.sub x=$m y=(@chart.h.bottom + 2) w=$cw h=20 font=head size=13 fill=muted
    "Before: 41 days, the average for January to March. After: 18 days, the average for July to September."
  rect chart.base x=$m y=(@chart.sub.bottom + 178) w=$cw h=2 fill=ink
  rect bar.1 x=(@chart.base.x + 8) y=(@chart.base.y - 41 * $bs) w=62 h=(41 * $bs) fill=red
  text bar.1.v x=@bar.1.x y=(@bar.1.y - 22) w=@bar.1.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "41"
  text bar.1.m x=@bar.1.x y=(@chart.base.bottom + 6) w=@bar.1.w h=18 font=head size=12.5 align=center fill=muted
    "Jan"
  rect bar.2 x=(@chart.base.x + 86) y=(@chart.base.y - 42 * $bs) w=62 h=(42 * $bs) fill=red
  text bar.2.v x=@bar.2.x y=(@bar.2.y - 22) w=@bar.2.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "42"
  text bar.2.m x=@bar.2.x y=(@chart.base.bottom + 6) w=@bar.2.w h=18 font=head size=12.5 align=center fill=muted
    "Feb"
  rect bar.3 x=(@chart.base.x + 164) y=(@chart.base.y - 39 * $bs) w=62 h=(39 * $bs) fill=red
  text bar.3.v x=@bar.3.x y=(@bar.3.y - 22) w=@bar.3.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "39"
  text bar.3.m x=@bar.3.x y=(@chart.base.bottom + 6) w=@bar.3.w h=18 font=head size=12.5 align=center fill=muted
    "Mar"
  rect bar.4 x=(@chart.base.x + 242) y=(@chart.base.y - 31 * $bs) w=62 h=(31 * $bs) fill=addgutter
  text bar.4.v x=@bar.4.x y=(@bar.4.y - 22) w=@bar.4.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "31"
  text bar.4.m x=@bar.4.x y=(@chart.base.bottom + 6) w=@bar.4.w h=18 font=head size=12.5 align=center fill=muted
    "Apr"
  rect bar.5 x=(@chart.base.x + 320) y=(@chart.base.y - 24 * $bs) w=62 h=(24 * $bs) fill=addgutter
  text bar.5.v x=@bar.5.x y=(@bar.5.y - 22) w=@bar.5.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "24"
  text bar.5.m x=@bar.5.x y=(@chart.base.bottom + 6) w=@bar.5.w h=18 font=head size=12.5 align=center fill=muted
    "May"
  rect bar.6 x=(@chart.base.x + 398) y=(@chart.base.y - 18 * $bs) w=62 h=(18 * $bs) fill=addgutter
  text bar.6.v x=@bar.6.x y=(@bar.6.y - 22) w=@bar.6.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "18"
  text bar.6.m x=@bar.6.x y=(@chart.base.bottom + 6) w=@bar.6.w h=18 font=head size=12.5 align=center fill=muted
    "Jun"
  rect bar.7 x=(@chart.base.x + 476) y=(@chart.base.y - 18 * $bs) w=62 h=(18 * $bs) fill=green
  text bar.7.v x=@bar.7.x y=(@bar.7.y - 22) w=@bar.7.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "18"
  text bar.7.m x=@bar.7.x y=(@chart.base.bottom + 6) w=@bar.7.w h=18 font=head size=12.5 align=center fill=muted
    "Jul"
  rect bar.8 x=(@chart.base.x + 554) y=(@chart.base.y - 17 * $bs) w=62 h=(17 * $bs) fill=green
  text bar.8.v x=@bar.8.x y=(@bar.8.y - 22) w=@bar.8.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "17"
  text bar.8.m x=@bar.8.x y=(@chart.base.bottom + 6) w=@bar.8.w h=18 font=head size=12.5 align=center fill=muted
    "Aug"
  rect bar.9 x=(@chart.base.x + 632) y=(@chart.base.y - 18 * $bs) w=62 h=(18 * $bs) fill=green
  text bar.9.v x=@bar.9.x y=(@bar.9.y - 22) w=@bar.9.w h=20 font=mono size=14 weight=600 align=center fill=ink
    "18"
  text bar.9.m x=@bar.9.x y=(@chart.base.bottom + 6) w=@bar.9.w h=18 font=head size=12.5 align=center fill=muted
    "Sep"
  rect grp.1 x=@bar.1.left y=(@chart.base.bottom + 32) w=(@bar.3.right - @bar.1.left) h=3 fill=red
  text grp.1.t x=@bar.1.left y=(@grp.1.bottom + 4) w=(@bar.3.right - @bar.1.left) h=18 font=head size=12.5 weight=700 fill=ink
    "Before Ledgerline"
  rect grp.2 x=@bar.4.left y=@grp.1.y w=(@bar.6.right - @bar.4.left) h=3 fill=addgutter
  text grp.2.t x=@bar.4.left y=@grp.1.t.y w=(@bar.6.right - @bar.4.left) h=18 font=head size=12.5 weight=700 fill=ink
    "Rolling out"
  rect grp.3 x=@bar.7.left y=@grp.1.y w=(@bar.9.right - @bar.7.left) h=3 fill=green
  text grp.3.t x=@bar.7.left y=@grp.1.t.y w=(@bar.9.right - @bar.7.left) h=18 font=head size=12.5 weight=700 fill=ink
    "After"
  rect quote.bar x=$m y=(@grp.1.t.bottom + 40) w=4 h=@quote.t.h fill=green
  text quote.t x=(@quote.bar.right + 24) y=@quote.bar.y w=($cw - 28) h=94 font=head size=21 weight=700 lineHeight=1.4 letterSpacing=-0.2 fill=ink
    "We used to end every month wondering which customers had even seen our invoice. Now I can see who has opened it, who has paid and who needs a call. I have stopped writing chase emails."
  text quote.by x=@quote.t.x y=(@quote.t.bottom + 8) w=500 h=34 font=head size=13 lineHeight=1.35 fill=muted
    "Hannah Dorrell, finance manager at Brackley Freight"
  frame cta x=$m y=(@quote.by.bottom + 44) w=$cw h=196 background=ink radius=10 clip
    text cta.h x=32 y=28 w=($cw - 64) h=32 font=head size=26 weight=800 letterSpacing=-0.5 fill=white
      "Find out what 23 days is worth to you"
    text cta.p x=32 y=(@cta.h.bottom + 10) w=560 h=44 font=head size=14.5 lineHeight=1.5 fill=#D0D7DE
      "Book a 30-minute walkthrough with the team that set Brackley up. Bring your average days to pay and we will work out the cash."
    rect cta.btn x=32 y=(@cta.p.bottom + 20) w=200 h=44 fill=green radius=6
    text cta.btn.t x=@cta.btn.x y=@cta.btn.y w=@cta.btn.w h=@cta.btn.h font=head size=15 weight=700 align=center valign=middle fill=ink
      "Book a walkthrough"
    text cta.mail x=(@cta.btn.right + 24) y=@cta.btn.y w=330 h=44 font=mono size=13 valign=middle fill=white
      "hello@ledgerline.example"

frame runhead x=0 y=1200 w=816 h=56 background=#00000000 component
  rect rh.mark x=56 y=17 w=24 h=24 fill=ink radius=5
  vector rh.mark.l x=(@rh.mark.x + 5) y=(@rh.mark.y + 6) w=14 h=12 view="0 0 14 12" d="M0 1h14M0 6h9M0 11h14" fill=none stroke=white strokeWidth=1.6
  rect rh.mark.g x=(@rh.mark.x + 15) y=(@rh.mark.y + 14) w=5 h=2 fill=green
  text rh.name x=(@rh.mark.right + 10) y=0 w=200 h=58 font=head size=16 weight=800 letterSpacing=-0.3 valign=middle fill=ink
    "Ledgerline"
  text rh.page x=(100% - 156) y=0 w=100 h=58 font=mono size=12 align=right valign=middle fill=muted
    "1 of 2"
  rect rh.rule x=56 y=56 w=(100% - 112) h=1 fill=line

frame rowdel x=0 y=1300 w=704 h=46 background=#00000000 component
  rect rd.bg x=0 y=0 w=100% h=100% fill=delbg
  rect rd.gut x=0 y=0 w=76 h=100% fill=delgutter
  text rd.n x=0 y=0 w=34 h=100% font=mono size=11 align=right valign=middle fill=muted
    "1"
  text rd.s x=84 y=0 w=24 h=100% font=mono size=20 weight=600 align=center valign=middle fill=red
    "-"
  text rd.t x=124 y=0 w=(100% - 124 - 18) h=100% font=head size=13.5 lineHeight=1.35 valign=middle fill=ink
    "Before"

frame rowadd x=0 y=1400 w=704 h=46 background=#00000000 component
  rect ra.bg x=0 y=0 w=100% h=100% fill=addbg
  rect ra.gut x=0 y=0 w=76 h=100% fill=addgutter
  text ra.n x=38 y=0 w=34 h=100% font=mono size=11 align=right valign=middle fill=muted
    "1"
  text ra.s x=84 y=0 w=24 h=100% font=mono size=20 weight=600 align=center valign=middle fill=green
    "+"
  text ra.t x=124 y=0 w=(100% - 124 - 18) h=100% font=head size=13.5 lineHeight=1.35 valign=middle fill=ink
    "After"
```
