All integrations

Dinero

Read Danish bookkeeping data — contacts, invoices, products, and posted entries from Dinero.

OAuth 18 tools

Overview

Connect Dinero to give AI clients read access to Danish bookkeeping data: organizations, contacts, sales invoices, products, posted entries, bank reconciliation balances, and VAT period countdowns.

Prerequisites

  • A Dinero account with Pro on the organization you want to connect
  • A stackgate.ai account
  • Use the same Visma/Dinero login when authorizing as the account that owns the organization

Getting credentials

  1. Sign in to stackgate.ai.
  2. Go to My Integrations and open Dinero.
  3. Click Connect Dinero and approve the Visma Connect prompt.
  4. Choose your default organization on the next screen (only Pro organizations can be selected).
  5. stackgate.ai stores your OAuth tokens securely — no manual API keys required.

If you manage multiple companies, pick one default organization here. AI clients can override it per request with organization_id, or you can change the default later from My Integrations.

Using with AI clients

  • Dedicated endpoint: POST /mcp/dinero with a Sanctum bearer token
  • Private gateway: one config for all integrations — use dinero__* namespaced tools

See Documentation for HTTP authentication and private gateway setup.

Troubleshooting

  • 422 integration not configured — complete the OAuth connect flow and choose a default organization in My Integrations.
  • Visma Connect error during login — in the Visma Developer Portal, verify: redirect URI exactly matches https://your-hub-domain/oauth/dinero/callback, OpenID Connect is off, Offline Access is enabled, Dinero Read scopes are approved, and team country is Denmark. Paste the Visma error ID into More → Debugger in the portal for details.
  • 401 / token expired — disconnect and reconnect Dinero from the integration page.
  • 403 forbidden — the organization likely needs a Dinero Pro subscription, or your user lacks access to that organization.
  • 429 rate limit — Dinero allows 100 requests per minute per organization. Wait a few seconds before retrying.
  • Wrong organization — use list-organizations-tool to discover IDs, pass organization_id on tools, or change the default in My Integrations.

Available tools

  • list-organizations-tool

    List Dinero organizations accessible to the connected user, including Pro subscription status.

  • get-organization-tool

    Get one Dinero organization by ID, including Pro subscription status.

  • list-accounting-years-tool

    List accounting years for a Dinero organization. Use the returned name with report tools.

  • get-result-report-tool

    Get the result report (resultatopgørelse / P&L) for an accounting year from the Dinero OAuth API.

  • get-saldo-balance-report-tool

    Get the saldo balance report (saldobalance) for an accounting year — all accounts with year totals.

  • get-balance-report-tool

    Get the balance sheet report (balance) for an accounting year from the Dinero OAuth API.

  • list-contacts-tool

    List contacts (customers and suppliers) for a Dinero organization.

  • get-contact-tool

    Get one Dinero contact by GUID.

  • list-invoices-tool

    List sales invoices for a Dinero organization.

  • get-invoice-tool

    Get one Dinero sales invoice by GUID.

  • list-products-tool

    List products from the Dinero product catalog for an organization.

  • get-product-tool

    Get one Dinero product by GUID.

  • list-entries-tool

    List posted bookkeeping entries for a Dinero organization within a date range.

  • get-bank-reconciliation-balance-tool

    Get booked bank account balances from deposit accounts and posted entries for the current accounting year.

  • get-vat-period-countdown-tool

    Get the VAT (moms) period countdown from Dinero: current period, filing deadline, and days remaining.

  • get-vat-settlement-frequency-tool

    Get the VAT (moms) settlement frequency inferred from moms payment entries (monthly, quarterly, or semi-annual).

  • get-monthly-results-tool

    Get monthly revenue, expenses, and profit computed from posted entries for a calendar month.

  • get-yearly-performance-tool

    Get yearly financial performance from the OAuth API result report: revenue, expenses, profit, and comparison to the previous accounting year.

MCP endpoint: https://stackgate.ai/mcp/dinero (HTTP) or via the private gateway.