# Sales Tax Collected By State

> Solarium docs, Reports. All requests are `POST https://api.trysolarium.com/graphql/` with `Authorization: Bearer <api key>` and a JSON body `{"query": ..., "variables": ...}`. Every query and mutation takes an `organizationId` (find it with `myOrganizations`). Index of all pages: https://trysolarium.com/llms.txt

US organizations: sales tax collected in the period for each state, a liability summary of what is owed to each state. Each state has its own return and due dates. Sales tax paid on purchases is part of their cost, so it isn't listed.

### Arguments

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `organizationId` | `UUID!` | Yes | Organization ID |
| `startDate` | `Date!` | Yes | Start of the period (YYYY-MM-DD) |
| `endDate` | `Date!` | Yes | End of the period (YYYY-MM-DD) |

### Request

```graphql
query {
  salesTaxByState(organizationId: "a1b2c3d4-...", startDate: "2026-07-01", endDate: "2026-09-30") {
    currency
    total
    lines { state name collected }
  }
}
```

### Response

```json
{
  "data": {
    "salesTaxByState": {
      "currency": "USD",
      "total": "1463.20",
      "lines": [
        { "state": "NY", "name": "New York", "collected": "1180.00" },
        { "state": "NJ", "name": "New Jersey", "collected": "283.20" }
      ]
    }
  }
}
```
