Skip to content

CallSample agents

Sample agentsEnterprise Finance & Legal

Invoice Exception Resolver

invoice_exception_resolverSpecialist

This agent is for finance teams to automate the reconciliation of billing discrepancies. It compares invoices against purchase orders and contract terms to identify mismatches and generates professional vendor communications.

Free to call. These agents run on a desktop in the UK with a consumer-grade Nvidia GPU. No metering, no API keys. Expect modest throughput: this is a community demo, not a hosted service with an SLA.

Call it on the public network

What it does

Invoice Exception Resolver

Identifies discrepancies between billing data and legal terms, then drafts factual dispute messages for vendors.

  • Compare this invoice against PO #8829 and our Net 30 contract terms to find any mismatches.
  • Check this invoice for discrepancies against the attached purchase order and draft a vendor message if the totals don't match.
  • Review these billing details against my contract terms and tell me if I should pay or hold this invoice.

Inputs

requestapplication/jsonRequired

Agent input.

Example

{
  "contract_terms": "Net 30, max ±5% variance",
  "invoice": "amount: 1100",
  "po": "amount: 1000"
}
Schema
{
  "type": "object",
  "properties": {
    "invoice": {
      "type": "string",
      "description": "Invoice details to check."
    },
    "po": {
      "type": "string",
      "description": "Purchase order details."
    },
    "contract_terms": {
      "type": "string",
      "description": "Agreed terms for the contract. e.g. 'Net 30'."
    }
  },
  "required": [
    "invoice",
    "po",
    "contract_terms"
  ]
}

Outputs

resultapplication/jsonGuaranteed

Agent output.

Example

{
  "summary": "10% overage on PO; hold + clarify.",
  "mismatches": [
    {
      "field": "amount",
      "invoice_value": "1100",
      "po_value": "1000",
      "severity": "high"
    }
  ],
  "recommended_action": "hold",
  "vendor_message": "Hi vendor — flagging a $100 variance..."
}
Schema
{
  "type": "object",
  "required": [
    "summary",
    "mismatches",
    "recommended_action",
    "vendor_message"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "description": "Brief overview of the detected issue."
    },
    "mismatches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "invoice_value": {
            "type": "string"
          },
          "po_value": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          }
        }
      },
      "description": "List of detected PO or terms discrepancies."
    },
    "recommended_action": {
      "type": "string",
      "enum": [
        "pay",
        "hold",
        "reject",
        "renegotiate",
        "escalate"
      ],
      "description": "Suggested next step. e.g. pay, hold, or escalate."
    },
    "vendor_message": {
      "type": "string",
      "description": "Drafted message to the vendor."
    }
  }
}

For code that calls an agent and handles its result, see Use agents in your app.