qb_get_invoice

Pack: quickbooks · Endpoint: https://gateway.pipeworx.io/quickbooks/mcp

Retrieve a complete invoice by ID including all line items, amounts, taxes, and payment history.

Parameters

NameTypeRequiredDescription
idstringyesQuickBooks Invoice ID

Example call

Arguments

{
  "id": "123"
}

curl

curl -X POST https://gateway.pipeworx.io/quickbooks/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"qb_get_invoice","arguments":{"id":"123"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('qb_get_invoice', {
  "id": "123"
});

More examples

{
  "id": "456"
}

Response shape

Full JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "error": {
          "type": "string",
          "description": "Error code if connection not configured"
        },
        "message": {
          "type": "string",
          "description": "Error message with setup instructions"
        }
      },
      "required": [
        "error",
        "message"
      ]
    },
    {
      "type": "object",
      "properties": {
        "Invoice": {
          "type": "object",
          "description": "Complete invoice with line items, amounts, taxes, and payment history",
          "properties": {
            "Id": {
              "type": "string",
              "description": "Invoice ID"
            },
            "DocNumber": {
              "type": "string",
              "description": "Invoice number"
            },
            "TotalAmt": {
              "type": "number",
              "description": "Total invoice amount"
            },
            "Line": {
              "type": "array",
              "description": "Line items on invoice",
              "items": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "quickbooks": {
      "url": "https://gateway.pipeworx.io/quickbooks/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026