The ideas the API is built on.

Eight ideas explain every operation in the contract—grounded in published open standards rather than proprietary abstractions.

A workspace is the boundary.

Everything belongs to one workspace, and every request after the first names the workspace it is about. A caller reaches only the workspaces it belongs to, with the role it holds there. Within a workspace, records are about a business, and a workspace may hold several.

The API never returns another workspace's records. There is no argument, role or error message that reveals one.

You choose the identifier.

Supply entity when calling POST /rpc/tallyup_entity_state. If the response is lost, call GET /rpc/tallyup_entity_read with the same workspace and entity. Repeating a successful creation returns 409 whether the fields match or differ. The saved fields keep their original values. Compare them with your request.

Statements are added, never changed.

A statement says one thing about one record: a value, or a relation to another record. No operation alters or removes a statement. An edit is a new statement that names the one it revises.

What stands is every statement that nothing revises. You can ask for all of a record's statements, with its history, or only those that stand.

A statement is revised once. An edit against one already revised is refused with 409, so two writers cannot both replace the same thing unnoticed.

Unknown is an answer.

A statement with neither a value nor a related record says the value is not known. That is different from an empty value and different from false, and the API keeps the three apart.

The same holds for arguments. Every argument of a request is named, and one you do not know is sent as null. Nothing is filled in for you, and an optional field that was not stated is absent from the answer.

Where from, by whom, and when.

A statement and a cell can say what they were read from. Without one, the origin is Unknown; it is not assumed that a person typed it. Each statement carries when it was stated.

Who acted is taken from the verified caller, never from an argument, so no request can name someone else as its author.

Capabilities: the answer says what you may do next.

Each record and each listing carries a list of capabilities. A capability names an operation and what to address it to. If an operation is not listed, this caller may not use it here.

A client draws its buttons, and an agent chooses its next step, from that list. Neither guesses at permissions.

Listings come in pages.

A listing returns items and, where there are more, a next value. Ask for a page length with size and continue with after.

The browser workspace at app.tallyupnow.com and headless clients consume the exact same JSON endpoints and SHACL-UI shapes under identical permissions and capabilities.

Grounded in published standards.

TallyUp reflects published external standards rather than inventing proprietary silos: OpenAPI 3.1 for the contract, W3C RDF, SHACL, CSVW, PROV-O, and ODRL for records, sheets, views, provenance, and permissions, Design Tokens 2025.10 for the interface, and domain vocabularies including Schema.org, XBRL GL, FIBO, GLEIF, ISO 20022, and UBL.

Errors

Errors, by status.

Every operation can answer with these, and the contract states each one. An error carries a code, a message saying what happened, and may carry details and a hint.

400

Not acceptable as sent. The request is malformed, or an argument is of the wrong kind.

401

Not signed in. The answer carries a header saying how to authenticate and, where people sign in, a link to where sign-in starts. A request that sends no token at all is not an error: it is answered as a stranger, with an empty listing or null.

403

Not permitted. The caller is known and may not perform this operation (for example, role restrictions or pending commercial payment-method setup).

404

No such operation. The address is not in the contract, or the request leaves out an argument the contract requires.

409

Conflicts with what is held. Each Business needs a unique id. Within a workspace, two statement records cannot have the same revises value.

What the API will never return.

Another workspace's records.

Separation is checked on every read and change, not left to the client.

The inner workings of a rule.

How an answer was derived is given as a basis you can open: the facts it rests on and the originals they were read from. It is not given as internals.

A guess in place of a gap.

Where information is missing, the answer says so.

API referenceQuickstart