Skip to content
AISpendbook

Start here

For finance

What AI Spendbook gives finance, the order to set it up without code, and the one step to hand to engineering.

This page is for finance. You can set up almost everything without code. The one step that needs an engineer is the one that tells AI Spendbook which customer and feature each AI request was for.

What you get

  • Each provider's billed cost by day, kept apart from estimates. Days with no bill yet are carried as an accrual.
  • A month-end close with a readiness checklist, a variance queue, a sign-off and a locked snapshot.
  • AI spend allocated to customers next to their revenue in customer margin.
  • Credit and prepaid balances, commitments, and list, effective and cash cost in credits and commitments.
  • Spend split into accounting classes by your rules, with a journal of billed, accrued and prepaid lines and an optional reversing entry, in accounting. Download it in your ERP's layout or post it to NetSuite, QuickBooks Online, Xero, Sage Intacct or Business Central (journal and ERP posting).
  • Maker-checker sign-off, materiality, a close calendar, invoice tie-out and a hash-chained audit log in close controls, and a monthly board pack as PDF or PowerPoint.
  • CSV and Excel on every finance page, Google Sheets feeds and scheduled emails in exports and feeds; phased budgets with budget vs actual in budget plans.
  • Forecasts and decisions kept as made and scored later in the decision record. Deal tests in deal pricing, customer statements in client statements, and seat costs in employee AI tools.

Set it up in this order

  1. Billing connectors. In Integrations, connect each provider you pay: Anthropic, OpenAI, Google Gemini, OpenRouter and the inference providers, or the AWS and Azure billing exports. Each provider is its own connection. Most need an admin key from someone who administers that provider account.
  2. CSV imports. For a provider without a connector, choose Import a file on Integrations and upload its costs or monthly invoices. See CSV imports.
  3. Revenue. Connect Stripe with a restricted key, or import a Customer revenue CSV. Revenue is matched to spend by customer id.
  4. Commitments and credits. On Credits & commitments, choose Add grant for each credit, prepaid balance and commitment in your provider contracts.
  5. Accounting rules. On Accounting, add rules that place features, projects or customers into classes (or start from a template), and set the expense, accounts payable and accrued liabilities accounts.

Connecting sources needs the admin role. Grants, rules, account codes, budgets and the close can also be handled by a finance editor. The full table is on the permissions page.

The step to hand to an engineer

Billing data says what you paid each provider, not which customer or feature it was for. That comes from your app, or from mapping provider projects and API keys to customers (attribution and coverage). Use Send setup steps to my engineer on a connector card, or send them the Quickstart or the guide for their stack: Next.js, FastAPI, LiteLLM or the OpenTelemetry Collector. If the app already logs AI calls in a database, they can map that table instead (Supabase and Postgres, Firestore). Until then, spend shows as unallocated in customer margin and goes to the default class in accounting.

Every month

Follow month-end for finance: connect, commitments, revenue, rules, review, tie-out and sign-off.