isError: true.
company. Prefer structuredContent when supplied; otherwise parse the JSON text content. The tools documented here do not declare an outputSchema; each tool page names the fields it returns.
Amounts and versions
Amounts are EUR decimal strings. Records that can be edited carry a saved version: read the record, then send its version asexpected_version when you update it, so the change applies to the version you read.
Records covered by a return
expenses and income delete are refused when a tax return that covers the record’s date was already approved or filed. The error names the return. Do not retry the call unchanged: the person makes that correction in the web app.
Refused writes
A refused write reports the reason in the tool result, withisError: true. Common reasons:
Pending approvals
invoices_read and taxes request_approval return a link in approval_url, not an outcome. The invoice is issued, or the return is authorized, only when the company’s owner approves it in the app. Read the record again to see its current status.
A return’s status is draft, reviewed, approved or filed. approved means the owner authorized it. Only filed means it was filed.