Split a group purchase into per-person statements from orders and invoices

Darko Zupanič had Claude reconcile a group order of 162 boxes with a delivery of 153, share €157.89 of transport by value and produce a PDF statement for each of nine buyers.

Done withClaudeCodex· Nov 11, 2026

What they did

Zupanič organised a combined purchase among friends. Orders came in by message and email and were collected in a spreadsheet; the supplier and the transporter sent separate bills. Zupanič first explained the spreadsheet columns to Codex and gave it the documents, and it wrote programs to process the orders and produce reports. That became a set of instructions, which Zupanič then tested in an ordinary free Claude chat: uploading the instructions, the order spreadsheet and photos of the delivery note and the supplier's invoice, and answering Claude's questions as they came up. The conversation was in Slovenian.

How it went

Claude noticed the spreadsheet held two versions of the orders and asked which was current. It found 9 of the 162 ordered boxes were never delivered, across four products, and left them off everyone's bill. It caught that orders were in boxes while invoice prices were per piece. It asked how to share the €157.89 transport and split it by each person's goods total, adjusting rounding to match the bill. Goods came to €2,256.44, €2,414.33 with transport. It produced a spreadsheet and a PDF with one page per participant, plus scripts and a state file. Zupanič checked the results and found them correct, all within the free tier.

Worth knowing

The free usage limit was hit only afterwards, on a request for a PDF of the conversation itself. The post ends with an ad for the author's paid toolkit. The organiser still has to check the physical delivery and decide things like deposits and how to share costs.

Try it

With Claude· 4 parts to fill in

Help me settle a group purchase. I will upload [the order spreadsheet], [the delivery note] and [the supplier invoice and any transport bill]. Compare them and list every mismatch: items ordered but not delivered, unit differences such as boxes versus pieces, and conflicting versions of the orders. Ask me before deciding anything the documents do not settle, including how to share [transport or other shared costs]. Then make one statement per person with delivered items, their share of costs and the total due, and check that the totals add up to the bills exactly. Show me the totals before producing final files.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related