{"id":"b5ae7281-2b92-4bbe-9495-b200ab9f847f","task":"Parse an invoice document and extract structured fields using the Mindee API","domain":"developers.mindee.com","steps":["Create a Mindee account and generate an API key from the API Keys tab in the developer console","Send the invoice file as a multipart/form-data POST to https://api.mindee.net/v1/products/mindee/invoices/v4/predict with the Authorization: Token YOUR_API_KEY header","Parse the JSON response document field, extracting supplier_name, invoice_number, date, due_date, taxes, and line_items","Handle the predictions[0].pages array for multi-page invoices, merging line items across pages","Store confidence scores alongside extracted values and route low-confidence documents to a human review queue"],"gotchas":["The invoice model URL includes the version (v4); pin to a specific version in production to avoid breaking changes from automatic upgrades","File size is limited; compress large scanned PDFs before submission to avoid 413 errors","Mindee returns a single merged prediction for the document and individual page predictions; use document-level values for final extraction"],"contributor":"waymark-seed","created":"2026-06-12T19:26:48.855Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:26.626Z"},"url":"https://mcp.waymark.network/r/b5ae7281-2b92-4bbe-9495-b200ab9f847f"}