SimpleLegal · Schema

SimpleLegal Invoice

Schema representing a legal invoice in the SimpleLegal eBilling platform.

E-BillingEnterprise Legal ManagementLegal OperationsLegal Spend ManagementMatter ManagementVendor Management

Properties

Name Type Description
id string Unique invoice identifier.
invoice_number string Vendor-assigned invoice reference number.
matter_id string ID of the matter this invoice is associated with.
vendor_id string ID of the vendor submitting the invoice.
status string Current invoice processing status.
invoice_date string Date the invoice was issued.
due_date string Payment due date.
currency string ISO 4217 currency code (e.g., USD, EUR, GBP).
total_amount number Total invoice amount before adjustments.
approved_amount number Amount approved for payment after review.
line_items array Individual billable time and expense line items.
created_at string Timestamp when the invoice was received.
updated_at string Timestamp when the invoice was last updated.
View JSON Schema on GitHub

JSON Schema

simplelegal-invoice-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/simplelegal/refs/heads/main/json-schema/simplelegal-invoice-schema.json",
  "title": "SimpleLegal Invoice",
  "description": "Schema representing a legal invoice in the SimpleLegal eBilling platform.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique invoice identifier."
    },
    "invoice_number": {
      "type": "string",
      "description": "Vendor-assigned invoice reference number."
    },
    "matter_id": {
      "type": "string",
      "description": "ID of the matter this invoice is associated with."
    },
    "vendor_id": {
      "type": "string",
      "description": "ID of the vendor submitting the invoice."
    },
    "status": {
      "type": "string",
      "description": "Current invoice processing status.",
      "enum": ["pending", "approved", "rejected", "paid", "disputed", "hold"]
    },
    "invoice_date": {
      "type": "string",
      "format": "date",
      "description": "Date the invoice was issued."
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Payment due date."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code (e.g., USD, EUR, GBP).",
      "pattern": "^[A-Z]{3}$"
    },
    "total_amount": {
      "type": "number",
      "format": "float",
      "description": "Total invoice amount before adjustments."
    },
    "approved_amount": {
      "type": "number",
      "format": "float",
      "description": "Amount approved for payment after review."
    },
    "line_items": {
      "type": "array",
      "description": "Individual billable time and expense line items.",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "type": {
            "type": "string",
            "enum": ["fee", "expense", "tax", "discount"]
          },
          "description": { "type": "string" },
          "timekeeper": { "type": "string" },
          "hours": { "type": "number", "format": "float" },
          "rate": { "type": "number", "format": "float" },
          "amount": { "type": "number", "format": "float" },
          "task_code": { "type": "string" },
          "activity_code": { "type": "string" }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the invoice was received."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the invoice was last updated."
    }
  },
  "required": ["invoice_number", "matter_id", "vendor_id", "total_amount"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/simplelegal-invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.