Tax form lines
Which Schedule C line each category reports on.
Paths are relative to https://evenbooks.org/api/v1. How keys, errors, paging and versions work is in the guide; the whole reference is also an OpenAPI 3.1 document.
Administrator key marks endpoints that need a key with the admin role, Write access those a read-only key can’t call, and Idempotent those that accept an idempotency key.
Get the Schedule C lines for a tax year
/mappings/{year}Every income and expense account with the Schedule C line it reports on in year (null when none is set), and the list of lines.
Parameters
yearintegerpath · required
Response 200
TaxFormMappingsDto (fields under Schemas)
Errors 400 · 401 · 403 · 404 · 409 · 429
Set Schedule C lines for a tax year
/mappings/{year}Administrators only. Sets the line of each listed account for year; lineCode: null clears it and excluded keeps the account off Schedule C. Accounts not listed keep their line. An unknown line code is refused (400 validation). Returns the whole year.
Parameters
yearintegerpath · required
Request body
PutMappingsYearBody
entriesarray of objectrequiredShow 2 fields of each item
accountIdstring (uuid)requiredlineCodestring or nullrequired
Response 200
TaxFormMappingsDto (fields under Schemas)
Errors 400 · 401 · 403 · 404 · 409 · 429
Copy Schedule C lines from another tax year
/mappings/{year}/copyAdministrators only. Gives each account the line it had in fromYear, unless it already has one in year (those are kept). Returns the whole year and copied, the number of accounts filled in.
Parameters
yearintegerpath · required
Request body
PostMappingsYearCopyBody
fromYearintegerrequired
Response 200
CopiedTaxFormMappingsDto
taxYearintegerlinesarray of ScheduleCLineDtoEvery line an account can be mapped to.
accountsarray of objectIncome and expense accounts (archived ones included), by code.
Show 6 fields of each item
idstringcodestringnamestringtypestring · AccountTypeOne of:
assetliabilityequityincomeexpenseisActivebooleanlineCodestring or nullCode of the line this account reports on in
taxYear; null when none is set.
copiedintegerAccounts that got a line from
fromYear.
Errors 400 · 401 · 403 · 404 · 409 · 429
Schemas
The types these endpoints take or return, by name. Type names above link here.
AccountType
string
One of: asset liability equity income expense
ScheduleCLineDto
codestringLine number, e.g.
1,16a,27b;excludedkeeps a category off Schedule C.labelstringpartstringOne of:
incomeexpenseothernotestringoptional
TaxFormMappingsDto
taxYearintegerlinesarray of ScheduleCLineDtoEvery line an account can be mapped to.
accountsarray of objectIncome and expense accounts (archived ones included), by code.
Show 6 fields of each item
idstringcodestringnamestringtypestring · AccountTypeOne of:
assetliabilityequityincomeexpenseisActivebooleanlineCodestring or nullCode of the line this account reports on in
taxYear; null when none is set.