Sage · Schema

Sage Sales Invoice

A sales invoice in Sage Accounting representing a customer billing record.

AccountingBusiness ManagementCloud SoftwareERPPayrollHR

Properties

Name Type Description
id string Unique invoice identifier
displayed_as string Invoice reference number display
date string Invoice date
due_date string Payment due date
reference string Invoice reference number
status object Current invoice status
contact object Customer contact reference
line_items array Invoice line items
net_amount number Total pre-tax amount
tax_amount number Total tax amount
total_amount number Total invoice amount including tax
outstanding_amount number Remaining unpaid amount
currency object
View JSON Schema on GitHub

JSON Schema

sage-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sage/main/json-schema/sage-invoice-schema.json",
  "title": "Sage Sales Invoice",
  "description": "A sales invoice in Sage Accounting representing a customer billing record.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique invoice identifier"
    },
    "displayed_as": {
      "type": "string",
      "description": "Invoice reference number display"
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Invoice date"
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Payment due date"
    },
    "reference": {
      "type": "string",
      "description": "Invoice reference number"
    },
    "status": {
      "type": "object",
      "description": "Current invoice status",
      "properties": {
        "id": {
          "type": "string",
          "enum": ["DRAFT", "SENT", "PAID", "VOID"]
        },
        "displayed_as": {
          "type": "string"
        }
      }
    },
    "contact": {
      "type": "object",
      "description": "Customer contact reference",
      "properties": {
        "id": {"type": "string"},
        "displayed_as": {"type": "string"}
      }
    },
    "line_items": {
      "type": "array",
      "description": "Invoice line items",
      "items": {
        "type": "object",
        "properties": {
          "id": {"type": "string"},
          "description": {"type": "string"},
          "quantity": {"type": "number"},
          "unit_price": {"type": "number"},
          "net_amount": {"type": "number"},
          "tax_amount": {"type": "number"},
          "total_amount": {"type": "number"},
          "ledger_account": {
            "type": "object",
            "properties": {
              "id": {"type": "string"},
              "displayed_as": {"type": "string"}
            }
          },
          "tax_rate": {
            "type": "object",
            "properties": {
              "id": {"type": "string"},
              "displayed_as": {"type": "string"}
            }
          }
        }
      }
    },
    "net_amount": {
      "type": "number",
      "description": "Total pre-tax amount"
    },
    "tax_amount": {
      "type": "number",
      "description": "Total tax amount"
    },
    "total_amount": {
      "type": "number",
      "description": "Total invoice amount including tax"
    },
    "outstanding_amount": {
      "type": "number",
      "description": "Remaining unpaid amount"
    },
    "currency": {
      "type": "object",
      "properties": {
        "id": {"type": "string"},
        "displayed_as": {"type": "string"}
      }
    }
  },
  "required": ["id", "date", "contact", "line_items", "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/sage-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 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. See our Privacy Policy and Terms.

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