Apideck · Schema

InvoiceItem

IntegrationUnified APIA2A

Properties

Name Type Description
id string The ID of the item.
name string Item name
description string A short description of the item
display_id string Display ID of the item
code string User defined item code
sold boolean Item will be available on sales transactions
purchased boolean Item is available for purchase transactions
tracked boolean Item is inventoried
taxable boolean If true, transactions for this item are taxable
inventory_date string The date of opening balance if inventory item is tracked - YYYY-MM-DD.
type string Item type
sales_details object
purchase_details object
quantity object
unit_price object
currency object
asset_account object
income_account object
expense_account object
tracking_category object
tracking_categories object
active object
department_id object
location_id object
subsidiary_id object
category_id string ID of the category of the item
tax_schedule_id string The ID of the tax schedule
custom_mappings object
row_version object
updated_by object
created_by object
updated_at object
created_at object
pass_through object
View JSON Schema on GitHub

JSON Schema

apideck-invoiceitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InvoiceItem",
  "title": "InvoiceItem",
  "type": "object",
  "x-apideck-schema-id": "InvoiceItem",
  "x-apideck-weights": {
    "id": "critical",
    "name": "critical",
    "description": "medium",
    "display_id": "low",
    "code": "high",
    "sold": "edge-case",
    "purchased": "edge-case",
    "tracked": "edge-case",
    "taxable": "edge-case",
    "inventory_date": "high",
    "type": "high",
    "sales_details": "medium",
    "purchase_details": "medium",
    "quantity": "high",
    "unit_price": "high",
    "currency": "medium",
    "asset_account": "medium",
    "income_account": "high",
    "expense_account": "medium",
    "active": "medium",
    "tracking_category": "low",
    "tracking_categories": "low",
    "department_id": "low",
    "location_id": "low",
    "subsidiary_id": "low",
    "category_id": "edge-case",
    "tax_schedule_id": "low",
    "row_version": "edge-case",
    "updated_by": "edge-case",
    "created_by": "edge-case",
    "updated_at": "medium",
    "created_at": "medium"
  },
  "additionalProperties": false,
  "properties": {
    "id": {
      "title": "Item ID",
      "description": "The ID of the item.",
      "type": "string",
      "example": "123456",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "title": "Item name",
      "description": "Item name",
      "example": "Model Y",
      "nullable": true
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "A short description of the item",
      "example": "Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.",
      "nullable": true
    },
    "display_id": {
      "type": "string",
      "title": "Display ID",
      "description": "Display ID of the item",
      "example": "12345",
      "nullable": true
    },
    "code": {
      "type": "string",
      "title": "Item code",
      "description": "User defined item code",
      "example": "120-C",
      "nullable": true
    },
    "sold": {
      "type": "boolean",
      "title": "Item sold",
      "description": "Item will be available on sales transactions",
      "example": true,
      "nullable": true
    },
    "purchased": {
      "type": "boolean",
      "title": "Item purchased",
      "description": "Item is available for purchase transactions",
      "example": true,
      "nullable": true
    },
    "tracked": {
      "type": "boolean",
      "title": "Item tracked",
      "description": "Item is inventoried",
      "example": true,
      "nullable": true
    },
    "taxable": {
      "type": "boolean",
      "title": "Item taxable",
      "description": "If true, transactions for this item are taxable",
      "example": true,
      "nullable": true
    },
    "inventory_date": {
      "type": "string",
      "title": "Inventory date",
      "description": "The date of opening balance if inventory item is tracked - YYYY-MM-DD.",
      "format": "date",
      "example": "2020-10-30",
      "nullable": true
    },
    "type": {
      "type": "string",
      "title": "Type",
      "description": "Item type",
      "example": "inventory",
      "x-apideck-enum-id": "invoice-items.type",
      "enum": [
        "inventory",
        "non_inventory",
        "service",
        "description",
        "other"
      ],
      "nullable": true
    },
    "sales_details": {
      "x-apideck-weights": {
        "unit_price": "medium",
        "unit_of_measure": "medium",
        "tax_inclusive": "medium",
        "tax_rate": "medium"
      },
      "type": "object",
      "properties": {
        "unit_price": {
          "$ref": "#/components/schemas/UnitPrice"
        },
        "unit_of_measure": {
          "$ref": "#/components/schemas/UnitOfMeasure"
        },
        "tax_inclusive": {
          "$ref": "#/components/schemas/TaxInclusive"
        },
        "tax_rate": {
          "$ref": "#/components/schemas/LinkedTaxRate"
        }
      }
    },
    "purchase_details": {
      "x-apideck-weights": {
        "unit_price": "medium",
        "unit_of_measure": "medium",
        "tax_inclusive": "medium",
        "tax_rate": "medium"
      },
      "type": "object",
      "properties": {
        "unit_price": {
          "$ref": "#/components/schemas/UnitPrice"
        },
        "unit_of_measure": {
          "$ref": "#/components/schemas/UnitOfMeasure"
        },
        "tax_inclusive": {
          "$ref": "#/components/schemas/TaxInclusive"
        },
        "tax_rate": {
          "$ref": "#/components/schemas/LinkedTaxRate"
        }
      }
    },
    "quantity": {
      "$ref": "#/components/schemas/Quantity"
    },
    "unit_price": {
      "$ref": "#/components/schemas/UnitPrice"
    },
    "currency": {
      "$ref": "#/components/schemas/Currency"
    },
    "asset_account": {
      "$ref": "#/components/schemas/LinkedLedgerAccount"
    },
    "income_account": {
      "$ref": "#/components/schemas/LinkedLedgerAccount"
    },
    "expense_account": {
      "$ref": "#/components/schemas/LinkedLedgerAccount"
    },
    "tracking_category": {
      "$ref": "#/components/schemas/DeprecatedLinkedTrackingCategory"
    },
    "tracking_categories": {
      "$ref": "#/components/schemas/LinkedTrackingCategories"
    },
    "active": {
      "$ref": "#/components/schemas/Active"
    },
    "department_id": {
      "$ref": "#/components/schemas/DepartmentId"
    },
    "location_id": {
      "$ref": "#/components/schemas/LocationId"
    },
    "subsidiary_id": {
      "$ref": "#/components/schemas/SubsidiaryId"
    },
    "category_id": {
      "type": "string",
      "title": "Category ID",
      "description": "ID of the category of the item",
      "example": "12345",
      "nullable": true
    },
    "tax_schedule_id": {
      "type": "string",
      "title": "Tax schedule ID",
      "description": "The ID of the tax schedule",
      "example": "123456",
      "nullable": true
    },
    "custom_mappings": {
      "$ref": "#/components/schemas/CustomMappings"
    },
    "row_version": {
      "$ref": "#/components/schemas/RowVersion"
    },
    "updated_by": {
      "$ref": "#/components/schemas/UpdatedBy"
    },
    "created_by": {
      "$ref": "#/components/schemas/CreatedBy"
    },
    "updated_at": {
      "$ref": "#/components/schemas/UpdatedAt"
    },
    "created_at": {
      "$ref": "#/components/schemas/CreatedAt"
    },
    "pass_through": {
      "$ref": "#/components/schemas/PassThroughBody"
    }
  }
}

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/apideck-invoiceitem"
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.