Properties
| Name | Type | Description |
|---|---|---|
| id | object | |
| description | string | User defined description |
| tax_amount | number | Tax amount |
| sub_total | number | Sub-total amount, normally before tax. |
| total_amount | number | Debit entries are considered positive, and credit entries are considered negative. |
| type | string | Debit entries are considered positive, and credit entries are considered negative. |
| tax_rate | object | |
| tax_type | string | The tax applicability of this line item. Overrides the root-level tax_type for this line. |
| tracking_category | object | |
| tracking_categories | object | |
| ledger_account | object | |
| customer | object | |
| supplier | object | |
| employee | object | |
| department_id | object | |
| location_id | object | |
| line_number | object | |
| worktags | array | Worktags of the line item. This is currently only supported in Workday. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/JournalEntryLineItem",
"title": "JournalEntryLineItem",
"type": "object",
"x-apideck-schema-id": "JournalEntryLineItem",
"additionalProperties": false,
"x-apideck-weights": {
"id": "high",
"description": "medium",
"tax_amount": "high",
"sub_total": "medium",
"total_amount": "high",
"type": "critical",
"tax_rate": "medium",
"tax_type": "edge-case",
"tracking_category": "low",
"tracking_categories": "low",
"ledger_account": "critical",
"customer": "medium",
"supplier": "medium",
"department_id": "edge-case",
"location_id": "edge-case",
"line_number": "low",
"worktags": "edge-case"
},
"required": [
"ledger_account",
"type"
],
"x-apideck-strict-required": [
"ledger_account",
"type"
],
"x-apideck-strict-any-of": [
{
"required": [
"total_amount"
]
},
{
"required": [
"sub_total"
]
}
],
"properties": {
"id": {
"$ref": "#/components/schemas/Id"
},
"description": {
"type": "string",
"title": "Description",
"description": "User defined description",
"example": "Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.",
"nullable": true
},
"tax_amount": {
"type": "number",
"title": "Tax amount",
"description": "Tax amount",
"example": 27500,
"nullable": true
},
"sub_total": {
"title": "Sub-total amount",
"description": "Sub-total amount, normally before tax.",
"type": "number",
"example": 27500,
"nullable": true
},
"total_amount": {
"type": "number",
"title": "Total amount",
"description": "Debit entries are considered positive, and credit entries are considered negative.",
"example": 27500,
"nullable": true
},
"type": {
"type": "string",
"enum": [
"debit",
"credit"
],
"x-apideck-enum-id": "JournalEntryLineItemType",
"title": "Type",
"description": "Debit entries are considered positive, and credit entries are considered negative.",
"example": "debit",
"nullable": true
},
"tax_rate": {
"$ref": "#/components/schemas/LinkedTaxRate"
},
"tax_type": {
"type": "string",
"x-apideck-enum-id": "journal_entry_line_items.tax_type",
"enum": [
"sales",
"purchase"
],
"title": "Tax Type",
"description": "The tax applicability of this line item. Overrides the root-level tax_type for this line.",
"example": "sales",
"nullable": true
},
"tracking_category": {
"$ref": "#/components/schemas/DeprecatedLinkedTrackingCategory"
},
"tracking_categories": {
"$ref": "#/components/schemas/LinkedTrackingCategories"
},
"ledger_account": {
"$ref": "#/components/schemas/LinkedLedgerAccount"
},
"customer": {
"$ref": "#/components/schemas/LinkedCustomer"
},
"supplier": {
"$ref": "#/components/schemas/LinkedSupplier"
},
"employee": {
"$ref": "#/components/schemas/LinkedEmployee"
},
"department_id": {
"$ref": "#/components/schemas/DepartmentId"
},
"location_id": {
"$ref": "#/components/schemas/LocationId"
},
"line_number": {
"$ref": "#/components/schemas/LineNumber"
},
"worktags": {
"type": "array",
"description": "Worktags of the line item. This is currently only supported in Workday.",
"items": {
"$ref": "#/components/schemas/LinkedWorktag"
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apideck-journalentrylineitem"
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.