https://www.brainiac.software/api/v1/accounting-schedules/depreciation-schedule$0.03 USDCBook depreciation schedule
Straight-line, declining-balance, sum-of-years'-digits and units-of-production depreciation schedules with optional first-year convention and journal entries.
Body
| Field | Required | Notes |
|---|---|---|
cost | Yes | integer |
salvage | Yes | integer |
lifeYears | Yes | integer |
method | Yes | string; One of: SL, DDB, DB150, SYD, UOP |
inServiceDate | Yes | string; date |
convention | No | string; One of: full_month, half_year, none; Default: "none" |
fiscalYearEndMonth | No | integer; Default: 12 |
unitsTotal | No | — |
unitsByPeriod | No | — |
switchToSL | No | boolean; Default: true |
Request exampleJSON
{
"cost": 1000000,
"salvage": 100000,
"lifeYears": 5,
"method": "SL",
"inServiceDate": "2026-01-01",
"convention": "none"
}Response exampleJSON
{
"periods": [
{
"year": 1,
"depreciation": 180000,
"accumulated": 180000,
"bookValue": 820000
},
{
"year": 2,
"depreciation": 180000,
"accumulated": 360000,
"bookValue": 640000
},
"…"
],
"entries": [
{
"date": "2026-01-01",
"lines": [
{
"account": "depreciation_expense",
"debit": 180000,
"credit": 0
},
{
"account": "accumulated_depreciation",
"debit": 0,
"credit": 180000
}
]
},
{
"date": "2027-01-01",
"lines": [
{
"account": "depreciation_expense",
"debit": 180000,
"credit": 0
},
{
"account": "accumulated_depreciation",
"debit": 0,
"credit": 180000
}
]
},
"…"
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/depreciation-schedule" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"cost": 1000000,
"salvage": 100000,
"lifeYears": 5,
"method": "SL",
"inServiceDate": "2026-01-01",
"convention": "none"
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/macrs-depreciation$0.03 USDCUS MACRS GDS depreciation
Apply IRS Publication 946 Appendix A GDS percentage tables (half-year, mid-quarter, mid-month) after optional section 179 and caller-supplied bonus percentage.
Body
| Field | Required | Notes |
|---|---|---|
basis | Yes | integer |
recoveryPeriod | Yes | — |
convention | Yes | string; One of: HY, MQ, MM |
quarterPlaced | No | integer; Default: 1 |
monthPlaced | No | integer; Default: 1 |
placedInService | No | string; date |
section179 | No | integer; Default: 0 |
bonusPct | No | number; Default: 0 |
q4BasisShare | No | number |
Request exampleJSON
{
"basis": 1000000,
"recoveryPeriod": 5,
"convention": "HY"
}Response exampleJSON
{
"rows": [
{
"year": 1,
"rate": 0.2,
"depreciation": 200000
},
{
"year": 2,
"rate": 0.32,
"depreciation": 320000
},
"…"
],
"table": "A-1",
"depreciableBasis": 1000000,
"section179": 0,
"bonus": 0,
"sources": [
{
"source": "IRS Publication 946 (2025) Appendix A GDS percentage tables",
"url": "https://www.irs.gov/publications/p946",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…",
"Rates are from IRS Publication 946 Appendix A GDS tables. The endpoint does not decide bonus eligibility; bonusPct is c…",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/macrs-depreciation" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"basis": 1000000,
"recoveryPeriod": 5,
"convention": "HY"
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/lease-schedule$0.04 USDCLessee lease liability and ROU schedule
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).
Body
| Field | Required | Notes |
|---|---|---|
payments | Yes | array; Array |
commencement | Yes | string; date |
discountRate | Yes | number |
timing | No | string; One of: arrears, advance; Default: "arrears" |
initialDirectCosts | No | integer; Default: 0 |
incentives | No | integer; Default: 0 |
periodicity | No | string; One of: annual, monthly; Default: "annual" |
Request exampleJSON
{
"payments": [
{
"date": "2027-01-01",
"amount": 100000
},
{
"date": "2028-01-01",
"amount": 100000
},
{
"date": "2029-01-01",
"amount": 100000
}
],
"commencement": "2026-01-01",
"discountRate": 0.05,
"timing": "arrears",
"periodicity": "annual"
}Response exampleJSON
{
"initialLiability": 272325,
"rouAsset": 272325,
"schedule": [
{
"period": 1,
"openingLiability": 272325,
"interest": 13616,
"payment": 100000,
"closingLiability": 185941,
"rouDepreciation": 90775
},
{
"period": 2,
"openingLiability": 185941,
"interest": 9297,
"payment": 100000,
"closingLiability": 95238,
"rouDepreciation": 90775
},
"…"
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/lease-schedule" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"payments": [
{
"date": "2027-01-01",
"amount": 100000
},
{
"date": "2028-01-01",
"amount": 100000
},
{
"date": "2029-01-01",
"amount": 100000
}
],
"commencement": "2026-01-01",
"discountRate": 0.05,
"timing": "arrears",
"periodicity": "annual"
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/revenue-recognition-schedule$0.03 USDCAllocate contract price to performance obligations
Allocate transaction price by relative standalone selling price and schedule point-in-time, straight-line or milestone recognition by month.
Body
| Field | Required | Notes |
|---|---|---|
transactionPrice | Yes | integer |
obligations | Yes | array; Array |
Request exampleJSON
{
"transactionPrice": 120000,
"obligations": [
{
"id": "licence",
"ssp": 100000,
"pattern": "point_in_time",
"date": "2026-01-01"
},
{
"id": "support",
"ssp": 50000,
"pattern": "straight_line",
"start": "2026-01-01",
"end": "2026-12-31"
}
]
}Response exampleJSON
{
"allocation": [
{
"id": "licence",
"allocated": 80000
},
{
"id": "support",
"allocated": 40000
}
],
"schedule": [
{
"month": "2026-01",
"revenue": 83397
},
{
"month": "2026-02",
"revenue": 3069
},
"…"
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/revenue-recognition-schedule" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"transactionPrice": 120000,
"obligations": [
{
"id": "licence",
"ssp": 100000,
"pattern": "point_in_time",
"date": "2026-01-01"
},
{
"id": "support",
"ssp": 50000,
"pattern": "straight_line",
"start": "2026-01-01",
"end": "2026-12-31"
}
]
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/loan-amortization-journal$0.03 USDCFixed-rate loan amortisation journal
Compute a level-payment amortisation table and balancing journal entries for a fixed-rate loan.
Body
| Field | Required | Notes |
|---|---|---|
principal | Yes | integer |
annualRate | Yes | number |
termMonths | Yes | integer |
firstPaymentDate | Yes | string; date |
accounts | Yes | object; Object |
Request exampleJSON
{
"principal": 1000000,
"annualRate": 0.06,
"termMonths": 12,
"firstPaymentDate": "2026-02-01",
"accounts": {
"loan": "2300",
"interest": "7100",
"cash": "1000"
}
}Response exampleJSON
{
"payment": 86066,
"rows": [
{
"n": 1,
"interest": 5000,
"principal": 81066,
"balance": 918934,
"payment": 86066
},
{
"n": 2,
"interest": 4595,
"principal": 81471,
"balance": 837463,
"payment": 86066
},
"…"
],
"entries": [
{
"date": "2026-02-01",
"lines": [
{
"account": "7100",
"debit": 5000,
"credit": 0
},
{
"account": "2300",
"debit": 81066,
"credit": 0
},
"…"
]
},
{
"date": "2026-03-01",
"lines": [
{
"account": "7100",
"debit": 4595,
"credit": 0
},
{
"account": "2300",
"debit": 81471,
"credit": 0
},
"…"
]
},
"…"
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/loan-amortization-journal" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"principal": 1000000,
"annualRate": 0.06,
"termMonths": 12,
"firstPaymentDate": "2026-02-01",
"accounts": {
"loan": "2300",
"interest": "7100",
"cash": "1000"
}
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/bank-reconciliation-match$0.04 USDCMatch bank lines to ledger entries
Match bank statement lines to ledger entries by amount+reference, amount+date tolerance, and optional many-to-one subset sums.
Body
| Field | Required | Notes |
|---|---|---|
bank | Yes | array; Array |
ledger | Yes | array; Array |
dateToleranceDays | No | integer; Default: 5 |
allowManyToOne | No | boolean; Default: true |
Request exampleJSON
{
"bank": [
{
"id": "b1",
"date": "2026-11-03",
"amount": -12000,
"text": "ACME INV 1043"
}
],
"ledger": [
{
"id": "l1",
"date": "2026-11-01",
"amount": -12000,
"ref": "INV 1043"
}
],
"dateToleranceDays": 5,
"allowManyToOne": true
}Response exampleJSON
{
"matches": [
{
"bank": [
"b1"
],
"ledger": [
"l1"
],
"rule": "exact_amount_ref",
"score": 1
}
],
"unmatchedBank": [],
"unmatchedLedger": [],
"difference": 0,
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/bank-reconciliation-match" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"bank": [
{
"id": "b1",
"date": "2026-11-03",
"amount": -12000,
"text": "ACME INV 1043"
}
],
"ledger": [
{
"id": "l1",
"date": "2026-11-01",
"amount": -12000,
"ref": "INV 1043"
}
],
"dateToleranceDays": 5,
"allowManyToOne": true
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/trial-balance-validate$0.02 USDCValidate a trial balance
Check debit/credit equality, abnormal balances by account type, duplicate codes and lines with both debit and credit.
Body
| Field | Required | Notes |
|---|---|---|
accounts | Yes | array; Array |
Request exampleJSON
{
"accounts": [
{
"code": "1000",
"name": "Cash",
"type": "asset",
"debit": 50000,
"credit": 0
},
{
"code": "2000",
"name": "AP",
"type": "liability",
"debit": 0,
"credit": 50000
}
]
}Response exampleJSON
{
"balanced": true,
"totalDebit": 50000,
"totalCredit": 50000,
"difference": 0,
"issues": [],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/trial-balance-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"accounts": [
{
"code": "1000",
"name": "Cash",
"type": "asset",
"debit": 50000,
"credit": 0
},
{
"code": "2000",
"name": "AP",
"type": "liability",
"debit": 0,
"credit": 50000
}
]
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/financial-statements-build$0.03 USDCBuild income statement and balance sheet
Roll a mapped trial balance into income-statement and balance-sheet lines, add net income to equity, and check A = L + E.
Body
| Field | Required | Notes |
|---|---|---|
accounts | Yes | array; Array |
Request exampleJSON
{
"accounts": [
{
"code": "4000",
"name": "Revenue",
"type": "income",
"debit": 0,
"credit": 100,
"statementLine": "Revenue"
},
{
"code": "5000",
"name": "Expenses",
"type": "expense",
"debit": 80,
"credit": 0,
"statementLine": "Expenses"
},
{
"code": "1000",
"name": "Cash",
"type": "asset",
"debit": 120,
"credit": 0,
"statementLine": "Current assets"
},
{
"code": "2000",
"name": "AP",
"type": "liability",
"debit": 0,
"credit": 100,
"statementLine": "Current liabilities"
}
]
}Response exampleJSON
{
"incomeStatement": {
"lines": [
{
"line": "Revenue",
"amount": 100
},
{
"line": "Expenses",
"amount": 80
}
],
"netIncome": 20
},
"balanceSheet": {
"assets": 120,
"liabilities": 100,
"equity": 20,
"balances": true,
"lines": [
{
"line": "Current assets",
"amount": 120
},
{
"line": "Current liabilities",
"amount": 100
},
"…"
]
},
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/financial-statements-build" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"accounts": [
{
"code": "4000",
"name": "Revenue",
"type": "income",
"debit": 0,
"credit": 100,
"statementLine": "Revenue"
},
{
"code": "5000",
"name": "Expenses",
"type": "expense",
"debit": 80,
"credit": 0,
"statementLine": "Expenses"
},
{
"code": "1000",
"name": "Cash",
"type": "asset",
"debit": 120,
"credit": 0,
"statementLine": "Current assets"
},
{
"code": "2000",
"name": "AP",
"type": "liability",
"debit": 0,
"credit": 100,
"statementLine": "Current liabilities"
}
]
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/cash-flow-forecast-13w$0.04 USDC13-week direct cash-flow forecast
Bucket receivables, payables and recurring cash items into Monday-start weeks and report closing cash versus a minimum.
Body
| Field | Required | Notes |
|---|---|---|
openingCash | Yes | integer |
weekStart | Yes | string; date |
receivables | No | array; Default: []; Array |
payables | No | array; Default: []; Array |
recurring | No | array; Default: []; Array |
minimumCash | No | integer; Default: 0 |
Request exampleJSON
{
"openingCash": 500000,
"weekStart": "2026-11-16",
"receivables": [
{
"due": "2026-11-20",
"amount": 100000,
"collectionDelayDays": 7
}
],
"payables": [],
"recurring": [
{
"name": "payroll",
"amount": -200000,
"every": "2w",
"start": "2026-11-27"
}
],
"minimumCash": 100000
}Response exampleJSON
{
"weeks": [
{
"week": 1,
"start": "2026-11-16",
"inflows": 0,
"outflows": 0,
"closing": 500000,
"belowMinimum": false
},
{
"week": 2,
"start": "2026-11-23",
"inflows": 100000,
"outflows": 200000,
"closing": 400000,
"belowMinimum": false
},
"…"
],
"lowestWeek": 12,
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/cash-flow-forecast-13w" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"openingCash": 500000,
"weekStart": "2026-11-16",
"receivables": [
{
"due": "2026-11-20",
"amount": 100000,
"collectionDelayDays": 7
}
],
"payables": [],
"recurring": [
{
"name": "payroll",
"amount": -200000,
"every": "2w",
"start": "2026-11-27"
}
],
"minimumCash": 100000
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/fx-revaluation$0.03 USDCUnrealised FX revaluation
Revalue foreign-currency monetary balances at closing rates and propose unrealised gain/loss journal entries.
Body
| Field | Required | Notes |
|---|---|---|
functionalCurrency | Yes | string |
balances | Yes | array; Array |
closingRates | Yes | object |
rateQuote | Yes | string; One of: foreign_per_functional, functional_per_foreign |
accounts | No | object; Default: {"gainLoss":"7900"}; Object |
asOf | No | string; date |
Request exampleJSON
{
"functionalCurrency": "GBP",
"balances": [
{
"account": "1200",
"currency": "USD",
"amount": 100000,
"carryingRate": 1.25,
"type": "asset"
}
],
"closingRates": {
"USD": 1.3
},
"rateQuote": "functional_per_foreign"
}Response exampleJSON
{
"lines": [
{
"account": "1200",
"currency": "USD",
"carrying": 125000,
"revalued": 130000,
"gainLoss": 5000
}
],
"totalGainLoss": 5000,
"functionalCurrency": "GBP",
"entries": [
{
"date": "2026-11-14",
"lines": [
{
"account": "1200",
"debit": 5000,
"credit": 0
},
{
"account": "7900",
"debit": 0,
"credit": 5000
}
]
}
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/fx-revaluation" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"functionalCurrency": "GBP",
"balances": [
{
"account": "1200",
"currency": "USD",
"amount": 100000,
"carryingRate": 1.25,
"type": "asset"
}
],
"closingRates": {
"USD": 1.3
},
"rateQuote": "functional_per_foreign"
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/inventory-costing$0.03 USDCFIFO, weighted-average and specific-ID costing
Cost inventory issues under FIFO, perpetual weighted average or specific identification and report closing quantity and value.
Body
| Field | Required | Notes |
|---|---|---|
method | Yes | string; One of: FIFO, WAVG, SPECIFIC |
movements | Yes | array; Array |
Request exampleJSON
{
"method": "FIFO",
"movements": [
{
"date": "2026-01-01",
"type": "receipt",
"qty": 100,
"unitCost": 10
},
{
"date": "2026-01-02",
"type": "receipt",
"qty": 50,
"unitCost": 13
},
{
"date": "2026-01-03",
"type": "issue",
"qty": 120
}
]
}Response exampleJSON
{
"issues": [
{
"date": "2026-01-03",
"qty": 120,
"cogs": 1260
}
],
"closing": {
"qty": 30,
"value": 390,
"unitCost": 13
},
"method": "FIFO",
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/inventory-costing" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"method": "FIFO",
"movements": [
{
"date": "2026-01-01",
"type": "receipt",
"qty": 100,
"unitCost": 10
},
{
"date": "2026-01-02",
"type": "receipt",
"qty": 50,
"unitCost": 13
},
{
"date": "2026-01-03",
"type": "issue",
"qty": 120
}
]
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/accrual-prepaid-schedule$0.02 USDCPrepaid/accrual amortisation schedule
Spread a prepaid or accrual amount over months on a daily or equal-month basis with balancing journal entries.
Body
| Field | Required | Notes |
|---|---|---|
amount | Yes | integer |
start | Yes | string; date |
end | Yes | string; date |
basis | No | string; One of: daily, monthly_equal; Default: "daily" |
accounts | Yes | object; Object |
Request exampleJSON
{
"amount": 120000,
"start": "2026-01-15",
"end": "2027-01-14",
"basis": "daily",
"accounts": {
"prepaid": "1400",
"expense": "6200"
}
}Response exampleJSON
{
"periods": [
{
"month": "2026-01",
"amount": 5589
},
{
"month": "2026-02",
"amount": 9205
},
"…"
],
"entries": [
{
"date": "2026-01-28",
"lines": [
{
"account": "6200",
"debit": 5589,
"credit": 0
},
{
"account": "1400",
"debit": 0,
"credit": 5589
}
]
},
{
"date": "2026-02-28",
"lines": [
{
"account": "6200",
"debit": 9205,
"credit": 0
},
{
"account": "1400",
"debit": 0,
"credit": 9205
}
]
},
"…"
],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/accrual-prepaid-schedule" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"amount": 120000,
"start": "2026-01-15",
"end": "2027-01-14",
"basis": "daily",
"accounts": {
"prepaid": "1400",
"expense": "6200"
}
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/intercompany-eliminate$0.03 USDCIntercompany balance elimination
Pair entity/counterparty intercompany balances, flag differences above tolerance, and propose elimination entries for matched amounts.
Body
| Field | Required | Notes |
|---|---|---|
balances | Yes | array; Array |
tolerance | No | integer; Default: 0 |
Request exampleJSON
{
"balances": [
{
"entity": "UK",
"counterparty": "US",
"account": "IC receivable",
"amount": 100000,
"currency": "GBP"
},
{
"entity": "US",
"counterparty": "UK",
"account": "IC payable",
"amount": -98000,
"currency": "GBP"
}
],
"tolerance": 1000
}Response exampleJSON
{
"pairs": [
{
"entities": [
"UK",
"US"
],
"difference": 2000,
"withinTolerance": false
}
],
"eliminations": [],
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/intercompany-eliminate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"balances": [
{
"entity": "UK",
"counterparty": "US",
"account": "IC receivable",
"amount": 100000,
"currency": "GBP"
},
{
"entity": "US",
"counterparty": "UK",
"account": "IC payable",
"amount": -98000,
"currency": "GBP"
}
],
"tolerance": 1000
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/journal-anomaly-detect$0.04 USDCRule-based journal anomaly flags
Flag round amounts, weekend/after-hours postings, amount z-scores, duplicates and Benford first-digit chi-square on journal lines.
Body
| Field | Required | Notes |
|---|---|---|
entries | Yes | array; Array |
rules | No | object; Default: {"weekendPosting":true,"zScore":3}; Object |
Request exampleJSON
{
"entries": [
{
"id": "j1",
"date": "2026-11-14",
"postedAt": "2026-11-15T23:30:00.000Z",
"user": "a",
"account": "6000",
"amount": 1000000,
"description": "adj"
}
],
"rules": {
"roundAmountMultiple": 100000,
"weekendPosting": true,
"afterHours": [
"20:00",
"06:00"
],
"zScore": 3
}
}Response exampleJSON
{
"flags": [
{
"id": "j1",
"rules": [
"round_amount",
"weekend_posting",
"…"
]
}
],
"benford": {
"chiSquare": 2.321928,
"df": 8,
"pValue": 0.969518
},
"sources": [
{
"source": "Caller-supplied ledgers, contracts, asset registers and rates processed locally",
"url": "https://www.brainiac.software/api/v1/accounting-schedules",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/journal-anomaly-detect" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"entries": [
{
"id": "j1",
"date": "2026-11-14",
"postedAt": "2026-11-15T23:30:00.000Z",
"user": "a",
"account": "6000",
"amount": 1000000,
"description": "adj"
}
],
"rules": {
"roundAmountMultiple": 100000,
"weekendPosting": true,
"afterHours": [
"20:00",
"06:00"
],
"zScore": 3
}
}
JSONhttps://www.brainiac.software/api/v1/accounting-schedules/form-1099-threshold-check$0.02 USDCForm 1099 threshold check
Sum payee payments by category for tax year 2026 and flag 1099-NEC / 1099-MISC boxes that meet IRS thresholds.
Body
| Field | Required | Notes |
|---|---|---|
taxYear | Yes | integer |
payments | Yes | array; Array |
Request exampleJSON
{
"taxYear": 2026,
"payments": [
{
"payeeId": "v1",
"payeeType": "individual",
"category": "services",
"amount": 250000,
"paidByCardOrThirdParty": false
}
]
}Response exampleJSON
{
"payees": [
{
"payeeId": "v1",
"form": "1099-NEC",
"box": "1a",
"total": 250000,
"threshold": 200000,
"required": true
}
],
"sources": [
{
"source": "IRS Instructions for Forms 1099-MISC and 1099-NEC; P.L. 119-21 $2,000 general threshold for tax years beginning after 2…",
"url": "https://www.irs.gov/instructions/i1099mec",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are schedules and journal-entry proposals for an accountant's review. They are not audited figures, tax determi…",
"Thresholds apply for tax year 2026 only ($2,000 general; royalties $10; attorney gross proceeds $600). Card/third-party…",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/accounting-schedules/form-1099-threshold-check" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"taxYear": 2026,
"payments": [
{
"payeeId": "v1",
"payeeType": "individual",
"category": "services",
"amount": 250000,
"paidByCardOrThirdParty": false
}
]
}
JSON