Mobile Accounting

Your books in your AI assistant: draft expenses, bills, invoices, estimates; ask about P&L, tax.

使うべきか

品質と安全性

A
説明の品質
97%
スキーマの完全性
92%
命名の品質
88%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(4)

  • LOWTool 'check_tax_exemption' description lacks action verbcheck_tax_exemption 内
  • LOWTool 'exempt_sales' description lacks action verbexempt_sales 内
  • LOWTool 'sales_by_customer' description lacks action verbsales_by_customer 内
  • LOWTool 'cash_flow' description lacks action verbcash_flow 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~14,807トークン数(ツール定義)
~1.9 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 11.57%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.mobileaccounting.com"
    }
  }
}

リモートエンドポイント

https://mcp.mobileaccounting.comstreamable-http

できること

ツール一覧

ツール(52)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢find_contacts(bookId, name, kind)

Customers and vendors (suppliers) in one set of books, optionally by part of the name, each with its e-mail and postal address. Use it to pick the right one before a draft, or before update_contact.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "name": {
      "description": "Part of the name.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "kind": {
      "description": "CUSTOMER or SUPPLIER (vendor); empty for both.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢find_estimates(bookId, estimateId, status, type, take)

Estimates and quotes in one set of books, newest first: customer, total, valid-until date, and status (draft, sent, expired, accepted, declined, converted into an invoice, void). Give estimateId for one, with its lines.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "estimateId": {
      "description": "One estimate's id, for its lines and full status.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "status": {
      "description": "DRAFT, SENT, OPEN (sent, still valid), EXPIRED, ACCEPTED, DECLINED, CONVERTED or VOID.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "type": {
      "description": "ESTIMATE or QUOTE.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "take": {
      "description": "How many (1-200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢get_installment_plan(documentId, bookId)

The installment plan of one posted invoice or bill: what it still owed when the plan was set up (total), split into dated installments. How often (frequencyCode): WEEKLY, BIWEEKLY, SEMIMONTHLY (twice a month, on semiMonthlyDays), MONTHLY, BIMONTHLY, QUARTERLY, SEMIANNUAL, YEARLY or CUSTOM (dates and amounts typed by the user). Each installment has its date, amount, what is paid of it, what is still open and its status: PAID, PARTLY_PAID, UPCOMING, DUE_TODAY or OVERDUE (daysPastDue). Payments of any kind count toward the oldest installments first. Also the next installment, what is due now, the plan's status (ACTIVE, PAUSED, COMPLETED, CANCELLED) and how it is collected: an invoice by charging the client's card on file (CARD_ON_FILE), through its pay link (PAY_LINK) or by the business itself (MANUAL); a bill by an AUTOPAY the bank or supplier takes and the books record on each date (from paidFromCode or moneyAccountId), or by hand (MANUAL). reminders says the reminder days and whether the books' plan sends them (available=false with reasonCode PLAN_REQUIRED). plan is null when the document has none; canCreate and reasonCode then say whether one can be set up. This only reads: the user sets up, changes, pauses, resumes or cancels a plan, and asks the client for a card, in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "documentId": {
      "description": "The invoice or bill id, from find_documents or upcoming_installments.",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "documentId"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢sales_tax_returns(bookId)

The sales tax returns the books are registered to file (GST/HST, QST, BC, Saskatchewan and Manitoba PST, US states) and every reporting period with its due date and status: NOT_ENDED, OPEN, DUE (within 14 days), OVERDUE, FILED or PAID. Soonest due first. Use the registration id and periodStart with sales_tax_return_worksheet.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢find_purchase_orders(bookId, status, take)

Purchase orders to suppliers in one set of books, newest first: number, supplier, status (DRAFT, SENT, PARTLY_RECEIVED, RECEIVED, BILLED, CLOSED, CANCELLED), total, expected date, how much has arrived, and whether a bill differs from the order. status=OPEN lists the orders still waiting on the supplier or on their bill.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "status": {
      "description": "OPEN, DRAFT, SENT, PARTLY_RECEIVED, RECEIVED, BILLED, CLOSED or CANCELLED.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "take": {
      "description": "How many (1-200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢budget_vs_actual(bookId, period, from, to, breakdown, ...)

The books' budget against posted income and expenses for a period (default this fiscal year to date): budget, actual, difference (actual minus budget) and percent of budget per category. breakdown=month or quarter adds a set of columns per fiscal month or quarter. Uses each fiscal year's active budget unless budgetId names one (list_budgets). A month the period covers only in part has its budget prorated by days: say it is an estimate when you quote it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "breakdown": {
      "description": "total (default), month or quarter.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "budgetId": {
      "description": "One budget version (an id from list_budgets); the active budget when left out.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢upcoming_installments(bookId, kind, from, to)

The installments of every live installment plan in one set of books, oldest first, in a date range (default: 30 days ago to 90 days ahead): money coming in (kind INVOICE) and going out (kind BILL). Each row names the invoice or bill (documentId, documentNumber, partyDisplayName), installment n of installmentCount, its date, amount and what is still open, its status (PAID, PARTLY_PAID, UPCOMING, DUE_TODAY or OVERDUE with daysPastDue), how it is collected (CARD_ON_FILE, PAY_LINK, AUTOPAY or MANUAL) and whether the plan is ACTIVE or PAUSED. asOf is the books' today. Use it for questions like "which installments are due this month" or "which clients are behind on their plan". This only reads.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "kind": {
      "description": "INVOICE (money coming in) or BILL (money going out); both when empty.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "From this installment date, yyyy-MM-dd (default: 30 days ago).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "To this installment date, yyyy-MM-dd (default: 90 days ahead).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
⚪log_time(hours, bookId, date, customer, customerId, ...)

Records time the person worked: the day, hours, the customer (by its exact name, or id), optionally the project (code) and the service (name) it was for, a rate when the service has none, a note, and whether it is billable. It is the person's own time. Nothing is posted or billed; the person bills it later from Mobile Accounting (or with bill_time).

入力スキーマ

{
  "type": "object",
  "properties": {
    "hours": {
      "description": "Hours worked, for example 1.5 (at most 24).",
      "type": "number"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The day, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customer": {
      "description": "The customer, by its exact name as in find_contacts.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customerId": {
      "description": "Or the customer id.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "project": {
      "description": "A project code of the books (optional).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "service": {
      "description": "A service name of the books (optional; its rate applies).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "rate": {
      "description": "The hourly rate, when the service has none.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    },
    "note": {
      "description": "What was done.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "billable": {
      "description": "false for internal, non-billable time (no customer needed). Default true.",
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "hours"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢journal_entries(bookId, period, from, to, account, ...)

The journal for a period: every entry in the books (invoices, bills, expenses, payroll, bank, manual journals...), each with its date, number and its debit and credit lines by account. Use it to review past entries, or to copy or reverse one with record_journal_entry. Payroll detail is summed per month when the person may not see payroll.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "account": {
      "description": "An account by its code or name, as account_balances lists them (for example 1000 or \"Office supplies\"); empty for every account. Only the entries that touch it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "accountType": {
      "description": "Only accounts of one type: ASSET, LIABILITY, EQUITY, INCOME or EXPENSE (for example EXPENSE for every expense account); empty for every type.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢profit_and_loss(bookId, period, from, to, compare, ...)

Profit and loss (income statement) for any period: income, expenses by category and net income. Compare with another period: compare=previous-period or previous-year, or any period with compareFrom and compareTo. breakdown=month or quarter splits the period into columns.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "compare": {
      "description": "previous-period or previous-year.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "compareFrom": {
      "description": "Start of any other period to compare with, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "compareTo": {
      "description": "End of that period, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "breakdown": {
      "description": "total (default), month or quarter.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟡create_estimate(customer, lines, bookId, estimateType, date, ...)

Prepares an estimate (or, with estimateType QUOTE, a fixed-price quote) for a customer as a draft: customer, date, valid-until date, lines with amounts, and taxes. A new customer name is added to the books. It is NOT sent: the user reviews it and sends it from Mobile Accounting; once the customer accepts, it becomes an invoice there. It is created as a DRAFT: nothing is posted, paid or sent. Tell the user it is waiting for them in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "customer": {
      "description": "The customer, by name (find_contacts lists the existing ones).",
      "type": "string"
    },
    "lines": {
      "description": "The work or goods being priced, before tax.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "description": "What it was for (for example \"Printer paper\").",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The amount before tax, positive.",
            "type": "number"
          },
          "categoryId": {
            "description": "A category id from list_categories (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "category": {
            "description": "Or a category name, matched exactly (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "description",
          "amount"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "estimateType": {
      "description": "ESTIMATE (the price may change, the default) or QUOTE (a fixed price).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The estimate date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "validUntil": {
      "description": "Valid until, yyyy-MM-dd (default 30 days after the date).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "taxes": {
      "description": "Each tax to charge (GST, HST, PST, sales tax...).",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "label": {
            "description": "The tax as printed (GST, HST, PST, QST, VAT, sales tax...).",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The tax amount.",
            "type": "number"
          }
        },
        "required": [
          "label",
          "amount"
        ]
      },
      "default": null
    },
    "total": {
      "description": "The expected total, to check the lines and taxes add up.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "The business's own estimate number or a reference.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "Terms or a note the customer reads on the estimate.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "customer",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢tax_exemption_forms(bookId, jurisdiction)

The sales tax exemption and resale certificate types Mobile Accounting knows (B.C., Saskatchewan and Manitoba PST, Quebec QST, GST/HST relief, US states, the Streamlined (SST) and MTC multistate forms): form number and revision, official link, reasons, and which states take a multistate form. Filter by jurisdiction (CA-BC, US-TX).

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "jurisdiction": {
      "description": "A province or state code such as CA-BC, CA-QC or US-TX; empty for all.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢customer_statement(customerId, bookId, period, from, to)

A customer's statement of account for a period: their invoices, credits and payments, the balance due and its aging. Without a customer, every customer with activity. It only reads: nothing is sent to the customer.

入力スキーマ

{
  "type": "object",
  "properties": {
    "customerId": {
      "description": "The customer's id, from find_contacts; empty for every customer with activity.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢general_ledger(bookId, period, from, to, account, ...)

The general ledger for a period: each account's transactions with a running balance, between its opening and closing balances. Give an account (code or name) to see one account, for example what went through the bank account or an expense category in a month; without it every account with activity is listed, which is large for a long period. Payroll detail is summed per month when the person may not see payroll.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "account": {
      "description": "An account by its code or name, as account_balances lists them (for example 1000 or \"Office supplies\"); empty for every account.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "accountType": {
      "description": "Only accounts of one type: ASSET, LIABILITY, EQUITY, INCOME or EXPENSE (for example EXPENSE for every expense account); empty for every type.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢insights(bookId)

Mia insights: things in the books worth a look, found by fixed rules from records already in the books: spending in a category or with a supplier well above its usual level, a monthly charge whose price went up or that was charged twice, likely duplicate bills or expenses, expenses with no receipt above the owner's threshold, customers paying later than they used to, and bank lines left unsorted. Each insight has a plain-English headline, the figures behind it and the records it is about (kindCode DOCUMENT, ENTRY or BANK_LINE with their ids). Most pressing first; dismissed and snoozed ones are left out. These are suggestions to look at, not advice: say so when you pass them on, and never say a record is wrong, only that it may be worth checking.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢unbilled_time(bookId, customerId)

Billable time that is not on an invoice yet, per customer: entries, hours, amount, entries without a rate, first and last day. With customerId, that customer's entries too. Only for a person who manages time in these books.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customerId": {
      "description": "A customer id, to list that customer's unbilled entries.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🔴update_contact(contactId, name, bookId, email, address)

Corrects one customer's or vendor's (supplier's) name, e-mail and postal address in a set of books. It replaces all three: pass the current values (from find_contacts) for what should stay, and an empty e-mail or address to remove it. The address is free text, one line per address line (at most 500 characters). Owners and employees are not changed here. Confirm the change with the user first. Nothing is posted or sent.

入力スキーマ

{
  "type": "object",
  "properties": {
    "contactId": {
      "description": "The contact's id, from find_contacts.",
      "type": "string"
    },
    "name": {
      "description": "The name (required, at most 200 characters).",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "email": {
      "description": "The e-mail address; empty removes it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "address": {
      "description": "The postal address, lines separated by line breaks; empty removes it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "contactId",
    "name"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢sales_tax_return_worksheet(registrationId, periodStart, bookId)

One period's sales tax return laid out by the lines of the real form (GST34 lines 101 to 115, BC PST boxes A to K, CDTFA-401 lines, ...), with the books' figures, the commission or vendor discount, local tax by jurisdiction, exempt sales by reason (exemptByReason: the exemption certificate's reasonCode and reasonText, NOT_SPECIFIED for untaxed sales no certificate covers) and what the return comes to (netAmount: owing when positive, a refund when negative). It is an estimate to copy onto the form, not tax advice: say so when you quote it. Filing and paying are done in Mobile Accounting by a person.

入力スキーマ

{
  "type": "object",
  "properties": {
    "registrationId": {
      "description": "The registration id, from sales_tax_returns.",
      "type": "string"
    },
    "periodStart": {
      "description": "The period's first day, yyyy-MM-dd, from sales_tax_returns.",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "registrationId",
    "periodStart"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢sales_tax_claims(bookId, claimId)

Refund claims of sales tax (tax paid in error, bad debts written off, goods returned or resold): their status and tax. With claimId: one claim laid out for the authority, with its documents, the supporting papers to send, the form or return line it goes on and its deadline.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "claimId": {
      "description": "One claim's id, from this tool's list.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢list_time(bookId, from, to, customerId, status)

Time entries in one set of books for a period (default this week): who, day, hours, customer, project, service, rate, amount and whether each is billed, unbilled or not billable, with totals. The person sees their own time, or everyone's when they manage time in these books.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "From this day, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "To this day, yyyy-MM-dd (at most 370 days after from).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customerId": {
      "description": "Only this customer's time: a customer id from find_contacts.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "status": {
      "description": "UNBILLED, BILLED or NON_BILLABLE.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢balance_sheet(bookId, asOf, compare)

Balance sheet (assets, liabilities, equity) as of a date, optionally next to a year or a month earlier.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "asOf": {
      "description": "As of this date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "compare": {
      "description": "none, previous-year or previous-period.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟡create_invoice(customer, lines, bookId, date, dueDate, ...)

Prepares an invoice to a customer as a draft: customer, date, due date, lines with amounts, and taxes. A new customer name is added to the books. It is NOT sent: the user reviews it, then posts and sends it from Mobile Accounting. It is created as a DRAFT: nothing is posted, paid or sent. Tell the user it is waiting for them in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "customer": {
      "description": "The customer, by name (find_contacts lists the existing ones).",
      "type": "string"
    },
    "lines": {
      "description": "What is being invoiced, before tax.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "description": "What it was for (for example \"Printer paper\").",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The amount before tax, positive.",
            "type": "number"
          },
          "categoryId": {
            "description": "A category id from list_categories (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "category": {
            "description": "Or a category name, matched exactly (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "description",
          "amount"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The invoice date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "dueDate": {
      "description": "When payment is due, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "taxes": {
      "description": "Each tax to charge (GST, HST, PST, sales tax...).",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "label": {
            "description": "The tax as printed (GST, HST, PST, QST, VAT, sales tax...).",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The tax amount.",
            "type": "number"
          }
        },
        "required": [
          "label",
          "amount"
        ]
      },
      "default": null
    },
    "total": {
      "description": "The expected total, to check the lines and taxes add up.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "A purchase order or reference.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "A note for the person who reviews it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "customer",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢account_balances(bookId, asOf, from, to)

The balance of every account (bank, cards, receivables, payables, income, expenses...) as of a date (a trial balance). With from and to it shows the opening balance, debits, credits and closing balance for that period.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "asOf": {
      "description": "As of this date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date for movements, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date for movements, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
⚪draft_budget(bookId, fiscalYear, name, from, sourceBudgetId, ...)

Prepares a budget version for a fiscal year as a DRAFT: from last year's actuals, from another budget (list_budgets), or empty, optionally changed by a percentage. It is never made the year's active budget here: tell the user it is waiting for them in Mobile Accounting, where they review it and make it active. The user must be allowed to keep the books' budgets.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fiscalYear": {
      "description": "The fiscal year (named by the year it ends in); default the current one.",
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "name": {
      "description": "A name for the version, up to 60 characters (default: Budget).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "last-year-actuals (default), copy-budget or empty.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "sourceBudgetId": {
      "description": "With copy-budget: the budget to copy, from list_budgets.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "percentChange": {
      "description": "A change to apply, in percent: 5 = 5% more, -10 = 10% less.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢cash_forecast(bookId)

An estimate of cash for the next 30, 60 and 90 days, from records already in the books: today's cash and bank balance, plus open invoices by due date, minus open bills, recurring expenses and loan payments. It lists the next expected movements too, and lowCash: the first day projected cash falls below the owner's floor (or below zero when none is set), with the lowest point. Not a prediction of new sales or new spending: say so when you quote it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢month_end_checklist(bookId, month)

What is still open in a month before it is locked: expenses waiting to be sorted, bank lines not recorded, card fee reviews, accounts not reconciled, drafts, scheduled entries that did not post, and expenses with no receipt. It also says whether the month has ended and whether it is locked. It only counts: locking the month is done by a person in Mobile Accounting.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "month": {
      "description": "The month, yyyy-MM. Leave empty for the month after the lock date, or last month when nothing is locked.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢unpaid_bills(bookId, asOf, aging, vendorId)

What the business owes vendors: every open bill with its due date, days overdue and open amount. aging=true gives the aging buckets per vendor.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "asOf": {
      "description": "As of this date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "aging": {
      "description": "true for the aging buckets.",
      "type": "boolean",
      "default": false
    },
    "vendorId": {
      "description": "Only this vendor (a contact id from find_contacts).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
⚪draft_purchase_order(supplier, lines, bookId, orderedOn, expectedOn, ...)

Prepares a purchase order to a supplier as a DRAFT: supplier, order and expected dates, ship-to, and lines (a stock item by SKU, or free text) with quantities and agreed unit prices before tax. A new supplier name is added to the books. It is NOT sent to the supplier: the user reviews it, then sends it from Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "supplier": {
      "description": "The supplier, by name (find_contacts lists the existing ones).",
      "type": "string"
    },
    "lines": {
      "description": "What is ordered.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "The stock item's SKU in these books (get_on_order lists them), or empty for a free-text line.",
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "description": "What is ordered (required for a free-text line; a stock item's name is the default).",
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "description": "How many, positive (up to 6 decimals).",
            "type": "number"
          },
          "unitPrice": {
            "description": "The agreed price per unit, before tax.",
            "type": "number"
          },
          "supplierSku": {
            "description": "The supplier's own code for the item (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "categoryId": {
            "description": "A category id from list_categories for a free-text line (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "sku",
          "description",
          "quantity",
          "unitPrice"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "orderedOn": {
      "description": "The order date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "expectedOn": {
      "description": "When the goods should arrive, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "shipTo": {
      "description": "Where the goods go (address text).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "The business's own order number (optional).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own (stock items are ordered in the books' own currency only).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "A note printed on the order.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "supplier",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢get_on_order(bookId)

Per stock item: the SKU, the quantity on hand, the quantity on order (sent to suppliers and not received yet), what drafts hold, and the next expected delivery date. Use it before drafting an order so nothing is ordered twice.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢get_purchase_order(purchaseOrderId, bookId)

One purchase order with its lines (ordered, received, billed and still open per line), its deliveries, the supplier bills made from it, and the three-way check (matchStatus MATCHED or DIFFERS, with each line's flags). Also a link to open it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "purchaseOrderId": {
      "description": "The order id, from find_purchase_orders or draft_purchase_order.",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "purchaseOrderId"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢sales_tax_report(bookId, period, from, to)

Sales tax (GST/HST, PST, VAT, US state and local) by tax and jurisdiction for a period: owed at the start, collected, refunded, paid or adjusted, and owed at the end.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢spending(bookId, period, from, to, by)

Where the money went in a period: spending by category (expense account) or by vendor, with each one's share.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "by": {
      "description": "category (default) or vendor.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
⚪bill_time(bookId, customer, customerId, through, groupBy)

Turns a customer's unbilled time into a DRAFT invoice: one line per entry, or one per service (groupBy SERVICE), optionally only time up to a day. The time is marked billed on it; voiding the invoice or deleting the draft frees the time again. Nothing is posted or sent: tell the user the draft is waiting for them in Mobile Accounting (openInApp). Only for a person who manages time.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customer": {
      "description": "The customer, by its exact name.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customerId": {
      "description": "Or the customer id (from unbilled_time).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "through": {
      "description": "Bill only time up to this day, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "groupBy": {
      "description": "ENTRY (one line per entry, default) or SERVICE (one line per service and rate).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢list_budgets(bookId, fiscalYear)

The books' budget versions, newest fiscal year first: name, fiscal year, whether it is the year's active budget, budgeted income and expenses for the year, and the alert threshold.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fiscalYear": {
      "description": "Only this fiscal year (named by the year it ends in, e.g. 2027).",
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢check_tax_exemption(contactId, bookId, kind, jurisdiction, on)

Whether an invoice to a customer (or a bill from a supplier) would be exempt from sales tax in a jurisdiction on a date, under the certificates on file: which certificate, reason, the wording for the invoice, and which tax lines it should not charge.

入力スキーマ

{
  "type": "object",
  "properties": {
    "contactId": {
      "description": "The customer or vendor (a contact id from find_contacts).",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "kind": {
      "description": "INVOICE (a sale, default) or BILL (a purchase).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "jurisdiction": {
      "description": "The place of supply, such as CA-BC or US-TX; empty = the business's own province or state.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "on": {
      "description": "The document date, yyyy-MM-dd; empty = today.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "contactId"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢exempt_sales(from, to, bookId, jurisdiction)

Sales made tax exempt under customers' certificates, by jurisdiction, tax and reason, for a period (posted invoices less credit notes, in the books' currency). Use it with sales_tax_report for a sales tax return.

入力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "description": "From this date, yyyy-MM-dd.",
      "type": "string"
    },
    "to": {
      "description": "To this date, yyyy-MM-dd.",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "jurisdiction": {
      "description": "Only this province or state, such as CA-BC.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "from",
    "to"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢tax_exemption_certificates(bookId, direction, jurisdiction, state, contactId)

The sales tax exemption certificates on file in one set of books: customers' certificates (RECEIVED) and the business's own given to suppliers (ISSUED), with jurisdiction, reason, validity and state (ACTIVE, EXPIRING, EXPIRED, REVOKED), plus a count per jurisdiction.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "direction": {
      "description": "RECEIVED (from customers) or ISSUED (to suppliers); empty for both.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "jurisdiction": {
      "description": "A province or state code such as CA-BC or US-TX.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "state": {
      "description": "ACTIVE, EXPIRING, EXPIRED, NOT_YET_VALID or REVOKED.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "contactId": {
      "description": "Only this customer or vendor (a contact id from find_contacts).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢sales_by_customer(bookId, period, from, to)

Sales (net income) per customer for a period, with each customer's share: who the business sells the most to.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟡record_bill(vendor, lines, bookId, date, dueDate, ...)

Records a vendor's bill the business still has to pay, as a draft bill: vendor, bill date, due date, lines, taxes and total. When the user gives a photo or PDF of a receipt or bill, read it yourself and pass what is printed: the vendor, date, each line, each tax and the total. When you can read the file's actual bytes (a file you were given by path or as an attachment your tools can open), also pass them as fileBase64 so the photo is attached to the draft (JPEG, PNG, WebP, GIF, AVIF, HEIC or PDF, at most 10 MB). Never write base64 from what you see in an image; without the real file, leave fileBase64 out and tell the user to attach the photo to the draft in the app. It is created as a DRAFT: nothing is posted, paid or sent. Tell the user it is waiting for them in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "vendor": {
      "description": "The vendor (supplier), as printed on the bill.",
      "type": "string"
    },
    "lines": {
      "description": "The lines, before tax.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "description": "What it was for (for example \"Printer paper\").",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The amount before tax, positive.",
            "type": "number"
          },
          "categoryId": {
            "description": "A category id from list_categories (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "category": {
            "description": "Or a category name, matched exactly (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "description",
          "amount"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The bill date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "dueDate": {
      "description": "When it is due, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "taxes": {
      "description": "Each tax printed on the bill.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "label": {
            "description": "The tax as printed (GST, HST, PST, QST, VAT, sales tax...).",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The tax amount.",
            "type": "number"
          }
        },
        "required": [
          "label",
          "amount"
        ]
      },
      "default": null
    },
    "total": {
      "description": "The bill total, to check the lines and taxes add up.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "The vendor's bill number.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "A note for the person who reviews it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fileBase64": {
      "description": "The bill file itself, base64 (optional; only the file's real bytes).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fileName": {
      "description": "The file's name, for example \"hydro-november.pdf\" (optional).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "vendor",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟡record_journal_entry(description, lines, bookId, date, reference, ...)

Prepares a manual (custom) journal entry as a draft: the accounts to debit and credit, line by line, for adjustments, accruals, reclassifications and corrections. The debits must equal the credits. To copy or reverse a past entry, read it with journal_entries and send its lines (swap every debit and credit to reverse it). An entry that came from an invoice or a bill is better voided in the app: a reversing journal leaves the document open. It is created as a DRAFT: nothing is posted, paid or sent. Tell the user it is waiting for them in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "description": {
      "description": "What the entry is for (for example \"Accrue December rent\").",
      "type": "string"
    },
    "lines": {
      "description": "The lines: each an account with a debit or a credit. At least two.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "account": {
            "description": "The account: its code (for example \"1000\") or its name, as account_balances or journal_entries show it.",
            "type": [
              "string",
              "null"
            ]
          },
          "debit": {
            "description": "The debit amount, positive (leave empty on a credit line).",
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "credit": {
            "description": "The credit amount, positive (leave empty on a debit line).",
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "description": {
            "description": "What this line is for (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "categoryId": {
            "description": "Or a category id from list_categories instead of an account (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "account"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The entry date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "A reference (optional).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "A note for the person who reviews it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "description",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢budget_status(bookId)

This fiscal month's spending against the active budget, the year to date the same way, and the expense categories furthest over this month's budget. An estimate from posted entries: say so when you quote it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢list_books

The sets of books (businesses, household, nonprofits) this connection may reach: the ones the user chose when connecting. Each has a bookId to pass to the other tools, its currency, fiscal year end, status, and whether drafts can be prepared there. When its plan is not paid, deletionDueAt is the date the books will be deleted (3 months after the plan stopped) unless the user updates the payment method or pays what is owed; tell the user, and suggest exporting a backup.

入力スキーマ

{
  "type": "object",
  "properties": {}
}

出力スキーマ

{
  "type": "object"
}
🟢missing_receipts(bookId)

The bank and card lines in the books that took money out and have no receipt yet (missing), each with the receipt waiting in Expenses to sort that fits it on amount, date and shop when there is one (suggestions, receipts), and the matches a shop the user confirmed before made by itself (toReview). Amounts are signed like a statement: money out is negative. planRequired=true means the books are on the Free plan, where matching is not offered. This only reads: the user matches a receipt, marks a line as needing none, or keeps or undoes a match in Mobile Accounting.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢unpaid_invoices(bookId, asOf, aging, customerId)

What customers owe: every open invoice with its due date, days overdue, paid and open amounts. aging=true gives the aging buckets per customer (current, 1-30, 31-60, 61-90, over 90 days) instead.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "asOf": {
      "description": "As of this date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "aging": {
      "description": "true for the aging buckets.",
      "type": "boolean",
      "default": false
    },
    "customerId": {
      "description": "Only this customer (a contact id from find_contacts).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢list_categories(bookId)

The categories (expense, income and asset types) of one set of books, with ids to use as categoryId on draft lines.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books (optional when the connection reaches only one).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢cash_flow(bookId, period, from, to)

Cash flow for a period: cash in and out from operations, investing and financing, and the change in cash.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "period": {
      "description": "A preset: this-month, last-month, this-quarter, last-quarter, this-fiscal-year, this-fiscal-year-to-date, last-fiscal-year. Or leave it empty and give from and to.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "Start date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "End date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟡record_expense(vendor, lines, bookId, date, taxes, ...)

Records something already paid (a receipt: fuel, supplies, a meal) as a draft expense: vendor, date, lines, taxes, total and what it was paid from. When the user gives a photo or PDF of a receipt or bill, read it yourself and pass what is printed: the vendor, date, each line, each tax and the total. When you can read the file's actual bytes (a file you were given by path or as an attachment your tools can open), also pass them as fileBase64 so the photo is attached to the draft (JPEG, PNG, WebP, GIF, AVIF, HEIC or PDF, at most 10 MB). Never write base64 from what you see in an image; without the real file, leave fileBase64 out and tell the user to attach the photo to the draft in the app. It is created as a DRAFT: nothing is posted, paid or sent. Tell the user it is waiting for them in Mobile Accounting (openInApp).

入力スキーマ

{
  "type": "object",
  "properties": {
    "vendor": {
      "description": "Who was paid, as printed on the receipt.",
      "type": "string"
    },
    "lines": {
      "description": "The lines, before tax.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "description": "What it was for (for example \"Printer paper\").",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The amount before tax, positive.",
            "type": "number"
          },
          "categoryId": {
            "description": "A category id from list_categories (optional).",
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "category": {
            "description": "Or a category name, matched exactly (optional).",
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "description",
          "amount"
        ]
      }
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "date": {
      "description": "The receipt date, yyyy-MM-dd (default today).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "taxes": {
      "description": "Each tax printed on the receipt.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "label": {
            "description": "The tax as printed (GST, HST, PST, QST, VAT, sales tax...).",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The tax amount.",
            "type": "number"
          }
        },
        "required": [
          "label",
          "amount"
        ]
      },
      "default": null
    },
    "total": {
      "description": "The total paid, to check the lines and taxes add up.",
      "type": [
        "number",
        "null"
      ],
      "default": null
    },
    "paidFrom": {
      "description": "BANK (debit or bank transfer), CREDIT_CARD, CASH, or OWNER (paid personally by an owner).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "reference": {
      "description": "The receipt or transaction number.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "currency": {
      "description": "ISO currency when not the books' own (USD, CAD, EUR...).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "description": "A note for the person who reviews it.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fileBase64": {
      "description": "The receipt file itself, base64 (optional; only the file's real bytes).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "fileName": {
      "description": "The file's name, for example \"esso-2026-11-14.jpg\" (optional).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "vendor",
    "lines"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢get_document(documentId, bookId)

One invoice, bill or expense with its lines and status: draft or posted, when it was sent and viewed, total, paid, amount still due, and whether it is overdue. An invoice also says where its automatic payment reminders stand: on or off for the books, paused for this invoice, the day of the next one or why none is coming, and how many went out, and whether its goods are ready for pickup, picked up, shipped or delivered. Also a link to open it in Mobile Accounting.

入力スキーマ

{
  "type": "object",
  "properties": {
    "documentId": {
      "description": "The document id, from find_documents or a draft tool.",
      "type": "string"
    },
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "documentId"
  ]
}

出力スキーマ

{
  "type": "object"
}
🟢customer_portal(bookId, customer)

Whether the customer portal is on for one set of books (one private link per customer to all their invoices, payments and statement), how many days a link works, and for each customer: portal on or off, whether their link works now and until when, and when they last opened it. Optionally only customers whose name contains a text. Read only: a person copies or sends the links in Mobile Accounting; the links themselves are never shown here.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "customer": {
      "description": "Part of the customer's name.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢get_card_fee_setting(bookId)

Whether this set of books passes the card PROCESSING fee of a client's card payment on to the client (invoice pay link, Tap to Pay, and card-on-file charges the client agreed to). Only the processing fee (processingBps / 100 % plus processingFixedMinor cents), never a Mobile Accounting fee; only credit cards (never debit, prepaid or Interac); at most capPercent of the amount (the business pays anything above). available=false with reasonCode COUNTRY or REGION means it is not allowed where the business is (outside the US and Canada, or in Quebec, Connecticut, Massachusetts or Puerto Rico); reasonCode OFF means allowed but not turned on. This only reads: the business owner turns it on or off in Mobile Accounting (settingsUrl), where they confirm the card rules themselves.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books (optional when the connection reaches only one).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢tax_set_aside(bookId)

A rough ESTIMATE of how much to set aside for income tax on the profit so far this year and this quarter, from the books and the tax authorities' published rates (Canada: federal, provincial, CPP / QPP; US: federal, state, self-employment tax), less the instalments the user recorded as paid, plus the sales tax the books hold. It lists the instalment due dates (CRA, Revenu Quebec, IRS 1040-ES, state, corporate). Not tax advice and not a return: say so when you quote it, and name the notes it gives (for example that other income is not counted).

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}
🟢find_documents(bookId, kind, status, unpaid, party, ...)

Invoices, bills and expenses in one set of books, newest first, with status, total, paid, amount due and whether it is overdue. Filter by kind, status, unpaid only, customer or vendor name, and date range.

入力スキーマ

{
  "type": "object",
  "properties": {
    "bookId": {
      "description": "The set of books, from list_books.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "kind": {
      "description": "INVOICE, BILL, RECEIPT (a paid expense), CREDIT_NOTE, PAYMENT_RECEIVED, PAYMENT_MADE.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "status": {
      "description": "DRAFT, POSTED or VOID.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "unpaid": {
      "description": "true: only posted invoices and bills with an amount still due.",
      "type": "boolean",
      "default": false
    },
    "party": {
      "description": "Part of the customer or vendor name.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "from": {
      "description": "From this document date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "to": {
      "description": "To this document date, yyyy-MM-dd.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "take": {
      "description": "How many (1-200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  }
}

出力スキーマ

{
  "type": "object"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 52 件