# Tax Collected vs Paid

> 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

For organizations on their own rates (outside Canada and the US): per rate, tax collected on sales, tax paid on purchases, how much of that is claimed back, and the net owed (collected minus claimed back). Tax that isn't claimed back is part of the expense.

### 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 {
  taxSummary(organizationId: "a1b2c3d4-...", startDate: "2026-07-01", endDate: "2026-09-30") {
    currency
    totalCollected
    totalClaimedBack
    net
    lines { code name collected paid claimedBack net }
  }
}
```

### Response

```json
{
  "data": {
    "taxSummary": {
      "currency": "GBP",
      "totalCollected": "4000.00",
      "totalClaimedBack": "1250.00",
      "net": "2750.00",
      "lines": [
        { "code": "vat", "name": "VAT", "collected": "4000.00", "paid": "1250.00", "claimedBack": "1250.00", "net": "2750.00" }
      ]
    }
  }
}
```
