Stop the leak: 10 AI skills for what your suppliers charge you
delivery-dispute
turn a short, wrong or warm delivery into a credit note
How the two work together
Claude thinks it through. Paste the Claude prompt into Claude Code, or drop the folder into your skills folder. Claude does the judgement: what to look for, what is worth doing, what is right.
Codex gets it done. At the hand-off point Claude runs Codex on your machine with one command and passes it the Codex prompt. Codex does the mechanical part and hands the result back. Claude checks it before you see it.
No API key to set up: Claude calls the Codex you already have installed. If Codex is not installed, Claude does that half itself and tells you.
Prompt for Claude
--- name: delivery-dispute description: Turns a short, wrong, damaged or warm delivery into a priced credit claim sent inside the supplier's own deadline, using the readings, photographs and delivery note taken at the door. --- # Getting the money back on a bad delivery You give me what actually arrived: the delivery note, what was short or wrong or damaged, the temperature readings you took, and the photographs from the door. I give you back a priced claim, one line per fault, with the deadline from your supplier's own terms on it and the message to send. The claim is only as good as what you record while the van is still outside, so most of the work below happens at the kerb. ## What it does 1. **Log the delivery before anyone signs anything.** Write down, in this order: supplier name and account number, delivery note number, invoice number if one is printed, the date, the time the vehicle arrived, the driver's name and the vehicle registration. Checking before signing is a condition of the claim in most wholesale terms: "All Goods should be examined upon delivery at case level prior to being signed for" (Bestway Wholesale, Terms & Conditions of Sale, clause 3.7). If the driver says he cannot wait, write "not checked, driver would not wait" on the note before you sign it, and record the time you wrote it. Never sign a clean note for a delivery nobody has opened. 2. **Probe the chilled and frozen lines and write the actual number.** Take the reading between two packs, or an infra-red reading off the pack surface, before the cages come off the kerb. The FSA's caterer pack sets the delivery targets as "Chilled foods: Approximately 8°C" and "Frozen foods: Approximately -18°C", and asks separately, "Do you check that fresh tuna, mackerel & other high-risk fish deliveries are at or below 4°C?" (Food Standards Agency, *Safer Food, Better Business for Caterers*). Treat 8°C as a hard line rather than an approximation: under Schedule 4 of the Food Safety and Hygiene (England) Regulations 2013, a person who keeps such food at food premises "at a temperature above 8°C commits an offence". Record supplier, time, product, the reading itself and whether you accepted or rejected, and never write "OK" where a number belongs. 3. **Photograph each fault in the same four shots.** Shot one: the pallet or cage where it stands, with the vehicle in frame. Shot two: the product label showing the code, the batch and the use-by date. Shot three: the fault itself, close enough to read. Shot four: the probe or the vehicle gauge with the product in frame. Your supplier already builds its case this way, so match it: "our electronic delivery notification (photograph of the goods delivered and GPS location) shall be sufficient proof of the delivery. For frozen/chilled products a photograph of the vehicle temperature gauge and/or print out the temperature shall be sufficient proof of the product temperature range at the time of delivery" (Bidfresh Limited, Trading Terms, clause 12(iii)). 4. **Write each fault onto the delivery note and get the driver to sign your copy.** Use the product code, the description, the quantity short or damaged and the fault, in the same words you will use in the claim. The terms usually put this in the driver's own book: "The annotations or alterations should be noted in the driver's credit request book (and agreed with Our driver), a copy of which should be retained by You" (Bestway Wholesale, clause 3.8). Photograph the annotated note with the signature on it before the driver leaves, because a book that lives on the van is the supplier's record and not yours. 5. **Decide accept or reject line by line, and send back what has to go back on the vehicle.** The FSA's instruction is to refuse rather than take it in: "If you do not think that the food a supplier delivers has been handled safely (for example, if you think it has not been kept cold enough) reject the delivery, contact your supplier immediately & write the details in the diary" (*Safer Food, Better Business for Caterers*). The same pack tells you to "throw away any punctured vacuum packs, swollen packs or badly dented cans & check that tops are secure on bottles & jars & seals are unbroken". Where the terms require it, rejected stock leaves on the same van: "Damaged, faulty and/or short dated Goods or excesses equivalent to complete case or more must be returned with Our driver" (Bestway Wholesale, clause 3.8). Write the rejection in the food safety diary as well as on the claim, because those are two different records. 6. **Find the claim window in this supplier's own terms and put a date and a clock time on it.** The windows are short and they differ. Bidfresh Limited requires shortages "at the time of delivery" (clause 14), shortages or damage on an unattended drop "on the day of delivery itself" (clause 12(iv)), and damaged goods notified "within 24 hours of delivery" (clause 15). Bestway gives one working day and closes the door hard: "If notification is not received within 1 working day of the delivery then the Goods shall be deemed to have been properly delivered and accepted. Time and manner of the notification are of the essence" (clause 3.12), with non-arrival tighter still at "the latest the working day after delivery was due" (clause 3.11). Where two clauses cover the same delivery, work to the earlier one. If the written terms are not to hand, say the window is unknown and ask for them rather than assuming 24 or 48 hours. 7. **Build the claim table, one row per fault, priced.** Columns in this order: product code, product description, quantity ordered, quantity delivered, quantity claimed, unit price excluding VAT, line value excluding VAT, fault, photograph reference, action wanted. The supplier's own code is not optional, because the terms require the detail "by way of product description and code" (Bestway Wholesale, clause 3.12). Take every price off this delivery note or this invoice, never off last week's. Total the claim excluding VAT and state that total once. 8. **Phone inside the window, then email the same facts within the hour.** Where the terms name a method, use that method: Bestway requires the customer to "notify Us by phone within one working day of the delivery" (clause 3.12), which makes the call the claim and the email the proof it happened. Subject line: account number, delivery note number, delivery date, and the words "credit claim". Body: one short paragraph of what happened, the table, the photographs attached and named to match the reference column, the clause you are claiming under, and the total. Ask for one outcome per line, credit or replacement on the next drop or collection, and do not invite them to propose something else. 9. **Chase the credit note itself and check it before the invoice falls due.** A promise on the phone is not money. HMRC requires a valid credit note to "reflect a genuine mistake or overcharge or an agreed reduction in the value of the supply, and be issued within 14 days of the refund payment being made to the customer", and to show its own number and date, the supplier's name, address and VAT registration number, your name and address, a description, the quantity and amount for each description, the total credited excluding VAT, the rate and amount of VAT credited, and the number and date of the original invoice (HMRC, *VAT guide (VAT Notice 700)*, section 18.2.3). If it is marked "This is not a credit note for VAT", your VAT does not move and whoever keeps your books needs telling. Check the credited lines and values line by line against your table, and check the credit reaches the statement before the payment date. ## Then it checks 1. Every row in the claim table carries the supplier's own product code, a quantity claimed and a unit price excluding VAT, and the line values add up exactly to the stated total. 2. Every temperature in the output is a number with a time beside it, and the words "OK", "fine", "cold" and "about" appear in no temperature field. 3. Every fault in the table points to at least one named photograph, and every named photograph has a one-line description of what it shows. 4. The output names this supplier's deadline, quotes the clause it came from word for word, and gives the date and clock time the window closes, or else states plainly that the terms were not supplied and the window is unknown. 5. The message asks for exactly one outcome per line and contains no sentence inviting the supplier to suggest a different one. 6. Every number, temperature, price, quantity, time and clause in the output traces back to the owner's own records or to the supplier's written terms, and nothing appears that neither source contains. Any check fails: name it, redo that step once. Failed twice: say what is wrong and stop. ## Rules - Public information only. - Never invent a fact, a number or a quote. - Never invent, round or tidy a temperature reading, a case count, a weight or a price. A claim built on a number nobody actually took falls apart the moment the supplier asks to see the probe record, and it poisons every honest claim you make afterwards, which is far worse than having claimed nothing. - Never state a claim window from memory, from another supplier, or from a general rule of thumb. Real windows run from "at the time of delivery" to one working day, so a guessed window either makes the owner miss a live deadline or makes them wrong in writing to their own supplier; if the terms are not in front of you, say the window is unknown. - Never smooth over a rejection by recording only the credit. The credit is a money record and the food safety diary is the legal one, and a gap in the diary tells an environmental health officer the system is not being run, which does more damage than the delivery ever did. - This output is a working document prepared for the owner's environmental health officer, accountant or solicitor to check. It is not legal advice, not accounting advice and not a food safety determination, and it must never be presented or sent as though it were. ## Built from - Food Standards Agency, "Safer Food, Better Business for Caterers" (Crown copyright pack, adapted edition published by Islington Council), https://www.islington.gov.uk/~/media/sharepoint-lists/public-records/environmentalprotection/information/adviceandinformation/20232024/20240101-adapted-sfbb-pack.pdf, adapted January 2024: gave the delivery acceptance targets (chilled approximately 8°C, frozen approximately -18°C, high-risk fish at or below 4°C), the packaging faults that mean reject, and the instruction to reject, contact the supplier and write it in the diary. - The Food Safety and Hygiene (England) Regulations 2013, Schedule 4, https://www.legislation.gov.uk/uksi/2013/2996/schedule/4/made, made 2013: supplied the wording that keeping such food above 8°C at food premises "commits an offence", which is why this skill treats 8°C as a reject line and not an approximation. - Bidfresh Limited, "Bidfresh Trading Terms", https://www.campbellbrothers.co.uk/wp-content/uploads/2024/03/Trading-Terms-and-conditions-Bidfresh-vMarch24-Scotland.pdf, version marked March 2024, read 13 September 2026: supplied the same-day and 24-hour claim windows, and the fact that the supplier's own photograph and vehicle temperature print-out count as proof, which is why the owner takes matching evidence. - Bestway Wholesale, "Terms & Conditions of Sale", https://www.bestwaywholesale.co.uk/terms-and-conditions, last revised 1 November 2021: supplied the examine-before-signing condition, the driver's credit request book, the requirement to give product description and code, and the one-working-day deadline after which goods are deemed accepted. - HM Revenue & Customs, "VAT guide (VAT Notice 700)", https://www.gov.uk/guidance/vat-guide-notice-700, published 17 December 2014 and last updated 25 June 2026: supplied section 18.2.3, the list of details a credit note must show to be valid for VAT and the meaning of a note marked "This is not a credit note for VAT".
Prompt for Codex
# delivery-dispute ## You are given A folder from a UK hospitality business covering one delivery: the delivery note (usually a photograph, often with handwriting on it), the invoice if one was printed, the photographs taken at the door, a note of the temperature readings with the times they were taken, the order or order confirmation, and the supplier's written terms and conditions if the business holds them. The supplier name, account number, delivery date, arrival time, driver name and vehicle registration are supplied in a text file. Assume the photographs have camera file names, the delivery note is a phone picture taken at an angle, and the terms may not be in the folder at all. ## Produce Write into an `output/` folder next to the inputs: 1. `claim-table.csv` with these columns in this order: `Product code`, `Product description`, `Quantity ordered`, `Quantity delivered`, `Quantity claimed`, `Unit price excluding VAT (GBP)`, `Line value excluding VAT (GBP)`, `Fault`, `Photograph reference`, `Action wanted`. One row per fault. `Action wanted` holds exactly one of `credit`, `replacement on the next drop`, `collection`. Write the claim total excluding VAT once, at the foot, and nowhere else. 2. `temperature-record.csv` with columns: `Date`, `Time`, `Supplier`, `Delivery note number`, `Product`, `Product code`, `Reading (degrees C)`, `Probe between packs or surface reading`, `Accepted or rejected`, `Source file`. Every reading is the number that was taken. No cell in the reading column may contain a word. 3. `deadline.md` - the supplier named, the clause number, the clause reproduced word for word, the delivery date and time it runs from, and the date and clock time the window closes. Where two clauses cover the same delivery, quote both and work to the earlier one, saying which. If the written terms were not supplied, this file contains one line: `Terms not supplied. The claim window is unknown. Ask the supplier for the written terms before relying on any date.` and no date at all. 4. `photograph-index.csv` with columns: `Photograph reference`, `Original file name`, `What it shows`, `Claim row it supports`, `Time taken if the file carries one`. Every fault in the claim table points to at least one reference here, and every reference here has a one-line description. 5. `delivery-log.md` - supplier name and account number, delivery note number, invoice number, date, vehicle arrival time, driver name, vehicle registration, whether the goods were checked before signing, and the exact words written on the delivery note before it was signed. 6. `claim-email.md` - subject line: account number, delivery note number, delivery date, and the words `credit claim`. Body: one short paragraph of what happened, the claim table, the photographs attached and named to match the reference column, the clause being claimed under quoted word for word, and the total excluding VAT. One outcome asked for per line. No sentence invites the supplier to propose a different one. 7. `rejected-lines.csv` with columns: `Product code`, `Product description`, `Quantity rejected`, `Reason`, `Reading (degrees C)`, `Time`, `Returned on the vehicle (yes/no)`, `Written in the food safety diary (yes/no/not recorded)`, `Photograph reference`. 8. `not-claimable.csv` with columns: `Product code`, `Product description`, `What is wrong`, `Why it cannot be claimed`, `What is needed to claim it`. 9. `credit-note-check.csv` with columns: `Claim row`, `Product code`, `Quantity claimed`, `Line value claimed excluding VAT (GBP)`, `Credit note number`, `Credit note date`, `Quantity credited`, `Value credited excluding VAT (GBP)`, `VAT rate credited`, `VAT credited (GBP)`, `Original invoice number on the credit note`, `Difference (GBP)`, `Marked "This is not a credit note for VAT" (yes/no)`. Leave the credit note columns empty until a credit note is supplied. 10. `README.md` - the files read, the delivery date, the number of fault rows, the claim total excluding VAT, and whether the deadline is known, and if so when it closes. ## Rules - Every price comes off this delivery note or this invoice. Never take a price from last week, from another delivery, or from a price list. - Never invent, round or tidy a temperature reading, a case count, a weight or a price. The words `OK`, `fine`, `cold` and `about` must not appear in any temperature field. - Never state a claim window from memory, from another supplier, or from a general rule of thumb. If the written terms are not in the folder, `deadline.md` says the window is unknown and no date is written anywhere in the output. - Quote the supplier's own terms word for word with the clause number. Never paraphrase a deadline. - Use the supplier's own product code on every row. A row without a product code goes to `not-claimable.csv`. - Purchase prices go in excluding VAT and are labelled as such. The line values must add up exactly to the stated total. - Keep the money record and the food safety record separate. `rejected-lines.csv` records whether a rejection was written in the food safety diary; it never writes the diary and never states whether a temperature was lawful. - Codex records readings, prices and deadlines. It never decides whether a line should have been accepted or rejected, and it never makes a food safety determination. - Use British English, £, and DD Month YYYY dates. No em dashes. - The output is a working document prepared for the owner's environmental health officer, accountant or solicitor to check. Write no sentence that presents it as legal advice, accounting advice or a food safety ruling. ## Return A list of the files written with their absolute paths, the number of fault rows, the claim total excluding VAT, the deadline date and clock time or the words `window unknown, terms not supplied`, the number of temperature readings recorded, and any fault row with no photograph reference.
Built from the best public work on this
Sources for delivery-dispute
Everything below was opened and read on 13 September 2026. Nothing is cited that could not be loaded.
1. Food Standards Agency, "Safer Food, Better Business for Caterers"
https://www.islington.gov.uk/~/media/sharepoint-lists/public-records/environmentalprotection/information/adviceandinformation/20232024/20240101-adapted-sfbb-pack.pdf, adapted January 2024.
This is the FSA's own food safety management pack for caterers, Crown copyright and reproduced under the Open Government Licence, in the 110-page adapted edition published by Islington Council. It was read from the council copy because food.gov.uk's guidance pages were returning 503 and 410 errors throughout this session, so the FSA's own hosting of the pack could not be loaded; the copyright page of this PDF names the Food Standards Agency as the source. Three passages drive the skill. The stock control safe method sets the acceptance temperatures as "Chilled foods: Approximately 8°C" and "Frozen foods: Approximately -18°C" and asks "Do you check that fresh tuna, mackerel & other high-risk fish deliveries are at or below 4°C?", which became step 2. The same method lists what to check at the door, "it is within its 'use by' date", "it has been kept cold enough", "it has not gone off", "the stock is clean & not damaged, e.g. throw away any punctured vacuum packs, swollen packs or badly dented cans & check that tops are secure on bottles & jars & seals are unbroken", which became the reject decisions in step 5. The suppliers and contractors method supplies the action: "If you do not think that the food a supplier delivers has been handled safely (for example, if you think it has not been kept cold enough) reject the delivery, contact your supplier immediately & write the details in the diary." The skill departs from the pack in two places. First, the pack says "approximately 8°C", and the skill hardens that into a reject line, for the reason set out in source 2. Second, the pack is silent on money: it tells an owner to reject and to record, and stops there. Every commercial step in this skill, the priced table, the claim window and the credit note check, is added because the FSA's guidance protects the customer and leaves the owner paying for stock they refused.
2. The Food Safety and Hygiene (England) Regulations 2013, Schedule 4
https://www.legislation.gov.uk/uksi/2013/2996/schedule/4/made, made 2013, read 13 September 2026.
The chill holding requirements in Schedule 4, paragraph 2(1), read in full: any person who keeps food which "is likely to support the growth of pathogenic micro-organisms or the formation of toxins" and with respect to which "any commercial operation is being carried out", "at or in food premises at a temperature above 8°C commits an offence". This is the whole reason step 2 records a number and not an impression, and the reason the skill does not soften 8°C the way the FSA's caterer pack does. The offence attaches to the person keeping the food on the premises, which is the owner, not the wholesaler whose van it came off. The moment a warm delivery is accepted and wheeled into the walk-in, the legal exposure has moved from the supplier to the buyer, while the commercial loss stays with the buyer as well. The schedule also carries the defences an owner should know exist rather than rely on: paragraph 4 allows a manufacturer's written recommendation of a higher specified temperature, and paragraph 5 allows a four-hour tolerance for food on display for service and a tolerance for transfers between premises and vehicles. The skill deliberately does not build those defences into the claim, because they are defences to a prosecution and not a reason to accept a delivery, and an owner who reasons from them at the kerb will accept stock they should have refused.
3. Bidfresh Limited, "Bidfresh Trading Terms"
https://www.campbellbrothers.co.uk/wp-content/uploads/2024/03/Trading-Terms-and-conditions-Bidfresh-vMarch24-Scotland.pdf, no publication date printed on the document, version marked March 2024 in the file name, read 13 September 2026.
Bidfresh Limited is the fresh produce, meat, fish and catering supply arm of the Bidcorp group in the UK, and these are the trading terms applied through its Scottish depots. Bidfood's own group trading terms PDF was searched for and its published address now returns a 404, so this set was used instead as a loadable document from the same group. Three clauses matter. Clause 14 reads "Please check your delivery with our driver as claims for shortages must be made at the time of delivery." Clause 15 reads "Damaged goods with the proof of delivery may be returned for full credit. You must notify us of any such damaged goods within 24 hours of delivery." Clause 12(iv), covering unattended drops, reads "you must notify us of any shortage in and/or damaged products in an unattended delivery on the day of delivery itself. We will not process a claim for credit for a shortage in and/or damage to the items delivered if such claim is not made on the day of delivery." Together they became step 6. Clause 12(iii) shaped step 3 in a way the supplier probably did not intend: it makes the supplier's own photograph and GPS record "sufficient proof of the delivery", and for chilled and frozen goods makes "a photograph of the vehicle temperature gauge and/or print out the temperature" sufficient proof of the product's temperature range. The skill disagrees with accepting that asymmetry quietly. If the supplier's photograph settles the question by default, the owner needs an equally timed and equally specific photograph of their own, which is why step 3 fixes four shots in a set order rather than leaving it to whoever has a phone out. The skill also takes the earlier of clauses 14 and 15 where a delivery is both short and damaged, because a supplier defending a claim will apply the clause that suits it.
4. Bestway Wholesale, "Terms & Conditions of Sale"
https://www.bestwaywholesale.co.uk/terms-and-conditions, last revision 1 November 2021, read 13 September 2026.
Bestway is one of the largest independent wholesalers supplying UK convenience retail and catering, and its delivery clauses are the most explicit of any set read for this skill. Clause 3.7 makes the check a precondition: "All Goods should be examined upon delivery at case level prior to being signed for and (subject to sub-clause 3.8 below) must be signed for upon delivery/collection. You are expected to retain one copy of the receipt note which You sign." Clause 3.8 supplies the mechanism at the door, including that annotations "should be noted in the driver's credit request book (and agreed with Our driver), a copy of which should be retained by You", and that damaged, faulty or short-dated goods of a complete case or more "must be returned with Our driver". Clause 3.12 supplies the deadline and the required detail: notification "by phone within one working day of the delivery, setting out full details of damage, apparent tampering, short or incorrect delivery, by way of product description and code. Credit will only be considered by Us where these terms are complied with in full. If notification is not received within 1 working day of the delivery then the Goods shall be deemed to have been properly delivered and accepted. Time and manner of the notification are of the essence." Clause 3.11 sets non-arrival notice at "the latest the working day after delivery was due". The skill disagrees with clause 3.8 on one point of practice. Relying on the driver's credit request book leaves the only contemporaneous record in the counterparty's possession, on a vehicle, in the hands of the person whose delivery is being disputed. Step 4 therefore requires the annotated note to be photographed with the signature visible before the driver leaves, which costs nothing and removes the single most common reason a claim inside the window still fails.
5. HM Revenue & Customs, "VAT guide (VAT Notice 700)"
https://www.gov.uk/guidance/vat-guide-notice-700, published 17 December 2014, last updated 25 June 2026.
Section 18.2 covers credits and contingent discounts, and section 18.2.3 lists what a credit note must contain to be valid for VAT: it must "reflect a genuine mistake or overcharge or an agreed reduction in the value of the supply, and be issued within 14 days of the refund payment being made to the customer", must "give value to the customer", and must show the identifying number and date of issue, the name, address and registration number of the supplier, the name and address of the customer, a description identifying the goods, the quantity and amount for each description, the total amount credited excluding VAT, the rate and amount of VAT credited in sterling, and the number and date of the original VAT invoice. It also states that credit notes issued without a VAT adjustment "should state 'This is not a credit note for VAT'". This is the whole of step 9, and it is the step most often skipped, because a verbal agreement to credit feels like the end of the job and is not. The skill is careful about one thing the notice is routinely misquoted on. The 14 days runs from the refund payment being made to the customer, and the obligation sits on the supplier, not the buyer. It is not a deadline the owner can quote at a wholesaler as "you have fourteen days to credit me", and the skill does not use it that way; it uses it only to test whether the document that arrives is a valid VAT credit note, and to catch the note that is marked as not being one, because that note changes the purchase ledger without changing the VAT return.
Best public prompt we found for this job
No public prompt or agent file was found that covers a buyer claiming credit from a supplier for a bad delivery. The closest published artefact is `small-business/skills/handle-complaint/SKILL.md` in Anthropic's `knowledge-work-plugins` repository (23,994 stars, read from api.github.com), which handles a complaint arriving from a customer rather than one going out to a supplier, and which is built around connectors rather than around evidence. Its transferable line is the approval gate:
**Never send a response without explicit owner approval.** Drafts only.
That line is worth copying because a delivery claim is a message to a trading partner the owner has to keep working with next week, and an agent that sends rather than drafts can damage a supplier relationship far more cheaply than it can recover the eighteen pounds of chicken thighs that started it.
Want this running in your business?
I optimise how businesses run — your sales, your visibility, your social media — and build bespoke software where nothing off the shelf fits. The first conversation is free. Work starts from £150 a day.
Foxera