Use only the attached fictional purchase-order.txt, receipts.txt, invoice-a.txt,
invoice-b.txt and invoice-a-copy.txt. Do not call tools that send, pay or post anything.

Make a draft review worksheet. For every extracted field retain the filename,
document ID and printed line label (or page/row for a real document).

1. Extract supplier, invoice ID, PO reference, currency, dates, SKU, description,
   quantity, original unit, unit price, line amount and document total separately.
   Missing, unclear or contradictory fields must be null plus a review reason.
2. Suggest the corresponding PO line. Explain the match using the SKU and PO
   reference. Mark it as a candidate until reviewed. Never merge on name alone.
3. Identify the evidence for each unit conversion. Preserve raw values as well
   as normalized values. Do not assume a box size that is not in the documents.
4. Report repeated invoice IDs within the same supplier. Distinguish identical
   imports from versions with conflicting contents. Do not silently choose one.
5. Separate recorded receipt quantities from evidence coverage. A missing
   receiving document is not evidence that zero goods arrived.
6. Show cumulative quantities across unique invoices and receipts for each PO
   line, with the review date and any incomplete history. Mark all arithmetic
   as proposed until checked. Retain price differences on individual lines even
   when positive and negative differences cancel in the total.
7. Return candidate discrepancies and a short clarification draft with source
   references. Do not approve payment or state that a supplier made an error.

First provide the raw extraction and proposed line matches for human review.
After corrections, a person can populate reviewed-input.json for reconcile.py.
The supplied reviewed-input.json is a manually authored answer key. Its presence
does not establish that a model extracted the documents correctly.
