# Tax Ledger > Tax Ledger is a business expense ledger for self-employed people who file Schedule C. Each expense is recorded with its receipt, payment method, platform account, Schedule C category and business purpose. At tax time the whole year downloads as one zip of CSV files and receipts. Each Google account has its own private ledger. Tax Ledger does not connect to banks, does not file taxes, and does not decide whether an expense is deductible. It is not tax advice. ## Sign up - Agent setup guide: https://trytaxledger.com/docs/agents - Send the user to `/signup` on the Tax Ledger origin. It opens Google sign-in and returns to `/app/`. - The user signs in with a Google account in a browser. An assistant cannot do this step for the user. - Complete Stripe checkout with a payment method to finish signup and start a 7-day free trial. Then $9.99/month or $50/year is charged automatically until canceled. One trial per account. Cancel in Billing before the trial ends to avoid a charge. ## Connect an assistant with an API key 1. Send the user to `/signup` on the Tax Ledger origin. Sign-up and sign-in open Google directly. 2. After sign-in and payment setup, the user opens API keys in the web app (path `/app/api-keys`) and creates a key. The app shows the key one time. 3. The user configures the key in their client’s secure credential settings, never in chat. The client sends `Authorization: Bearer `. A `402 subscription_required` error means adding and editing records is unavailable. Ask the owner to open Billing in the app. Existing records and exports remain available; assistants cannot manage billing. API keys: - Each key reaches only the ledger of the account that created it. - Scopes: `read`, `write` (also requires `read`), and `export`. - A key expires after 90 days by default and after 365 days at most. The user can revoke a key in the app at any time. - Only a signed-in web session can create or revoke keys. A key cannot create other keys. ## Endpoints All paths below are on the origin https://trytaxledger.com/ - MCP: `POST /mcp`. Stateless Streamable HTTP with JSON responses. `GET` and `DELETE` return 405. Auth is an OAuth access token or bearer API key. The exact Claude Code command is on https://trytaxledger.com/developers - REST: base path `/api`. Every route needs a bearer API key or the web session, except `GET /api/health`. - Errors use the shape `{ "error": { "code", "message" } }`. - An unauthenticated request gets 401. MCP includes OAuth resource discovery in `WWW-Authenticate`; REST includes the Bearer realm. The error also provides sign-up and documentation links. MCP tools: `list_expenses`, `get_expense`, `create_expense`, `update_expense`, `delete_expense`, `attach_receipt_from_url`, `attach_receipt_base64`, `create_receipt_upload_url`, `list_receipts`, `get_receipt_link`, `list_payment_methods`, `create_payment_method`, `list_accounts`, `create_account`, `list_categories`, `get_summary`, `find_incomplete`, `export_tax_package`. ## Status rules - No receipt: `needs_receipt`. - A receipt, a category and a business purpose: `complete`. - A receipt, but no category or no business purpose: `needs_review`. The web app, the REST API and MCP use the same rules. A `complete` record does not mean that the deduction is valid. ## What works today - The web app, the REST API, and Claude Code or other MCP clients that send a bearer API key. - MCP OAuth uses `/.well-known/oauth-protected-resource/mcp` and Google account linking. Never ask a user to paste tokens into chat. - ChatGPT manual setup is available for eligible accounts; public plugin listing is pending review. See [the connection guide](https://trytaxledger.com/connect). - Users disconnect assistants on the app's Assistants page at `/app/assistants` (`/oauth/connections` redirects there). OAuth tokens authorize MCP only; receipt/export browser links still require the owner to sign in. - Not offered: bank feeds and tax filing. ## Links - [Agent setup guide](https://trytaxledger.com/docs/agents) - [Connection guide](https://trytaxledger.com/connect) - [Developer reference](https://trytaxledger.com/developers) - [Privacy](https://trytaxledger.com/privacy) ## Who Tax Ledger is for - [Contractors and tradespeople](https://trytaxledger.com/for-contractors): Expense and receipt workflows for contractors and tradespeople. - [Freelancers](https://trytaxledger.com/for-freelancers): Expense and receipt workflows for freelancers. - [Consultants](https://trytaxledger.com/for-consultants): Expense and receipt workflows for consultants. - [Side businesses](https://trytaxledger.com/for-side-businesses): Expense and receipt workflows for side businesses.