{
  "x402Version": 2,
  "id": 80445,
  "slug": "80445",
  "resource": "https://agent-evidence-extractor.defcronyke.workers.dev/v1/invoice-pdf-parse-lite",
  "description": "Deterministically extract explicitly labeled invoice header fields from a searchable PDF for $0.005 USDC on Base, Arbitrum, or Polygon. Exact source lines accompany values; unsupported fields remain null. No model/API-credit calls, OCR, arithmetic, or line-item inference. Scanned PDFs are rejected.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "supplier_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Supplier or vendor name exactly as printed."
          },
          "invoice_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Invoice identifier; preserve formatting."
          },
          "invoice_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed issue date; preserve its original format."
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed payment due date; preserve its original format."
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Currency explicitly shown; null if not explicit."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed subtotal, preserving currency and formatting."
          },
          "tax_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed tax amount, preserving currency and formatting."
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed final amount due, preserving formatting."
          },
          "purchase_order_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed purchase-order reference."
          },
          "payment_terms": {
            "type": [
              "string",
              "null"
            ],
            "description": "Printed payment terms; do not infer."
          },
          "line_items": {
            "type": [
              "array",
              "null"
            ],
            "maxItems": 10,
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Printed product or service description."
                },
                "sku": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Printed item, product, or SKU code."
                },
                "quantity": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Printed quantity, preserving formatting and units."
                },
                "unit_price": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Printed per-unit price, preserving currency and formatting."
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Printed line amount, preserving currency and formatting."
                }
              },
              "required": [
                "description",
                "sku",
                "quantity",
                "unit_price",
                "amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "supplier_name",
          "invoice_number",
          "invoice_date",
          "due_date",
          "currency",
          "subtotal",
          "tax_amount",
          "total_amount",
          "purchase_order_number",
          "payment_terms",
          "line_items"
        ],
        "additionalProperties": false
      },
      "evidence": {
        "type": "object",
        "properties": {
          "supplier_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoice_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ]
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_amount": {
            "type": [
              "string",
              "null"
            ]
          },
          "purchase_order_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "payment_terms": {
            "type": [
              "string",
              "null"
            ]
          },
          "line_items": {
            "type": [
              "array",
              "null"
            ],
            "maxItems": 10,
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sku": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit_price": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "amount": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "description",
                "sku",
                "quantity",
                "unit_price",
                "amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "supplier_name",
          "invoice_number",
          "invoice_date",
          "due_date",
          "currency",
          "subtotal",
          "tax_amount",
          "total_amount",
          "purchase_order_number",
          "payment_terms",
          "line_items"
        ],
        "additionalProperties": false
      },
      "model_calls": {
        "type": "integer",
        "const": 0,
        "description": "This deterministic endpoint makes no model API calls."
      },
      "processing": {
        "type": "string",
        "const": "deterministic"
      },
      "source_pdf_pages": {
        "type": "integer",
        "minimum": 1,
        "maximum": 2
      },
      "note": {
        "type": "string"
      }
    },
    "required": [
      "data",
      "evidence",
      "model_calls",
      "processing",
      "source_pdf_pages",
      "note"
    ],
    "additionalProperties": false
  },
  "tags": [
    "invoice",
    "receipt",
    "invoice-pdf",
    "receipt-pdf",
    "PDF text extraction",
    "accounts payable",
    "deterministic",
    "no-model",
    "no-OCR",
    "evidence"
  ],
  "sourceHost": "agent-evidence-extractor.defcronyke.workers.dev",
  "lastUpdated": "2026-11-15T18:37:34.252Z",
  "quality": {},
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "agent-evidence-extractor.defcronyke.workers.dev",
    "manifest_name": "Agent Evidence Utility",
    "source": "submitted",
    "source_manifest_url": "https://agent-evidence-extractor.defcronyke.workers.dev/.well-known/x402",
    "submitted_at": "2026-11-15T18:37:34.252Z"
  },
  "exampleResponse": {
    "data": {
      "supplier_name": "string",
      "invoice_number": "string",
      "invoice_date": "string",
      "due_date": "string",
      "currency": "string",
      "subtotal": "string",
      "tax_amount": "string",
      "total_amount": "string",
      "purchase_order_number": "string",
      "payment_terms": "string",
      "line_items": [
        {
          "description": "string",
          "sku": "string",
          "quantity": "string",
          "unit_price": "string",
          "amount": "string"
        }
      ]
    },
    "evidence": {
      "supplier_name": "string",
      "invoice_number": "string",
      "invoice_date": "string",
      "due_date": "string",
      "currency": "string",
      "subtotal": "string",
      "tax_amount": "string",
      "total_amount": "string",
      "purchase_order_number": "string",
      "payment_terms": "string",
      "line_items": [
        {
          "description": "string",
          "sku": "string",
          "quantity": "string",
          "unit_price": "string",
          "amount": "string"
        }
      ]
    },
    "model_calls": 0,
    "processing": "string",
    "source_pdf_pages": 0,
    "note": "string"
  }
}