Anrok · Schema
LineItem
Line item details
Sales TaxVATTax ComplianceSoftware-as-a-ServiceFintechTax AutomationNexusE-Invoicing
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The ID of the line item in the source billing system, if available. |
| product | object | |
| quantity | string | The quantity of the line item. |
| unitPrice | string | The unit price of the line item in the smallest denomination of the currency (e.g. cents or pennies). |
| inputAmount | integer | The input amount of the line item in the smallest denomination of the currency (e.g. cents or pennies). |
| preTaxAmount | string | The pre-tax amount of the line item in the smallest denomination of the currency (e.g. cents or pennies). |
| taxAmountDue | object | |
| jurises | array |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/anrok/main/json-schema/line-item.json",
"title": "LineItem",
"description": "Line item details",
"type": "object",
"properties": {
"id": {
"description": "The ID of the line item in the source billing system, if available.",
"type": "string",
"nullable": true,
"example": "li_1234567890"
},
"product": {
"type": "object",
"properties": {
"internalId": {
"description": "The internal ID of the product.",
"type": "string",
"example": "saas-product-1"
},
"externalId": {
"description": "The external ID of the product.",
"type": "string",
"example": "product-1234567890"
},
"name": {
"description": "The name of the product.",
"type": "string",
"example": "Product 1"
},
"productTaxCategory": {
"description": "The tax category of the product.",
"type": "object",
"properties": {
"type": {
"description": "The type of the product tax category.",
"type": "string",
"enum": [
"standard",
"custom"
]
},
"id": {
"description": "The ID of the product tax category.",
"type": "string",
"example": "saasBusiness"
},
"name": {
"description": "The name of the product tax category.",
"type": "string",
"example": "SaaS - General, B2B"
}
}
}
}
},
"quantity": {
"description": "The quantity of the line item.",
"type": "string",
"nullable": true,
"format": "Decimal",
"example": "1"
},
"unitPrice": {
"description": "The unit price of the line item in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"nullable": true,
"format": "Decimal",
"example": "100.00"
},
"inputAmount": {
"description": "The input amount of the line item in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "integer",
"format": "int64",
"example": 10000
},
"preTaxAmount": {
"description": "The pre-tax amount of the line item in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"format": "Decimal",
"example": "100.00"
},
"taxAmountDue": {
"$ref": "#/components/schemas/TaxAmountDue"
},
"jurises": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The name of the jurisdiction.",
"type": "string",
"example": "Texas"
},
"id": {
"description": "The ID of the jurisdiction.",
"type": "string",
"example": "us-TX"
},
"calc": {
"oneOf": [
{
"title": "TaxCalcRemitting",
"type": "object",
"properties": {
"isRemitting": {
"description": "Whether the seller is remitting tax to the jurisdiction.",
"type": "boolean",
"enum": [
true
]
},
"taxes": {
"description": "The taxes for each line item for the jurisdiction.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LineItemJurisTax"
}
}
}
},
{
"title": "TaxCalcIfWereRemitting",
"type": "object",
"properties": {
"isRemitting": {
"description": "Whether the seller is remitting tax to the jurisdiction.",
"type": "boolean",
"enum": [
false
]
},
"taxesIfWereRemitting": {
"description": "The taxes for each line item for the jurisdiction if the seller were remitting tax.",
"type": "array",
"items": {
"$ref": "#/components/schemas/LineItemJurisTax"
}
}
}
}
]
}
}
}
}
}
}
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/line-item"
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.