Skip to main content
Glama

SmartAccounts MCP by usefulapi

Create a payment

smartaccounts_create_payment
Destructive

Record a bank or cash payment against one or more invoices (purchasesales/payments:add): a client paying a sales invoice, or a payment to a vendor for a purchase invoice. Use smartaccounts_list_bank_accounts or _list_cash_accounts for account_name, and the invoice ids from the invoice lists. The currency must match the account's currency. Returns paymentId, number and amount. This creates a real accounting record in the company's books. This server cannot edit or delete it; correct it in SmartAccounts. It never retries: if a reply is unclear, look in SmartAccounts before calling again. The vendor limit is 60 requests per minute and 1000 per 24 hours; every call here is one request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesPayment date, yyyy-mm-dd.
rowsYesThe invoices this payment settles.
commentNoInternal comment.
currencyYesCurrency code, for example EUR; must match the account's currency.
documentNoDocument number text.
partner_idYesThe client id (partner_type CLIENT) or vendor id (VENDOR).
account_nameYesThe name of the bank or cash account.
account_typeYesBANK or CASH.
partner_typeYesCLIENT = money received from a client; VENDOR = money paid to a vendor.
exchange_rateNoExchange rate; only for a currency without an ECB rate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.