agentsclimarketplace

Apideck mcp pay bill

Skill apideck-libraries/api-skills/providers/claude/plugin/skills/apideck-mcp-pay-bill

Task playbook for paying a vendor bill via the Apideck MCP server's `apideck-pay-bill` workflow tool. Use when the user asks to settle, pay, or close a known accounts-payable bill in QuickBooks, Xero, NetSuite, or any other connected accounting service. Covers confirmation prompts, partial payments, payment-method capitalization quirks, and the AP-vs-AR routing decision agents routinely get wrong.From its SKILL.md

Install
npx -y skills add apideck-libraries/api-skills --skill apideck-mcp-pay-bill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.3 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

Pay a vendor bill (Apideck MCP)

When the user wants to pay a known vendor bill, prefer apideck-pay-bill over stitching accounting-bills-get + accounting-bill-payments-create manually. The workflow tool fetches the bill, reads its outstanding balance, builds the right allocation, picks the correct AP endpoint, and surfaces structured errors with failingStep so you know which leg broke.

When this is the right tool

User intentTool
"Pay bill 6", "Settle the LinkedIn invoice", "Close out bill from RocketReach"apideck-pay-bill
"Record that customer paid invoice 4"apideck-receive-customer-payment (AR mirror — different unified endpoint)
"Create a prepayment / unallocated transfer"accounting-payments-create directly (no allocation)
"Show me unpaid bills"accounting-bills-list with filter[status]=open

IMPORTANT RULES

  • CONFIRM before calling. Pay-bill is mutating and not idempotent — calling twice creates two payments on the connected service. Always show the user the bill total, currency, payment account, and supplier, and wait for explicit confirmation before invoking the tool.
  • PASS payment_method as a capitalized value when targeting QuickBooks: "Check", "CreditCard", "Cash". Lower-case "check" triggers a generic JSON-parse rejection from QuickBooks before any meaningful validation runs. Other connectors accept lower-case ("check", "ach", "wire", "credit_card").
  • DON'T pass amount to pay the full balance — omit it and the workflow defaults to the bill's outstanding balance (which is the correct amount even on partially-settled bills). Only pass amount when the user explicitly wants a partial payment.
  • SET x-apideck-service-id when the consumer has multiple accounting connections (e.g. both Xero and QuickBooks). Otherwise the call routes to whichever connection Apideck picks first.
  • DON'T confuse with apideck-receive-customer-payment. Bills are accounts payable (you owe money). Invoices are accounts receivable (someone owes you). They route to different unified endpoints under the hood.

Argument map

ArgRequiredDefaultNotes
bill_idyesFrom accounting-bills-list. The numeric or UUID id Apideck returns.
account_idyesThe bank/cash account the payment is drawn from. From accounting-ledger-accounts-list filtered to type=bank.
amountnobill's outstanding balanceIn bill's currency. Pass smaller for a partial payment.
transaction_datenotoday (YYYY-MM-DD)Some connectors reject future dates.
payment_methodnoQB requires capitalized: "Check" etc. Other connectors flexible.
referencenoMemo / external reference shown on the payment record.
x-apideck-service-idnofirst accounting connectionE.g. "xero", "quickbooks".

Result shape

Success

{
  "bill_id": "4",
  "payment_id": "pay-77",
  "amount": 742.45,
  "currency": "USD",
  "transaction_date": "2026-04-26",
  "bill_total": 742.45,
  "partial": false,
  "service_id": "quickbooks"
}

partial: true means the agent paid less than the bill's outstanding balance. Use this to confirm with the user that a follow-up payment will be needed.

Failure (with isError: true)

{
  "bill_id": "4",
  "amount": 1,
  "currency": "USD",
  "error": "accounting-bill-payments-create failed: ...",
  "failingStep": "accounting-bill-payments-create",
  "upstream": { "status_code": 400, "type_name": "ConnectorExecutionError", ... }
}

failingStep tells you which leg failed:

  • accounting-bills-get — the bill ID is wrong or the connector lost the record
  • validate-amount — the bill has no positive outstanding balance (already paid, or zero-total)
  • accounting-bill-payments-create — the payment write itself failed; inspect upstream for connector-specific reason

Worked example

User: "Pay the bill from LinkedIn for $742.45 from Business Checking."

  1. accounting-bills-list with filter: { supplier_id: ... } to find the bill ID — say "4".
  2. accounting-ledger-accounts-list with filter: { type: "bank" } to find Business Checking — say "8".
  3. Confirm with the user: "Paying bill 4 (LinkedIn, $742.45 USD) from Business Checking via QuickBooks. Confirm?"
  4. On confirmation, call:
    {
      "name": "apideck-pay-bill",
      "arguments": {
        "bill_id": "4",
        "account_id": "8",
        "payment_method": "Check",
        "x-apideck-service-id": "quickbooks"
      }
    }
    
  5. Surface the resulting payment_id to the user.

Common failure modes

SymptomCauseFix
failingStep: validate-amountBill has zero outstanding balanceEither it's already paid, or pass an explicit amount to override
QuickBooks rejects with Property Name:failed to parse json objectpayment_method lower-casePass "Check" (capitalized) for QB
QuickBooks rejects with CustomerRef missingWrong unified endpoint chosen — workflow protects against thisShould not happen via apideck-pay-bill; if it does, file a bug
failingStep: accounting-bill-payments-create with Subscription period has endedQB sandbox/account billing issue, not a workflow bugRenew connector subscription
UrlElicitationRequiredError thrownConnection expired or never authorizedSurface the consent URL to user, retry after OAuth

Related

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most mcp tooling skills give in ~1.5k tokens

Counted across 638 of the 750 authors here whose files we hold, read 2026-08-07

  • Create ten complex or independent read-only evaluation questionsin 69 of 638, across 15 files
  • Test servers using MCP Inspectorin 61 of 638, across 19 files
  • Provide actionable error messages with specific next stepsin 54 of 638, across 12 files
  • Prioritize comprehensive API coverage over specific workflows or workflow toolsin 54 of 638, across 12 files
  • Use TypeScript and Streamable HTTP for remote servers or clientsin 54 of 638, across 8 files
  • Define structured output schemas where possiblein 50 of 638, across 8 files
  • Use Zod or Pydantic for input schemasin 47 of 638, across 5 files
  • Fetch MCP specification pages with markdown suffixin 46 of 638, across 4 files
  • Load framework documentation using WebFetchin 45 of 638, across 3 files
  • Verify each evaluation answer independentlyin 45 of 638, across 3 files
  • Implement API client with authentication and paginationin 45 of 638, across 3 files
  • Define input schemas with validationin 27 of 638, across 9 files

Said here and by no other author read

  • capitalize payment_method for QuickBooks
  • omit amount to settle full balance
  • pass amount only for explicit partial payments
  • set x-apideck-service-id for multiple connections
  • surface payment_id to the user
  • use the apideck-pay-bill tool

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.