--- name: check-invoices-against-your-approval-rules description: "An invoice can add up and still break your rules. Your AI checks the math and the rules one at a time and lists each problem. Use for: Check invoices against your approval rules." --- # Check invoices against your approval rules An invoice can add up and still break your rules. Your AI checks the math and the rules one at a time and lists each problem. ## What you need from the user - The invoice details you can share - Your approval rules and limits - The purchase order or contract terms, if any ## What to give back A table of each invoice with the math check, any approval-rule exceptions and the reason for each. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me check invoices against our approval rules. Invoices (vendor, number, date, line items, tax, total): [paste] Our approval rules (limits, who approves what, required documents): [paste] Matching purchase orders or contract terms: [paste] Allowed rounding difference: [fill in] 1. Re-add each invoice and show the math. 2. Check each invoice against the approval rules. 3. Compare prices and amounts with the purchase order. 4. Flag any change to vendor bank details. 5. List each exception with the rule it breaks. If a number or detail is missing, mark it. Don't fill it in. Flag issues only. I'll decide what to approve and pay. ``` ## Rules - BotCurrent rates this job "Drafts for you". Hand everything back as a draft. Do not send, post or submit it. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - If an invoice shows new bank details, call the vendor at a number you already have before paying. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/check-payable-documents-for-approval-policy-exceptions-bf47c4ca4f3d/ Original report: https://github.com/openai/openai-cookbook/blob/main/examples/agents_api/apps/document_review/README.md BotCurrent has not tested this skill. Check the result before you use it.