BRAINIAC Accounting Schedules & Close is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 15 tools, including accounting-schedules_depreciation-schedule, accounting-schedules_macrs-depreciation, accounting-schedules_lease-schedule, accounting-schedules_revenue-recognition-schedule, accounting-schedules_loan-amortization-journal.
Paid Accounting Schedules & Close API via x402. Unpaid tool calls return 402.
1,080 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Straight-line, declining-balance, sum-of-years'-digits and units-of-production depreciation schedules with optional first-year convention and journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/depreciation-schedule Keywords: when preparing an accounting schedule or close, cost, salvage, lifeYears, method, inServiceDate, convention, fiscalYearEndMonth, unitsTotal, unitsByPeriod, switchToSL, periods, entries, Book depreciation schedule, depreciation schedule.
| Parameter | Type | Description |
|---|---|---|
| cost * | integer | cost, integer, from any to 9007199254740991. Required. |
| method * | string | method, string, one of SL, DDB, DB150, SYD, UOP. Required. |
| salvage * | integer | salvage, integer, from 0 to 9007199254740991. Required. |
| lifeYears * | integer | lifeYears, integer, from any to 100. Required. |
| convention | string | convention, string, one of full_month, half_year, none. Required. |
| switchToSL | boolean | switchToSL, boolean. Required. |
| unitsTotal | any | unitsTotal, value. Optional. |
| inServiceDate * | string | inServiceDate, string, date. Required. |
| unitsByPeriod | any | unitsByPeriod, value. Optional. |
| fiscalYearEndMonth | integer | fiscalYearEndMonth, integer, from 1 to 12. Required. |
{
"name": "accounting-schedules_depreciation-schedule",
"title": "Book depreciation schedule",
"description": "Straight-line, declining-balance, sum-of-years'-digits and units-of-production depreciation schedules with optional first-year convention and journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/depreciation-schedule Keywords: when preparing an accounting schedule or close, cost, salvage, lifeYears, method, inServiceDate, convention, fiscalYearEndMonth, unitsTotal, unitsByPeriod, switchToSL, periods, entries, Book depreciation schedule, depreciation schedule.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cost",
"salvage",
"lifeYears",
"method",
"inServiceDate"
],
"properties": {
"cost": {
"type": "integer",
"maximum": 9007199254740991,
"description": "cost, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"method": {
"enum": [
"SL",
"DDB",
"DB150",
"SYD",
"UOP"
],
"type": "string",
"description": "method, string, one of SL, DDB, DB150, SYD, UOP. Required."
},
"salvage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "salvage, integer, from 0 to 9007199254740991. Required."
},
"lifeYears": {
"type": "integer",
"maximum": 100,
"description": "lifeYears, integer, from any to 100. Required.",
"exclusiveMinimum": 0
},
"convention": {
"enum": [
"full_month",
"half_year",
"none"
],
"type": "string",
"default": "none",
"description": "convention, string, one of full_month, half_year, none. Required."
},
"switchToSL": {
"type": "boolean",
"default": true,
"description": "switchToSL, boolean. Required."
},
"unitsTotal": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "unitsTotal, value. Optional."
},
"inServiceDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "inServiceDate, string, date. Required."
},
"unitsByPeriod": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"description": "item, number, from 0 to any. Required."
}
},
{
"type": "null"
}
],
"description": "unitsByPeriod, value. Optional."
},
"fiscalYearEndMonth": {
"type": "integer",
"default": 12,
"maximum": 12,
"minimum": 1,
"description": "fiscalYearEndMonth, integer, from 1 to 12. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"debit": {
"type": "number",
"description": "debit. Number."
},
"credit": {
"type": "number",
"description": "credit. Number."
},
"account": {
"type": "string",
"description": "account. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "entries. Array."
},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "year. Number."
},
"bookValue": {
"type": "number",
"description": "bookValue. Number."
},
"accumulated": {
"type": "number",
"description": "accumulated. Number."
},
"depreciation": {
"type": "number",
"description": "depreciation. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "periods. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Book depreciation schedule",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Apply IRS Publication 946 Appendix A GDS percentage tables (half-year, mid-quarter, mid-month) after optional section 179 and caller-supplied bonus percentage. Docs: https://www.brainiac.software/api/accounting-schedules/macrs-depreciation Keywords: when preparing an accounting schedule or close, basis, recoveryPeriod, convention, quarterPlaced, monthPlaced, placedInService, section179, bonusPct, q4BasisShare, rows, table, depreciableBasis, bonus, US MACRS GDS depreciation.
| Parameter | Type | Description |
|---|---|---|
| basis * | integer | basis, integer, from any to 9007199254740991. Required. |
| bonusPct | number | bonusPct, number, from 0 to 1. Required. |
| convention * | string | convention, string, one of HY, MQ, MM. Required. |
| section179 | integer | section179, integer, from 0 to 9007199254740991. Required. |
| monthPlaced | integer | monthPlaced, integer, from 1 to 12. Required. |
| q4BasisShare | number | q4BasisShare, number, from 0 to 1. Optional. |
| quarterPlaced | integer | quarterPlaced, integer, from 1 to 4. Required. |
| recoveryPeriod * | any |
Present-value a payment stream at the periodic discount rate and amortise the lease liability and right-of-use asset (IFRS 16 / ASC 842 finance-lease mechanics). Docs: https://www.brainiac.software/api/accounting-schedules/lease-schedule Keywords: when preparing an accounting schedule or close, payments, commencement, discountRate, timing, initialDirectCosts, incentives, periodicity, initialLiability, rouAsset, schedule, Lessee lease liability and ROU schedule, lease schedule.
| Parameter | Type | Description |
|---|---|---|
| timing | string | timing, string, one of arrears, advance. Required. |
| payments * | array | payments, array. Required. |
| incentives | integer | incentives, integer, from 0 to 9007199254740991. Required. |
| periodicity | string | periodicity, string, one of annual, monthly. Required. |
| commencement * | string | date, string, date. Required. |
| discountRate * | number | discountRate, number, from 0 to 1. Required. |
| initialDirectCosts | integer | initialDirectCosts, integer, from 0 to 9007199254740991. Required. |
Allocate transaction price by relative standalone selling price and schedule point-in-time, straight-line or milestone recognition by month. Docs: https://www.brainiac.software/api/accounting-schedules/revenue-recognition-schedule Keywords: when preparing an accounting schedule or close, transactionPrice, obligations, allocation, schedule, revenue recognition schedule, Accounting Schedules & Close, accounting schedules.
| Parameter | Type | Description |
|---|---|---|
| obligations * | array | obligations, array. Required. |
| transactionPrice * | integer | transactionPrice, integer, from any to 9007199254740991. Required. |
{
"name": "accounting-schedules_revenue-recognition-schedule",
"title": "Allocate contract price to performance obligations",
"description": "Allocate transaction price by relative standalone selling price and schedule point-in-time, straight-line or milestone recognition by month. Docs: https://www.brainiac.software/api/accounting-schedules/revenue-recognition-schedule Keywords: when preparing an accounting schedule or close, transactionPrice, obligations, allocation, schedule, revenue recognition schedule, Accounting Schedules & Close, accounting schedules.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"transactionPrice",
"obligations"
],
"properties": {
"obligations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ssp",
"pattern"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "id, string, length 1 to 64. Required."
},
"end": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "end, string, date. Optional."
},
"ssp": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ssp, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Optional."
},
"start": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "start, string, date. Optional."
},
"pattern": {
"enum": [
"point_in_time",
"straight_line",
"milestone"
],
"type": "string",
"description": "pattern, string, one of point_in_time, straight_line, milestone. Required."
},
"milestones": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"pct"
],
"properties": {
"pct": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "pct, number, from 0 to 1. Required."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
}
},
"description": "item, object. Required."
},
"description": "milestones, array. Optional."
}
},
"description": "item, object. Required."
},
"description": "obligations, array. Required."
},
"transactionPrice": {
"type": "integer",
"maximum": 9007199254740991,
"description": "transactionPrice, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"schedule": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "string",
"description": "month. String."
},
"revenue": {
"type": "number",
"description": "revenue. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "schedule. Array."
},
"allocation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"allocated": {
"type": "number",
"description": "allocated. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "allocation. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Allocate contract price to performance obligations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compute a level-payment amortisation table and balancing journal entries for a fixed-rate loan. Docs: https://www.brainiac.software/api/accounting-schedules/loan-amortization-journal Keywords: when preparing an accounting schedule or close, principal, annualRate, termMonths, firstPaymentDate, accounts, rows, entries, Fixed-rate loan amortisation journal, loan amortization journal.
| Parameter | Type | Description |
|---|---|---|
| accounts * | object | accounts, object. Required. |
| principal * | integer | principal, integer, from any to 9007199254740991. Required. |
| annualRate * | number | annualRate, number, from 0 to 1. Required. |
| termMonths * | integer | termMonths, integer, from any to 600. Required. |
| firstPaymentDate * | string | firstPaymentDate, string, date. Required. |
{
"name": "accounting-schedules_loan-amortization-journal",
"title": "Fixed-rate loan amortisation journal",
"description": "Compute a level-payment amortisation table and balancing journal entries for a fixed-rate loan. Docs: https://www.brainiac.software/api/accounting-schedules/loan-amortization-journal Keywords: when preparing an accounting schedule or close, principal, annualRate, termMonths, firstPaymentDate, accounts, rows, entries, Fixed-rate loan amortisation journal, loan amortization journal.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"principal",
"annualRate",
"termMonths",
"firstPaymentDate",
"accounts"
],
"properties": {
"accounts": {
"type": "object",
"required": [
"loan",
"interest",
"cash"
],
"properties": {
"cash": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "cash, string, length 1 to 32. Required."
},
"loan": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "loan, string, length 1 to 32. Required."
},
"interest": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "interest, string, length 1 to 32. Required."
}
},
"description": "accounts, object. Required."
},
"principal": {
"type": "integer",
"maximum": 9007199254740991,
"description": "principal, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"annualRate": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "annualRate, number, from 0 to 1. Required."
},
"termMonths": {
"type": "integer",
"maximum": 600,
"description": "termMonths, integer, from any to 600. Required.",
"exclusiveMinimum": 0
},
"firstPaymentDate": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "firstPaymentDate, string, date. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"n": {
"type": "number",
"description": "n. Number."
},
"balance": {
"type": "number",
"description": "balance. Number."
},
"payment": {
"type": "number",
"description": "payment. Number."
},
"interest": {
"type": "number",
"description": "interest. Number."
},
"principal": {
"type": "number",
"description": "principal. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "rows. Array."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"debit": {
"type": "number",
"description": "debit. Number."
},
"credit": {
"type": "number",
"description": "credit. Number."
},
"account": {
"type": "string",
"description": "account. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "entries. Array."
},
"payment": {
"type": "number",
"description": "payment. Number."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Fixed-rate loan amortisation journal",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Match bank statement lines to ledger entries by amount+reference, amount+date tolerance, and optional many-to-one subset sums. Docs: https://www.brainiac.software/api/accounting-schedules/bank-reconciliation-match Keywords: when preparing an accounting schedule or close, bank, ledger, dateToleranceDays, allowManyToOne, matches, unmatchedBank, unmatchedLedger, difference, Match bank lines to ledger entries, bank reconciliation match.
| Parameter | Type | Description |
|---|---|---|
| bank * | array | bank, array. Required. |
| ledger * | array | ledger, array. Required. |
| allowManyToOne | boolean | allowManyToOne, boolean. Required. |
| dateToleranceDays | integer | dateToleranceDays, integer, from 0 to 90. Required. |
{
"name": "accounting-schedules_bank-reconciliation-match",
"title": "Match bank lines to ledger entries",
"description": "Match bank statement lines to ledger entries by amount+reference, amount+date tolerance, and optional many-to-one subset sums. Docs: https://www.brainiac.software/api/accounting-schedules/bank-reconciliation-match Keywords: when preparing an accounting schedule or close, bank, ledger, dateToleranceDays, allowManyToOne, matches, unmatchedBank, unmatchedLedger, difference, Match bank lines to ledger entries, bank reconciliation match.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"bank",
"ledger"
],
"properties": {
"bank": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"date",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "id, string, length 1 to 64. Required."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"text": {
"type": "string",
"default": "",
"maxLength": 500,
"description": "text, string, length 0 to 500. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "bank, array. Required."
},
"ledger": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"date",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "id, string, length 1 to 64. Required."
},
"ref": {
"type": "string",
"default": "",
"maxLength": 500,
"description": "ref, string, length 0 to 500. Required."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "ledger, array. Required."
},
"allowManyToOne": {
"type": "boolean",
"default": true,
"description": "allowManyToOne, boolean. Required."
},
"dateToleranceDays": {
"type": "integer",
"default": 5,
"maximum": 90,
"minimum": 0,
"description": "dateToleranceDays, integer, from 0 to 90. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bank": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "bank. Array."
},
"rule": {
"type": "string",
"description": "rule. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"ledger": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "ledger. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "matches. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"difference": {
"type": "number",
"description": "difference. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"unmatchedBank": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "unmatchedBank. Array."
},
"unmatchedLedger": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "unmatchedLedger. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Match bank lines to ledger entries",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check debit/credit equality, abnormal balances by account type, duplicate codes and lines with both debit and credit. Docs: https://www.brainiac.software/api/accounting-schedules/trial-balance-validate Keywords: when preparing an accounting schedule or close, accounts, balanced, totalDebit, totalCredit, difference, issues, Validate a trial balance, trial balance validate.
| Parameter | Type | Description |
|---|---|---|
| accounts * | array | accounts, array. Required. |
{
"name": "accounting-schedules_trial-balance-validate",
"title": "Validate a trial balance",
"description": "Check debit/credit equality, abnormal balances by account type, duplicate codes and lines with both debit and credit. Docs: https://www.brainiac.software/api/accounting-schedules/trial-balance-validate Keywords: when preparing an accounting schedule or close, accounts, balanced, totalDebit, totalCredit, difference, issues, Validate a trial balance, trial balance validate.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accounts"
],
"properties": {
"accounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"type"
],
"properties": {
"code": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "code, string, length 1 to 32. Required."
},
"name": {
"type": "string",
"default": "",
"maxLength": 128,
"minLength": 1,
"description": "name, string, length 1 to 128. Required."
},
"type": {
"enum": [
"asset",
"liability",
"equity",
"income",
"expense"
],
"type": "string",
"description": "type, string, one of asset, liability, equity, income, expense. Required."
},
"debit": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "debit, integer, from 0 to 9007199254740991. Required."
},
"credit": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "credit, integer, from 0 to 9007199254740991. Required."
},
"statementLine": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "statementLine, string, length 1 to 128. Optional."
}
},
"description": "item, object. Required."
},
"description": "accounts, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"issues": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "issues. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"balanced": {
"type": "boolean",
"description": "balanced. Boolean."
},
"difference": {
"type": "number",
"description": "difference. Number."
},
"totalDebit": {
"type": "number",
"description": "totalDebit. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalCredit": {
"type": "number",
"description": "totalCredit. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Validate a trial balance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Roll a mapped trial balance into income-statement and balance-sheet lines, add net income to equity, and check A = L + E. Docs: https://www.brainiac.software/api/accounting-schedules/financial-statements-build Keywords: when preparing an accounting schedule or close, accounts, incomeStatement, balanceSheet, Build income statement and balance sheet, financial statements build, Accounting Schedules & Close, accounting schedules.
| Parameter | Type | Description |
|---|---|---|
| accounts * | array | accounts, array. Required. |
{
"name": "accounting-schedules_financial-statements-build",
"title": "Build income statement and balance sheet",
"description": "Roll a mapped trial balance into income-statement and balance-sheet lines, add net income to equity, and check A = L + E. Docs: https://www.brainiac.software/api/accounting-schedules/financial-statements-build Keywords: when preparing an accounting schedule or close, accounts, incomeStatement, balanceSheet, Build income statement and balance sheet, financial statements build, Accounting Schedules & Close, accounting schedules.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accounts"
],
"properties": {
"accounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"type"
],
"properties": {
"code": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "code, string, length 1 to 32. Required."
},
"name": {
"type": "string",
"default": "",
"maxLength": 128,
"minLength": 1,
"description": "name, string, length 1 to 128. Required."
},
"type": {
"enum": [
"asset",
"liability",
"equity",
"income",
"expense"
],
"type": "string",
"description": "type, string, one of asset, liability, equity, income, expense. Required."
},
"debit": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "debit, integer, from 0 to 9007199254740991. Required."
},
"credit": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "credit, integer, from 0 to 9007199254740991. Required."
},
"statementLine": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "statementLine, string, length 1 to 128. Optional."
}
},
"description": "item, object. Required."
},
"description": "accounts, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"balanceSheet": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"line": {
"type": "string",
"description": "line. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"assets": {
"type": "number",
"description": "assets. Number."
},
"equity": {
"type": "number",
"description": "equity. Number."
},
"balances": {
"type": "boolean",
"description": "balances. Boolean."
},
"liabilities": {
"type": "number",
"description": "liabilities. Number."
}
},
"description": "balanceSheet. Object.",
"additionalProperties": {}
},
"incomeStatement": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"line": {
"type": "string",
"description": "line. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"netIncome": {
"type": "number",
"description": "netIncome. Number."
}
},
"description": "incomeStatement. Object.",
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Build income statement and balance sheet",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Bucket receivables, payables and recurring cash items into Monday-start weeks and report closing cash versus a minimum. Docs: https://www.brainiac.software/api/accounting-schedules/cash-flow-forecast-13w Keywords: when preparing an accounting schedule or close, openingCash, weekStart, receivables, payables, recurring, minimumCash, weeks, lowestWeek, 13-week direct cash-flow forecast, cash flow forecast 13w.
| Parameter | Type | Description |
|---|---|---|
| payables | array | payables, array. Required. |
| recurring | array | recurring, array. Required. |
| weekStart * | string | weekStart, string, date. Required. |
| minimumCash | integer | minimumCash, integer, from -9007199254740991 to 9007199254740991. Required. |
| openingCash * | integer | openingCash, integer, from -9007199254740991 to 9007199254740991. Required. |
| receivables | array | receivables, array. Required. |
{
"name": "accounting-schedules_cash-flow-forecast-13w",
"title": "13-week direct cash-flow forecast",
"description": "Bucket receivables, payables and recurring cash items into Monday-start weeks and report closing cash versus a minimum. Docs: https://www.brainiac.software/api/accounting-schedules/cash-flow-forecast-13w Keywords: when preparing an accounting schedule or close, openingCash, weekStart, receivables, payables, recurring, minimumCash, weeks, lowestWeek, 13-week direct cash-flow forecast, cash flow forecast 13w.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"openingCash",
"weekStart"
],
"properties": {
"payables": {
"type": "array",
"items": {
"type": "object",
"required": [
"due",
"amount"
],
"properties": {
"due": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "weekStart, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "amount, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"paymentDelayDays": {
"type": "integer",
"default": 0,
"maximum": 365,
"minimum": 0,
"description": "paymentDelayDays, integer, from 0 to 365. Required."
}
},
"description": "item, object. Required."
},
"default": [],
"description": "payables, array. Required."
},
"recurring": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"amount",
"every",
"start"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "name, string, length 1 to 64. Required."
},
"every": {
"enum": [
"1w",
"2w",
"4w",
"monthly"
],
"type": "string",
"description": "every, string, one of 1w, 2w, 4w, monthly. Required."
},
"start": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "weekStart, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "openingCash, integer, from -9007199254740991 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"default": [],
"description": "recurring, array. Required."
},
"weekStart": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "weekStart, string, date. Required."
},
"minimumCash": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "minimumCash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"openingCash": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "openingCash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"receivables": {
"type": "array",
"items": {
"type": "object",
"required": [
"due",
"amount"
],
"properties": {
"due": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "weekStart, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "amount, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"collectionDelayDays": {
"type": "integer",
"default": 0,
"maximum": 365,
"minimum": 0,
"description": "collectionDelayDays, integer, from 0 to 365. Required."
}
},
"description": "item, object. Required."
},
"default": [],
"description": "receivables, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"weeks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"week": {
"type": "number",
"description": "week. Number."
},
"start": {
"type": "string",
"description": "start. String."
},
"closing": {
"type": "number",
"description": "closing. Number."
},
"inflows": {
"type": "number",
"description": "inflows. Number."
},
"outflows": {
"type": "number",
"description": "outflows. Number."
},
"belowMinimum": {
"type": "boolean",
"description": "belowMinimum. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "weeks. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"lowestWeek": {
"type": "number",
"description": "lowestWeek. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "13-week direct cash-flow forecast",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Revalue foreign-currency monetary balances at closing rates and propose unrealised gain/loss journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/fx-revaluation Keywords: when preparing an accounting schedule or close, functionalCurrency, balances, closingRates, rateQuote, accounts, asOf, lines, totalGainLoss, entries, Unrealised FX revaluation, fx revaluation.
| Parameter | Type | Description |
|---|---|---|
| asOf | string | asOf, string, date. Optional. |
| accounts | object | accounts, object. Required. |
| balances * | array | balances, array. Required. |
| rateQuote * | string | rateQuote, string, one of foreign_per_functional, functional_per_foreign. Required. |
| closingRates * | object | closingRates, object. Required. |
| functionalCurrency * | string | functionalCurrency, string, length 3 to 3. Required. |
{
"name": "accounting-schedules_fx-revaluation",
"title": "Unrealised FX revaluation",
"description": "Revalue foreign-currency monetary balances at closing rates and propose unrealised gain/loss journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/fx-revaluation Keywords: when preparing an accounting schedule or close, functionalCurrency, balances, closingRates, rateQuote, accounts, asOf, lines, totalGainLoss, entries, Unrealised FX revaluation, fx revaluation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"functionalCurrency",
"balances",
"closingRates",
"rateQuote"
],
"properties": {
"asOf": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "asOf, string, date. Optional."
},
"accounts": {
"type": "object",
"default": {
"gainLoss": "7900"
},
"properties": {
"gainLoss": {
"type": "string",
"default": "7900",
"maxLength": 32,
"minLength": 1,
"description": "gainLoss, string, length 1 to 32. Required."
}
},
"description": "accounts, object. Required."
},
"balances": {
"type": "array",
"items": {
"type": "object",
"required": [
"account",
"currency",
"amount",
"carryingRate",
"type"
],
"properties": {
"type": {
"enum": [
"asset",
"liability"
],
"type": "string",
"description": "type, string, one of asset, liability. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"account": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "account, string, length 1 to 64. Required."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "currency, string, length 3 to 3. Required."
},
"carryingRate": {
"type": "number",
"description": "carryingRate, number. Required.",
"exclusiveMinimum": 0
}
},
"description": "item, object. Required."
},
"description": "balances, array. Required."
},
"rateQuote": {
"enum": [
"foreign_per_functional",
"functional_per_foreign"
],
"type": "string",
"description": "rateQuote, string, one of foreign_per_functional, functional_per_foreign. Required."
},
"closingRates": {
"type": "object",
"description": "closingRates, object. Required.",
"propertyNames": {
"type": "string",
"maxLength": 3,
"minLength": 3
},
"additionalProperties": {
"type": "number",
"exclusiveMinimum": 0
}
},
"functionalCurrency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "functionalCurrency, string, length 3 to 3. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "account. String."
},
"carrying": {
"type": "number",
"description": "carrying. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"gainLoss": {
"type": "number",
"description": "gainLoss. Number."
},
"revalued": {
"type": "number",
"description": "revalued. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"debit": {
"type": "number",
"description": "debit. Number."
},
"credit": {
"type": "number",
"description": "credit. Number."
},
"account": {
"type": "string",
"description": "account. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "entries. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalGainLoss": {
"type": "number",
"description": "totalGainLoss. Number."
},
"functionalCurrency": {
"type": "string",
"description": "functionalCurrency. String."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Unrealised FX revaluation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Cost inventory issues under FIFO, perpetual weighted average or specific identification and report closing quantity and value. Docs: https://www.brainiac.software/api/accounting-schedules/inventory-costing Keywords: when preparing an accounting schedule or close, method, movements, issues, closing, FIFO, weighted-average and specific-ID costing, inventory costing, Accounting Schedules & Close.
| Parameter | Type | Description |
|---|---|---|
| method * | string | method, string, one of FIFO, WAVG, SPECIFIC. Required. |
| movements * | array | movements, array. Required. |
{
"name": "accounting-schedules_inventory-costing",
"title": "FIFO, weighted-average and specific-ID costing",
"description": "Cost inventory issues under FIFO, perpetual weighted average or specific identification and report closing quantity and value. Docs: https://www.brainiac.software/api/accounting-schedules/inventory-costing Keywords: when preparing an accounting schedule or close, method, movements, issues, closing, FIFO, weighted-average and specific-ID costing, inventory costing, Accounting Schedules & Close.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"method",
"movements"
],
"properties": {
"method": {
"enum": [
"FIFO",
"WAVG",
"SPECIFIC"
],
"type": "string",
"description": "method, string, one of FIFO, WAVG, SPECIFIC. Required."
},
"movements": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"type",
"qty"
],
"properties": {
"qty": {
"type": "number",
"description": "qty, number. Required.",
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"type": {
"enum": [
"receipt",
"issue"
],
"type": "string",
"description": "type, string, one of receipt, issue. Required."
},
"lotId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "lotId, string, length 1 to 64. Optional."
},
"unitCost": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "unitCost, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "movements, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"qty": {
"type": "number",
"description": "qty. Number."
},
"cogs": {
"type": "number",
"description": "cogs. Number."
},
"date": {
"type": "string",
"description": "date. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "issues. Array."
},
"method": {
"type": "string",
"description": "method. String."
},
"closing": {
"type": "object",
"properties": {
"qty": {
"type": "number",
"description": "qty. Number."
},
"value": {
"type": "number",
"description": "value. Number."
},
"unitCost": {
"type": "number",
"description": "unitCost. Number."
}
},
"description": "closing. Object.",
"additionalProperties": {}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "FIFO, weighted-average and specific-ID costing",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Spread a prepaid or accrual amount over months on a daily or equal-month basis with balancing journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/accrual-prepaid-schedule Keywords: when preparing an accounting schedule or close, amount, start, end, accounts, basis, periods, entries, Prepaid/accrual amortisation schedule, accrual prepaid schedule.
| Parameter | Type | Description |
|---|---|---|
| end * | string | start, string, date. Required. |
| basis | string | basis, string, one of daily, monthly_equal. Required. |
| start * | string | start, string, date. Required. |
| amount * | integer | amount, integer, from any to 9007199254740991. Required. |
| accounts * | object | accounts, object. Required. |
{
"name": "accounting-schedules_accrual-prepaid-schedule",
"title": "Prepaid/accrual amortisation schedule",
"description": "Spread a prepaid or accrual amount over months on a daily or equal-month basis with balancing journal entries. Docs: https://www.brainiac.software/api/accounting-schedules/accrual-prepaid-schedule Keywords: when preparing an accounting schedule or close, amount, start, end, accounts, basis, periods, entries, Prepaid/accrual amortisation schedule, accrual prepaid schedule.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount",
"start",
"end",
"accounts"
],
"properties": {
"end": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "start, string, date. Required."
},
"basis": {
"enum": [
"daily",
"monthly_equal"
],
"type": "string",
"default": "daily",
"description": "basis, string, one of daily, monthly_equal. Required."
},
"start": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "start, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "amount, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"accounts": {
"type": "object",
"required": [
"prepaid",
"expense"
],
"properties": {
"expense": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "expense, string, length 1 to 32. Required."
},
"prepaid": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "prepaid, string, length 1 to 32. Required."
}
},
"description": "accounts, object. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"debit": {
"type": "number",
"description": "debit. Number."
},
"credit": {
"type": "number",
"description": "credit. Number."
},
"account": {
"type": "string",
"description": "account. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "entries. Array."
},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "string",
"description": "month. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "periods. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Prepaid/accrual amortisation schedule",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Pair entity/counterparty intercompany balances, flag differences above tolerance, and propose elimination entries for matched amounts. Docs: https://www.brainiac.software/api/accounting-schedules/intercompany-eliminate Keywords: when preparing an accounting schedule or close, balances, tolerance, pairs, eliminations, Intercompany balance elimination, intercompany eliminate, Accounting Schedules & Close.
| Parameter | Type | Description |
|---|---|---|
| balances * | array | balances, array. Required. |
| tolerance | integer | tolerance, integer, from 0 to 9007199254740991. Required. |
{
"name": "accounting-schedules_intercompany-eliminate",
"title": "Intercompany balance elimination",
"description": "Pair entity/counterparty intercompany balances, flag differences above tolerance, and propose elimination entries for matched amounts. Docs: https://www.brainiac.software/api/accounting-schedules/intercompany-eliminate Keywords: when preparing an accounting schedule or close, balances, tolerance, pairs, eliminations, Intercompany balance elimination, intercompany eliminate, Accounting Schedules & Close.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"balances"
],
"properties": {
"balances": {
"type": "array",
"items": {
"type": "object",
"required": [
"entity",
"counterparty",
"account",
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"entity": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "entity, string, length 1 to 64. Required."
},
"account": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "account, string, length 1 to 128. Required."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "currency, string, length 3 to 3. Required."
},
"counterparty": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "counterparty, string, length 1 to 64. Required."
}
},
"description": "item, object. Required."
},
"description": "balances, array. Required."
},
"tolerance": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "tolerance, integer, from 0 to 9007199254740991. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entities": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "entities. Array."
},
"difference": {
"type": "number",
"description": "difference. Number."
},
"withinTolerance": {
"type": "boolean",
"description": "withinTolerance. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "pairs. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"eliminations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "eliminations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Intercompany balance elimination",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Flag round amounts, weekend/after-hours postings, amount z-scores, duplicates and Benford first-digit chi-square on journal lines. Docs: https://www.brainiac.software/api/accounting-schedules/journal-anomaly-detect Keywords: when preparing an accounting schedule or close, entries, rules, flags, benford, Rule-based journal anomaly flags, journal anomaly detect, Accounting Schedules & Close.
| Parameter | Type | Description |
|---|---|---|
| rules | object | rules, object. Required. |
| entries * | array | entries, array. Required. |
{
"name": "accounting-schedules_journal-anomaly-detect",
"title": "Rule-based journal anomaly flags",
"description": "Flag round amounts, weekend/after-hours postings, amount z-scores, duplicates and Benford first-digit chi-square on journal lines. Docs: https://www.brainiac.software/api/accounting-schedules/journal-anomaly-detect Keywords: when preparing an accounting schedule or close, entries, rules, flags, benford, Rule-based journal anomaly flags, journal anomaly detect, Accounting Schedules & Close.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"entries"
],
"properties": {
"rules": {
"type": "object",
"default": {
"zScore": 3,
"weekendPosting": true
},
"properties": {
"zScore": {
"type": "number",
"default": 3,
"description": "zScore, number. Required.",
"exclusiveMinimum": 0
},
"afterHours": {
"type": "array",
"items": [
{
"type": "string",
"pattern": "^\\d{2}:\\d{2}$"
},
{
"type": "string",
"pattern": "^\\d{2}:\\d{2}$"
}
],
"maxItems": 2,
"minItems": 2,
"description": "afterHours, array. Optional.",
"additionalItems": false
},
"weekendPosting": {
"type": "boolean",
"default": true,
"description": "weekendPosting, boolean. Required."
},
"roundAmountMultiple": {
"type": "integer",
"maximum": 9007199254740991,
"description": "roundAmountMultiple, integer, from any to 9007199254740991. Optional.",
"exclusiveMinimum": 0
}
},
"description": "rules, object. Required."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"date",
"account",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "id, string, length 1 to 64. Required."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"user": {
"type": "string",
"maxLength": 64,
"description": "user, string, length 0 to 64. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"account": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "account, string, length 1 to 64. Required."
},
"postedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "postedAt, string, date-time. Optional."
},
"description": {
"type": "string",
"default": "",
"maxLength": 500,
"description": "description, string, length 0 to 500. Required."
}
},
"description": "item, object. Required."
},
"description": "entries, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"flags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"rules": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "rules. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "flags. Array."
},
"benford": {
"type": "object",
"properties": {
"df": {
"type": "number",
"description": "df. Number."
},
"pValue": {
"type": "number",
"description": "pValue. Number."
},
"chiSquare": {
"type": "number",
"description": "chiSquare. Number."
}
},
"description": "benford. Object.",
"additionalProperties": {}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Rule-based journal anomaly flags",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Sum payee payments by category for tax year 2026 and flag 1099-NEC / 1099-MISC boxes that meet IRS thresholds. Docs: https://www.brainiac.software/api/accounting-schedules/form-1099-threshold-check Keywords: when preparing an accounting schedule or close, taxYear, payments, payees, Form 1099 threshold check, Accounting Schedules & Close, accounting schedules, payees.payeeId.
| Parameter | Type | Description |
|---|---|---|
| taxYear * | integer | taxYear, integer, from -9007199254740991 to 9007199254740991. Required. |
| payments * | array | payments, array. Required. |
{
"name": "accounting-schedules_form-1099-threshold-check",
"title": "Form 1099 threshold check",
"description": "Sum payee payments by category for tax year 2026 and flag 1099-NEC / 1099-MISC boxes that meet IRS thresholds. Docs: https://www.brainiac.software/api/accounting-schedules/form-1099-threshold-check Keywords: when preparing an accounting schedule or close, taxYear, payments, payees, Form 1099 threshold check, Accounting Schedules & Close, accounting schedules, payees.payeeId.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"taxYear",
"payments"
],
"properties": {
"taxYear": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "taxYear, integer, from -9007199254740991 to 9007199254740991. Required."
},
"payments": {
"type": "array",
"items": {
"type": "object",
"required": [
"payeeId",
"payeeType",
"category",
"amount"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "amount, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"payeeId": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "payeeId, string, length 1 to 64. Required."
},
"category": {
"enum": [
"services",
"rents",
"royalties",
"attorney_proceeds",
"prizes",
"other_income",
"medical"
],
"type": "string",
"description": "category, string, one of services, rents, royalties, attorney_proceeds, prizes, other_income. Required."
},
"payeeType": {
"enum": [
"individual",
"corporation",
"attorney"
],
"type": "string",
"description": "payeeType, string, one of individual, corporation, attorney. Required."
},
"paidByCardOrThirdParty": {
"type": "boolean",
"default": false,
"description": "paidByCardOrThirdParty, boolean. Required."
}
},
"description": "item, object. Required."
},
"description": "payments, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"payees": {
"type": "array",
"items": {
"type": "object",
"properties": {
"box": {
"type": "string",
"description": "box. String."
},
"form": {
"type": "string",
"description": "form. String."
},
"total": {
"type": "number",
"description": "total. Number."
},
"payeeId": {
"type": "string",
"description": "payeeId. String."
},
"required": {
"type": "boolean",
"description": "required. Boolean."
},
"threshold": {
"type": "number",
"description": "threshold. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "payees. Array."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Form 1099 threshold check",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| recoveryPeriod, value. Required. |
| placedInService | string | placedInService, string, date. Optional. |
{
"name": "accounting-schedules_macrs-depreciation",
"title": "US MACRS GDS depreciation",
"description": "Apply IRS Publication 946 Appendix A GDS percentage tables (half-year, mid-quarter, mid-month) after optional section 179 and caller-supplied bonus percentage. Docs: https://www.brainiac.software/api/accounting-schedules/macrs-depreciation Keywords: when preparing an accounting schedule or close, basis, recoveryPeriod, convention, quarterPlaced, monthPlaced, placedInService, section179, bonusPct, q4BasisShare, rows, table, depreciableBasis, bonus, US MACRS GDS depreciation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"basis",
"recoveryPeriod",
"convention"
],
"properties": {
"basis": {
"type": "integer",
"maximum": 9007199254740991,
"description": "basis, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
},
"bonusPct": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": 0,
"description": "bonusPct, number, from 0 to 1. Required."
},
"convention": {
"enum": [
"HY",
"MQ",
"MM"
],
"type": "string",
"description": "convention, string, one of HY, MQ, MM. Required."
},
"section179": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "section179, integer, from 0 to 9007199254740991. Required."
},
"monthPlaced": {
"type": "integer",
"default": 1,
"maximum": 12,
"minimum": 1,
"description": "monthPlaced, integer, from 1 to 12. Required."
},
"q4BasisShare": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "q4BasisShare, number, from 0 to 1. Optional."
},
"quarterPlaced": {
"type": "integer",
"default": 1,
"maximum": 4,
"minimum": 1,
"description": "quarterPlaced, integer, from 1 to 4. Required."
},
"recoveryPeriod": {
"anyOf": [
{
"type": "number",
"const": 3
},
{
"type": "number",
"const": 5
},
{
"type": "number",
"const": 7
},
{
"type": "number",
"const": 10
},
{
"type": "number",
"const": 15
},
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 27.5
},
{
"type": "number",
"const": 39
}
],
"description": "recoveryPeriod, value. Required."
},
"placedInService": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "placedInService, string, date. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rate": {
"type": "number",
"description": "rate. Number."
},
"year": {
"type": "number",
"description": "year. Number."
},
"depreciation": {
"type": "number",
"description": "depreciation. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "rows. Array."
},
"bonus": {
"type": "number",
"description": "bonus. Number."
},
"table": {
"type": "string",
"description": "table. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"section179": {
"type": "number",
"description": "section179. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"depreciableBasis": {
"type": "number",
"description": "depreciableBasis. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "US MACRS GDS depreciation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "accounting-schedules_lease-schedule",
"title": "Lessee lease liability and ROU schedule",
"description": "Present-value a payment stream at the periodic discount rate and amortise the lease liability and right-of-use asset (IFRS 16 / ASC 842 finance-lease mechanics). Docs: https://www.brainiac.software/api/accounting-schedules/lease-schedule Keywords: when preparing an accounting schedule or close, payments, commencement, discountRate, timing, initialDirectCosts, incentives, periodicity, initialLiability, rouAsset, schedule, Lessee lease liability and ROU schedule, lease schedule.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"payments",
"commencement",
"discountRate"
],
"properties": {
"timing": {
"enum": [
"arrears",
"advance"
],
"type": "string",
"default": "arrears",
"description": "timing, string, one of arrears, advance. Required."
},
"payments": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"amount"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "amount, integer, from any to 9007199254740991. Required.",
"exclusiveMinimum": 0
}
},
"description": "item, object. Required."
},
"description": "payments, array. Required."
},
"incentives": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "incentives, integer, from 0 to 9007199254740991. Required."
},
"periodicity": {
"enum": [
"annual",
"monthly"
],
"type": "string",
"default": "annual",
"description": "periodicity, string, one of annual, monthly. Required."
},
"commencement": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "date, string, date. Required."
},
"discountRate": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "discountRate, number, from 0 to 1. Required."
},
"initialDirectCosts": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "initialDirectCosts, integer, from 0 to 9007199254740991. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"rouAsset": {
"type": "number",
"description": "rouAsset. Number."
},
"schedule": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "number",
"description": "period. Number."
},
"payment": {
"type": "number",
"description": "payment. Number."
},
"interest": {
"type": "number",
"description": "interest. Number."
},
"rouDepreciation": {
"type": "number",
"description": "rouDepreciation. Number."
},
"closingLiability": {
"type": "number",
"description": "closingLiability. Number."
},
"openingLiability": {
"type": "number",
"description": "openingLiability. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "schedule. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"initialLiability": {
"type": "number",
"description": "initialLiability. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Lessee lease liability and ROU schedule",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}