{
  "x402Version": 2,
  "id": 29580,
  "slug": "29580",
  "resource": "https://netintel.dev/extract/invoice",
  "description": "Extract structured data from invoice or receipt text — or directly from an invoice URL (PDF, HTML, or plain text, fetched and parsed server-side) — using Claude Haiku: returns vendor, invoice number, dates, line items, subtotal, tax, total, and currency as clean JSON for accounts-payable, expense processing, and bookkeeping automation.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cached": {
            "description": "True if served from the in-memory cache.",
            "type": "boolean"
          },
          "findings": {
            "description": "Informational findings (e.g. no_total_found, totals_mismatch).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "grade": {
            "description": "Letter grade A-F",
            "type": "string"
          },
          "invoice": {
            "description": "Parsed invoice fields: vendor, invoice_number, invoice_date, due_date, line_items (array of {description, quantity, unit_price, amount}), subtotal, tax, total, currency. Missing fields are null.",
            "type": "object"
          },
          "line_item_count": {
            "description": "Number of line items extracted.",
            "type": "number"
          },
          "score": {
            "description": "Quality score 0-100",
            "type": "number"
          },
          "source": {
            "description": "Where the invoice content came from. type is \"text\" or \"url\"; url and content_type (pdf | html | text) are null in text mode.",
            "properties": {
              "content_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "totals_reconcile": {
            "description": "True if sum(line_items.amount) + tax ≈ total (within $0.02). False if they do not reconcile. Null if total or subtotal is missing.",
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "Acme Supplies Inc\nInvoice INV-2024-0142\nDate: 2024-03-01  Due: 2024-03-31\nWidget A  10 x $5.00 = $50.00\nShipping  1 x $12.00 = $12.00\nSubtotal: $62.00\nTax: $5.58\nTotal: $67.58 USD"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cached": false,
            "findings": [],
            "grade": "A",
            "invoice": {
              "currency": "USD",
              "due_date": "2024-03-31",
              "invoice_date": "2024-03-01",
              "invoice_number": "INV-2024-0142",
              "line_items": [
                {
                  "amount": 50,
                  "description": "Widget A",
                  "quantity": 10,
                  "unit_price": 5
                },
                {
                  "amount": 12,
                  "description": "Shipping",
                  "quantity": 1,
                  "unit_price": 12
                }
              ],
              "subtotal": 62,
              "tax": 5.58,
              "total": 67.58,
              "vendor": "Acme Supplies Inc"
            },
            "line_item_count": 2,
            "score": 100,
            "source": {
              "content_type": null,
              "type": "text",
              "url": null
            },
            "totals_reconcile": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "text": {
                    "description": "The invoice or receipt content ITSELF (email body, OCR dump, pasted PDF text) — not an instruction or question about an invoice. Have only a link? Pass url instead. Text with no extractable invoice data returns an uncharged 400 (NO_INVOICE_CONTENT). Max 10000 words or 50KB.",
                    "type": "string"
                  },
                  "url": {
                    "description": "Publicly reachable invoice URL — PDF, HTML, or plain text; fetched and parsed server-side (e.g. https://vendor.example/invoice-42.pdf). Provide exactly one of text or url.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cached": {
                    "description": "True if served from the in-memory cache.",
                    "type": "boolean"
                  },
                  "findings": {
                    "description": "Informational findings (e.g. no_total_found, totals_mismatch).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "grade": {
                    "description": "Letter grade A-F",
                    "type": "string"
                  },
                  "invoice": {
                    "description": "Parsed invoice fields: vendor, invoice_number, invoice_date, due_date, line_items (array of {description, quantity, unit_price, amount}), subtotal, tax, total, currency. Missing fields are null.",
                    "type": "object"
                  },
                  "line_item_count": {
                    "description": "Number of line items extracted.",
                    "type": "number"
                  },
                  "score": {
                    "description": "Quality score 0-100",
                    "type": "number"
                  },
                  "source": {
                    "description": "Where the invoice content came from. type is \"text\" or \"url\"; url and content_type (pdf | html | text) are null in text mode.",
                    "properties": {
                      "content_type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "totals_reconcile": {
                    "description": "True if sum(line_items.amount) + tax ≈ total (within $0.02). False if they do not reconcile. Null if total or subtotal is missing.",
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "data extraction",
    "document parsing",
    "structured data",
    "text to json",
    "llm extraction",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:08:31.534Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:31.34Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "text": "Acme Supplies Inc\nInvoice INV-2024-0142\nDate: 2024-03-01  Due: 2024-03-31\nWidget A  10 x $5.00 = $50.00\nShipping  1 x $12.00 = $12.00\nSubtotal: $62.00\nTax: $5.58\nTotal: $67.58 USD"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "cached": false,
              "findings": [],
              "grade": "A",
              "invoice": {
                "currency": "USD",
                "due_date": "2024-03-31",
                "invoice_date": "2024-03-01",
                "invoice_number": "INV-2024-0142",
                "line_items": [
                  {
                    "amount": 50,
                    "description": "Widget A",
                    "quantity": 10,
                    "unit_price": 5
                  },
                  {
                    "amount": 12,
                    "description": "Shipping",
                    "quantity": 1,
                    "unit_price": 12
                  }
                ],
                "subtotal": 62,
                "tax": 5.58,
                "total": 67.58,
                "vendor": "Acme Supplies Inc"
              },
              "line_item_count": 2,
              "score": 100,
              "source": {
                "content_type": null,
                "type": "text",
                "url": null
              },
              "totals_reconcile": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "text": {
                      "description": "The invoice or receipt content ITSELF (email body, OCR dump, pasted PDF text) — not an instruction or question about an invoice. Have only a link? Pass url instead. Text with no extractable invoice data returns an uncharged 400 (NO_INVOICE_CONTENT). Max 10000 words or 50KB.",
                      "type": "string"
                    },
                    "url": {
                      "description": "Publicly reachable invoice URL — PDF, HTML, or plain text; fetched and parsed server-side (e.g. https://vendor.example/invoice-42.pdf). Provide exactly one of text or url.",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cached": {
                      "description": "True if served from the in-memory cache.",
                      "type": "boolean"
                    },
                    "findings": {
                      "description": "Informational findings (e.g. no_total_found, totals_mismatch).",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "grade": {
                      "description": "Letter grade A-F",
                      "type": "string"
                    },
                    "invoice": {
                      "description": "Parsed invoice fields: vendor, invoice_number, invoice_date, due_date, line_items (array of {description, quantity, unit_price, amount}), subtotal, tax, total, currency. Missing fields are null.",
                      "type": "object"
                    },
                    "line_item_count": {
                      "description": "Number of line items extracted.",
                      "type": "number"
                    },
                    "score": {
                      "description": "Quality score 0-100",
                      "type": "number"
                    },
                    "source": {
                      "description": "Where the invoice content came from. type is \"text\" or \"url\"; url and content_type (pdf | html | text) are null in text mode.",
                      "properties": {
                        "content_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "totals_reconcile": {
                      "description": "True if sum(line_items.amount) + tax ≈ total (within $0.02). False if they do not reconcile. Null if total or subtotal is missing.",
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "cached": false,
    "findings": [],
    "grade": "A",
    "invoice": {
      "currency": "USD",
      "due_date": "2024-03-31",
      "invoice_date": "2024-03-01",
      "invoice_number": "INV-2024-0142",
      "line_items": [
        {
          "amount": 50,
          "description": "Widget A",
          "quantity": 10,
          "unit_price": 5
        },
        {
          "amount": 12,
          "description": "Shipping",
          "quantity": 1,
          "unit_price": 12
        }
      ],
      "subtotal": 62,
      "tax": 5.58,
      "total": 67.58,
      "vendor": "Acme Supplies Inc"
    },
    "line_item_count": 2,
    "score": 100,
    "source": {
      "content_type": null,
      "type": "text",
      "url": null
    },
    "totals_reconcile": true
  }
}