Smarfle · Schema

Invoice

CompanyCRMField Service ManagementInvoicingScheduling

Properties

Name Type Description
id string
object object
number stringnull
status string
customer_id stringnull
job_id stringnull
subtotal numbernull
tax_rate numbernull
tax_amount numbernull
discount_amount numbernull
tip_amount numbernull
total numbernull
currency object
due_date stringnull
paid_at stringnull
paid_method stringnull
refund_amount numbernull
refunded_at stringnull
items array
created_at string
updated_at stringnull
View JSON Schema on GitHub

JSON Schema

smarfle-com-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smarfle-com/json-schema/smarfle-com-invoice-schema.json",
  "title": "Invoice",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smarfle-com-openapi.yml#/components/schemas/Invoice",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "object": {
      "const": "invoice"
    },
    "number": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "sent",
        "overdue",
        "paid"
      ]
    },
    "customer_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "job_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "subtotal": {
      "type": [
        "number",
        "null"
      ]
    },
    "tax_rate": {
      "type": [
        "number",
        "null"
      ]
    },
    "tax_amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "discount_amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "tip_amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "total": {
      "type": [
        "number",
        "null"
      ]
    },
    "currency": {
      "const": "usd"
    },
    "due_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "paid_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "paid_method": {
      "type": [
        "string",
        "null"
      ]
    },
    "refund_amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "refunded_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit_price": {
            "type": [
              "number",
              "null"
            ]
          },
          "total": {
            "type": [
              "number",
              "null"
            ]
          },
          "service_id": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

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/smarfle-com-invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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