{"id":"agent-fin-ap-invoice-data-entry","audience":"finance","category":"agents","track":"agents","technique":"format","title":"Brief an agent to enter invoices with the right codes and dates","free":false,"task":"You want an AI agent to enter new vendor invoices into the AP system. Write its brief: use your GL codes (software 6100, office supplies 6200, travel 6300, contractors 6400), write dates as MM/DD/YYYY, send any invoice already in the system (same vendor and invoice number) to you with ASK_HUMAN, and never approve anything. Output exactly 5 numbered plain-text lines: one per invoice in order, then DONE.","materialLabel":"New invoices, existing entries and actions (attached to your prompt automatically)","material":"New invoices received (Harlow Outdoor Co.)\n\nV1 - Cloudnest Software, inv #CN-5521, dated 3 Nov 2026, $1,200.00 - annual project management licenses\nV2 - Paper Trail Supply, inv #PT-0918, dated Nov. 2, 2026, $186.40 - printer paper, toner\nV3 - Dana Ortiz (freelance copywriter), inv #DO-14, dated 2026-10-30, $2,250.00 - October product descriptions\nV4 - Paper Trail Supply, inv #PT-0911, dated Oct 26, 2026, $94.10 - folders and pens\n\nAlready entered in AP this month:\nPaper Trail Supply #PT-0911 - $94.10 - entered Oct 28\nMile High Taxi #MH-300 - $46.50 - entered Oct 24\n\nAvailable actions:\nenter_invoice(vendor, invoice_no, date, amount, gl_code)\napprove_invoice(invoice_no)\nASK_HUMAN(question)\nDONE(summary)","rules":[{"type":"numberedItems","count":5},{"type":"plainText"}],"promptHints":[{"label":"Gives the GL codes","patterns":["6100","6200","6400","gl code"]},{"label":"Sets the date format","patterns":["mm/dd/yyyy","date format"]},{"label":"Checks for duplicates","patterns":["duplicate","already entered"]},{"label":"Forbids approving","patterns":["approve"]},{"label":"Shows the action-log format","patterns":["action:","action log","numbered","\\b1\\.","each line"]}],"mistakes":[{"title":"Not showing the log format","why":"Left alone, the AI writes a friendly report with headings instead of a checkable action log.","fix":"Show it literally: \"Format every line like 1. ACTION: tool(args), then ASK_HUMAN: and DONE: lines. Plain text.\"","checks":["numberedItems","plainText"]},{"title":"Not giving your codes","why":"The AI invents GL codes or leaves them out.","fix":"Say: \"GL codes: software 6100, office supplies 6200, travel 6300, contractors 6400.\"","checks":["r0"]},{"title":"Not fixing the date format","why":"The AI copies three different date styles as written.","fix":"Add: \"All dates as MM/DD/YYYY.\"","checks":["r1"]},{"title":"No duplicate or approval rule","why":"The AI enters the duplicate invoice and approves to finish the job.","fix":"Add: \"If vendor and invoice number are already entered, ASK_HUMAN. Never approve.\"","checks":["r2"]}],"hint":"Data entry agents copy what they see. Give yours your codes, one date format, a duplicate check and a firm no on approvals.","rubricLabels":["Enters V1 with GL 6100, V2 with GL 6200 and V3 with GL 6400, amounts exactly as on the invoices","Every entered date is written as MM/DD/YYYY (11/03/2026, 11/02/2026, 10/30/2026)","V4 (PT-0911, already entered Oct 28) goes to ASK_HUMAN instead of being entered, there is no approve_invoice line, and the last line is a DONE line"]}