Reference
Schemas
The 289 data shapes of the public document. Names ending in Input, Patch or Request are sent; the others are returned.
| Schema | Description |
|---|---|
Account | A general ledger account. |
AccountCreateRequest | The body of createAccount. |
AccountInput | Fields to create an account. |
AccountPatch | Fields to change on an account. |
AccountPatchRequest | The body of updateAccount. |
AccountReportPlacement | The line of one report definition an account is placed on. |
AccountRole | The part an account plays in the books (Account.role). |
AccountType | Balance sheet or income statement class of an account. |
Address | A postal address. |
ApproveBillingPlanInput | The approval's date and an optional protocol or contract reference. |
ApproveBillingPlanRequest | |
AuditActorKind | Who performed an audited action (0247, 0438) -- a person, the app itself (a deterministic automation, or an AI acting without a person's approval), an API credential (api_key) or a connected Tracken app (installation). |
AuditLogEntry | One immutable core.audit_log row (Phase 250, AUDV-01/02): one recorded action. |
BankAccount | A bank account of the organization (banking.bank_account): linked one to one to the ledger account that mirrors it, with an IBAN unique in the organization and exactly one default account per organization. |
BankAccountCreateRequest | The body of createBankAccount. |
BankAccountInput | Fields to create a bank account. |
BankAccountListMeta | Metadata of a list response. |
BankAccountPatch | Fields to change on a bank account. |
BankAccountPatchRequest | The body of updateBankAccount. |
BankLine | One transaction on an imported bank statement. |
BankLineReconcileAsIgnored | Reconcile as ignored. |
BankLineReconcileAsPayment | Reconcile as a payment. |
BankLineReconcileAsPosting | Reconcile as a posting. |
BankLineReconcileInput | What the line is. |
BankLineReconcileRequest | The body of reconcileBankLine. |
BankLineReconciliation | How a bank line was reconciled. |
BankStatement | An imported bank statement: one account's period as the bank reported it (camt.053/.052 or a bank's CSV export), with its opening and closing balances in the bank account's currency. |
BillingFormulaCatalog | What billing formulas may use: the grammar (EBNF), its functions and limits, and the references available, flat (references) and in the formula field's groups (variables, properties, meters, sys, and for a variable's formula over a purchase invoice invoice and lines). |
BillingFormulaCatalogItem | One value a formula can refer to (KÜ2 D54), the formula field's own item. |
BillingFormulaFunction | A function a formula may call. |
BillingFormulaLimits | The grammar's limits, the same in the server and the editor. |
BillingFormulaParseRequest | |
BillingFormulaParseResult | A formula text and its tree. |
BillingFormulaReference | One reference a formula can use, as scope.code. |
BillingFormulaSysItem | |
BillingFormulaText | The formula to parse. |
BillingPlan | What to bill whom, every period: lines with fixed amounts, formulas over object properties and meter consumption, or allocations of a cost. |
BillingPlanCreateRequest | |
BillingPlanInput | A new billing plan with its lines, variables and recipients, or, with based_on_plan_id, a copy of another plan (then only name, start_period, end_period, recipient_mode, object_type_id, recipient_partner_ids and external_ref may be sent; change the copy with a PATCH). |
BillingPlanIssue | One validation or approval problem, placed at a field. |
BillingPlanLine | A line of a billing plan; ids are stable across edits (a new revision gives its lines new ids). |
BillingPlanLineDimension | One dimension row on a plan line (KÜ2 D41). |
BillingPlanLineInput | A line of a billing plan. |
BillingPlanLinePropertyCondition | KÜ2 D53: the line bills only objects whose Jah/Ei property property_key equals equals. |
BillingPlanLineRecipientFilter | Which of the plan's recipients a line bills (KÜ2 D51): all = every recipient of the plan; selected = only the listed recipients (object ids in an object-type plan, contact ids in a partners plan). |
BillingPlanLineRecipientFilterInput | Which of the plan's recipients a line bills (KÜ2 D51). |
BillingPlanLineVariableCondition | KÜ2 D70: the line bills only in periods where the plan's own Jah/Ei variable variable_key equals equals (replaces Aktiivsed kuud). |
BillingPlanListItem | One plan in a list, in its current revision; lines and variables are on getBillingPlan. |
BillingPlanPatch | Fields to change; only sent fields change. |
BillingPlanRevision | One revision of a plan. |
BillingPlanUpdateRequest | |
BillingPlanVariable | A plan variable, referenced from formulas as var.<key>. |
BillingPlanVariableInput | A plan variable (KÜ2 D65/D70), referenced from the plan's formulas as var.<key> and from line conditions. kind=timed holds dated segments; kind=asked has none and is asked at every billing run; kind=formula computes from earlier variables and system values. |
BillingPlanVariableSegment | One value slice of a timed plan variable (KÜ2 D65). |
BillingRun | One period billed by a plan. |
BillingRunBlocker | One step-1 blocker (L10, L11), from the same decided cells the preview and the run bill: a missing allocation-weight value on an object, an object with no bill-to recipient, a "Peata arveldus" line with no reading (or no meter), a timed variable with no value, an external value not yet available, a line with no account or tax code (unresolved_account / unresolved_tax_code), a line that cannot be computed at all -- a division by zero, a negative weight (line_unresolved). |
BillingRunCounts | The run's recipients and invoices by what happened to them. |
BillingRunCreateRequest | |
BillingRunInput | Bill one period of a plan. |
BillingRunRecipient | One resolved recipient's outcome within a billing run (D-01, D-06). |
BillingRunStatus | Where a run is. |
BillingRunTotals | Sums over the invoices the run made (a credit invoice counts negative), each computed as the invoice computes it. |
BillingRunVariableValue | A value for one of the plan's variables in this run: every asked variable needs one; a timed variable sent here is overridden for this run only. |
BookAmounts | What a document is worth in the organization's book currency, the currency its ledger is kept in, at the document's exchange rate. |
BookLineAmounts | A document line in the organization's book currency, at the document's exchange rate. |
Contact | A customer, supplier or other party. |
ContactCreateRequest | |
ContactInput | |
ContactListMeta | Metadata of a list response. |
ContactPatch | |
ContactType | Legal person or natural person. |
ContactUpdateRequest | |
CreateFiscalYearRequest | createFiscalYear's body. |
CreatePeriodRequest | createPeriod's body. |
CreateVatReturnRequest | createVatReturn's body. |
DeletedRecord | A record that was deleted. |
DepreciationRun | A monthly depreciation posting across all active assets. |
DepreciationRunCreateRequest | |
DepreciationRunInput | A run for one month. |
DepreciationScheduleRow | One month of depreciation. |
DimensionAssignment | One analytical dimension value on a line, for example a cost centre or a project. |
DimensionCatalogEntry | An analytical dimension (cost centre, project, apartment, fund...). |
DimensionCreateRequest | The body of createDimension. |
DimensionInput | Fields to create a dimension. |
DimensionPatch | Fields to change on a dimension. |
DimensionPatchRequest | The body of updateDimension. |
DimensionValue | One value of a dimension: a node of a single-parent tree under its dimension. |
DimensionValueCreateRequest | The body of createDimensionValue. |
DimensionValueInput | Fields to create a dimension value. |
DimensionValuePatch | Fields to change on a dimension value. |
DimensionValuePatchRequest | The body of updateDimensionValue. |
Document | A row in the Phase 122 Archive union read-model: either a stored source document (core.document, document_class=received — may be unfiled (0 links) or linked to one or more accounting objects via DocumentLink) or a synthesized issued sales-invoice/credit-note PDF row (document_class=issued, never persisted as core.document — D4/D11). |
DocumentArchiveInput | Why the document is archived. |
DocumentCreateInput | Announce a file to upload. |
DocumentCreateRequest | |
DocumentCreated | A created document together with where to upload its bytes. |
DocumentLanguage | A language customer-facing documents can be written in (migration 0338). |
DocumentLink | A many-to-many link from a document to one accounting object (core.document_link, D-02). 'entry' resolves to transactions.transaction (the whole journal entry, not a single line). |
DocumentLinkCreateRequest | |
DocumentLinkInput | Attach the document to a record. |
DocumentLinkRecordType | The kind of record to attach the document to: a purchase or sales invoice, a transaction, a bank statement line or a fixed asset. |
DocumentOnConflict | What a create does when a document already holds the sent external_ref. |
DocumentReading | What OCR read from a document: a suggestion, never a posting. |
DocumentReadingLine | One line as the OCR reading printed it. |
DocumentReadingParty | A party as the OCR reading printed it. |
DocumentRecordType | The kind of record a document is attached to: a purchase or sales invoice, a transaction, a bank statement line, a fixed asset, or an expense report (or one of its lines). |
DocumentUnarchiveInput | Options of an unarchive. |
DocumentUpload | Single-use upload target, valid for 15 minutes. |
Error | The error envelope every non-2xx response carries. |
ErrorDetail | One specific problem inside a request body or query. |
Event | Something that happened in the organization. |
EventType | Event types. |
ExchangeRate | An exchange rate: how many units of the document's currency one unit of the organization's book currency buys, the European Central Bank's quoting direction. |
ExchangeRateSource | Where a document's exchange_rate came from: ecb the European Central Bank's rate of the document's dates, manual a rate a person typed, derived worked out from the ledger entry of a document saved before rates were kept, import the rate an import source recorded. |
Export | A full data export, produced as a ZIP of CSV files. |
ExportInput | Request a full export of the organization's data. |
FiscalYear | A fiscal year of the organization. |
FiscalYearInput | Declare a fiscal year that is not 12 months long, e.g. the shortened first year a migration brings. |
FixedAsset | A fixed asset on the asset register. |
FixedAssetCreateRequest | |
FixedAssetDisposalSummary | Set once disposed. |
FixedAssetDisposeInput | Write off an active asset. |
FixedAssetDisposeRequest | |
FixedAssetGroup | A fixed-asset group of the organization (core.fixed_asset_group): the accounts and depreciation defaults its assets start from. |
FixedAssetGroupCreateRequest | The body of createFixedAssetGroup. |
FixedAssetGroupInput | Fields to create a fixed-asset group. |
FixedAssetGroupPatch | Changes to a fixed-asset group. |
FixedAssetGroupPatchRequest | The body of updateFixedAssetGroup. |
FixedAssetInput | A fixed asset to create. |
FixedAssetPatch | Changes to an asset. |
FixedAssetUpdateRequest | |
FormulaNode | A parsed billing formula: the JSON tree a formula text converts to, and back (parseBillingFormula; the parser is open source as tracken-billing-formula). |
InvoiceBillingPeriod | The period a billing run invoiced. |
InvoiceCoRecipient | One other recipient of a sales invoice (a co-owner), as snapshotted on the invoice. |
InvoiceCoRecipientInput | One other recipient of a sales invoice (a co-owner). |
InvoiceLineDimension | One dimension value on an invoice line. |
InvoiceParty | The customer as printed on the document, snapshotted when it is saved. |
InvoicePartyInput | The customer as printed on the document. |
Item | A product or service that lines are built from. |
ItemCreateRequest | |
ItemInput | |
ItemListMeta | Metadata of a list response. |
ItemPatch | |
ItemUpdateRequest | |
Job | A long-running operation. |
LedgerLine | One posting line of the general ledger. |
LineDecimal | An invoice line's unit price, quantity or discount as a decimal string with at most 10 fraction digits, stored and answered as sent (a price component is priced to the tenth of a cent). |
ListMeta | Metadata of a list response. |
Meter | A physical meter installed in one of an object's meter properties (slots), with its opening value and, once taken out, its closing value. |
MeterCreateRequest | |
MeterInput | A meter to install. |
MeterPatch | Fields to change; only sent fields change, and null clears a nullable one. |
MeterReading | A meter reading. |
MeterReadingCreateRequest | |
MeterReadingInput | A reading to record. |
MeterReadingPatch | Fields to change; only sent fields change. |
MeterReadingSelection | Which reading a billing period measures between: last_in_period the period's last reading, nearest_to_boundary the reading nearest each period boundary within tolerance_days. |
MeterReadingUpdateRequest | |
MeterReplacement | The meter taken out of the property by the one being installed. |
MeterType | What a meter measures (cold water, heat, electricity), and how billing picks its readings. |
MeterTypeCreateRequest | |
MeterTypeInput | A new meter type. |
MeterTypePatch | Fields to change; only sent fields change. |
MeterTypeUpdateRequest | |
MeterUpdateRequest | |
MoneyAmount | A money amount as a decimal string with at most 2 fraction digits and 15 integer digits, no leading zeros, exponent or +, so that no client rounds it through a binary float. |
ObjectCreateRequest | |
ObjectInput | A new object. |
ObjectPatch | Fields to change; only sent fields change, and null clears a nullable one. |
ObjectPaymentReferenceError | One object or row whose reference was not applied. |
ObjectPaymentReferenceRow | One reference to import. |
ObjectPaymentReferencesAssignInput | Give objects their own payment reference. |
ObjectPaymentReferencesAssignRequest | |
ObjectPaymentReferencesResult | What an assignment did (or, with dry_run=true, would do). |
ObjectRecord | An object of the resource objects: a unit the organization invoices and allocates costs by — an apartment, a parking space, a vehicle, a rented room. |
ObjectType | A kind of object (apartment, parking space, vehicle) and the properties its objects hold. |
ObjectTypeCreateRequest | |
ObjectTypeInput | A new object type. |
ObjectTypePatch | Fields to change; only sent fields change. |
ObjectTypeUpdateRequest | |
ObjectUpdateRequest | |
OnConflict | What a create does when a record of the same resource already holds the sent external_ref. |
OpeningAccountBalance | The balance of one account at the opening date. |
OpeningAsset | An asset on the register at the opening date, created active without an acquisition entry (the balances carry its cost and the depreciation charged so far), with origin opening; depreciation continues from the month after the opening date. |
OpeningAssetInput | An asset on the register at the opening date. |
OpeningInvoice | An invoice still open at the opening date. |
OpeningPrepayment | An advance held at the opening date: one a customer paid us (received, a liability) or one we paid a supplier (paid, an asset). |
OpeningState | Where the books start: account balances, open invoices, prepayments and the asset register at one date. |
OpeningStateCheck | What the replace found and did (a dry_run answers what it would do): the warnings that do not refuse it, the totals and counts it checked, and the rows it created, updated and deleted. |
OpeningStateInput | The opening state to set, replacing the one held. |
OpeningStateReplaceRequest | |
Organization | The company (or association) whose books these are. |
OrganizationMembership | An organization the caller belongs to, with their role and effective permissions. |
Pagination | Cursor pagination state of a list response. |
Payment | Money that moved, and the one document it settled. |
PaymentAllocation | The part of a payment that settles one document. |
PaymentAllocationInput | The part of a payment that settles one document. |
PaymentCreateRequest | |
PaymentDirection | Money in (a customer pays a sales invoice, a supplier refunds a purchase) or out (a purchase invoice is paid, a customer is refunded). |
PaymentFileFormat | The ISO 20022 pain.001 version of a SEPA payment file (banking.bank_account.payment_file_format, migration 0382). |
PaymentInput | A payment to record, and the document it settles. |
PaymentMethodCode | How it was paid. |
PaymentOrigin | import: the payment came in with an import, or was created linked to an imported transaction (transaction_id on create); live: it was recorded and posted here. |
PaymentRecordMethod | How it was paid: bank_transfer posts to the bank account's ledger account, cash to the organization's default cash account. |
Period | An accounting period. |
PeriodInput | A period to open. |
Permission | One permission an organization role or the owner status grants. |
Principal | Who the current credential is (getCurrentUser): a CLI's whoami, and how an agent learns its organization and scopes before acting. |
PrincipalCredential | A machine credential, as Settings → API access shows it. |
PrincipalUser | The signed-in person behind a user token. |
PropertyDefinition | A property an object type declares, which each of its objects can hold a value for. |
PropertyDefinitionInput | One property definition of a type being created or changed. |
PropertyItem | One value of a multi-valued property (is_multi), with its own validity. |
PropertyItemCorrection | The true validity of a stored item of a dated multi-valued property. |
PropertyItemInput | One wanted current value of a multi-valued property; only the field of the property's kind is read. |
PropertySlice | One value of a single-value property from valid_from until the day before the next slice starts (the newest slice is in force today). |
PropertySliceCorrection | The slice of a dated single value that starts on valid_from truly started on new_valid_from. |
PropertyState | One property of an object: its definition and every value it has had. |
PropertyTemporality | static: the property holds one value with no history. |
PropertyValueInput | Set one property of an object. |
PropertyValueType | What a property's value is. |
PurchaseInvoice | An invoice or credit note received from a supplier. |
PurchaseInvoiceCreateInput | A supplier's invoice or credit note to register as a draft. |
PurchaseInvoiceCreateRequest | |
PurchaseInvoiceLine | A line of a purchase invoice. |
PurchaseInvoiceLineInput | A line of a purchase invoice. |
PurchaseInvoiceParty | The supplier as the invoice names it: copied from the contact, or as sent, and copied again from the contact when the invoice is posted. |
PurchaseInvoicePatch | Fields to change. |
PurchaseInvoiceUpdateRequest | |
PurchaseInvoiceVoidInput | Why the registration is taken back. |
PurchaseInvoiceVoidRequest | |
Quantity | A quantity, rate or reading as a decimal string with at most 4 fraction digits. |
Quote | A quote: an offer to a customer, numbered from the quote series, that never posts to the ledger. |
QuoteCreateRequest | |
QuoteInput | A new quote. |
QuoteLineItemInput | A line of a quote. |
QuotePatch | Fields to change on a draft or sent quote. |
QuoteUpdateRequest | |
ReadingReason | Why a reading exists: the regular periodic reading, one the owner reported, a check, one taken at a change of owner, a late correction of a billed figure, an estimate, or other (which needs a note). |
ReadingSource | How the value was obtained: typed in, read with help (a photo), a file import, a provider feed, a remote meter, or an estimate. |
ReportChecks | Integrity of the result. |
ReportColumn | One value column of a report. |
ReportColumnPeriod | The time span a value column covers. |
ReportDefinition | A report layout: lines in a tree, each summing the accounts placed on it, folding its children, or computing a formula over other lines. |
ReportDefinitionCreateRequest | |
ReportDefinitionInput | A new report definition. |
ReportDefinitionLine | One line of a report definition. |
ReportDefinitionLineInput | One line as sent. |
ReportDefinitionPatch | Fields to change. |
ReportDefinitionUpdateRequest | |
ReportParameter | One query parameter a report reads. |
ReportResult | A run report. |
ReportResultMeta | Metadata of a report; pagination only on a paginated report. |
ReportRow | One row of a report. |
ReportRowEntriesMeta | Metadata of a page of row entries. |
ReportRowRecord | The record a report row stands for. |
ReportSummary | A report this organization can run. |
SalesDocument | What a sales invoice and a quote share. |
SalesDocumentSendRequest | |
SalesInvoice | An invoice to a customer, a credit note or a prepayment invoice. |
SalesInvoiceCreateRequest | |
SalesInvoiceInput | A new draft sales invoice, credit note or prepayment invoice. |
SalesInvoiceLineItem | A line of a sales invoice, credit note or quote. |
SalesInvoiceLineItemInput | A line of a sales invoice or credit note. |
SalesInvoicePatch | Fields to change. |
SalesInvoiceSendInput | How to e-mail the document. |
SalesInvoiceUpdateRequest | |
SalesInvoiceVoidData | Why the invoice is voided. |
SalesInvoiceVoidRequest | |
SearchHit | One search result. |
SyncMeta | Where the next incremental pass starts, on every page of a list that takes updated_since (and of GET /deletions). |
TaxCode | A VAT code of the organization. |
Transaction | A balanced set of postings to the general ledger. |
TransactionCreateRequest | The body of createTransaction. |
TransactionEntry | One entry (leg) of a transaction. |
TransactionEntryInput | One entry (leg) of a transaction. |
TransactionInput | A transaction to post. |
TransactionOriginWord | What created a transaction: manual (entered by hand), import (brought over from another system), or the kind of record that posted it. |
TransactionPatch | Fields to change on a manual or import transaction. |
TransactionSource | The record that posted a transaction. |
TransactionUpdateRequest | The body of updateTransaction. |
UnitPrice | A unit price as a decimal string with at most 4 fraction digits. |
VariableDecimal | A billing plan variable's value for a run as a decimal string with at most 6 fraction digits (a price taken from a purchase invoice is kept to 6). |
VatReturn | A VAT return (KMD) for one month. |
VatReturnInput | The calendar month to open a VAT return for. |
WebhookDelivery | One attempt series to deliver an event to an endpoint. |
WebhookEndpoint | A URL that receives events. |
WebhookEndpointInput | |
WebhookEndpointPatch |
No schema matches.