{"uid":"cap_Jq7BETuSxqLEV02doY46f","slug":"handel-po-invoice-delivery-note-matcher-2198bd13","name":"Handel PO–Invoice–Delivery Note Matcher","description":"Compares a purchase order against a delivery note and an invoice, line by line. Lines are paired by article number where both sides carry one, and otherwise by text similarity — a text pairing is marked as such with its similarity score, because quietly matching on similar wording is exactly how a wrong invoice gets approved.","url":"https://handel.halowerk.com/v1/po-invoice-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"invoice":{"type":"array","items":{"type":"object","required":["quantity"],"properties":{"sku":{"type":"string","maxLength":100},"quantity":{"type":"number"},"unit_price":{"type":"number"},"description":{"type":"string","maxLength":300}},"additionalProperties":false},"maxItems":300,"minItems":1,"description":"Invoiced lines."},"currency":{"type":"string","default":"EUR","maxLength":3,"minLength":3},"delivery_note":{"type":"array","items":{"type":"object","required":["quantity"],"properties":{"sku":{"type":"string","maxLength":100},"quantity":{"type":"number"},"description":{"type":"string","maxLength":300}},"additionalProperties":false},"maxItems":300,"description":"Delivered lines. Optional — without it only a two-way match runs."},"purchase_order":{"type":"array","items":{"type":"object","required":["quantity"],"properties":{"sku":{"type":"string","maxLength":100},"quantity":{"type":"number"},"unit_price":{"type":"number"},"description":{"type":"string","maxLength":300}},"additionalProperties":false},"maxItems":300,"minItems":1,"description":"Ordered lines."},"price_tolerance_pct":{"type":"number","default":0,"maximum":50,"minimum":0,"description":"Allowed unit-price deviation in percent."},"text_match_threshold":{"type":"number","default":0.5,"maximum":1,"minimum":0.1,"description":"Minimum text similarity to pair lines without an article number."},"quantity_tolerance_pct":{"type":"number","default":0,"maximum":50,"minimum":0,"description":"Allowed quantity deviation in percent."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vnXs66im6FNS4esh0lEbU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a purchase order against a delivery note and an invoice line by line, pairing lines by article number or text similarity and flagging mismatches with similarity scores.","exampleAgentPrompt":"Can you do a three-way match on this purchase order, delivery note, and invoice — compare them line by line and flag any mismatches, making sure to show the similarity score where lines were paired by text rather than article number?","exampleUseCases":[{"title":"Catch overcharged invoice before payment","prompt":"I've got a supplier invoice, our original purchase order, and the delivery note — can you compare all three line by line and tell me if the invoice is trying to charge us for anything we didn't order or didn't receive?"},{"title":"AP automation invoice approval gate","prompt":"Before we approve this invoice for payment, run it against the PO and the goods receipt note line by line and highlight every line where prices, quantities, or article numbers don't match."},{"title":"Audit suspicious invoice from new vendor","prompt":"We got an invoice from a new vendor and I want to verify it carefully — please match each line against our purchase order and delivery note, and flag any lines that were only paired by text similarity rather than article number so I can review those manually."}],"resultDescription":"A structured list of matched line pairs, each indicating the pairing method used (article number match or text similarity), the similarity score when text-based pairing was used, the values from each of the three documents (PO, delivery note, invoice), and any detected mismatches in quantity, price, or description.","failureModes":["Missing or malformed purchase order, delivery note, or invoice document causes a 400 error","No lines can be matched due to completely different article numbers and low text similarity, returning empty match results","Text similarity pairing producing false positives on vaguely similar product descriptions","Unstructured or non-machine-readable document formats that cannot be parsed into line items","Payment failure or insufficient USDC balance returning a 402 response"],"whenToPreferThis":"Choose this endpoint when you need automated three-way matching of a purchase order, delivery note, and invoice — especially when line items may lack consistent article numbers and need text-similarity fallback pairing. It is ideal for accounts payable workflows, fraud detection on incoming invoices, and audit trails where transparent similarity scoring is required to justify why lines were matched.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:47:36.862Z","isFirstParty":false,"canonicalSlug":"handel-po-invoice-delivery-note-matcher-2198bd13"}