# Download The Year-End Package

> 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

One .xlsx workbook for a fiscal year: a Trial Balance, Profit & Loss by month, the Balance Sheet at year end, the General Ledger (every account, every line, with a running balance from the opening balance), Spending By Vendor, Receivables and Payables. A Canadian organization's workbook also has a GIFI Schedule (balance sheet and income statement grouped by each account's GIFI code, with totals) and the GST/HST return for the year. The fiscal year follows the organization's fiscal year end month. Paid plans only. To email it to an accountant instead, run the send_year_end_package op.

### Arguments

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `organizationId` | `UUID!` | Yes | Organization ID |
| `year` | `Int` | No | The calendar year the fiscal year ends in. Default: the latest fiscal year that has ended |

### Request

```graphql
query {
  yearEndPackage(organizationId: "a1b2c3d4-...", year: 2025) {
    filename
    contentType
    contentBase64
  }
}
```

### Response

```json
{
  "data": {
    "yearEndPackage": {
      "filename": "Vanilla-Bite-Ltd-Year-End-FY2025.xlsx",
      "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      "contentBase64": "UEsDBBQAAAAIA..."
    }
  }
}
```
