Merge · Schema

Invoice

An invoice from a connected accounting system in the Merge Unified API.

IntegrationPlatformUnified-APIAgent HandlerLLM Gateway

Properties

Name Type Description
id string
remote_id string
type string
contact string
number string Invoice number.
issue_date string
due_date string
paid_on_date string
memo string
currency string ISO 4217 currency code.
total_discount number
sub_total number
total_tax_amount number
total_amount number
balance number
status string
line_items array
remote_was_deleted boolean
View JSON Schema on GitHub

JSON Schema

accounting-api-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/accounting-api-invoice-schema.json",
  "title": "Invoice",
  "description": "An invoice from a connected accounting system in the Merge Unified API.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "format": "uuid" },
    "remote_id": { "type": "string" },
    "type": { "type": "string", "enum": ["ACCOUNTS_RECEIVABLE", "ACCOUNTS_PAYABLE"] },
    "contact": { "type": "string", "format": "uuid" },
    "number": { "type": "string", "description": "Invoice number." },
    "issue_date": { "type": "string", "format": "date-time" },
    "due_date": { "type": "string", "format": "date-time" },
    "paid_on_date": { "type": "string", "format": "date-time" },
    "memo": { "type": "string" },
    "currency": { "type": "string", "description": "ISO 4217 currency code." },
    "total_discount": { "type": "number" },
    "sub_total": { "type": "number" },
    "total_tax_amount": { "type": "number" },
    "total_amount": { "type": "number" },
    "balance": { "type": "number" },
    "status": { "type": "string", "enum": ["DRAFT", "SUBMITTED", "PARTIALLY_PAID", "PAID", "OVERDUE", "VOIDED"] },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string", "format": "uuid" },
          "description": { "type": "string" },
          "unit_price": { "type": "number" },
          "quantity": { "type": "number" },
          "total_amount": { "type": "number" },
          "account": { "type": "string", "format": "uuid" },
          "item": { "type": "string", "format": "uuid" }
        }
      }
    },
    "remote_was_deleted": { "type": "boolean" }
  }
}

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/accounting-api-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.