Skip to main content
Glama
WYRE-AI

QuickBooks Online MCP Server

by WYRE-AI

qbo_invoices_update

Sparse-update an existing Invoice record. Only provided fields are changed; Id and SyncToken are required.

Instructions

Sparse-update an existing Invoice record. Only provided fields are changed; Id and SyncToken are required.

Input Schema

NameRequiredDescriptionDefault
LineNoArray of line items. Each line should have Amount, DetailType ("SalesItemLineDetail"), and SalesItemLineDetail with ItemRef. On update, providing Line replaces the invoice line items.
DueDateNoDue date (YYYY-MM-DD)
TxnDateNoTransaction date (YYYY-MM-DD)
BillEmailNoEmail address to send the invoice to, e.g. {"Address": "customer@example.com"}
SyncTokenYesCurrent SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it)
invoiceIdYesThe Invoice ID to update
CustomerRefNoCustomer reference object, e.g. {"value": "123"} where value is the customer ID
PrivateNoteNoPrivate note (not visible to customer)
CustomerMemoNoMemo visible to customer, e.g. {"value": "Thank you for your business"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.6

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden. It does disclose the important sparse-update semantics ('Only provided fields are changed') and the required Id/SyncToken, but says nothing about permissions, SyncToken-stale errors, whether a sent invoice can be edited, or other side effects of a mutation on a financial record.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, and the core sparse-update semantics plus required-field constraint are front-loaded. Nothing is wasted or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter nested mutation with no output schema and no annotations, the description covers the essential contract (partial update, required identifiers) while the rich schema handles parameter detail. Minor gaps remain around preconditions (fetch-first workflow, editable-state constraints), but nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including nested Line, CustomerRef, and BillEmail shapes is already documented in the schema. The description adds only the confirmation that Id and SyncToken are required, which the schema's required array already states. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource: 'Sparse-update an existing Invoice record.' The word 'existing' plus 'Sparse-update' cleanly separates it from qbo_invoices_create and qbo_invoices_void, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies usage by stating only provided fields are changed and that Id and SyncToken are required, which tells the agent this is a partial mutation. However, it gives no explicit when-to-use vs. alternatives (e.g., when to void vs. update, or that the record must be fetched first) — that prerequisite lives only in the schema's SyncToken description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools