---
title: "Build a Tally workspace spreadsheet"
method: POST
path: "/tally/workspace/spreadsheets"
tags: ["Tally Workspace"]
---

# Build a Tally workspace spreadsheet

`POST /tally/workspace/spreadsheets`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/tally/workspace/spreadsheets`
- Auth: HTTP bearer

Builds a formatted XLSX artifact directly from typed columns and rows and saves it in the durable firm workspace.

## Request body

- object
  - `organizationId` string, uuid
  - `path` string, required
  - `sheets` object[], required
    - `name` string, required
    - `columns` string[], required
    - `rows` array[], required
      - union[]
        - union
          - string
          - number
          - boolean

## Response `201`

Spreadsheet built

- object
  - `file` TallyWorkspaceFile
    - `id` string, uuid, required
    - `path` string, required
    - `fileSize` integer, required
    - `mimeType` string, required
    - `source` 'tally' | 'evidence_copy' | 'api', required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
