SolariumSolariumDocs
Browse The Docs

Docs/Get Started

Use With AI (MCP)

Connect Claude, ChatGPT or any MCP app so it can read and change your books.

Solarium runs a hosted MCP server, so Claude, ChatGPT, Claude Code, Cursor and other MCP clients can work in your books directly. There's no API key to copy: the app signs you in to Solarium, you pick the business, and you choose whether it may only look or also make changes.

Server address: https://mcp.trysolarium.com/mcp

Connect

  • Claude: open Customize, then Connectors (claude.ai/customize/connectors), choose Add custom connector, paste the address and click Add.
  • ChatGPT: add a custom connector (developer mode) with the address.
  • Claude Code: claude mcp add --transport http solarium https://mcp.trysolarium.com/mcp
  • Anything else: any MCP client that supports remote servers with OAuth sign-in.

New to Solarium? Connect the app first. It sends you to sign up and verify your phone, then you can let the app set up your business: it asks for the business's name, country, and province or state, and calls set_up_business. Until then the connection can do nothing else. After that, connect_bank, connect_quickbooks and get_receipt_addresses get your money and receipts flowing in.

See Solarium in Claude and ChatGPT for the walkthrough.

How Changes Work

Tools that change your books, or send an email or text, take an apply argument. Without it, or with apply: false, the tool previews what it would do and keeps nothing. Your AI app should show you the preview and only call it again with apply: true once you agree. Every applied change is logged in Settings, under AI Apps. A connection only ever sees the one business you picked.

Tools That Only Read

ToolWhat it does
audit_qbo_totalsList synced transactions whose QuickBooks total or sales tax differs from the books, between two dates (default the last 90 days), largest first, with the difference per payment account (a card or bank). Also lists any that are gone from QuickBooks. Read only.
bill_payment_matchesBank and card withdrawals still in review that could have paid a bill: in the bill's currency, from its date to 60 days after, for what's still owed or the whole bill. Also withdrawals that pay it together with others of the vendor's open bills (up to 5, oldest first). Exact balance first, then names like the vendor's. Pass one's event_id to record_bill_payment as source_event_id (with its bill_ids for several bills). Read only.
compare_with_qboCompare Solarium's books with QuickBooks', account by account, on a date (default today): QuickBooks' trial balance next to Solarium's, with the difference. Amounts are debit minus credit; P&L accounts are the fiscal year to date. Lists QuickBooks accounts Solarium doesn't have. Read only.
connect_bankA link for the person to connect their bank or card, so Solarium pulls its transactions every day and books them. They sign in to their bank in the browser through Plaid. Read-only.
connect_quickbooksA link for the person to connect QuickBooks Online. Once connected, Solarium brings in their history (last year and this one) and keeps it in sync; get_connection shows the import's progress. Read-only.
connect_stripeA link for the person to connect their Stripe account, so Solarium can bring in their charges, fees, refunds and payouts. They approve it in the browser. After connecting, run setup_stripe, then sync_stripe. Read-only.
find_qbo_matchesFind the QuickBooks transactions something probably already is: same amount within 3 days, or a bill / vendor credit with the same invoice number or vendor within 45 days, with their attachments and whether Solarium has them. Pass a receipt_id, an event_id, or the raw facts (amount + date, optionally vendor, doc_number, currency) for something not in Solarium yet. doc_numbers adds other invoice numbers it refers to (a credit memo's original invoice): a bill with one of those is marked credit_for. Flags likely double bills. Read-only.
get_connectionWho this connection is: the organization's name and id, who connected it, what it may do (look only, or look and make changes), and a stable account id for this person in this organization. Also flags bank feeds that need attention (see list_bank_feeds). Read-only.
get_documentOne document uploaded on the website or from an AI app (a statement_id from list_statements): its type, the uploader's note, a link to the file (valid for an hour) and, for a PDF, its text. Read-only.
get_eventOne transaction in full: its lines (staged and booked), why it has its category (category_reason has its source, which is rule, vendor, correction, ai or person, and a short plain reason), its receipts (amount, currency, card, line items, in QuickBooks), FX, duplicate and closed-period flags, notes, and its QuickBooks link and sync state, and its source (where it came from, as list_events shows it). Use get_receipt for a receipt's full text and file.
get_fx_rateThe reference rate a foreign invoice would be booked at: books' currency per 1 of currency, on or before the date, and who publishes it (source_name). Read only.
get_invoiceOne invoice in full: lines, tax, payments, timeline (sent, viewed, reminders), and its view and PDF links.
get_qbo_accountOne QuickBooks account as QuickBooks has it: name, type, subtype, active, balance and SyncToken, plus the Solarium account mapped to it. Pass qb_id or name. Read-only.
get_qbo_transactionRead one QuickBooks transaction: its total, tax, date, payee, lines (ids, accounts, tax codes, received from) and attachments, plus the Solarium event linked to it. Read-only.
get_receiptOne receipt or invoice in full: its text as read, line items (freight, fees and tax lines included), invoice number, card, payment method, totals, the transaction it's on and whether it's in QuickBooks, plus a link to the file (valid for an hour). Use it to check a document against a bill or a charge, line by line.
get_receipt_addressesWhere the person sends receipts: an email address to forward them to and a number to text photos to, and which of their own emails and numbers Solarium recognizes as theirs. Read-only.
get_solarium_messagesThis business's messages with the Solarium team (texts, emails and notes written in the app), with Solarium's replies. Read only. Shows the latest 50 by default (limit, at most 200), oldest first. For older ones pass offset: next_offset from the last result. Each message shows its first 2000 characters, with truncated true and a marker when there's more. Pass body_chars to show more or less.
invoice_deposit_matchesBank deposits that could have paid an invoice, best first: exact amounts first, then payers whose name looks like the customer's. Deposits still in review or booked in Solarium only (their income booking is undone when linked), and payments already booked as a transfer into a bank (they become the payment in place). Link one with record_invoice_payment and its event_id as source_event_id. Read only.
invoice_payment_matchesFor an entry in the books: the invoice it already belongs to (its booking or a payment), else the open invoices a deposit could be paying (same amount, after the invoice date, a matching name; or an invoice in another currency whose balance at the Bank of Canada rate that day is within 3% of the deposit, with the rate it implies) plus every open invoice to pick by hand. A suggestion only: record_invoice_payment with source_event_id applies it.
list_bank_feedsEach bank and card feed (from Plaid): institution, account, mask, currency, the Solarium account it's linked to, whether it feeds the books (only those make transactions to review, from start_date on), status, last successful sync, last transaction date, Plaid's last error, and health: ok, stale (nothing new for longer than usual, or no sync for 2 days) or broken (the bank needs the person to sign in again). A broken or stale feed means transactions are missing: tell the person to reconnect it in Settings, Integrations. Read-only.
list_categoriesThe chart of accounts: each account's id, name, type, tax code, card number and QuickBooks mapping. Filter by account_type; inactive accounts only with include_inactive.
list_changesThe change history of these books, newest first: who made each change, from which app (Claude, ChatGPT, Solarium AI in the app, a text message to the Solarium line, someone in the app, an API key or Solarium itself), when, and what changed in plain words (for example 'Claude (Sam) changed the category from Meals to Office Supplies'). Pass event_id for one transaction's history, or leave it out for the whole business. since and until (YYYY-MM-DD) limit the dates. Read-only.
list_contactsCustomers and vendors: id, name, type, email, phone, balance, and what a customer's invoices print (legal name, contact person, billing address). Filter by contact_type (customer or vendor) or name (contains, matching the name or legal name). Use a contact's id with book_invoice, record_customer_payment or report_account_lines. Not there yet: add it with create_contact.
list_eventsFind transactions, newest first. Filter by status, category_id, payment_account_id, payment_account_type (credit_card, bank…), vendor (contains), date_from / date_to, amount_min / amount_max (home currency), and has_document (whether a receipt is attached). Ignored transactions are left out unless status=ignored or include_ignored. Page with limit and offset. Each has a source: where it came from (bank_feed, statement_import, sheet_import, wave_import, quickbooks, stripe_import, receipt, op, by_hand…) with its batch_id or op_run_id when there is one.
list_invoicesInvoices, newest first, with what's still owed. Filter by status (draft, sent, viewed, partially_paid, paid, overdue, void, or open), several statuses, customer, a search (number or customer name), issue dates or total. Pages with limit and offset.
list_op_runsThe history of operations applied to these books: who ran what, when, from where (chat, API, command), what it changed (including QuickBooks writes and whether they checked out), or why it was refused. Newest first.
list_receiptsReceipts and invoices sent in (by email, text, upload or Drive). By default only those not on any transaction yet and not dismissed: the ones to attach, book (promote_receipts) or dismiss. unmatched=false lists all. Filter by vendor (contains), date_from / date_to, status (draft, processed or rejected) and source (email, sms, web_upload, qb_import and so on). Newest first.
list_statementsBank and card statements this business has handed Solarium: uploaded on the website or from an AI app (upload_document with kind=statement). Each has a statement_id for reconcile_card_statement. Read only.
reconcile_card_statementHold a card or bank statement up against the books (read-only). Pass the statement as rows (date, description, amount, is_debit, optional foreign_amount + foreign_currency; without is_debit a negative amount is a credit), or a statement PDF: statement_id from list_statements (or s3_key; a long statement is read in the background after it's uploaded: statement_queued means try again in a few minutes, and statement_reader_stalled means reading isn't running, so tell the Solarium team or pass rows). A PDF reconciled here is kept as a statement from then on, so list_statements shows it. Returns matches, FX corrections (with the set_event_fx to run), lines missing from the books, transactions not on the statement, possible doubles, lines repeated on the statement (each line is used once, so a repeat isn't listed as missing), and foreign-transaction fees. A journal entry with several lines on the account (a month of payouts in one entry) is matched line by line, on the date each line's description starts with (YYYY-MM-DD): its matches show the journal_line they paired with, and an entry only partly paired is listed in partly_matched with its unmatched_lines.
report_account_linesThe booked lines behind a report number: every line posted to these accounts in the range, with the transaction (event_id) each came from. Narrow to one vendor (a report_spending_by_vendor key) or one contact (a contact id, or 'none'). Capped at 500 lines (truncated says so).
report_balance_sheetBalance sheet as of a date: assets, liabilities and equity by account (net income to date included), optionally side by side with compare_as_of. out_of_balance is zero unless something posted unbalanced.
report_open_balancesOpen balances, aged (current, 31-60, 61-90, over 90 days): side=receivable lists customers who owe you, side=payable lists vendors you owe. Each row's key is the contact id for report_account_lines.
report_profit_and_lossProfit and loss for a date range: income, cost of sales, expenses and other items by account, with gross profit and net income, one column per month or quarter. Amounts are in the org's home currency. Only booked (confirmed or synced) transactions count. Use report_account_lines to see what's behind a number. To compare with an earlier range (this month so far against the same days last month), pass compare_start_date and compare_end_date: the result then has two columns, the compare range first, and totals cover start_date to end_date only.
report_qbo_account_linesOne QuickBooks account's register between two dates (default the last 30 days): each line's date, type, QuickBooks id, name, memo and amount, and the Solarium event it is (or none, if the books don't have it). Use it next to report_account_lines to find where a bank, card or loan differs. Read only.
report_sales_taxThe sales tax report for a period, in the form the org's country files: in Canada the GST/HST return (collected, input tax credits, net owing or refund, filing deadline) plus any PST/QST return; in the US sales tax collected by state; elsewhere tax collected and claimed back by tax. The Canadian return lists the numbered CRA lines in return_lines (101 sales, 103 collected, 105, 106 ITCs, 108, 109 net tax, 110 instalments, 113A balance, negative is a refund), in the org's home currency. Only booked transactions count, and cards not booked yet are reported as a warning. So is a recorded CRA payment whose bank line still sits in review (cra_payments_in_review), since approving that line too would count the payment twice. Part of Essentials: on the Free plan it returns the plan_required error with an upgrade message.
report_spending_by_vendorSpending by vendor for a date range, one column per month or quarter, largest first. Each vendor's key and the account_ids go to report_account_lines (as vendor and account_ids) to list its transactions.
send_feedbackTell the Solarium team when you can't do what the user asked with these tools, or something looks wrong: a tool you needed that doesn't exist, a missing field or option, a result that didn't match the books or QuickBooks, an error, or a description that misled you. Say what you were trying to do and what would have helped. It doesn't change the books. Don't include card numbers, passwords or other secrets.
sync_bank_feedsBring in new transactions from the bank and card feeds (Plaid) right now, instead of waiting for the nightly sync. Pass feed_id (account_id from list_bank_feeds), or feed (the account's name or last four), to sync one feed. Without either it syncs every connected feed. Accounts at the same bank under one sign-in come in together. It brings in what the bank has already shared with Plaid, adds new transactions to Needs Review, and runs as soon as it's called. Says how many came in per feed, their dates and when each feed last synced, or why it couldn't (the bank needs a new sign-in, it's busy, or the feed is disconnected). Each bank at most once every few minutes.
sync_quickbooksBring in what changed in QuickBooks since the last sync (new, changed and voided transactions, and payroll), the same as the nightly sync, right now. It only mirrors what's already in QuickBooks, so it runs as soon as it's called. At most once every few minutes.
sync_stripeBring the connected Stripe account's activity into Needs Review for whole days (default: from where the last sync stopped, or setup's start date, through yesterday): charges as sales (gross, or split into sales and tax when setup_stripe says charges include tax), Stripe's fees with their sales tax as a credit, refunds, disputes and their fees, and payouts matched to the deposit already on the bank feed. Nothing is added twice and nothing posts until it's approved, so it runs as soon as it's called. If Stripe and the books don't agree, it says so and those transactions carry a note to check them before approving.
tax_payment_matchesBank-feed withdrawals still in review that could be a CRA GST/HST payment: the same amount, within 10 days of paid_on, and a description like CRA, Receiver General, GST, or GOVT and TAX. Closest day first. Pass one's event_id to record_tax_payment so the payment isn't counted twice. Read only.
unmapped_card_numbersList card numbers read off receipts that belong to no payment account (read-only).

Tools That Change Your Books Or Send Something

ToolWhat it does
attach_receipt_to_eventAttach an existing unmatched receipt to an already-booked event (moves it — no duplicate receipt row). If the event is in QuickBooks, the document is pushed as an attachable after commit.
attach_receipt_to_qbo_entityAttach a receipt's file to a QuickBooks transaction that isn't in Solarium as an event, like a bill the client entered in QuickBooks themselves. Use find_qbo_matches to find it. Only the file is added: the QuickBooks transaction itself isn't changed. Previews by default: pass apply=true to upload it.
book_deductionBook a retailer/distributor deduction: DR expense line(s) / CR the clearing account. From an existing pre-confirm event, an unmatched receipt (promoted first), or new (merchant + txn_date).
book_invoiceBook a customer invoice: DR A/R (gross, that customer) / CR revenue (net) / CR sales tax.
book_journal_entryPost a journal entry with any number of lines (book_reclass does two): each line a category_id with a debit or a credit, which must balance. Like a Shopify month's discounts, returns, shipping and tax in one entry. Sent to QuickBooks as a journal entry and read back unless push is false. Preview first, then apply.
book_processor_incomeBook income received through a payment processor (e.g. PayPal) with its fee split out: CR revenue (gross) / DR fees / DR processor (net). Foreign currency uses the processor's own converted amounts.
book_receiptBook a receipt in one call: make it a transaction, set its category and card (defaults to the card read off the receipt), tax (tax_amount, or tax_included to work it out at your rate), and a note. It stays in review unless confirm is true, which also runs confirm_event's QuickBooks checks. A receipt whose currency only the store address suggests (a US store) is staged in that currency and stays in review even with confirm. A slip that says the payment was declined is refused.
book_reclassReclassify an amount: DR to_account / CR from_account, posted as a journal entry.
book_remittanceBook a retailer/distributor remittance: DR bank (net) + DR discount line(s) / CR the clearing account (gross). Rolled-in coupon events are ignored with a note so they aren't booked twice.
book_vendor_creditBook a vendor's credit memo (damaged goods, short shipment, price fix) against what the business owes them: DR Accounts Payable / CR the category (net) / CR the input tax credit. In QuickBooks it becomes a VendorCredit for that vendor, which is applied when the bill is paid. Give the QuickBooks bill_id it credits (its vendor, A/P account and category are used), or a vendor and category. Pass the positive amount from the memo and its tax. Refuses if QuickBooks already has a credit for that vendor and amount.
categorize_eventSet a review item's category and payment account (tax kept unless tax_amount is given), or make it a transfer between two accounts (from_account_id / to_account_id).
close_monthClose a month of the books. Pass month as YYYY-MM, or leave it out for the next month to close. The preview shows the month, how many transactions are still in review (that month, and any earlier day not yet closed, which the close covers too), and any bank or card feed that needs attention. It can't be applied while anything is in review (review_not_clear), before the month has ended (month_not_over), or for a month already closed (already_closed). Applying records who closed it and moves books closed through to the month's last day, never backwards. Previews by default: pass apply=true to close it.
confirm_eventBook a review item and send it to QuickBooks. Refuses when an account isn't in QuickBooks, or when QuickBooks already has the same transaction (same amount within 3 days, or a bill with the same invoice number or vendor within 45) — set allow_qbo_match only after checking it's really different. An item already linked to its QuickBooks record (imported from QuickBooks) is booked from that record instead, and nothing is sent.
confirm_high_confidenceConfirm NEEDS_REVIEW events that pass every high-confidence check (including a QuickBooks duplicate check). A first-time vendor (no rule, vendor default or past booking) is always left for review.
create_billEnter an unpaid supplier invoice: what the business owes a vendor until it's paid (DR each category, DR the input tax credit, CR Accounts Payable). In QuickBooks it becomes a Bill for that vendor with the invoice number and due date, paid later through Pay Bills. Lines are before tax, each with its tax. Refuses if Solarium or QuickBooks already has a bill for that vendor and invoice number. Previews by default: pass apply=true to book it.
create_categoryCreate a category (account) from its tax code — its type follows the code — and add it to QuickBooks with the right subtype, or link the QuickBooks account that already has that name. Pass account_type instead of tax_code only where your country has no tax codes.
create_contactAdd a customer or vendor, so entries can name who they're with (A/R and A/P are kept per contact). If one with the same name and type already exists, that one is returned and nothing is added (change it with update_contact). Use its id with book_invoice, record_customer_payment, recategorize_event (to attach it to an entry already booked) or create_invoice. region is a customer's province (a code like NS, or its name): invoice tax follows it. Given for a contact that already exists, it updates that contact's region. A customer's invoices print their legal_name, an Attn: line for contact_name, and their billing_address. Previews by default: pass apply=true to add it.
create_invoiceMake a draft invoice for a customer (by contact_id, or customer_name to find or add them). Lines are before tax; tax is computed from each line's sales_tax_code at the rates where the customer is (customer_region, else the business's own province) on the issue date. Nothing is sent or booked until send_invoice. number is optional (the next one in the series is used when it's sent).
create_transactionAdd a transaction by hand (a cash expense, a missing card charge, a transfer). It goes to review, not the books: confirm it with confirm_event. With category_id and payment_account_id the lines are staged (for a transfer, payment_account_id is from and category_id is to); tax_amount adds a tax line. Warns about a likely duplicate already in Solarium: the same amount, or the same vendor within 3 days at any amount. Check a warning with get_event before confirming. A refund is money coming back to the business from a store or vendor (refund_direction from_vendor, the default). For money the business pays back to a customer, pass refund_direction to_customer: it's booked as money out of the payment account against the income category_id.
daily_receiptsRun the daily receipts routine: classify every unmatched receipt (attach / promote / dismiss / review), apply attach + promote, and report the rest. With auto_confirm=true, high-confidence promotions are also confirmed (booked, and sent to QuickBooks when connected); off by default. A first-time vendor is never auto-confirmed.
deactivate_categoryHide a category you no longer use, in Solarium and QuickBooks. Refuses while it has a balance, unbooked transactions use it (category, card or any split line), it has active sub-accounts, or vendor rules file into it.
delete_contactDelete a customer or vendor that nothing uses. Refused while anything still points at it (invoices, entries, journal lines, receipts, or a bank line remembered on a payment): the refusal says what, and merge_contacts moves those onto another contact first. QuickBooks isn't changed. Previews by default: pass apply=true to delete.
dismiss_receiptsDismiss unmatched receipts that aren't receipts (logos, signatures, duplicates).
edit_booked_eventChange one booked transaction's category, payment account (the card or bank it was paid from), date, amount or sales tax, in Solarium and QuickBooks together: the same edit as the transaction drawer. The preview shows the new journal lines, or why it would be refused (changed in QuickBooks since the last sync, reconciled, a closed period, an amount the bank feed set). Applying re-posts it and updates QuickBooks, then reads it back. Pass reason to keep why it was changed on the transaction's notes.
edit_booked_linesSet every line of a booked purchase, journal entry or sales receipt that's in QuickBooks, for one with several lines (edit_booked_event handles one line). List the lines you want with an amount, plus: for a purchase, category_id and tax_code (a QuickBooks tax code name like 'HST ON' or 'Out of Scope'; default keeps the line's); for a journal entry, category_id and posting (debit or credit); for a sales receipt, tax_code (each line sells the same product, so a month's sales split into taxable and zero-rated). payment_id moves a purchase to another card or bank. Existing lines are kept in order and a leftover one (like a -0.01 discount) is removed. QuickBooks is updated and read back, then Solarium's entry follows it. Preview first, then apply.
edit_eventChange a review item's date, memo, title or type. A new type rebuilds its lines to match (income puts the money in, an expense takes it out). When they can't be rebuilt (a transfer needs two accounts, and an item that was a transfer needs a category), they're cleared until you pick them with categorize_event.
edit_receiptCorrect what was read off a receipt: its date or vendor name (a misread year, a garbled vendor). Only the receipt changes; the transaction it's on keeps its own date, so fix that with edit_event or edit_booked_event.
export_everythingDownload everything: the general ledger, chart of accounts, transactions and every receipt and document file, as one zip. Works on every plan, even a canceled one. The preview shows what goes in, its rough size and the latest export with its download link. apply=true starts a new export. It is built in the background and the link is emailed when it's ready. The link lasts 7 days. One export at a time.
fresh_startStart the books clean on January 1 when coming from QuickBooks. Last year's history comes in from QuickBooks for reference, opening balances are booked on December 31 from QuickBooks' balance sheet (they must tie to the cent or nothing is booked), and the books are locked through December 31 so last year stays out of Review. The cutover defaults to January 1 this year. In December it can be next January 1, and then it runs on that day. Refuses when the books are already closed after the cutover, already started clean, or begin inside the new year with entries a person confirmed since. Never writes to QuickBooks. Previews by default: shows the cutover, how many of last year's records would come in, the opening balance check and what gets locked.
import_invoice_pdfBring in an invoice the business made elsewhere, from its PDF (an uploaded s3_key, or pdf_base64): its number, dates, customer, lines and tax are read off it and kept as printed. The preview shows what was read. On apply it's booked to the customer's A/R as sent (book=false keeps it a draft); send=true also emails their PDF to the customer. A number already used is refused.
import_qbo_transactionBring one QuickBooks transaction that's missing from the books into Solarium (for example a journal entry the import skipped), through the same path as the nightly sync: synced when every account maps, else in review, and linked to an existing event that's the same transaction. Refuses one already in the books.
import_stripe_balanceImport a Stripe account's activity from Stripe's export: charges as revenue, Stripe's processing fees (their sales tax as an input tax credit), refunds, disputes, Connect transfers, and payouts to the bank. Accepts the Balance summary report's itemized CSVs (Reports > Balance: 'Balance change from activity' and 'Payouts', each Export > CSV > Itemized) or the older balance history export. Nothing booked twice: anything already in the books is skipped, a payout already on the bank feed is linked. Ends by tying the Stripe account to the export; if it doesn't tie, nothing is written. Preview first, then apply.
import_waveBring a business's books in from Wave: its chart of accounts and every transaction from Wave's accounting export (Settings, Export your data, Export all transactions as CSV: accounting.csv, or the whole ZIP Wave emails), checked against Wave's trial balance (Reports, Trial Balance, export as CSV). Not for a business connected to QuickBooks: it is refused. Accounts map to Solarium's by name or are created with their tax code. Transactions already brought in are skipped by their Wave transaction ID. The trial balance is optional, but without it nothing is checked. With it, the books must tie to the cent or nothing is kept. With a cutover date (a fresh start, often January 1), history before it comes in for reference, the trial balance must be from the day before, and the books are locked through that day. A transaction with no vendor titled like 'Expenses 25 - Amazon Web Services' gets that vendor. Optionally pass Wave's receipts ZIP too: each receipt is attached to its transaction, and the ZIP can come in a later run. Pass each file as a document_id from upload_document, or as text. Previews by default: pass apply=true to import.
invoice_settingsRead or change invoice settings: the number prefix and next number (to continue an existing series), payment instructions, business address and email printed on invoices, a trade name, default terms, and reminders. The legal name printed on invoices is the business's own name, exactly as entered. Also the sales tax registration numbers printed on invoices: in Canada the GST/HST number (123456789 RT0001, needed on invoices of $100 or more for customers to claim input tax credits) and a Quebec registrant's QST number (1234567890 TQ 0001). In Canada also the business structure (entity_type: sole_proprietor, partnership or corporation), which decides where an owner's draw goes on the financial statements and when a sole proprietor's GST/HST is due. Pass nothing to just read them.
link_invoice_to_entryTie a draft invoice to an A/R entry already in the books (an invoice sent from another system and booked by hand: DR A/R, CR revenue, CR tax), instead of booking its A/R a second time. The invoice becomes sent, dated by the entry, and payments recorded later clear that A/R. Nothing new is posted, nothing goes to QuickBooks and no email is sent. Refused unless the entry is booked and not voided, isn't already an invoice's, is in the invoice's currency with its whole total on A/R, has the same tax, is for the same customer (an entry with no customer gets the invoice's) and has the same date (or within date_tolerance_days).
link_to_qbo_entityLink a needs review event to the QuickBooks transaction that already records it (booked directly in QuickBooks, never imported), then rebuild its entry from QuickBooks and attach its receipts there. An event already linked to that same record but not booked yet is booked from it.
mark_document_handledMark documents uploaded on the website or from an AI app as handled, so they stop showing as Received. Use it once a file is in the books another way (booked by hand, or a receipt for it already exists). Pass document_ids (from list_statements or get_document) and an optional note, which the uploader sees. Previews by default: pass apply=true to mark them.
merge_contactsMerge two contacts that are the same customer or vendor. Everything that points at merge_id (invoices, entries, journal lines, receipts, and the bank lines remembered on payments) moves to keep_id, its emails are added to keep_id's, anything keep_id is missing (legal name, billing address, phone, province) is taken from it, and merge_id is deleted. Both must be the same type. Refused when both are linked to different QuickBooks vendors. QuickBooks isn't changed. Previews by default (shows what would move): pass apply=true to merge.
merge_eventsFold a duplicate (donor_id) into the one to keep (keep_id): receipts, evidence and bank links move over and the duplicate is archived. If the duplicate is already in QuickBooks, it's removed there first. When the two amounts differ, the preview warns and applying is refused unless allow_amount_mismatch is true. Two currencies are never merged.
message_solarium_teamWrite to the Solarium team (a question, a heads-up about a transaction). It lands on your conversation with the team, the same one your texts and emails are on, and the team answers there. Previews by default: pass apply=true to send.
move_receiptTake a receipt off the event it's on (even an ignored one) and attach it to another event, or leave it unmatched (no event_id) so it can be promoted on its own: for two different receipts on one event, or a document stuck on an ignored backup card. If the old event's QuickBooks transaction still has the file, says so (remove it with qbo_remove_attachment). Preview first, then apply.
process_documentsTurn receipt files uploaded on the website (type receipts, still Received) into receipts: each is queued to be read like an emailed receipt and lands with the unmatched receipts within a minute or two, the note kept on it. Pass document_ids (from list_statements) or leave it out for every one waiting. Preview first, then apply.
promote_receiptsPromote unmatched receipts to NEEDS_REVIEW events with full enrichment (vendor, rules, dedup, tax). A receipt whose currency only the store address suggests (a US store) is staged in that currency. A card number printed on the receipt that isn't the read account's leaves the card empty. A slip that says the payment was declined is refused.
push_receipts_to_qboAttach an event's receipts to its QuickBooks transaction (skips ones already there).
push_to_qboSend a confirmed transaction that never reached QuickBooks. QuickBooks is checked first for the same amount around that date (it may have been entered there by hand); a match refuses unless check_qbo is false. Refuses anything already in QuickBooks or kept in Solarium only. Reads the result back.
qbo_remove_attachmentRemove one attachment (like a duplicate PDF) from a QuickBooks transaction. The transaction itself isn't changed. Refuses to remove the last attachment unless allow_last is set. When a Solarium receipt is that file, pass points_to: the attachment still on the transaction that holds the same document.
qbo_set_purchase_line_accountMove a synced purchase's expense lines from one QuickBooks account to a category, in QuickBooks: for a line filed under the wrong account there (like an expense account named after a card). Every line is echoed by id and it's read back. Then run resync_event_from_qb so Solarium's lines follow. To change which card or bank paid, use edit_booked_lines with payment_id.
qbo_set_purchase_taxRepair a synced purchase whose QuickBooks total doesn't match the books because the sales tax was dropped or rounded differently: put its expense lines on the given QuickBooks tax code so QuickBooks' total and tax equal the books exactly (where QuickBooks' rounding can't land on the books' tax, a cent or two moves to an untaxed line). Every line is echoed by id, and it's read back. Use get_qbo_transaction first to see the lines and tax codes.
recategorize_eventRebook a confirmed event's type and DR/CR lines in place (rebuilds its JE + tax), e.g. income that was really a customer payment. Refused for events already in QuickBooks (void + rebook there instead). It can't change the entry's total: the lines must add up to the amount it already has. To change the amount, use edit_booked_event, or set_event_charged_amount for what the card or bank charged on a foreign-currency one.
recategorize_eventsMove many booked transactions to another category at once, in Solarium and QuickBooks. Pick them by event_ids, or by from_category_id (optionally narrowed by vendor and date_from / date_to). The preview lists which would move and which would be refused (e.g. changed in QuickBooks since the last sync).
record_bill_paymentPay open vendor bills (all or part) from a bank account or credit card: DR Accounts Payable for each bill / CR the bank or card, never an expense again. Several bills of one vendor can be paid at once (bill_ids): split as given (allocations), else oldest bill first. In QuickBooks it's one Bill Payment with a line per bill, and each bill's balance is read back. Pass source_event_id to use the withdrawal already on the bank feed (bill_payment_matches finds it): that line becomes the payment, so it isn't counted twice. A bill in another currency can be paid from an account in that currency or in the books' currency, and the difference from the bill's rate goes to Exchange Gain or Loss. Refused for more than what's owed, a paid bill, bills of different vendors, or a closed period. Previews by default: pass apply=true to record it.
record_customer_paymentRecord a customer paying an invoice: DR bank / CR A/R (that customer). Never touches revenue. Optionally rebooks the bank-feed deposit event for the payment.
record_invoice_paymentRecord money received against an invoice (all or part): DR the bank / CR the customer's A/R, never revenue. amount defaults to what's left. Pass source_event_id to use a bank-feed deposit (it's rebooked as this payment). An entry already booked (a customer's payment booked as a transfer, or a deposit already in QuickBooks) becomes the payment in place, never booked twice: its credit goes to this customer's A/R (A/R with no customer is tagged to them; another account is reclassed to A/R, in Solarium only). Same currency, the same or no customer, at most what's owed, and not already another invoice's. method: one of the business's payment methods (invoice_settings: payment_methods).
record_tax_paymentRecord a payment to the CRA for GST/HST, paid from a bank account. kind 'balance' pays a return's balance (debits GST/HST Payable). kind 'instalment' is an instalment (debits a GST/HST Instalments account, created if missing), shown on line 110 of the sales tax report. If the withdrawal is already on the bank feed, pass its event_id (tax_payment_matches finds it): that line is booked as the payment, so it isn't counted twice. Canadian businesses only. Preview first, then apply.
reject_eventSet a review item aside (it won't be booked), recording why. Booked items can't be rejected.
remove_bill_paymentUndo a payment recorded with record_bill_payment: what it paid is owed on each bill again. A payment from a bank-feed withdrawal puts the withdrawal back in review as it was. One recorded by hand has its entry voided. In QuickBooks its Bill Payment is deleted and each bill's balance is read back. Refused in a closed period. Previews by default: pass apply=true to remove it.
remove_invoice_paymentUndo a payment recorded on an invoice: what it paid is owed again. A payment from a bank-feed deposit puts the deposit back in review, unlinked; one recorded by hand has its entry voided. Refused for a payment already in QuickBooks (delete it there first). This is the only way to change a payment's entry: Transactions won't edit, reject or merge an entry that belongs to an invoice.
replace_with_qbo_twinReplace a needs review event with the copy QuickBooks already has: its receipts move to the imported event, the review event is archived, and the document is pushed to QuickBooks. Finds the twin when not given. Amounts must match unless accept_difference is true: then QuickBooks' amount is kept and the gap is reported. Check the document first (get_receipt) to see which amount is right.
restate_event_fxRecord that a booked (or synced) charge was really in another currency — e.g. 455.50 USD for the 648.27 CAD the card charged — keeping the home-currency amount booked. Nothing in the ledger or QuickBooks changes; only the foreign amount, currency and the card's actual rate are recorded. To change the booked amount too, use the edit drawer.
resync_event_from_qbRebuild events from their QuickBooks copy when Solarium has drifted (QuickBooks is only read). Checks the entry balances and moves the bank or card by the QuickBooks total.
send_invoiceSend an invoice: it gets its number, its A/R is booked (DR A/R for the customer, CR revenue and tax collected), and the customer is emailed the PDF and a link to view it. Sending an invoice already sent emails it again without booking anything. In QuickBooks it's created as a real invoice once that write is proven; until then it's booked in Solarium only.
send_year_end_packageEmail the year-end package to the business's accountant: one Excel workbook for the fiscal year with a trial balance, profit and loss by month, balance sheet at year end, the general ledger (every account, every line, with a running balance), vendors, receivables and payables, plus a GIFI schedule and the GST/HST return for Canadian businesses. year is the calendar year the fiscal year ends in (default: the latest fiscal year that has ended). Pass to with the accountant's email. Previews by default: it lists the recipient, the year, the sheets and anything that could still change the numbers (transactions in Review, books not closed). Pass apply=true to send. Paid plans only.
set_card_last_fourRecord a card number on a card or bank account, then file receipts waiting on that number and fill the payment account on their needs review events. A number already on another account is refused unless reassign is true: then it moves here, its waiting receipts and needs review events move with it, and booked entries still on the other account are listed (move those with edit_booked_lines payment_id).
set_event_charged_amountFor a booked transaction in another currency (like 455.50 USD): set what your card or bank actually charged in your home currency. The rate is worked out from the two amounts, the journal lines are re-posted at the new amount, and QuickBooks is updated and read back: the same edit as the transaction drawer. The preview shows the old and new amount, the new rate, the journal lines before and after, and what QuickBooks gets. Refused for a transaction in your home currency (use edit_booked_event), one that belongs to an invoice, one QuickBooks keeps in the other currency, and inside a closed period until the user agrees. For a transaction in QuickBooks, until that QuickBooks update is proven the preview warns and applying is refused. Previews by default: pass apply=true to save it.
set_event_fxSay a review item was in another currency: original_currency (e.g. USD), optionally original_amount (the foreign amount, if it differs) and charged_amount (what your card or bank charged in your home currency, which keeps their rate including fees). Without charged_amount the Bank of Canada rate is used.
set_event_memoSet the memo and/or notes on any transaction, booked or not, splits included. No lines are re-posted. Notes stay in Solarium. The memo goes to QuickBooks only with push_to_qbo=true, which sets the memo on the linked QuickBooks transaction (a purchase, bill, journal entry or deposit) and checks it there. Pass an empty string to clear one. Previews by default: pass apply=true to save it.
set_event_vendorSet the vendor (or customer) on one transaction, booked or in review: contact_id for one that exists (list_contacts), or new_vendor_name to use that name (a contact with the name is reused, else one is created). When the transaction is a QuickBooks purchase, its payee there changes too, to the QuickBooks vendor with the same name, and is read back. The preview shows the old and new vendor and what QuickBooks will get. It's refused, with nothing changed, when QuickBooks can't follow: no vendor with that name in QuickBooks. For a kind of purchase (like a credit card one) whose payee change isn't proven yet, the preview warns and applying is refused. Previews by default: pass apply=true to save it.
set_management_viewMark transactions to leave out of management reports (exclude=true), or put them back (exclude=false). They stay in the books, sales tax, QuickBooks and every filed number. Only reports run with view=management leave them out. For owner-paid perks or one-offs the owner doesn't want in day-to-day numbers. Changes no amounts. Previews by default: pass apply=true to save it.
set_qbo_tax_codeChoose which QuickBooks tax code Solarium sends for one of its tax codes (gst, hst, pst, qst, gst_pst, gst_qst), when a push stops with "No Tax Code We Can Match". Without qb_id it lists the company's QuickBooks tax codes and the choices already made, and changes nothing. With qb_id it saves the choice (clear=true removes it). Previews by default: pass apply=true to save. Then push the entry again.
set_up_businessCreate the person's business in Solarium, the same as the Set Up Your Business step on the web: its name, country and province or state, and in Canada how often it files GST/HST. Ask the person rather than guess. It starts on the free trial. Call with apply=false first and show what will be created, then apply=true once they confirm. Afterwards this connection works in the new business and its usual tools appear.
setup_stripeChoose the accounts Stripe's activity lands in, once, after connecting Stripe. Proposes them: a Stripe balance account (like a bank account; created if missing), the sales account charges go to, a fees account (Merchant Fees, created if missing) and the bank Stripe pays out to. Pass any id to choose a different one. start_date is the first day to bring in (default: the first open day). Preview first, then apply.
test_send_invoiceSend yourself a test of an invoice (draft or sent): the exact email and PDF the customer gets, with [Test] on the subject, a banner saying the customer didn't get it, and the PDF stamped TEST. to is one address (default: yours). Nothing else changes: no number is used, nothing is booked, the status, sent date and reminders stay as they are, and its view link is a 7-day preview that never counts as the customer viewing it. Up to 10 a day per invoice.
update_categoryRename a category, and/or set its QuickBooks subtype from its tax code (fix_subtype), in Solarium and QuickBooks together — so the nightly sync doesn't change it back.
update_contactChange a customer or vendor: its name, a customer's legal name, the person their invoices are marked for (contact_name, printed as Attn:), billing address, emails, phone or province. Only what's passed changes; an empty string clears a field. email takes one or more addresses, comma-separated: a customer's invoices go to all of them. Renaming to a name another contact of the same type already has is refused (merge them with merge_contacts). QuickBooks isn't changed. Previews by default: pass apply=true to save.
update_invoiceChange a draft invoice: its customer, the customer's province (customer_region), lines, dates, terms, notes, number or trade name. To change the customer, pass contact_id, or customer_name matching an existing customer's name or legal name exactly (any case). A name that matches no customer is refused, never added: add them with create_contact first. A new customer, province or issue date works the tax out again. A sent invoice with nothing paid (sent, viewed or overdue) can change its issue_date alone: the number stays, the due date follows its terms, tax is worked out again if a rate changed between the dates, and its A/R entry moves to the new date. In another currency it's booked at the reference rate for the new date (pass fx_rate to use your own). Refused for a partly paid, paid or void invoice, a date in a closed period, and an invoice in QuickBooks (change it there first). Nothing is emailed. Anything else on a sent invoice can't change; void it and make a new one.
upload_documentAdd a receipt, bill or invoice the user shares (PDF, JPEG, PNG, HEIC or WebP, up to 15 MB). It's read like a receipt emailed to Solarium and lands in review as a draft, matched to its transaction when one exists. A spreadsheet (CSV or XLSX, like a Shopify or Stripe export) is kept as a document for the team and isn't read as a receipt. Book a Stripe balance export with import_stripe_balance, and bring Wave's accounting export, trial balance and receipts ZIP in with import_wave (pass each document_id). For a bank or card statement pass kind=statement: it's stored (PDF only, account_id optional) without being read as a receipt, list_statements shows it, and reconcile_card_statement takes its statement_id. Pass the file as content_base64, or url (a public https link), or file (an attached file), or gmail_message_id (a message in the business's connected Gmail: its attachments are added, or with none the email itself as a PDF). Pass event_id to attach it to that transaction in the same step (and to QuickBooks when the transaction is there). Previews by default: pass apply=true to add it.
void_gone_from_qboVoid a synced transaction whose QuickBooks copy was deleted or voided there (audit_qbo_totals lists them as gone from QuickBooks), so the books stop counting it. QuickBooks is checked first and isn't written.
void_invoiceVoid an invoice: its A/R booking leaves the books (refused while it has payments: remove them first with remove_invoice_payment). The number stays used.

Every Tool In Detail

attach_receipt_to_event

Attach an existing unmatched receipt to an already-booked event (moves it — no duplicate receipt row). If the event is in QuickBooks, the document is pushed as an attachable after commit. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
receipt_idstringYes
event_idstringYes

attach_receipt_to_qbo_entity

Attach a receipt's file to a QuickBooks transaction that isn't in Solarium as an event, like a bill the client entered in QuickBooks themselves. Use find_qbo_matches to find it. Only the file is added: the QuickBooks transaction itself isn't changed. Previews by default: pass apply=true to upload it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
receipt_idstringYes
entityBill, Purchase, VendorCredit, Deposit, JournalEntry, SalesReceiptYes
qb_idstringYesThe QuickBooks transaction id.

audit_qbo_totals

List synced transactions whose QuickBooks total or sales tax differs from the books, between two dates (default the last 90 days), largest first, with the difference per payment account (a card or bank). Also lists any that are gone from QuickBooks. Read only. *Read-only.*

ArgumentTypeRequiredDescription
sincestringNo
untilstringNo
limitintegerNoHow many to list. Default 100.

bill_payment_matches

Bank and card withdrawals still in review that could have paid a bill: in the bill's currency, from its date to 60 days after, for what's still owed or the whole bill. Also withdrawals that pay it together with others of the vendor's open bills (up to 5, oldest first). Exact balance first, then names like the vendor's. Pass one's event_id to record_bill_payment as source_event_id (with its bill_ids for several bills). Read only. *Read-only.*

ArgumentTypeRequiredDescription
bill_idstringYesIts Solarium event id or QuickBooks Bill Id.

book_deduction

Book a retailer/distributor deduction: DR expense line(s) / CR the clearing account. From an existing pre-confirm event, an unmatched receipt (promoted first), or new (merchant + txn_date). *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
clearing_account_idstringYes
expense_linesarrayYes
source_event_idstringNo
source_receipt_idstringNo
merchantstringNo
txn_datestringNo
notesstringNo
check_qbobooleanNo
dedup_keystringNo
pushbooleanNo

book_invoice

Book a customer invoice: DR A/R (gross, that customer) / CR revenue (net) / CR sales tax. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
ar_account_idstringYes
revenue_account_idstringYes
contact_idstringYes
netstringYes
tax_linesarrayNo
txn_datestringYes
referencestringYesInvoice number / memo (also the dedup key)

book_journal_entry

Post a journal entry with any number of lines (book_reclass does two): each line a category_id with a debit or a credit, which must balance. Like a Shopify month's discounts, returns, shipping and tax in one entry. Sent to QuickBooks as a journal entry and read back unless push is false. Preview first, then apply. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
linesarrayYes
txn_datestringYes
memostringYes
dedup_keystringNo
pushbooleanNo

book_processor_income

Book income received through a payment processor (e.g. PayPal) with its fee split out: CR revenue (gross) / DR fees / DR processor (net). Foreign currency uses the processor's own converted amounts. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
revenue_account_idstringYes
fee_account_idstringYes
processor_account_idstringYes
grossstringYesGross in the org's functional currency
feestringYesFee in the org's functional currency
txn_datestringYes
payerstringYes
processor_txn_idstringYesThe processor's transaction id (dedup key)
original_currencystringNo
original_grossstringNo
check_qbobooleanNo
pushbooleanNo

book_receipt

Book a receipt in one call: make it a transaction, set its category and card (defaults to the card read off the receipt), tax (tax_amount, or tax_included to work it out at your rate), and a note. It stays in review unless confirm is true, which also runs confirm_event's QuickBooks checks. A receipt whose currency only the store address suggests (a US store) is staged in that currency and stays in review even with confirm. A slip that says the payment was declined is refused. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
receipt_idstringYes
category_idstringYes
payment_account_idstringNo
tax_amountstringNo
tax_includedbooleanNoThe total includes sales tax at the standard rate
tax_codestringNo
notestringNoKept as the memo, which QuickBooks shows too.
confirmbooleanNo

book_reclass

Reclassify an amount: DR to_account / CR from_account, posted as a journal entry. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
from_account_idstringYesAccount credited (amount moves out)
to_account_idstringYesAccount debited (amount moves in)
amountstringYes
txn_datestringYes
memostringYes
dedup_keystringNo
pushbooleanNo

book_remittance

Book a retailer/distributor remittance: DR bank (net) + DR discount line(s) / CR the clearing account (gross). Rolled-in coupon events are ignored with a note so they aren't booked twice. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
bank_account_idstringYes
clearing_account_idstringYes
grossstringYes
discount_linesarrayNo
txn_datestringYes
memostringYes
source_event_idstringNoThe bank-feed deposit event for the net (optional)
rolled_in_event_idsarrayNo
check_qbobooleanNo
dedup_keystringNo
pushbooleanNo

book_vendor_credit

Book a vendor's credit memo (damaged goods, short shipment, price fix) against what the business owes them: DR Accounts Payable / CR the category (net) / CR the input tax credit. In QuickBooks it becomes a VendorCredit for that vendor, which is applied when the bill is paid. Give the QuickBooks bill_id it credits (its vendor, A/P account and category are used), or a vendor and category. Pass the positive amount from the memo and its tax. Refuses if QuickBooks already has a credit for that vendor and amount. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
amountstringYesThe credit's total including tax, positive (69.18).
referencestringYesThe vendor's credit memo number (9967152).
bill_idstringNoQuickBooks Bill Id it credits (find_qbo_matches or get_qbo_transaction).
vendorstringNoQuickBooks vendor name, when there's no bill_id.
category_account_idstringNoDefaults to the bill's category.
tax_amountstringNoTax on the credit (0 for zero-rated goods).
sales_tax_codestringNohst, gst, pst or qst (when taxed).
txn_datestringYesThe credit memo's date.
descriptionstringNoWhat it's for, like damaged sugar.
receipt_idstringNoThe credit memo's receipt, attached to it.
check_qbobooleanNoRefuse if QuickBooks has it already. Default true.

categorize_event

Set a review item's category and payment account (tax kept unless tax_amount is given), or make it a transfer between two accounts (from_account_id / to_account_id). *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
category_idstringNo
payment_account_idstringNoWhat it's paid from. Leave it out to keep the one it already has. With none yet, only the category is set and it stays in review until one is.
tax_amountstringNoTotal tax on it; '0' removes tax
tax_codestringNoe.g. hst, gst (from list_categories / the tax line)
from_account_idstringNo
to_account_idstringNo

close_month

Close a month of the books. Pass month as YYYY-MM, or leave it out for the next month to close. The preview shows the month, how many transactions are still in review (that month, and any earlier day not yet closed, which the close covers too), and any bank or card feed that needs attention. It can't be applied while anything is in review (review_not_clear), before the month has ended (month_not_over), or for a month already closed (already_closed). Applying records who closed it and moves books closed through to the month's last day, never backwards. Previews by default: pass apply=true to close it. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
monthstringNoThe month, YYYY-MM. Leave it out for the month after the books are closed through.

compare_with_qbo

Compare Solarium's books with QuickBooks', account by account, on a date (default today): QuickBooks' trial balance next to Solarium's, with the difference. Amounts are debit minus credit; P&L accounts are the fiscal year to date. Lists QuickBooks accounts Solarium doesn't have. Read only. *Read-only.*

ArgumentTypeRequiredDescription
as_ofstringNo
only_differencesbooleanNoDefault true.

confirm_event

Book a review item and send it to QuickBooks. Refuses when an account isn't in QuickBooks, or when QuickBooks already has the same transaction (same amount within 3 days, or a bill with the same invoice number or vendor within 45) — set allow_qbo_match only after checking it's really different. An item already linked to its QuickBooks record (imported from QuickBooks) is booked from that record instead, and nothing is sent. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
allow_qbo_matchbooleanNo

confirm_high_confidence

Confirm NEEDS_REVIEW events that pass every high-confidence check (including a QuickBooks duplicate check). A first-time vendor (no rule, vendor default or past booking) is always left for review. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idsarrayNo
since_daysintegerNoOnly events created in the last N days
limitintegerNo

connect_bank

A link for the person to connect their bank or card, so Solarium pulls its transactions every day and books them. They sign in to their bank in the browser through Plaid. Read-only. *Read-only.*

connect_quickbooks

A link for the person to connect QuickBooks Online. Once connected, Solarium brings in their history (last year and this one) and keeps it in sync; get_connection shows the import's progress. Read-only. *Read-only.*

connect_stripe

A link for the person to connect their Stripe account, so Solarium can bring in their charges, fees, refunds and payouts. They approve it in the browser. After connecting, run setup_stripe, then sync_stripe. Read-only. *Read-only.*

create_bill

Enter an unpaid supplier invoice: what the business owes a vendor until it's paid (DR each category, DR the input tax credit, CR Accounts Payable). In QuickBooks it becomes a Bill for that vendor with the invoice number and due date, paid later through Pay Bills. Lines are before tax, each with its tax. Refuses if Solarium or QuickBooks already has a bill for that vendor and invoice number. Previews by default: pass apply=true to book it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
vendorstringYesWho the invoice is from.
datestringYesThe invoice date.
due_datestringNoWhen it's due.
doc_numberstringNoThe vendor's invoice number, like DRAPESINC-0021.
linesarrayYesEach: category_id, amount (before tax), tax_amount (0 when untaxed), description.
tax_codestringNohst, gst, pst or qst, when a line is taxed.
ap_account_idstringNoDefaults to the business's Accounts Payable.
receipt_idstringNoThe invoice's receipt, attached to the bill.
notestringNoAnything to remember about it.
check_qbobooleanNoRefuse if QuickBooks has it already. Default true.

create_category

Create a category (account) from its tax code — its type follows the code — and add it to QuickBooks with the right subtype, or link the QuickBooks account that already has that name. Pass account_type instead of tax_code only where your country has no tax codes. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
namestringYes
tax_codestringNoe.g. 8320 purchases (see list_categories)
account_typestringNo
parent_idstringNo

create_contact

Add a customer or vendor, so entries can name who they're with (A/R and A/P are kept per contact). If one with the same name and type already exists, that one is returned and nothing is added (change it with update_contact). Use its id with book_invoice, record_customer_payment, recategorize_event (to attach it to an entry already booked) or create_invoice. region is a customer's province (a code like NS, or its name): invoice tax follows it. Given for a contact that already exists, it updates that contact's region. A customer's invoices print their legal_name, an Attn: line for contact_name, and their billing_address. Previews by default: pass apply=true to add it. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
namestringYesAs it should appear on reports and invoices
contact_typecustomer, vendorYes
emailstringNo
phonestringNo
regionstringNoThe province of their address (NS, Nova Scotia). Empty string clears it
legal_namestringNoA customer's legal name, printed on their invoices (blank: the name). Empty string clears it
contact_namestringNoThe person invoices are marked for ("Attn: Priya Raman"). Empty string clears it
billing_addressstringNoTheir billing address, one line per line. Printed on their invoices. Empty string clears it

create_invoice

Make a draft invoice for a customer (by contact_id, or customer_name to find or add them). Lines are before tax; tax is computed from each line's sales_tax_code at the rates where the customer is (customer_region, else the business's own province) on the issue date. Nothing is sent or booked until send_invoice. number is optional (the next one in the series is used when it's sent). *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
contact_idstringNo
customer_namestringNo
customer_emailstringNoOne or more emails, comma-separated
customer_regionstringNoThe customer's province, as a code like NS or its name. Saved on the customer. Tax follows it: a Nova Scotia customer pays Nova Scotia HST, and a customer in a GST-only province pays GST alone. Empty string: unknown, taxed at your own province's rates.
linesarrayYes
issue_datestringNoDefault today
terms_daysintegerNoDays to pay (default from settings, 30)
due_datestringNoOverrides terms_days
notesstringNo
numberstringNoOnly to use your own number
fx_ratestringNoInvoices in another currency: books' currency per 1 of the invoice's (e.g. 1.3684 CAD per USD). Default: the reference rate on the issue date (get_fx_rate names its source). Give one to book at your own rate, or an empty string to go back to the reference rate.
currencystringNo
trade_namestringNoThe trade name this invoice leads with, instead of the one in invoice_settings. Use it when one legal entity runs more than one business. An empty string prints no trade name, just the legal name. Default: the invoice settings' trade name

create_transaction

Add a transaction by hand (a cash expense, a missing card charge, a transfer). It goes to review, not the books: confirm it with confirm_event. With category_id and payment_account_id the lines are staged (for a transfer, payment_account_id is from and category_id is to); tax_amount adds a tax line. Warns about a likely duplicate already in Solarium: the same amount, or the same vendor within 3 days at any amount. Check a warning with get_event before confirming. A refund is money coming back to the business from a store or vendor (refund_direction from_vendor, the default). For money the business pays back to a customer, pass refund_direction to_customer: it's booked as money out of the payment account against the income category_id. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
vendorstringYesWho it was paid to or received from.
amountstringYesThe total in home currency, like 42.50.
datestringYes
event_typeexpense, fee, fee_rebate, fraud_dispute, income, loan_proceeds, loan_repayment, owner_contribution, owner_draw, personal_holding, refund, tax_payment, transferNoDefaults to expense.
category_idstringNoThe category account (or the to-account).
payment_account_idstringNoThe bank or card (or the from-account).
tax_amountstringNoSales tax included in amount.
tax_codestringNoThe tax code, like HST ON.
refund_directionfrom_vendor, to_customerNoFor a refund: from_vendor (money in, the default) or to_customer (money out).

daily_receipts

Run the daily receipts routine: classify every unmatched receipt (attach / promote / dismiss / review), apply attach + promote, and report the rest. With auto_confirm=true, high-confidence promotions are also confirmed (booked, and sent to QuickBooks when connected); off by default. A first-time vendor is never auto-confirmed. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
since_daysintegerNoReceipts created in the last N days (default 14)
auto_confirmbooleanNoAlso book high-confidence promotions (default false).

deactivate_category

Hide a category you no longer use, in Solarium and QuickBooks. Refuses while it has a balance, unbooked transactions use it (category, card or any split line), it has active sub-accounts, or vendor rules file into it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
account_idstringYes

delete_contact

Delete a customer or vendor that nothing uses. Refused while anything still points at it (invoices, entries, journal lines, receipts, or a bank line remembered on a payment): the refusal says what, and merge_contacts moves those onto another contact first. QuickBooks isn't changed. Previews by default: pass apply=true to delete. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
contact_idstringYes

dismiss_receipts

Dismiss unmatched receipts that aren't receipts (logos, signatures, duplicates). *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
receipt_idsarrayYes
reasonstringYes

edit_booked_event

Change one booked transaction's category, payment account (the card or bank it was paid from), date, amount or sales tax, in Solarium and QuickBooks together: the same edit as the transaction drawer. The preview shows the new journal lines, or why it would be refused (changed in QuickBooks since the last sync, reconciled, a closed period, an amount the bank feed set). Applying re-posts it and updates QuickBooks, then reads it back. Pass reason to keep why it was changed on the transaction's notes. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
category_idstringNoThe new category (list_categories).
payment_idstringNoThe card or bank it was paid from.
transaction_datestringNo
amountstringNoThe corrected total, like 18000.00.
tax_amountstringNoThe sales tax on the receipt, like 2.47. 0 for none.
tax_codestringNoWhich tax, like hst or gst. Default: the transaction's own, else the province's.
memostringNo
reasonstringNoWhy it's being changed. Kept on the transaction's notes.
acknowledge_closed_periodbooleanNotrue to edit inside a closed period, once the user has agreed.
overwrite_quickbooksbooleanNoFor a transaction linked to QuickBooks before Solarium kept a sync record: when QuickBooks differs from Solarium (the preview lists how), true writes Solarium's version over it, with this edit. Use only once the user agrees Solarium is right.

edit_booked_lines

Set every line of a booked purchase, journal entry or sales receipt that's in QuickBooks, for one with several lines (edit_booked_event handles one line). List the lines you want with an amount, plus: for a purchase, category_id and tax_code (a QuickBooks tax code name like 'HST ON' or 'Out of Scope'; default keeps the line's); for a journal entry, category_id and posting (debit or credit); for a sales receipt, tax_code (each line sells the same product, so a month's sales split into taxable and zero-rated). payment_id moves a purchase to another card or bank. Existing lines are kept in order and a leftover one (like a -0.01 discount) is removed. QuickBooks is updated and read back, then Solarium's entry follows it. Preview first, then apply. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
linesarrayYes
payment_idstringNoPurchases: the card or bank account it was paid from.

edit_event

Change a review item's date, memo, title or type. A new type rebuilds its lines to match (income puts the money in, an expense takes it out). When they can't be rebuilt (a transfer needs two accounts, and an item that was a transfer needs a category), they're cleared until you pick them with categorize_event. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
transaction_datestringNoYYYY-MM-DD
memostringNo
titlestringNo
event_typeexpense, fee, fee_rebate, fraud_dispute, income, loan_proceeds, loan_repayment, owner_contribution, owner_draw, personal_holding, refund, tax_payment, transferNo

edit_receipt

Correct what was read off a receipt: its date or vendor name (a misread year, a garbled vendor). Only the receipt changes; the transaction it's on keeps its own date, so fix that with edit_event or edit_booked_event. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
receipt_idstringYes
receipt_datestringNo
vendorstringNo

export_everything

Download everything: the general ledger, chart of accounts, transactions and every receipt and document file, as one zip. Works on every plan, even a canceled one. The preview shows what goes in, its rough size and the latest export with its download link. apply=true starts a new export. It is built in the background and the link is emailed when it's ready. The link lasts 7 days. One export at a time. *Sends an email or text, never changes your books (previews unless apply is true).*

find_qbo_matches

Find the QuickBooks transactions something probably already is: same amount within 3 days, or a bill / vendor credit with the same invoice number or vendor within 45 days, with their attachments and whether Solarium has them. Pass a receipt_id, an event_id, or the raw facts (amount + date, optionally vendor, doc_number, currency) for something not in Solarium yet. doc_numbers adds other invoice numbers it refers to (a credit memo's original invoice): a bill with one of those is marked credit_for. Flags likely double bills. Read-only. *Read-only, reaches QuickBooks.*

ArgumentTypeRequiredDescription
receipt_idstringNo
event_idstringNo
amountstringNoThe total, like 455.50 (with date, instead of an id).
datestringNo
vendorstringNo
doc_numberstringNoThe invoice or bill number.
doc_numbersarrayNoOther invoice numbers it refers to, like the invoice a credit memo adjusts.
currencystringNoThree letters, like USD. Defaults to home currency.

fresh_start

Start the books clean on January 1 when coming from QuickBooks. Last year's history comes in from QuickBooks for reference, opening balances are booked on December 31 from QuickBooks' balance sheet (they must tie to the cent or nothing is booked), and the books are locked through December 31 so last year stays out of Review. The cutover defaults to January 1 this year. In December it can be next January 1, and then it runs on that day. Refuses when the books are already closed after the cutover, already started clean, or begin inside the new year with entries a person confirmed since. Never writes to QuickBooks. Previews by default: shows the cutover, how many of last year's records would come in, the opening balance check and what gets locked. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
cutoverstringNoThe day the books start: January 1 this year (the default), or next January 1 in December.
cancelbooleanNoDrop a fresh start that is still waiting (for the import or for its day).

get_connection

Who this connection is: the organization's name and id, who connected it, what it may do (look only, or look and make changes), and a stable account id for this person in this organization. Also flags bank feeds that need attention (see list_bank_feeds). Read-only. *Read-only.*

get_document

One document uploaded on the website or from an AI app (a statement_id from list_statements): its type, the uploader's note, a link to the file (valid for an hour) and, for a PDF, its text. Read-only. *Read-only.*

ArgumentTypeRequiredDescription
document_idstringYesA statement_id from list_statements.

get_event

One transaction in full: its lines (staged and booked), why it has its category (category_reason has its source, which is rule, vendor, correction, ai or person, and a short plain reason), its receipts (amount, currency, card, line items, in QuickBooks), FX, duplicate and closed-period flags, notes, and its QuickBooks link and sync state, and its source (where it came from, as list_events shows it). Use get_receipt for a receipt's full text and file. *Read-only.*

ArgumentTypeRequiredDescription
event_idstringYes

get_fx_rate

The reference rate a foreign invoice would be booked at: books' currency per 1 of currency, on or before the date, and who publishes it (source_name). Read only. *Read-only.*

ArgumentTypeRequiredDescription
currencystringYes
datestringNo

get_invoice

One invoice in full: lines, tax, payments, timeline (sent, viewed, reminders), and its view and PDF links. *Read-only.*

ArgumentTypeRequiredDescription
invoice_idstringYes

get_qbo_account

One QuickBooks account as QuickBooks has it: name, type, subtype, active, balance and SyncToken, plus the Solarium account mapped to it. Pass qb_id or name. Read-only. *Read-only, reaches QuickBooks.*

ArgumentTypeRequiredDescription
qb_idstringNo
namestringNo

get_qbo_transaction

Read one QuickBooks transaction: its total, tax, date, payee, lines (ids, accounts, tax codes, received from) and attachments, plus the Solarium event linked to it. Read-only. *Read-only, reaches QuickBooks.*

ArgumentTypeRequiredDescription
entityBill, Purchase, Deposit, JournalEntry, SalesReceipt, VendorCredit, BillPayment, Payment, Invoice, Transfer, CreditCardPaymentTxn, RefundReceipt, CreditMemoYes
qb_idstringYesThe QuickBooks transaction id

get_receipt

One receipt or invoice in full: its text as read, line items (freight, fees and tax lines included), invoice number, card, payment method, totals, the transaction it's on and whether it's in QuickBooks, plus a link to the file (valid for an hour). Use it to check a document against a bill or a charge, line by line. *Read-only.*

ArgumentTypeRequiredDescription
receipt_idstringYes

get_receipt_addresses

Where the person sends receipts: an email address to forward them to and a number to text photos to, and which of their own emails and numbers Solarium recognizes as theirs. Read-only. *Read-only.*

get_solarium_messages

This business's messages with the Solarium team (texts, emails and notes written in the app), with Solarium's replies. Read only. Shows the latest 50 by default (limit, at most 200), oldest first. For older ones pass offset: next_offset from the last result. Each message shows its first 2000 characters, with truncated true and a marker when there's more. Pass body_chars to show more or less. *Read-only.*

ArgumentTypeRequiredDescription
limitintegerNoDefault 50, at most 200.
offsetintegerNoSkip this many of the latest (for the next, older page).
body_charsintegerNoShow at most this many characters of each message. Default 2000.

import_invoice_pdf

Bring in an invoice the business made elsewhere, from its PDF (an uploaded s3_key, or pdf_base64): its number, dates, customer, lines and tax are read off it and kept as printed. The preview shows what was read. On apply it's booked to the customer's A/R as sent (book=false keeps it a draft); send=true also emails their PDF to the customer. A number already used is refused. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
s3_keystringNo
pdf_base64stringNo
revenue_account_idstringNoWhere its revenue goes (default: first income account)
bookbooleanNoBook it to A/R as sent (default true)
sendbooleanNoAlso email their PDF to the customer (default false)
customer_emailstringNoOne or more emails, comma-separated
fx_ratestringNoInvoices in another currency: books' currency per 1 of the invoice's (e.g. 1.3684 CAD per USD). Default: the reference rate on the issue date (get_fx_rate names its source). Give one to book at your own rate, or an empty string to go back to the reference rate.
adopt_event_idstringNoAn A/R entry already booked by hand for this invoice (DR A/R, CR revenue and tax). The invoice ties to it instead of booking A/R again, so nothing new is posted and no email goes out. See link_invoice_to_entry for the checks.
date_tolerance_daysintegerNoDays the entry's date may differ from the invoice's issue date (default 0, the same day). The difference is shown in the preview.

import_qbo_transaction

Bring one QuickBooks transaction that's missing from the books into Solarium (for example a journal entry the import skipped), through the same path as the nightly sync: synced when every account maps, else in review, and linked to an existing event that's the same transaction. Refuses one already in the books. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
entityBill, Purchase, Deposit, JournalEntry, SalesReceipt, VendorCredit, BillPayment, Payment, Invoice, Transfer, CreditCardPaymentTxn, RefundReceipt, CreditMemoYes
qb_idstringYesThe QuickBooks transaction id

import_stripe_balance

Import a Stripe account's activity from Stripe's export: charges as revenue, Stripe's processing fees (their sales tax as an input tax credit), refunds, disputes, Connect transfers, and payouts to the bank. Accepts the Balance summary report's itemized CSVs (Reports > Balance: 'Balance change from activity' and 'Payouts', each Export > CSV > Itemized) or the older balance history export. Nothing booked twice: anything already in the books is skipped, a payout already on the bank feed is linked. Ends by tying the Stripe account to the export; if it doesn't tie, nothing is written. Preview first, then apply. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
csvstringYesThe export's text (Balance change from activity, or history).
payouts_csvstringNoThe Payouts itemized export, with the Balance summary.
stripe_account_idstringYesThe bank-type account that is Stripe's balance.
bank_account_idstringYesWhere Stripe pays out to.
revenue_account_idstringYesWhere charges go (sales).
fees_account_idstringYesWhere Stripe's fees go.
transfers_account_idstringNoConnect platforms: where transfers to connected accounts go (cost of sales).
allow_window_mismatchbooleanNoBook even if Stripe's total over the export's days doesn't tie (exports that overlap).
charges_include_taxbooleanNoThe charges include your sales tax (GST/HST). Each new charge is split at your standard rate into sales and tax collected. Leave it off if your Stripe prices don't include tax.

import_wave

Bring a business's books in from Wave: its chart of accounts and every transaction from Wave's accounting export (Settings, Export your data, Export all transactions as CSV: accounting.csv, or the whole ZIP Wave emails), checked against Wave's trial balance (Reports, Trial Balance, export as CSV). Not for a business connected to QuickBooks: it is refused. Accounts map to Solarium's by name or are created with their tax code. Transactions already brought in are skipped by their Wave transaction ID. The trial balance is optional, but without it nothing is checked. With it, the books must tie to the cent or nothing is kept. With a cutover date (a fresh start, often January 1), history before it comes in for reference, the trial balance must be from the day before, and the books are locked through that day. A transaction with no vendor titled like 'Expenses 25 - Amazon Web Services' gets that vendor. Optionally pass Wave's receipts ZIP too: each receipt is attached to its transaction, and the ZIP can come in a later run. Pass each file as a document_id from upload_document, or as text. Previews by default: pass apply=true to import. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
transactions_document_idstringNoWave's accounting.csv (or the whole ZIP Wave emails), added with upload_document.
transactions_csvstringNoOr the text of Wave's accounting.csv.
transactions_s3_keystringNoOr the key of accounting.csv (or Wave's ZIP) uploaded in the Solarium app.
trial_balance_document_idstringNoWave's trial balance report (CSV or XLSX), added with upload_document.
trial_balance_csvstringNoOr the text of the trial balance CSV.
trial_balance_s3_keystringNoOr the key of the trial balance uploaded in the Solarium app.
trial_balance_datestringNoThe trial balance's date, when the report doesn't say it.
cutoverstringNoThe first day Solarium keeps the books (often January 1). History before it comes in for reference, the trial balance must be the day before, and the books are locked through that day.
account_mapobjectNoWave account name to a Solarium account_id, for accounts to land somewhere else.
opening_from_trial_balancebooleanNoThe transactions don't start at the beginning (a date range). Book what's missing as opening balances on the trial balance's date.
start_feeds_after_wavebooleanNoA bank feed already in Solarium has transactions on days Wave covers. Keep Wave's history and start each such feed the day after Wave's last day. Its transactions from those days still waiting in Review are set aside. Approved ones are never removed: the import stops and lists them. The preview shows any overlap under bank_feeds.
allow_closed_periodbooleanNoBring in transactions dated inside the closed books. It changes closed balances.
receipts_document_idstringNoOptional: Wave's receipts ZIP (Settings, Export your data, Export all receipts as a ZIP file), added with upload_document. Each receipt is attached to its Wave transaction. It can be added in a later run, after the transactions came in.
receipts_zip_base64stringNoOr the receipts ZIP's bytes, base64 encoded.
receipts_s3_keystringNoOr the key of the receipts ZIP uploaded in the Solarium app.

invoice_deposit_matches

Bank deposits that could have paid an invoice, best first: exact amounts first, then payers whose name looks like the customer's. Deposits still in review or booked in Solarium only (their income booking is undone when linked), and payments already booked as a transfer into a bank (they become the payment in place). Link one with record_invoice_payment and its event_id as source_event_id. Read only. *Read-only.*

ArgumentTypeRequiredDescription
invoice_idstringYes

invoice_payment_matches

For an entry in the books: the invoice it already belongs to (its booking or a payment), else the open invoices a deposit could be paying (same amount, after the invoice date, a matching name; or an invoice in another currency whose balance at the Bank of Canada rate that day is within 3% of the deposit, with the rate it implies) plus every open invoice to pick by hand. A suggestion only: record_invoice_payment with source_event_id applies it. *Read-only.*

ArgumentTypeRequiredDescription
event_idstringYes

invoice_settings

Read or change invoice settings: the number prefix and next number (to continue an existing series), payment instructions, business address and email printed on invoices, a trade name, default terms, and reminders. The legal name printed on invoices is the business's own name, exactly as entered. Also the sales tax registration numbers printed on invoices: in Canada the GST/HST number (123456789 RT0001, needed on invoices of $100 or more for customers to claim input tax credits) and a Quebec registrant's QST number (1234567890 TQ 0001). In Canada also the business structure (entity_type: sole_proprietor, partnership or corporation), which decides where an owner's draw goes on the financial statements and when a sole proprietor's GST/HST is due. Pass nothing to just read them. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
prefixstringNo
next_numberintegerNo
paddingintegerNo
payment_instructionsstringNo
business_addressstringNo
business_emailstringNo
trade_namestringNoThe name the business trades under (a DBA), when it isn't its legal name. Set, invoices lead with it and read "A trade name of <legal name>" under it. Empty string clears it.
default_terms_daysintegerNo
reminders_defaultbooleanNo
tax_registration_numberstringNoCanada: the GST/HST number, like 123456789 RT0001. Empty clears it.
qst_registration_numberstringNoQuebec QST registrants: the QST number, like 1234567890 TQ 0001. One in another format is kept with a warning. Empty clears it.
entity_type, sole_proprietor, partnership, corporation`NoCanada: the business structure. Changing it moves no account. Solarium's team moves an owner's draw to the right code by hand when they next review the chart. Empty clears it.

link_invoice_to_entry

Tie a draft invoice to an A/R entry already in the books (an invoice sent from another system and booked by hand: DR A/R, CR revenue, CR tax), instead of booking its A/R a second time. The invoice becomes sent, dated by the entry, and payments recorded later clear that A/R. Nothing new is posted, nothing goes to QuickBooks and no email is sent. Refused unless the entry is booked and not voided, isn't already an invoice's, is in the invoice's currency with its whole total on A/R, has the same tax, is for the same customer (an entry with no customer gets the invoice's) and has the same date (or within date_tolerance_days). *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
invoice_idstringYesA draft invoice
event_idstringYesThe A/R entry already booked for it
date_tolerance_daysintegerNoDays the entry's date may differ from the invoice's issue date (default 0, the same day). The difference is shown in the preview.

link_to_qbo_entity

Link a needs review event to the QuickBooks transaction that already records it (booked directly in QuickBooks, never imported), then rebuild its entry from QuickBooks and attach its receipts there. An event already linked to that same record but not booked yet is booked from it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
entityBill, Purchase, VendorCredit, Deposit, SalesReceiptYes
qb_idstringYes

list_bank_feeds

Each bank and card feed (from Plaid): institution, account, mask, currency, the Solarium account it's linked to, whether it feeds the books (only those make transactions to review, from start_date on), status, last successful sync, last transaction date, Plaid's last error, and health: ok, stale (nothing new for longer than usual, or no sync for 2 days) or broken (the bank needs the person to sign in again). A broken or stale feed means transactions are missing: tell the person to reconnect it in Settings, Integrations. Read-only. *Read-only.*

list_categories

The chart of accounts: each account's id, name, type, tax code, card number and QuickBooks mapping. Filter by account_type; inactive accounts only with include_inactive. *Read-only.*

ArgumentTypeRequiredDescription
account_typestringNoA group (asset, liability, equity, income or revenue, expense) or an exact type like bank, credit_card, other_current_liability, accounts_payable, cogs.
include_inactivebooleanNo

list_changes

The change history of these books, newest first: who made each change, from which app (Claude, ChatGPT, Solarium AI in the app, a text message to the Solarium line, someone in the app, an API key or Solarium itself), when, and what changed in plain words (for example 'Claude (Sam) changed the category from Meals to Office Supplies'). Pass event_id for one transaction's history, or leave it out for the whole business. since and until (YYYY-MM-DD) limit the dates. Read-only. *Read-only.*

ArgumentTypeRequiredDescription
event_idstringNoOne transaction (from list_events or get_event)
sincestringNoYYYY-MM-DD
untilstringNoYYYY-MM-DD
limitintegerNoUp to 200 (default 50)
offsetintegerNoSkip this many (for the next page)

list_contacts

Customers and vendors: id, name, type, email, phone, balance, and what a customer's invoices print (legal name, contact person, billing address). Filter by contact_type (customer or vendor) or name (contains, matching the name or legal name). Use a contact's id with book_invoice, record_customer_payment or report_account_lines. Not there yet: add it with create_contact. *Read-only.*

ArgumentTypeRequiredDescription
contact_typecustomer, vendorNo
namestringNoPart of the name.
include_inactivebooleanNo
limitintegerNoAt most 200 (default 50).
offsetintegerNo

list_events

Find transactions, newest first. Filter by status, category_id, payment_account_id, payment_account_type (credit_card, bank…), vendor (contains), date_from / date_to, amount_min / amount_max (home currency), and has_document (whether a receipt is attached). Ignored transactions are left out unless status=ignored or include_ignored. Page with limit and offset. Each has a source: where it came from (bank_feed, statement_import, sheet_import, wave_import, quickbooks, stripe_import, receipt, op, by_hand…) with its batch_id or op_run_id when there is one. *Read-only.*

ArgumentTypeRequiredDescription
statusingested, enriched, auto_confirmed, awaiting_confirmation, needs_review, confirmed, syncing, synced, reconciled, pending, ignored, error, disputedNo
category_idstringNoAn account id from list_categories.
payment_account_idstringNoThe bank or card account id.
payment_account_typestringNocredit_card, bank, and so on.
vendorstringNoPart of the vendor name.
date_fromstringNo
date_tostringNo
amount_minstringNoHome-currency amount, like 25.00.
amount_maxstringNoHome-currency amount, like 250.00.
has_documentbooleanNoOnly with (true) or without (false) a receipt.
include_ignoredbooleanNoAlso list ignored transactions.
limitintegerNoAt most 200 (default 50).
offsetintegerNoSkip this many (for the next page).

list_invoices

Invoices, newest first, with what's still owed. Filter by status (draft, sent, viewed, partially_paid, paid, overdue, void, or open), several statuses, customer, a search (number or customer name), issue dates or total. Pages with limit and offset. *Read-only.*

ArgumentTypeRequiredDescription
statusstringNoOne status, or open (sent, viewed, partly paid, overdue)
bucketoverdue, not_due, draft, paid_30, open, allNoThe invoices screen's money bar: overdue (open, past due), not_due (open, due today or later), draft, paid_30 (paid in the last 30 days), open, or all
statusesarrayNoAny of these statuses
contact_idstringNo
contact_idsarrayNo
searchstringNoMatches the invoice number or the customer's name
issued_fromstringNoIssued on or after
issued_tostringNoIssued on or before
amount_minstringNoTotal at least this
amount_maxstringNoTotal at most this
limitintegerNoDefault 100
offsetintegerNoDefault 0

list_op_runs

The history of operations applied to these books: who ran what, when, from where (chat, API, command), what it changed (including QuickBooks writes and whether they checked out), or why it was refused. Newest first. *Read-only.*

ArgumentTypeRequiredDescription
opstringNo
limitintegerNo

list_receipts

Receipts and invoices sent in (by email, text, upload or Drive). By default only those not on any transaction yet and not dismissed: the ones to attach, book (promote_receipts) or dismiss. unmatched=false lists all. Filter by vendor (contains), date_from / date_to, status (draft, processed or rejected) and source (email, sms, web_upload, qb_import and so on). Newest first. *Read-only.*

ArgumentTypeRequiredDescription
unmatchedbooleanNoOnly receipts on no transaction (default true).
vendorstringNo
statuspending_ocr, processing, ocr_failed, draft, pending, processed, reviewed, rejectedNo
sourceweb_upload, sms, email, banking_sync, google_drive, gmail, api, qb_importNo
date_fromstringNo
date_tostringNo
limitintegerNoAt most 200 (default 50).
offsetintegerNo

list_statements

Bank and card statements this business has handed Solarium: uploaded on the website or from an AI app (upload_document with kind=statement). Each has a statement_id for reconcile_card_statement. Read only. *Read-only.*

ArgumentTypeRequiredDescription
account_idstringNoOnly statements for this card or bank.
all_documentsbooleanNoAlso the other files uploaded on the website (Stripe exports, receipts, invoices).
waitingbooleanNoOnly ones still waiting (Received, not yet handled).
limitintegerNoAt most 100 (default 25).

mark_document_handled

Mark documents uploaded on the website or from an AI app as handled, so they stop showing as Received. Use it once a file is in the books another way (booked by hand, or a receipt for it already exists). Pass document_ids (from list_statements or get_document) and an optional note, which the uploader sees. Previews by default: pass apply=true to mark them. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
document_idsarrayYesThe documents to mark.
notestringNoWhat was done with them. Shown to the uploader.

merge_contacts

Merge two contacts that are the same customer or vendor. Everything that points at merge_id (invoices, entries, journal lines, receipts, and the bank lines remembered on payments) moves to keep_id, its emails are added to keep_id's, anything keep_id is missing (legal name, billing address, phone, province) is taken from it, and merge_id is deleted. Both must be the same type. Refused when both are linked to different QuickBooks vendors. QuickBooks isn't changed. Previews by default (shows what would move): pass apply=true to merge. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
keep_idstringYesThe contact to keep
merge_idstringYesThe duplicate, moved onto keep_id and then deleted

merge_events

Fold a duplicate (donor_id) into the one to keep (keep_id): receipts, evidence and bank links move over and the duplicate is archived. If the duplicate is already in QuickBooks, it's removed there first. When the two amounts differ, the preview warns and applying is refused unless allow_amount_mismatch is true. Two currencies are never merged. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
keep_idstringYes
donor_idstringYes
allow_amount_mismatchbooleanNoMerge even though the two amounts differ. Default false.

message_solarium_team

Write to the Solarium team (a question, a heads-up about a transaction). It lands on your conversation with the team, the same one your texts and emails are on, and the team answers there. Previews by default: pass apply=true to send. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
textstringYesWhat to tell the team. Plain words.

move_receipt

Take a receipt off the event it's on (even an ignored one) and attach it to another event, or leave it unmatched (no event_id) so it can be promoted on its own: for two different receipts on one event, or a document stuck on an ignored backup card. If the old event's QuickBooks transaction still has the file, says so (remove it with qbo_remove_attachment). Preview first, then apply. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
receipt_idstringYes
event_idstringNoWhere it goes. Leave out to leave it unmatched.

process_documents

Turn receipt files uploaded on the website (type receipts, still Received) into receipts: each is queued to be read like an emailed receipt and lands with the unmatched receipts within a minute or two, the note kept on it. Pass document_ids (from list_statements) or leave it out for every one waiting. Preview first, then apply. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
document_idsarrayNoDefault: all waiting.

promote_receipts

Promote unmatched receipts to NEEDS_REVIEW events with full enrichment (vendor, rules, dedup, tax). A receipt whose currency only the store address suggests (a US store) is staged in that currency. A card number printed on the receipt that isn't the read account's leaves the card empty. A slip that says the payment was declined is refused. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
receipt_idsarrayYes

push_receipts_to_qbo

Attach an event's receipts to its QuickBooks transaction (skips ones already there). *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes

push_to_qbo

Send a confirmed transaction that never reached QuickBooks. QuickBooks is checked first for the same amount around that date (it may have been entered there by hand); a match refuses unless check_qbo is false. Refuses anything already in QuickBooks or kept in Solarium only. Reads the result back. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
check_qbobooleanNoLook for it in QuickBooks first. Default true.

qbo_remove_attachment

Remove one attachment (like a duplicate PDF) from a QuickBooks transaction. The transaction itself isn't changed. Refuses to remove the last attachment unless allow_last is set. When a Solarium receipt is that file, pass points_to: the attachment still on the transaction that holds the same document. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
entityBill, Purchase, Deposit, JournalEntry, SalesReceipt, VendorCredit, BillPayment, Payment, Invoice, Transfer, CreditCardPaymentTxn, RefundReceipt, CreditMemoYes
qb_idstringYesThe QuickBooks transaction id
attachable_idstringYes
allow_lastbooleanNo
points_tostringNoThe remaining attachment that is the same document as the receipt being removed.

qbo_set_purchase_line_account

Move a synced purchase's expense lines from one QuickBooks account to a category, in QuickBooks: for a line filed under the wrong account there (like an expense account named after a card). Every line is echoed by id and it's read back. Then run resync_event_from_qb so Solarium's lines follow. To change which card or bank paid, use edit_booked_lines with payment_id. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
from_qbo_account_idstringYesThe QuickBooks account id the lines are on now (get_qbo_transaction shows it).
to_category_idstringYesThe Solarium category to move them to.

qbo_set_purchase_tax

Repair a synced purchase whose QuickBooks total doesn't match the books because the sales tax was dropped or rounded differently: put its expense lines on the given QuickBooks tax code so QuickBooks' total and tax equal the books exactly (where QuickBooks' rounding can't land on the books' tax, a cent or two moves to an untaxed line). Every line is echoed by id, and it's read back. Use get_qbo_transaction first to see the lines and tax codes. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
tax_codestringYesQuickBooks tax code name or id, like H or HST ON.
restate_from_booksbooleanNoFor a one-line purchase whose amount in QuickBooks no longer matches the books (the books were corrected): true re-cuts QuickBooks' line to the books' net and tax. Only once the user agrees the books are right.

recategorize_event

Rebook a confirmed event's type and DR/CR lines in place (rebuilds its JE + tax), e.g. income that was really a customer payment. Refused for events already in QuickBooks (void + rebook there instead). It can't change the entry's total: the lines must add up to the amount it already has. To change the amount, use edit_booked_event, or set_event_charged_amount for what the card or bank charged on a foreign-currency one. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
event_typeexpense, fee, fee_rebate, fraud_dispute, income, loan_proceeds, loan_repayment, owner_contribution, owner_draw, personal_holding, refund, tax_payment, transferYes
linesarrayYes
contact_idstringNo
reasonstringYes

recategorize_events

Move many booked transactions to another category at once, in Solarium and QuickBooks. Pick them by event_ids, or by from_category_id (optionally narrowed by vendor and date_from / date_to). The preview lists which would move and which would be refused (e.g. changed in QuickBooks since the last sync). *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
to_category_idstringYes
event_idsarrayNo
from_category_idstringNo
vendorstringNo
date_fromstringNo
date_tostringNo

reconcile_card_statement

Hold a card or bank statement up against the books (read-only). Pass the statement as rows (date, description, amount, is_debit, optional foreign_amount + foreign_currency; without is_debit a negative amount is a credit), or a statement PDF: statement_id from list_statements (or s3_key; a long statement is read in the background after it's uploaded: statement_queued means try again in a few minutes, and statement_reader_stalled means reading isn't running, so tell the Solarium team or pass rows). A PDF reconciled here is kept as a statement from then on, so list_statements shows it. Returns matches, FX corrections (with the set_event_fx to run), lines missing from the books, transactions not on the statement, possible doubles, lines repeated on the statement (each line is used once, so a repeat isn't listed as missing), and foreign-transaction fees. A journal entry with several lines on the account (a month of payouts in one entry) is matched line by line, on the date each line's description starts with (YYYY-MM-DD): its matches show the journal_line they paired with, and an entry only partly paired is listed in partly_matched with its unmatched_lines. *Read-only.*

ArgumentTypeRequiredDescription
account_idstringYesThe card or bank account (see list_categories)
rowsarrayNo
s3_keystringNo
statement_idstringNoA statement from list_statements.
date_fromstringNo
date_tostringNo

record_bill_payment

Pay open vendor bills (all or part) from a bank account or credit card: DR Accounts Payable for each bill / CR the bank or card, never an expense again. Several bills of one vendor can be paid at once (bill_ids): split as given (allocations), else oldest bill first. In QuickBooks it's one Bill Payment with a line per bill, and each bill's balance is read back. Pass source_event_id to use the withdrawal already on the bank feed (bill_payment_matches finds it): that line becomes the payment, so it isn't counted twice. A bill in another currency can be paid from an account in that currency or in the books' currency, and the difference from the bill's rate goes to Exchange Gain or Loss. Refused for more than what's owed, a paid bill, bills of different vendors, or a closed period. Previews by default: pass apply=true to record it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
bill_idstringNoThe bill: its Solarium event id, or its QuickBooks Bill Id.
bill_idsarrayNoSeveral bills of one vendor, paid at once.
allocationsarrayNoWhat to pay on each bill. Default: oldest bill first.
amountstringNoIn the bills' currency. Default: the bank line's amount, else everything owed.
amount_homestringNoA bill in another currency paid from an account in the books' currency: what left the bank, in the books' currency. Default: the bank line's amount, else the day's reference rate.
paid_onstringNoYYYY-MM-DD. Default: the bank line's day, else today.
bank_account_idstringNoThe bank or credit card it was paid from (not needed with source_event_id).
source_event_idstringNoThe bank-feed withdrawal for this payment, still in review. It becomes the payment.
vendorstringNoWho you mean to pay. Refused if it isn't the bills' vendor.
referencestringNoOptional, like a confirmation number.

record_customer_payment

Record a customer paying an invoice: DR bank / CR A/R (that customer). Never touches revenue. Optionally rebooks the bank-feed deposit event for the payment. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
bank_account_idstringYes
ar_account_idstringYes
contact_idstringYes
amountstringYes
txn_datestringYes
referencestringYes
source_event_idstringNoThe bank-feed deposit event (pre-confirm)
allow_overpaymentbooleanNo

record_invoice_payment

Record money received against an invoice (all or part): DR the bank / CR the customer's A/R, never revenue. amount defaults to what's left. Pass source_event_id to use a bank-feed deposit (it's rebooked as this payment). An entry already booked (a customer's payment booked as a transfer, or a deposit already in QuickBooks) becomes the payment in place, never booked twice: its credit goes to this customer's A/R (A/R with no customer is tagged to them; another account is reclassed to A/R, in Solarium only). Same currency, the same or no customer, at most what's owed, and not already another invoice's. method: one of the business's payment methods (invoice_settings: payment_methods). *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
invoice_idstringYes
amountstringNo
paid_onstringNoDefault: the deposit's date, else today
methodetransfer, cheque, ach, zelle, wire, cash, card, bank, otherYesHow it was paid. Each country has its own list (invoice_settings: payment_methods).
bank_account_idstringNoWhere it landed (not needed with source_event_id)
referencestringNo
source_event_idstringNo
amount_homestringNoInvoices in another currency paid into an account in the books' currency: what landed, in the books' currency (e.g. CAD for a USD invoice). Leave it out for an account in the invoice's own currency (a USD account): nothing was converted, so it's valued at that day's rate. Default: amount at that day's reference rate. The difference from the invoice's booked rate goes to Exchange Gain or Loss.
feestringNoInvoices in another currency: a bank fee taken off the payment, in the currency of the bank account it landed in. Booked to Bank Fees & Charges, so only the rate difference goes to Exchange Gain or Loss.

record_tax_payment

Record a payment to the CRA for GST/HST, paid from a bank account. kind 'balance' pays a return's balance (debits GST/HST Payable). kind 'instalment' is an instalment (debits a GST/HST Instalments account, created if missing), shown on line 110 of the sales tax report. If the withdrawal is already on the bank feed, pass its event_id (tax_payment_matches finds it): that line is booked as the payment, so it isn't counted twice. Canadian businesses only. Preview first, then apply. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
amountstringYesWhat was paid, like 1250.00.
paid_onstringNoYYYY-MM-DD: the day it left the bank. Not needed with event_id (the bank line's day).
bank_account_idstringNoThe bank account it was paid from. Not needed with event_id (the bank line's account).
event_idstringNoThe bank-feed withdrawal for this payment, still in review. It becomes the payment.
kindbalance, instalmentNobalance (default) or instalment.
memostringNoOptional, like 'Q3 2026 return'.

reject_event

Set a review item aside (it won't be booked), recording why. Booked items can't be rejected. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
reasonstringYes

remove_bill_payment

Undo a payment recorded with record_bill_payment: what it paid is owed on each bill again. A payment from a bank-feed withdrawal puts the withdrawal back in review as it was. One recorded by hand has its entry voided. In QuickBooks its Bill Payment is deleted and each bill's balance is read back. Refused in a closed period. Previews by default: pass apply=true to remove it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
payment_idstringYesThe payment (record_bill_payment's payment_id), or its entry's event id.

remove_invoice_payment

Undo a payment recorded on an invoice: what it paid is owed again. A payment from a bank-feed deposit puts the deposit back in review, unlinked; one recorded by hand has its entry voided. Refused for a payment already in QuickBooks (delete it there first). This is the only way to change a payment's entry: Transactions won't edit, reject or merge an entry that belongs to an invoice. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
invoice_idstringYes
payment_idstringYes

replace_with_qbo_twin

Replace a needs review event with the copy QuickBooks already has: its receipts move to the imported event, the review event is archived, and the document is pushed to QuickBooks. Finds the twin when not given. Amounts must match unless accept_difference is true: then QuickBooks' amount is kept and the gap is reported. Check the document first (get_receipt) to see which amount is right. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
qbo_event_idstringNo
accept_differencebooleanNoReplace even though the amounts differ, keeping QuickBooks' amount (default false).

report_account_lines

The booked lines behind a report number: every line posted to these accounts in the range, with the transaction (event_id) each came from. Narrow to one vendor (a report_spending_by_vendor key) or one contact (a contact id, or 'none'). Capped at 500 lines (truncated says so). *Read-only.*

ArgumentTypeRequiredDescription
account_idsarrayYesAccount ids to list.
start_datestringNoFirst day, YYYY-MM-DD. Omit for all time.
end_datestringNoLast day, YYYY-MM-DD. Omit for all time.
vendorstringNoA vendor key from report_spending_by_vendor.
contactstringNoA contact id, or 'none' for lines with no contact.
viewall, managementNoall (the default) counts every entry. management leaves out the income and expense of entries marked to leave out of management reports (their sales tax, the balance sheet and QuickBooks stay the same).

report_balance_sheet

Balance sheet as of a date: assets, liabilities and equity by account (net income to date included), optionally side by side with compare_as_of. out_of_balance is zero unless something posted unbalanced. *Read-only.*

ArgumentTypeRequiredDescription
as_ofstringYesThe balance sheet date, YYYY-MM-DD.
compare_as_ofstringNoAn earlier date to compare against.

report_open_balances

Open balances, aged (current, 31-60, 61-90, over 90 days): side=receivable lists customers who owe you, side=payable lists vendors you owe. Each row's key is the contact id for report_account_lines. *Read-only.*

ArgumentTypeRequiredDescription
sidepayable, receivableYesreceivable or payable.
as_ofstringYesAge balances as of this date, YYYY-MM-DD.

report_profit_and_loss

Profit and loss for a date range: income, cost of sales, expenses and other items by account, with gross profit and net income, one column per month or quarter. Amounts are in the org's home currency. Only booked (confirmed or synced) transactions count. Use report_account_lines to see what's behind a number. To compare with an earlier range (this month so far against the same days last month), pass compare_start_date and compare_end_date: the result then has two columns, the compare range first, and totals cover start_date to end_date only. *Read-only.*

ArgumentTypeRequiredDescription
start_datestringYesFirst day, YYYY-MM-DD.
end_datestringYesLast day, YYYY-MM-DD (inclusive).
granularitymonth, quarterNoOne column per month (default) or per quarter.
viewall, managementNoall (the default) counts every entry. management leaves out the income and expense of entries marked to leave out of management reports (their sales tax, the balance sheet and QuickBooks stay the same).
compare_start_datestringNoFirst day of an earlier range to compare, YYYY-MM-DD.
compare_end_datestringNoLast day of the compare range, YYYY-MM-DD (inclusive). Must be before start_date.

report_qbo_account_lines

One QuickBooks account's register between two dates (default the last 30 days): each line's date, type, QuickBooks id, name, memo and amount, and the Solarium event it is (or none, if the books don't have it). Use it next to report_account_lines to find where a bank, card or loan differs. Read only. *Read-only.*

ArgumentTypeRequiredDescription
account_idstringYesThe Solarium account (mapped to QuickBooks): its id, or its first 8+ characters.
sincestringNo
untilstringNo

report_sales_tax

The sales tax report for a period, in the form the org's country files: in Canada the GST/HST return (collected, input tax credits, net owing or refund, filing deadline) plus any PST/QST return; in the US sales tax collected by state; elsewhere tax collected and claimed back by tax. The Canadian return lists the numbered CRA lines in return_lines (101 sales, 103 collected, 105, 106 ITCs, 108, 109 net tax, 110 instalments, 113A balance, negative is a refund), in the org's home currency. Only booked transactions count, and cards not booked yet are reported as a warning. So is a recorded CRA payment whose bank line still sits in review (cra_payments_in_review), since approving that line too would count the payment twice. Part of Essentials: on the Free plan it returns the plan_required error with an upgrade message. *Read-only.*

ArgumentTypeRequiredDescription
start_datestringYesFirst day, YYYY-MM-DD.
end_datestringYesLast day, YYYY-MM-DD (inclusive).

report_spending_by_vendor

Spending by vendor for a date range, one column per month or quarter, largest first. Each vendor's key and the account_ids go to report_account_lines (as vendor and account_ids) to list its transactions. *Read-only.*

ArgumentTypeRequiredDescription
start_datestringYesFirst day, YYYY-MM-DD.
end_datestringYesLast day, YYYY-MM-DD (inclusive).
granularitymonth, quarterNoOne column per month (default) or per quarter.
viewall, managementNoall (the default) counts every entry. management leaves out the income and expense of entries marked to leave out of management reports (their sales tax, the balance sheet and QuickBooks stay the same).

restate_event_fx

Record that a booked (or synced) charge was really in another currency — e.g. 455.50 USD for the 648.27 CAD the card charged — keeping the home-currency amount booked. Nothing in the ledger or QuickBooks changes; only the foreign amount, currency and the card's actual rate are recorded. To change the booked amount too, use the edit drawer. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
original_currencystringYes
original_amountstringYes
charged_amountstringNoOptional check: must equal the booked amount

resync_event_from_qb

Rebuild events from their QuickBooks copy when Solarium has drifted (QuickBooks is only read). Checks the entry balances and moves the bank or card by the QuickBooks total. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idsarrayYes

send_feedback

Tell the Solarium team when you can't do what the user asked with these tools, or something looks wrong: a tool you needed that doesn't exist, a missing field or option, a result that didn't match the books or QuickBooks, an error, or a description that misled you. Say what you were trying to do and what would have helped. It doesn't change the books. Don't include card numbers, passwords or other secrets. *Read-only.*

ArgumentTypeRequiredDescription
kindmissing_tool, wrong_result, error, confusing, otherYes
messagestringYesWhat you were trying to do, what was missing or wrong, and what would have helped.
toolstringNoThe tool it's about, if any.
examplestringNoThe call you made or wanted to make, and what came back.

send_invoice

Send an invoice: it gets its number, its A/R is booked (DR A/R for the customer, CR revenue and tax collected), and the customer is emailed the PDF and a link to view it. Sending an invoice already sent emails it again without booking anything. In QuickBooks it's created as a real invoice once that write is proven; until then it's booked in Solarium only. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
invoice_idstringYes
tostringNoEmails to send to, comma-separated (default: the customer's)
fx_ratestringNoInvoices in another currency: books' currency per 1 of the invoice's (e.g. 1.3684 CAD per USD). Default: the reference rate on the issue date (get_fx_rate names its source). Give one to book at your own rate, or an empty string to go back to the reference rate.

send_year_end_package

Email the year-end package to the business's accountant: one Excel workbook for the fiscal year with a trial balance, profit and loss by month, balance sheet at year end, the general ledger (every account, every line, with a running balance), vendors, receivables and payables, plus a GIFI schedule and the GST/HST return for Canadian businesses. year is the calendar year the fiscal year ends in (default: the latest fiscal year that has ended). Pass to with the accountant's email. Previews by default: it lists the recipient, the year, the sheets and anything that could still change the numbers (transactions in Review, books not closed). Pass apply=true to send. Paid plans only. *Sends an email or text, never changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
yearintegerNoThe calendar year the fiscal year ends in, like 2026. Default: the latest that ended.
tostringNoThe accountant's email (several separated by commas).

set_card_last_four

Record a card number on a card or bank account, then file receipts waiting on that number and fill the payment account on their needs review events. A number already on another account is refused unless reassign is true: then it moves here, its waiting receipts and needs review events move with it, and booked entries still on the other account are listed (move those with edit_booked_lines payment_id). *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
account_idstringYes
last_fourstringYes
reassignbooleanNoMove the number here from the account it's on.

set_event_charged_amount

For a booked transaction in another currency (like 455.50 USD): set what your card or bank actually charged in your home currency. The rate is worked out from the two amounts, the journal lines are re-posted at the new amount, and QuickBooks is updated and read back: the same edit as the transaction drawer. The preview shows the old and new amount, the new rate, the journal lines before and after, and what QuickBooks gets. Refused for a transaction in your home currency (use edit_booked_event), one that belongs to an invoice, one QuickBooks keeps in the other currency, and inside a closed period until the user agrees. For a transaction in QuickBooks, until that QuickBooks update is proven the preview warns and applying is refused. Previews by default: pass apply=true to save it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
charged_amountstringYesWhat the card or bank charged in the home currency, like 648.27.
reasonstringNoWhy it's being changed. Kept on the transaction's notes.
acknowledge_closed_periodbooleanNotrue to edit inside a closed period, once the user has agreed.
overwrite_quickbooksbooleanNoFor a transaction linked to QuickBooks before Solarium kept a sync record: when QuickBooks differs from Solarium (the preview lists how), true writes Solarium's version over it. Use only once the user agrees Solarium is right.

set_event_fx

Say a review item was in another currency: original_currency (e.g. USD), optionally original_amount (the foreign amount, if it differs) and charged_amount (what your card or bank charged in your home currency, which keeps their rate including fees). Without charged_amount the Bank of Canada rate is used. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
original_currencystringYes
original_amountstringNo
charged_amountstringNo

set_event_memo

Set the memo and/or notes on any transaction, booked or not, splits included. No lines are re-posted. Notes stay in Solarium. The memo goes to QuickBooks only with push_to_qbo=true, which sets the memo on the linked QuickBooks transaction (a purchase, bill, journal entry or deposit) and checks it there. Pass an empty string to clear one. Previews by default: pass apply=true to save it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
memostringNoShown on the transaction, like an invoice number.
notesstringNoLonger notes for the team. Never sent to QuickBooks.
push_to_qbobooleanNoAlso set the memo on the linked QuickBooks transaction (default false).

set_event_vendor

Set the vendor (or customer) on one transaction, booked or in review: contact_id for one that exists (list_contacts), or new_vendor_name to use that name (a contact with the name is reused, else one is created). When the transaction is a QuickBooks purchase, its payee there changes too, to the QuickBooks vendor with the same name, and is read back. The preview shows the old and new vendor and what QuickBooks will get. It's refused, with nothing changed, when QuickBooks can't follow: no vendor with that name in QuickBooks. For a kind of purchase (like a credit card one) whose payee change isn't proven yet, the preview warns and applying is refused. Previews by default: pass apply=true to save it. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
event_idstringYes
contact_idstringNoThe vendor or customer to set (list_contacts).
new_vendor_namestringNoA name instead of contact_id. Reuses a contact with that name, else creates one.

set_management_view

Mark transactions to leave out of management reports (exclude=true), or put them back (exclude=false). They stay in the books, sales tax, QuickBooks and every filed number. Only reports run with view=management leave them out. For owner-paid perks or one-offs the owner doesn't want in day-to-day numbers. Changes no amounts. Previews by default: pass apply=true to save it. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idsarrayYesThe transactions.
excludebooleanYestrue leaves them out of management reports.

set_qbo_tax_code

Choose which QuickBooks tax code Solarium sends for one of its tax codes (gst, hst, pst, qst, gst_pst, gst_qst), when a push stops with "No Tax Code We Can Match". Without qb_id it lists the company's QuickBooks tax codes and the choices already made, and changes nothing. With qb_id it saves the choice (clear=true removes it). Previews by default: pass apply=true to save. Then push the entry again. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
tax_codegst, gst_pst, gst_qst, hst, pst, qstNoSolarium's tax code.
qb_idstringNoThe QuickBooks TaxCode Id to send for it.
clearbooleanNoRemove the choice, so the name match is used again.

set_up_business

Create the person's business in Solarium, the same as the Set Up Your Business step on the web: its name, country and province or state, and in Canada how often it files GST/HST. Ask the person rather than guess. It starts on the free trial. Call with apply=false first and show what will be created, then apply=true once they confirm. Afterwards this connection works in the new business and its usual tools appear. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
namestringYesThe business's name, as the person wants it shown.
countrystringNoTwo-letter country code. CA (the default) and US have their own tax rules.
provincestringNoCanada: the province or territory code (ON, BC, QC, AB, MB, SK, NS, NB, NL, PE, YT, NT, NU).
regionstringNoOutside Canada: the state (US two-letter code) or region.
filing_frequencymonthly, quarterly, annualNoCanada: how often it files GST/HST. Most small businesses file quarterly.
business_typesch_c, 1065, 1120, 1120sNoUS only: sole proprietor or single-member LLC (sch_c), partnership (1065), C corporation (1120) or S corporation (1120s).
currencystringNoOutside Canada and the US: the home currency (three-letter code). Defaults to the country's.

setup_stripe

Choose the accounts Stripe's activity lands in, once, after connecting Stripe. Proposes them: a Stripe balance account (like a bank account; created if missing), the sales account charges go to, a fees account (Merchant Fees, created if missing) and the bank Stripe pays out to. Pass any id to choose a different one. start_date is the first day to bring in (default: the first open day). Preview first, then apply. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
stripe_account_idstringNoAn existing account for Stripe's balance.
revenue_account_idstringNoWhere charges go (sales).
fees_account_idstringNoWhere Stripe's fees go.
bank_account_idstringNoThe bank Stripe pays out to.
transfers_account_idstringNoPlatforms using Stripe Connect: where transfers to connected accounts go.
start_datestringNoYYYY-MM-DD: the first day to bring in.
charges_include_taxbooleanNoYour Stripe prices include GST/HST (or your sales tax). Each new charge is then split at your standard rate into sales and tax collected. Off by default: charges come in as sales.

sync_bank_feeds

Bring in new transactions from the bank and card feeds (Plaid) right now, instead of waiting for the nightly sync. Pass feed_id (account_id from list_bank_feeds), or feed (the account's name or last four), to sync one feed. Without either it syncs every connected feed. Accounts at the same bank under one sign-in come in together. It brings in what the bank has already shared with Plaid, adds new transactions to Needs Review, and runs as soon as it's called. Says how many came in per feed, their dates and when each feed last synced, or why it couldn't (the bank needs a new sign-in, it's busy, or the feed is disconnected). Each bank at most once every few minutes. *Read-only.*

ArgumentTypeRequiredDescription
feed_idstringNoThe feed's account_id from list_bank_feeds.
feedstringNoThe feed's account name, or its last four digits.

sync_quickbooks

Bring in what changed in QuickBooks since the last sync (new, changed and voided transactions, and payroll), the same as the nightly sync, right now. It only mirrors what's already in QuickBooks, so it runs as soon as it's called. At most once every few minutes. *Read-only, reaches QuickBooks.*

sync_stripe

Bring the connected Stripe account's activity into Needs Review for whole days (default: from where the last sync stopped, or setup's start date, through yesterday): charges as sales (gross, or split into sales and tax when setup_stripe says charges include tax), Stripe's fees with their sales tax as a credit, refunds, disputes and their fees, and payouts matched to the deposit already on the bank feed. Nothing is added twice and nothing posts until it's approved, so it runs as soon as it's called. If Stripe and the books don't agree, it says so and those transactions carry a note to check them before approving. *Read-only.*

ArgumentTypeRequiredDescription
start_datestringNoYYYY-MM-DD (UTC day).
end_datestringNoYYYY-MM-DD (UTC day), at the latest yesterday.

tax_payment_matches

Bank-feed withdrawals still in review that could be a CRA GST/HST payment: the same amount, within 10 days of paid_on, and a description like CRA, Receiver General, GST, or GOVT and TAX. Closest day first. Pass one's event_id to record_tax_payment so the payment isn't counted twice. Read only. *Read-only.*

ArgumentTypeRequiredDescription
amountstringYesWhat was paid, like 1250.00.
paid_onstringYesYYYY-MM-DD: about when it left the bank.

test_send_invoice

Send yourself a test of an invoice (draft or sent): the exact email and PDF the customer gets, with [Test] on the subject, a banner saying the customer didn't get it, and the PDF stamped TEST. to is one address (default: yours). Nothing else changes: no number is used, nothing is booked, the status, sent date and reminders stay as they are, and its view link is a 7-day preview that never counts as the customer viewing it. Up to 10 a day per invoice. *Sends an email or text, never changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
invoice_idstringYes
tostringNoOne email to send the test to (default: yours)

unmapped_card_numbers

List card numbers read off receipts that belong to no payment account (read-only). *Read-only.*

ArgumentTypeRequiredDescription
since_daysintegerNo

update_category

Rename a category, and/or set its QuickBooks subtype from its tax code (fix_subtype), in Solarium and QuickBooks together — so the nightly sync doesn't change it back. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
account_idstringYes
namestringNo
fix_subtypebooleanNo

update_contact

Change a customer or vendor: its name, a customer's legal name, the person their invoices are marked for (contact_name, printed as Attn:), billing address, emails, phone or province. Only what's passed changes; an empty string clears a field. email takes one or more addresses, comma-separated: a customer's invoices go to all of them. Renaming to a name another contact of the same type already has is refused (merge them with merge_contacts). QuickBooks isn't changed. Previews by default: pass apply=true to save. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
contact_idstringYes
namestringNoAs it should appear on reports and invoices
emailstringNoOne or more emails, comma-separated. Empty string clears
phonestringNo
regionstringNoThe province of their address (NS, Nova Scotia). Empty string clears it
legal_namestringNoA customer's legal name, printed on their invoices (blank: the name). Empty string clears it
contact_namestringNoThe person invoices are marked for ("Attn: Priya Raman"). Empty string clears it
billing_addressstringNoTheir billing address, one line per line. Printed on their invoices. Empty string clears it

update_invoice

Change a draft invoice: its customer, the customer's province (customer_region), lines, dates, terms, notes, number or trade name. To change the customer, pass contact_id, or customer_name matching an existing customer's name or legal name exactly (any case). A name that matches no customer is refused, never added: add them with create_contact first. A new customer, province or issue date works the tax out again. A sent invoice with nothing paid (sent, viewed or overdue) can change its issue_date alone: the number stays, the due date follows its terms, tax is worked out again if a rate changed between the dates, and its A/R entry moves to the new date. In another currency it's booked at the reference rate for the new date (pass fx_rate to use your own). Refused for a partly paid, paid or void invoice, a date in a closed period, and an invoice in QuickBooks (change it there first). Nothing is emailed. Anything else on a sent invoice can't change; void it and make a new one. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
invoice_idstringYes
contact_idstringNo
customer_namestringNoAn existing customer's name or legal name, exact (any case). Never adds one
customer_emailstringNoOne or more emails, comma-separated
customer_regionstringNoThe customer's province, as a code like NS or its name. Saved on the customer. Tax follows it: a Nova Scotia customer pays Nova Scotia HST, and a customer in a GST-only province pays GST alone. Empty string: unknown, taxed at your own province's rates.
linesarrayNo
issue_datestringNo
terms_daysintegerNo
due_datestringNo
notesstringNo
numberstringNo
reminders_enabledbooleanNo
currencystringNo
fx_ratestringNoInvoices in another currency: books' currency per 1 of the invoice's (e.g. 1.3684 CAD per USD). Default: the reference rate on the issue date (get_fx_rate names its source). Give one to book at your own rate, or an empty string to go back to the reference rate.
trade_namestringNoThe trade name this invoice leads with, instead of the one in invoice_settings. Use it when one legal entity runs more than one business. An empty string prints no trade name, just the legal name. Default: the invoice settings' trade name
use_default_trade_namebooleanNoTrue puts the invoice back on the invoice settings' trade name. Don't pass it with trade_name

upload_document

Add a receipt, bill or invoice the user shares (PDF, JPEG, PNG, HEIC or WebP, up to 15 MB). It's read like a receipt emailed to Solarium and lands in review as a draft, matched to its transaction when one exists. A spreadsheet (CSV or XLSX, like a Shopify or Stripe export) is kept as a document for the team and isn't read as a receipt. Book a Stripe balance export with import_stripe_balance, and bring Wave's accounting export, trial balance and receipts ZIP in with import_wave (pass each document_id). For a bank or card statement pass kind=statement: it's stored (PDF only, account_id optional) without being read as a receipt, list_statements shows it, and reconcile_card_statement takes its statement_id. Pass the file as content_base64, or url (a public https link), or file (an attached file), or gmail_message_id (a message in the business's connected Gmail: its attachments are added, or with none the email itself as a PDF). Pass event_id to attach it to that transaction in the same step (and to QuickBooks when the transaction is there). Previews by default: pass apply=true to add it. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
filenamestringNoThe file's name, like receipt.pdf. Not needed with gmail_message_id.
gmail_message_idstringNoA Gmail message id, when the business has Gmail connected. Instead of a file.
content_base64stringNoThe file's bytes, base64 encoded.
urlstringNoA public https link to the file.
fileobjectNoAn attached file.
notestringNoAnything to remember about it, kept on the receipt.
event_idstringNoA transaction to attach it to, from list_events.
kindreceipt, statementNoDefault receipt.
account_idstringNoFor a statement: the card or bank it's for.

void_gone_from_qbo

Void a synced transaction whose QuickBooks copy was deleted or voided there (audit_qbo_totals lists them as gone from QuickBooks), so the books stop counting it. QuickBooks is checked first and isn't written. *Changes your books (previews unless apply is true).*

ArgumentTypeRequiredDescription
event_idstringYes
reasonstringYes

void_invoice

Void an invoice: its A/R booking leaves the books (refused while it has payments: remove them first with remove_invoice_payment). The number stays used. *Changes your books (previews unless apply is true), reaches QuickBooks.*

ArgumentTypeRequiredDescription
invoice_idstringYes
reasonstringNo

Example

Request
# Claude Code
claude mcp add --transport http solarium https://mcp.trysolarium.com/mcp

# What your AI app sends (JSON-RPC over POST https://mcp.trysolarium.com/mcp)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "report_profit_and_loss",
    "arguments": { "start_date": "2026-01-01", "end_date": "2026-09-30", "granularity": "quarter" }
  }
}
Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "isError": false,
    "structuredContent": {
      "op": "report_profit_and_loss",
      "applied": false,
      "summary": "Net Income 41250.18 CAD (2026-01-01 To 2026-09-30).",
      "data": { "periods": ["…"], "sections": ["…"], "net_income": { "total": "41250.18" } }
    }
  }
}