All problems
Hard

Catch duplicate invoice payments

Accounting

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Review the payment requests in payment_vouchers.csv. Each supplier invoice may be paid only once. If a voucher pays the same supplier invoice again, set status to 'conflict_detected' and put the id of the later payment (the duplicate) in flagged_items. Note: two invoices with different numbers are two valid purchases even with the same amount and supplier. If there is no duplicate, keep 'completed'. Return in result: total_paid=<total of the valid, non-duplicated vouchers, USD>.

Files you work with
payment_vouchers.csv
Your AI must return
total_paid
Level
Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
Time
About 10 minutes with your own AI. Free, not ranked.

Rooms with this problem

  1. Accounting Expert 2 Hard