# submit

URL: /business/nouns/company/submit · Id: `verb:Company.submit` · Call: `await $.Company.submit({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Submit files one tax return for a jurisdiction and its Periods, pays the tax due, and keeps the return as a Document.

Submit files one tax return for a jurisdiction and its [Periods](/business/nouns/period), pays the tax due, and keeps the return as a [Document](/business/nouns/document).

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `jurisdiction` | `string` | Yes | Where the return is filed, such as `US-TX`. |
| `kind` | `string` | Yes | What the return reports: sales tax, VAT, GST, income, franchise tax, or an information return. |
| `periods` | list of [Period](/business/nouns/period) | Yes | The locked Periods the return covers: one month, a quarter or a year. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `taxReturn` | [Document](/business/nouns/document) | Yes | The return as submitted, with the authority’s confirmation. |
| `payment` | [Transaction](/business/nouns/transaction) | No | The payment of the tax due; none for an information return. |
| `company` | [Company](/business/nouns/company) | Yes | The Company that filed the return. |

## Effects
- Emits [`Company.submitted`](/business/events/Company.submitted).
- Performed by the [Finance Lead](/agents/finance/finance-lead).
- One-way (money): it waits out its delay window, and runs in the `send` and `do` modes.
- Computes the return from the Orders, Entries and payouts of its Periods.
- A return with a sworn declaration waits for the signature of the Human the legal floor names.
- Completes the return Task the registration created for the same jurisdiction and Periods.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | [Company.submit](/business/nouns/company/submit) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Medium: one-way, bounded (money) |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The spend [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) or [Mandate](/business/nouns/mandate) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Submit my company with a period.
```

**API**

```bash
curl -X POST https://api.sb/shiftnote.app/companies/submit \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jurisdiction":"US-TX","kind":"salesTax","periods":["period_1"]}'
```

```json
{
  "api": "https://api.sb/shiftnote.app",
  "taxReturn": {
    "$id": "https://api.sb/shiftnote.app/documents/document_1",
    "$type": "Document",
    "form": "document"
  },
  "payment": {
    "$id": "https://api.sb/shiftnote.app/transactions/transaction_1",
    "$type": "Transaction",
    "kind": "charge",
    "amount": {
      "amount": 79,
      "currency": "USD"
    }
  },
  "company": {
    "$id": "https://api.sb/shiftnote.app/companies/company_1",
    "$type": "Company",
    "name": "ShiftNote",
    "legalName": "ShiftNote Inc.",
    "jurisdiction": "US-DE",
    "status": "forming"
  },
  "action": {
    "$id": "https://api.sb/shiftnote.app/actions/action_1",
    "operation": "Company.submit",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/shiftnote.app/actions/action_1"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const { taxReturn, payment, company } = await $.Company.submit({ jurisdiction: 'US-TX', kind: 'salesTax', periods: ['period_1'] })
```

**CLI**

```bash
npx startup-builder do Company.submit --json '{"jurisdiction":"US-TX","kind":"salesTax","periods":["period_1"]}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Company.submit({ jurisdiction: 'US-TX', kind: 'salesTax', periods: ['period_1'] })"
  }
}
```

Guides that call it: [Handle sales tax](/systems/finance/handle-sales-tax).