Invoice line check
Sums invoice lines and says whether they match the total printed on the invoice. Use when the user asks to check an invoice, a bill, or a vendor statement against its lines.
Add the lines. Compare them to the stated total. Do not pay the invoice.
Steps
- Confirm the file has
qtyandunit_price. The sample is assets/sample.csv. - Run
python3 scripts/check_invoice.pywith the file and, when the invoice shows a total, that total as the second argument. - Report
rows,total, andmatchormismatchexactly as printed. Do not round to something else. - If the script rejects a cell, name the row and stop. Do not guess the number.
- Check that the stated total you passed is the one printed on the invoice, not a number you would have liked it to be.
Example
User: Check assets/sample.csv against a printed total of 550.00.
Agent: The script prints rows=2, total=550.00, and match. The desk line is 400 and the two chairs are 150. Nothing is marked paid.
Boundaries
This is arithmetic, not tax advice and not an approval to pay. A match does not mean the price was fair.
Lint report
Score 100. 0 errors, 0 warnings, 0 notes.
skill-lint reported no errors, warnings, or notes.
See also
- ledger-desk, the agent that bundles this skill
- Spend report Finance & ops
- Forecast from actuals Finance & ops
References
- Source path skills/finance-ops/invoice-line-check
- SKILL.md 1.4 KB
- assets/sample.csv 49 B
- scripts/check_invoice.py 1.3 KB
- Raw SKILL.md
- Download the skill folder
- Agent Skills specification