# Invoice

> A one-page invoice with a table of items, tax, a total and payment details. The table is a real table, so adding a line keeps everything aligned.

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

## How it was made

Drafted from this prompt:

> An invoice from Northlight Studio to Harbour Coffee Co. for brand identity, menu design and photography direction, with VAT at 20%, payment details and 30-day terms. Letter size, clean, one accent colour.

Then refined:

- Fitted each text box to its words.
- Set the small labels in sentence case instead of capitals.
- Changed the round mark to the studio's square monogram.

## Make it yours

- "Change the sender to my company and the items to these."
- "Add a fourth line and update the total."
- "Make it A4 and use euros."

## The source

```vd
version 11
kind design
title "Invoice"
$m = 64
$ink = #17181c
$muted = #6a6d76
$line = #dcdde2
$wash = #f4f4f1
$paper = #ffffff
$accent = #e2572b
$small = 11.5
$body = 13

font serif = "DM Serif Display"
  fallback "Georgia, serif"
  face asset=dm-serif-display-400 weight=400

font sans = Inter
  fallback "system-ui, sans-serif"

asset dm-serif-display-400 = font/woff2 hash=sha256-fdf61e20fd2c0108e0ea28da4daca0035205b4b7fc031a3974b865b704de160a bytes=24744 license=OFL

frame page w=816 h=1056 background=paper
  rect head.mark x=$m y=60 w=28 h=28 fill=accent
  text head.mark.letter x=$m y=60 w=28 h=28 font=serif size=22 align=center valign=middle fill=paper
    "N"
  text head.studio x=($m + 40) y=60 w=300 h=28 font=sans size=17 weight=700 valign=middle fill=ink
    "Northlight Studio"
  text head.title x=(parent.w - $m - 300) y=40 w=300 h=70 font=serif size=56 align=right fill=ink
    "Invoice"
  text head.number x=(parent.w - $m - 300) y=(@head.title.bottom + 2) w=300 h=18 font=sans size=$body weight=600 align=right fill=accent
    "No. 2026-041"
  rect head.rule x=$m y=150 w=(parent.w - $m * 2) h=2 fill=ink
  text from.label x=$m y=(@head.rule.bottom + 28) w=200 h=14 font=sans size=12 weight=700 fill=muted
    "From"
  text from.body x=$m y=(@from.label.bottom + 10) w=220 h=80 font=sans size=$body lineHeight=1.5 fill=ink
    "Northlight Studio Ltd\n18 Mill Lane\nBristol BS1 4QA\nhello@northlight.example"
  text to.label x=($m + 250) y=@from.label.y w=200 h=14 font=sans size=12 weight=700 fill=muted
    "Bill to"
  text to.body x=@to.label.x y=@from.body.y w=220 h=80 font=sans size=$body lineHeight=1.5 fill=ink
    "Harbour Coffee Co.\nAttn. Lena Fischer\n4 Quay Street\nBristol BS1 5TB"
  text meta.labels x=(parent.w - $m - 220) y=@from.body.y w=100 h=61 font=sans size=$body lineHeight=1.5 fill=muted
    "Issued\nDue\nTerms"
  text meta.values x=(parent.w - $m - 130) y=@from.body.y w=130 h=61 font=sans size=$body weight=600 lineHeight=1.5 align=right fill=ink
    "3 November 2026\n3 December 2026\nNet 30"
  table items x=$m y=(@from.body.bottom + 40) w=(parent.w - $m * 2) h=262 cols=5,1,1.4,1.5 header headerFill=ink headerText=paper lines=rows stroke=line font=sans size=$body padding="14 16"
    row items.head
      cell "Description"
      cell "Qty" align=right
      cell "Rate" align=right
      cell "Amount" align=right
    row items.1
      cell
        "Brand identity" weight=600
        "\nLogo, colour, type and a 20-page guide" fill=muted
      cell "1" align=right
      cell "£4,800.00" align=right
      cell "£4,800.00" align=right
    row items.2
      cell
        "Menu design" weight=600
        "\nSpring and summer menus, print-ready" fill=muted
      cell "2" align=right
      cell "£650.00" align=right
      cell "£1,300.00" align=right
    row items.3
      cell
        "Photography direction" weight=600
        "\nHalf-day shoot, 30 edited pictures" fill=muted
      cell "1" align=right
      cell "£900.00" align=right
      cell "£900.00" align=right
  text total.labels x=(parent.w - $m - 300) y=(@items.bottom + 24) w=150 h=52 font=sans size=$body lineHeight=1.9 fill=muted
    "Subtotal\nVAT 20%"
  text total.values x=(parent.w - $m - 166) y=@total.labels.y w=150 h=52 font=sans size=$body lineHeight=1.9 align=right fill=ink
    "£7,000.00\n£1,400.00"
  rect total.box x=(parent.w - $m - 316) y=(@total.labels.bottom + 14) w=316 h=64 fill=wash radius=8
  text total.due.label x=(@total.box.x + 16) y=@total.box.y w=120 h=@total.box.h font=sans size=$body weight=700 valign=middle fill=ink
    "Total due"
  text total.due x=(@total.box.right - 216) y=@total.box.y w=200 h=@total.box.h font=serif size=30 align=right valign=middle fill=ink
    "£8,400.00"
  text pay.label x=$m y=@total.labels.y w=200 h=14 font=sans size=12 weight=700 fill=muted
    "Payment"
  text pay.body x=$m y=(@pay.label.bottom + 10) w=300 h=80 font=sans size=$body lineHeight=1.5 fill=ink
    "Bank transfer to Northlight Studio Ltd\nSort code 00-00-00\nAccount 00000000\nReference 2026-041"
  rect foot.rule x=$m y=(parent.h - 104) w=(parent.w - $m * 2) h=1 fill=line
  text foot.thanks x=$m y=(@foot.rule.bottom + 20) w=300 h=29 font=serif size=22 fill=ink
    "Thank you."
  text foot.note x=(parent.w - $m - 420) y=(@foot.rule.bottom + 24) w=420 h=16 font=sans size=$small align=right fill=muted
    "Company no. 00000000 · VAT GB 000 0000 00"
```
