Skip to main content
Docs menu
All MCP tools

MCP tools · Invoices

Record a payment on a client invoice

record_invoice_payment

Record money the organization already received outside the platform (bank transfer, UPI, cash, cheque) against one of its client invoices; the invoice's paid and due amounts update. It does not collect or move money. Only a Supervisor, Admin or Owner may ask; a member's request is refused. amount_minor is in the invoice currency's minor units (paise, cents) and cannot exceed what is due. A request from an AI app is held for a person in the workspace to approve first; nothing happens until they do, and the answer says where they approve it. Confirm with the user before calling.

Scope needed
billing:invoices:write
Acts as
You, the signed-in member, with your role's permissions.
Changes data
Yes, and it can't be taken back
Held for approval
Can be. The call returns a pending approval and an approve link, and nothing happens until a person in your organization approves it in All Gas No Brakes.
Available to
Switched on per organization (invoice tools)

Inputs

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
invoice_idrequiredstringThe invoice id (from list_invoices).
amount_minorrequirednumberAmount received, in minor units of the invoice currency (e.g. 150000 = 1,500.00).
methodrequiredenum: bank | upi | cash | cheque | otherHow it was received.
referencestringBank or UPI reference, cheque number.
received_atstringWhen it was received: YYYY-MM-DD or an ISO date-time, not in the future. Default now.
notesstringA note kept with the payment.