Reference, by resource.

Reads are GET with arguments in the query. Stating and changing are POST with arguments in the body, as JSON or as a form. Every body argument is named; send null for one you do not know, because a request that leaves one out is answered 404. All addresses are under https://api.tallyupnow.com.

Common

What every answer shares.

A record is returned as an object of its fields. A listing is returned as a page.

items

On a listing: the records of this page.

next

On a listing: where the listing continues, when it does.

capabilities

On a record and on a listing: what this caller may do next. Each entry has behaviour, the operation, and may have of, what to address it to.

removed

On a change: the names of the fields to clear. A field sent with a value takes it, a field named here takes no value, and a field sent as null keeps what it had.

code, message, details, hint

On an error: its code, what happened, and optionally more detail and a hint.

Pages

Public pages of this website.

A page of tallyupnow.com and the elements it is made of. Readable without a credential, at its own address, or by name through the operations below with workspace https://tallyupnow.com/id/workspace/tallyup.

Page: id

The page's full address, such as https://tallyupnow.com/trust.

Page: name

The document's title.

Page: description

Its short summary for search results and link previews.

Page: headline

The opening heading on the page.

Page: abstract

The opening paragraph beneath the headline.

Page: created

When the publishing workspace was founded.

Element: id

The element's identifier.

Element: partOf

The page or parent element that holds it.

Element: position

Its place among the elements of that whole.

Element: kind

How the element is presented, such as claims, steps, ledger, sample, or prose.

Element: name

A short label, or a link's visible words.

Element: headline

Its heading, or its main figure.

Element: text

Its body, as plain text.

Element: url

Where the element links to, when it is a link.

GET /rpc/tallyup_page_read

Reads one page. Arguments: page, workspace.

GET /rpc/tallyup_page_pages_of_workspace

Lists the pages a workspace publishes. Arguments: workspace. Optional size and after page the listing.

GET /rpc/tallyup_element_elements_of_whole

Lists what a page, or an element, holds, in order. Arguments: partOf, workspace. Optional size and after page the listing.

Workspaces

Where work happens, and the boundary of who sees it.

A workspace holds one or several businesses and everything recorded about them. Whoever creates a workspace is its owner; commercial writes unlock once Stripe Checkout card setup completes under Billing&activation.

id

The workspace's identifier.

label

The workspace's name.

created

When it was created.

GET /rpc/tallyup_tenant_workspaces_of_principal

The entry operation: lists the workspaces the caller belongs to. It names no workspace. Optional size and after page the listing.

GET /rpc/tallyup_tenant_read

Reads one workspace. Argument: identity, the workspace's id.

POST /rpc/tallyup_tenant_state

New workspace. Request body arguments: identity, label, code.

POST /rpc/tallyup_tenant_change

Change workspace. Request body arguments: identity, removed, label.

Invitations

How a person joins a workspace.

An invitation is addressed to an email address and names the role the person will hold. They accept it after signing in with that address; the secret alone admits no one.

id

The invitation's identifier.

workspace

The workspace it invites to.

role

The role the person will hold: owner, team member, accountant, finance officer, reviewer or reader. The contract lists the exact values.

email

The address it is sent to.

expires

Deadline for the “Accept invitation” operation. The endDate field gives the end of the resulting membership when set.

GET /rpc/tallyup_invitation_invitations_of_address

Lists the invitations addressed to the caller's own verified address. It names no workspace. Optional size and after page the listing.

GET /rpc/tallyup_invitation_invitations_of_tenant

Lists a workspace's invitations. Argument: tenant, the workspace's id. Optional size and after page the listing.

GET /rpc/tallyup_invitation_read

Reads one invitation. Arguments: tenant, invitation.

POST /rpc/tallyup_invitation_state

New invitation. Request body arguments: invitation, tenant, role, secret, expires, addressed_to, target, end_date. For a package invitation, target identifies the package. Send null for target or end_date when no value is specified.

POST /rpc/tallyup_invitation_change

Change invitation. Request body arguments: tenant, invitation, removed, role, expires, addressed_to, target, end_date.

POST /rpc/tallyup_invitation_claim

Accept invitation. Request body arguments: secret.

Businesses

The organization a record is about.

A company, a legal entity of a group or a sole trader. A caller confined to some businesses of a workspace reads those and no other.

id

The business's identifier, chosen by whoever adds it.

name

What the business is called day to day.

legalName

The registered name, when it is known. Absent means not stated.

created

When it was added.

GET /rpc/tallyup_entity_businesses_of_workspace

Lists a workspace's businesses. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_entity_read

Reads one business. Arguments: workspace, entity.

POST /rpc/tallyup_entity_state

New business. Request body arguments: entity, workspace, name, legal_name.

POST /rpc/tallyup_entity_change

Change business. Request body arguments: workspace, entity, removed, name, legal_name.

Works

One piece of work about one business.

A month's books, a reconciliation, a schedule, a review of a contract. A work exists before anything is asserted in it, and questions attach to it.

id

The work's identifier, chosen by whoever creates it, so creating it again is recognized.

business

The business this work is about.

name

The work's name.

created

When it was added.

GET /rpc/tallyup_work_works_of_business

Lists the works about a business. Arguments: business, workspace. Optional size and after page the listing.

GET /rpc/tallyup_work_read

Reads one work. Arguments: workspace, work.

POST /rpc/tallyup_work_state

New work. Request body arguments: work, workspace, business, title, conforms_to. Send null for conforms_to until a layout is chosen.

POST /rpc/tallyup_work_change

Change work. Request body arguments: workspace, work, removed, business, title.

Sheets

A table a person keeps in a workspace.

A sheet is a set of rows and columns. It is a view of records: a row describes one thing, and each cell states one value of it.

id

The sheet's identifier, chosen by whoever starts it.

name

What the sheet is called.

created

When it was added.

GET /rpc/tallyup_sheet_sheets_of_workspace

Lists a workspace's sheets. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_sheet_read

Reads one sheet. Arguments: workspace, sheet.

POST /rpc/tallyup_sheet_state

New sheet. Request body arguments: sheet, workspace, title.

POST /rpc/tallyup_sheet_change

Change sheet. Request body arguments: workspace, sheet, removed, title.

Columns

One column of a sheet, and what its cells mean.

A column carries more than a label: it can name the kind of value it holds and the term its cells state, so two sheets can mean the same thing by a column.

id

The column's identifier.

sheet

The sheet this column is of.

name

The column's one canonical name.

title

A name for people to read; a column may be known by other names than its canonical one.

datatype

The kind of value its cells hold, such as text, a number or a date.

required

Whether every cell of the column must have a value. False unless stated.

propertyUrl

The address of the term this column's cells state. Columns that carry the same address mean the same thing.

created

When it was added.

GET /rpc/tallyup_column_columns_of_sheet

Lists a sheet's columns. Arguments: sheet, workspace. Optional size and after page the listing.

GET /rpc/tallyup_column_columns_of_workspace

Lists every column in a workspace. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_column_read

Reads one column. Arguments: workspace, column_key.

POST /rpc/tallyup_column_state

New column. Request body arguments: column_key, workspace, sheet, datatype, name, property_url, required, title.

POST /rpc/tallyup_column_change

Change column. Request body arguments: workspace, column_key, removed, sheet, datatype, name, property_url, required, title.

Rows

One row of a sheet: the thing its cells describe.

id

The row's identifier.

sheet

The sheet this row is of.

name

What the thing the row describes is called, when it is named.

rownum

The row's position among the sheet's rows, counted from 1.

created

When it was added.

GET /rpc/tallyup_row_rows_of_sheet

Lists a sheet's rows. Arguments: sheet, workspace. Optional size and after page the listing.

GET /rpc/tallyup_row_rows_of_workspace

Lists every row in a workspace. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_row_read

Reads one row. Arguments: workspace, row_key.

POST /rpc/tallyup_row_state

New row. Request body arguments: row_key, workspace, sheet, title, rownum.

POST /rpc/tallyup_row_change

Change row. Request body arguments: workspace, row_key, removed, sheet, title, rownum.

Cells

One value, at the meeting of a row and a column.

A cell states what its row has for its column, and can say where that value was read from.

id

The cell's identifier.

row

The row the cell is in.

column

The column the cell is in.

value

The cell's value, as written.

wasDerivedFrom

What the value was read from, where it is known. Absent means the origin is not known; it does not mean a person entered it.

created

When it was added.

GET /rpc/tallyup_cell_cells_of_sheet

Lists a sheet's cells. Arguments: sheet, workspace. Optional size and after page the listing.

GET /rpc/tallyup_cell_cells_of_row

Lists one row's cells. Arguments: row, workspace. Optional size and after page the listing.

GET /rpc/tallyup_cell_cells_of_column

Lists one column's cells. Arguments: column, workspace. Optional size and after page the listing.

GET /rpc/tallyup_cell_cells_of_workspace

Lists every cell in a workspace. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_cell_read

Reads one cell. Arguments: workspace, cell.

POST /rpc/tallyup_cell_state

New cell. Request body arguments: cell, workspace, of_row, of_column, was_derived_from, value.

POST /rpc/tallyup_cell_change

Change cell. Request body arguments: workspace, cell, removed, of_row, of_column, was_derived_from, value.

Statements

One thing said of one record.

Statements carry records whose fields are not fixed in advance. They are added and read, never changed or removed: there is no change operation, and an edit is a new statement that revises one.

id

The statement's identifier, chosen by whoever states it, so a repeated request is recognized.

subject

The record the statement is about.

property

What is said of it: the field.

object

The record it is related to, when the statement relates two.

value

The value as written. Absent, with no other record, says the value is not known.

datatype

The kind of value.

source

What the statement was read from, where it is known.

stated

When it was stated.

revises

The statement this one takes the place of.

GET /rpc/tallyup_statement_statements_of_record

Lists every statement about a record, revised ones included. Arguments: subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_statements_standing_of_record

Lists the statements about a record that stand: those nothing revises. Arguments: subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_statements_of_object

Lists the statements that relate other records to this one by a given field. Arguments: object, property, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_statements_standing_of_property

Lists the standing statements about a record for one field. Arguments: property, subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_instances_of_exact_class

Lists standing type statements for records of an exact class. Arguments: class, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_container_of_record

Lists standing containment statements for a record. Arguments: subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_meta_class_of_record

Lists standing metaclass statements for a record. Arguments: subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_decision_of_original

Lists standing client-review decision statements on an original. Arguments: subject, workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_packaged_statements

Lists the statements in a workspace that are part of a prepared package. Argument: workspace. Optional size and after page the listing.

GET /rpc/tallyup_statement_billing_of_workspace

Lists standing commercial onboarding and Stripe payment-method statements for a workspace (Checkout setup URL, session identifier, and actionStatus). Argument: workspace.

GET /rpc/tallyup_statement_read

Reads one statement. Arguments: workspace, statement.

POST /rpc/tallyup_statement_state

New statement. Request body arguments: statement, workspace, subject, predicate, object, value, datatype, had_primary_source, was_revision_of. Send both object and value as null to state that the value is not known.

Questions

An open item about one thing in a work.

A question or a note is put on the work, about a named part of it, and stays with it. Asking changes nothing the work says. A question is open while it has no answer.

id

The question's identifier.

business

The business it concerns.

work

The work it belongs to.

about

What the question is about: a fact, its support, a revision, an original or the work itself.

text

The question or note, in words.

motivation

Whether an answer is asked for, this is a note, or an original is submitted for client review. The contract lists the three values.

asked

When it was asked.

GET /rpc/tallyup_question_questions_of_work

Lists the questions on a work. Arguments: work, workspace. Optional size and after page the listing.

GET /rpc/tallyup_question_open_questions_of_work

Lists unanswered questions on a work. Arguments: work, workspace. Optional size and after page the listing.

GET /rpc/tallyup_question_open_questions_of_target

Lists unanswered questions about one target. Arguments: about, workspace. Optional size and after page the listing.

GET /rpc/tallyup_question_requests_on_original

Lists submissions for client review on an original. Arguments: about, workspace. Optional size and after page the listing.

GET /rpc/tallyup_question_read

Reads one question. Arguments: workspace, question.

POST /rpc/tallyup_question_state

New question. Request body arguments: question, workspace, business, of_work, has_target, body_value, motivated_by.

Answers

One reply to one question.

An answer is given once and is not changed. A better answer is a further answer, so there is no change operation.

id

The answer's identifier.

business

The business it concerns.

work

The work it belongs to.

question

The question it answers.

text

The answer, in words.

answered

When it was given.

GET /rpc/tallyup_answer_answers_of_question

Lists the answers to a question. Arguments: question, workspace. Optional size and after page the listing.

GET /rpc/tallyup_answer_read

Reads one answer. Arguments: workspace, answer.

POST /rpc/tallyup_answer_state

New answer. Request body arguments: answer, workspace, business, of_work, answers, body_value.

Originals

What a business handed over, kept exactly as received.

A bank statement, a receipt, an export, an uploaded file. An original is never altered and has no change operation. It belongs to a business, so every work can cite the one retained copy.

id

The original's identifier.

business

The business it belongs to.

sha256

The fingerprint of the whole content, as its sender computed it: \x followed by 64 hexadecimal digits.

size

How many bytes the whole content is.

mediaType

The media type the content was received as.

name

The name it was received under, such as a file name. Absent when it had none.

retained

When it was received.

derivedFrom

The original this one was taken out of or generated from. Absent for one received directly.

GET /rpc/tallyup_original_originals_of_business

Lists a business's originals. Arguments: business, workspace. Optional size and after page the listing.

GET /rpc/tallyup_original_original_by_content

Finds originals by fingerprint. The same content handed over twice is two originals, each kept. Arguments: digest, workspace. Optional size and after page the listing.

GET /rpc/tallyup_original_read

Reads one original's description. Arguments: workspace, original.

POST /rpc/tallyup_original_state

New original. Request body arguments: original, workspace, business, digest, byte_size, media_type, title, was_derived_from.

Parts

An original's content, in order.

Content is handed over and read back in parts, so a file of any size moves in bounded requests and an interrupted hand-over continues from the parts already kept. Joined in the order of their positions, the parts are the original, and their fingerprint is the one it states.

id

The part's identifier.

business

The business it belongs to.

original

The original this part is of.

position

The part's place among the original's parts, counted from 1.

octets

The bytes themselves, at most 262144 in a part, written as \x followed by two hexadecimal digits for each byte.

retained

When it was received.

GET /rpc/tallyup_part_part_at

Reads the part at one position of an original. Arguments: original, position, workspace. Optional size and after page the listing.

GET /rpc/tallyup_part_read

Reads one part by its identifier. Arguments: workspace, part.

POST /rpc/tallyup_part_state

New part. Request body arguments: part, workspace, business, of_original, position, octets.

Saved views&projections

Grid, Board, Calendar, and Gallery views projected over statements.

A saved view is stated directly through Statements with no schema migration: it selects a target class, columns in order, optional value filters, ascending/descending sorts, classification grouping, and a W3C SHACL-UI viewer (Grid, Board, Calendar, or Gallery), projected in one query via GET /rpc/tallyup_statement_project.

Grants

Authorized read-only connections to external providers.

Records a business owner's consent for TallyUp to read from a connected provider (such as QuickBooks Online, Xero, Plaid, or Gmail) with its exact scope. Provider credentials are sealed with Google Cloud KMS in isolated custodian storage and are never returned by workspace reads.

id

The grant's identifier, chosen by whoever consents.

business

The business the grant applies to.

client

The installation's provider client authorized by the grant.

scope

Space-delimited OAuth scopes authorized, where the provider uses scopes.

consented

When consent was recorded.

GET /rpc/tallyup_grant_grants_of_business

Lists a business's grants. Arguments: business, workspace. Optional size and after page the listing.

GET /rpc/tallyup_grant_grants_standing

Lists standing grants that have not been invalidated. Arguments: workspace. Optional size and after page the listing.

GET /rpc/tallyup_grant_read

Reads one grant. Arguments: workspace, grant.

POST /rpc/tallyup_grant_state

New grant. Request body arguments: grant, workspace, business, client, scope.

This page summarizes the published contract. For exact JSON Schemas and every operation, refer to the public OpenAPI 3.1 specification at https://api.tallyupnow.com/openapi.json.

OpenAPI specificationConceptsQuickstart