Anrok · Schema
CreateEphemeralTransactionSuccess
Sales TaxVATTax ComplianceSoftware-as-a-ServiceFintechTax AutomationNexusE-Invoicing
Properties
| Name | Type | Description |
|---|---|---|
| taxAmountToCollect | integer | The total tax amount to collect from the customer, in the smallest denomination of the currency (e.g. cents or pennies). |
| lineItems | array | The tax amount to collect, pre-tax amount, and taxes by jurisdiction for each line item. Line items are returned in the same order they are received. |
| preTaxAmount | string | The total pre-tax amount for the transaction, in the smallest denomination of the currency (e.g. cents or pennies). |
| jurisSummaries | array | For each jurisdiction, a summary of the reasons that the line items are not taxed, or null if some items are taxed. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/anrok/main/json-schema/create-ephemeral-transaction-success.json",
"title": "CreateEphemeralTransactionSuccess",
"type": "object",
"properties": {
"taxAmountToCollect": {
"description": "The total tax amount to collect from the customer, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "integer",
"format": "int64"
},
"lineItems": {
"description": "The tax amount to collect, pre-tax amount, and taxes by jurisdiction for each line item. Line items are returned in the same order they are received.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Identifier for the line item that was provided in the request. If no identifier was provided, this is null.",
"type": "string",
"nullable": true
},
"taxAmountToCollect": {
"description": "The tax amount to collect for the line item, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "integer",
"format": "int64"
},
"preTaxAmount": {
"description": "The pre-tax amount for the line item, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"format": "Decimal"
},
"jurises": {
"description": "For each jurisdiction, either a list of taxes for the line item, or a reason that the line item is not taxed.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The name of the jurisdiction.",
"type": "string"
},
"notTaxedReason": {
"description": "A reason that the line item is not taxed, or null if it is taxed.",
"oneOf": [
{
"$ref": "#/components/schemas/NotTaxedReason"
},
{
"type": "null"
}
]
},
"taxes": {
"description": "A list of taxes for the line item in the jurisdiction, or null if it is not taxed.",
"type": "array",
"nullable": true,
"items": {
"type": "object",
"properties": {
"taxName": {
"description": "The name or abbreviation of the tax type (e.g. \"VAT\" or \"Tax\").",
"type": "string"
},
"taxableAmount": {
"description": "The amount on which tax is calculated, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"format": "Decimal"
},
"taxAmount": {
"description": "The amount of tax, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"format": "Decimal"
},
"taxRate": {
"description": "The tax rate, between 0 and 1. Make sure to include the taxableAmount in your tax rate calculations.",
"type": "string",
"format": "Decimal"
}
}
}
}
}
}
}
}
}
},
"preTaxAmount": {
"description": "The total pre-tax amount for the transaction, in the smallest denomination of the currency (e.g. cents or pennies).",
"type": "string",
"format": "Decimal"
},
"jurisSummaries": {
"description": "For each jurisdiction, a summary of the reasons that the line items are not taxed, or null if some items are taxed.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The name of the jurisdiction.",
"type": "string"
},
"notTaxedReasons": {
"description": "A list of the distinct reasons that the line items are not taxed, or null if some items are taxed.",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/components/schemas/NotTaxedReason"
}
},
{
"type": "null"
}
]
}
}
}
}
}
}
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/create-ephemeral-transaction-success"
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.