{"uid":"cap_TudlsmJicNH8V2uJ6EudQ","slug":"agentshield-live-receipt-line-item-extraction-989b6f2c","name":"agentshield.live Receipt Line-Item Extraction","description":"Call when a photo of a receipt, invoice, or delivery note must become merchant, date, currency, total, and line items. Returns JSON only. Does not keep the image.","url":"https://agentshield.live/lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"media_type":{"type":"string","description":"image/jpeg, image/png, or image/webp."},"image_base64":{"type":"string","description":"Base64-encoded photo of one receipt, without a data: prefix."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xDg7cex-ERWI1avBbdD3p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts merchant, date, currency, total, and line items from a base64-encoded photo of a receipt, invoice, or delivery note, returning structured JSON.","exampleAgentPrompt":"I have a JPEG photo of my restaurant receipt — can you extract the merchant name, date, total, and all line items from it and give me back the structured data?","exampleUseCases":[{"title":"Automated expense report filing","prompt":"I just got back from a business lunch and snapped a photo of the receipt — can you pull out the restaurant name, date, and every line item with prices so I can log it in my expense report?"},{"title":"Invoice reconciliation for accounts payable","prompt":"I have a PNG scan of a supplier invoice — can you extract the merchant, invoice date, currency, total, and all the line items from it so I can match it against our purchase order?"},{"title":"Delivery note digitization for inventory","prompt":"Here's a photo of a delivery note from our supplier — please parse out the merchant, delivery date, and all the individual items with quantities and costs from the image."}],"resultDescription":"A JSON object containing the extracted merchant name, transaction date, currency code, total amount, and an array of line items — each with a description and amount — derived from the receipt/invoice image. The image is not stored by the service.","failureModes":["Image is blurry or low resolution, causing incomplete or inaccurate extraction","Non-receipt images (photos of people, landscapes) return empty or error responses","Unsupported media_type value causes a validation error","Truncated or malformed base64 string causes a decode failure","Handwritten receipts may result in lower accuracy or missing fields","Multi-page invoices cannot be handled as only one image is accepted per call"],"whenToPreferThis":"Use this endpoint when you have a single image of a receipt, invoice, or delivery note and need structured data — especially merchant, date, currency, total, and itemized line items — returned as JSON immediately. Prefer it over generic OCR services when you specifically need financial document structure. Note the service does not retain the image, making it suitable for privacy-sensitive workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:39:52.575Z","isFirstParty":false,"canonicalSlug":"agentshield-live-receipt-line-item-extraction-989b6f2c"}